Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Moving wrongly

Comments in 'General Discussion' started by aliuly, Mar 17, 2015.

  1. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    Hello,

    Playing a bit in MincraftPE/PocketMine I noticed that I was getting a lot of "<player> moved wrongly" errors. That is detected in Player.php with a conditional "if ($diff > 0.0625)" then the player is moving wrongly.

    I added some additional code that showed the value of $diff. And I could see that I could easily go above that 0.0625 threshold. I am talking vanillay MinecraftPE without any mods or plugs.

    So how did we arrive at this 0.0625 figure? What was the logic behind that?

    BTW, it would be nice if this could be configured using server.properties or pocketmine.yml.
    HotFireyDeath likes this.
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Use PocketMine-Soft.

Share This Page

Advertisement