1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Anti Cheat

Discussion in 'Help' started by xXNiceAssassinlo YT, May 7, 2018.

  1. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    how the hell I fix:

    Player moved too fast, reverting movement
     
  2. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    https://github.com/pmmp/PocketMine-...cf0c777390da5/src/pocketmine/Player.php#L1540
    You can remove that by removing the code below and that if instance but if you remove, see the message for what it happens if you remove.
    PHP:
    /* !!! BEWARE YE WHO ENTER HERE !!!
    *
    * This is NOT an anti-cheat check. It is a safety check.
    * Without it hackers can teleport with freedom on their own and cause lots of undesirable behaviour, like
    * freezes, lag spikes and memory exhaustion due to sync chunk loading and collision checks across large distances.
    * Not only that, but high-latency players can trigger such behaviour innocently.
    *
    * If you must tamper with this code, be aware that this can cause very nasty results. Do not waste our time
    * asking for help if you suffer the consequences of messing with this.
    */
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.