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

Solved Error with 1.1

Discussion in 'Help' started by WinterBuild7074, Jun 5, 2017.

  1. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I'm getting this crashdump when I player joins. It crashed the server.
    Code:
    PocketMine-MP Crash Dump Mon Jun 5 18:56:38 UTC 2017
    
    Error: Argument 1 passed to pocketmine\utils\Binary::writeVarLong_64() must be of the type integer, null given, called in phar:///home/mcpe/PocketMine-MP.phar/src/pocketmine/utils/Binary.php on line 650
    File: /src/pocketmine/utils/Binary
    Line: 677
    Type: notice
    
    Code:
    [668]         return self::writeUnsignedVarLong_32($v);
    [669]     }
    [670]
    [671]     /**
    [672]      * 64-bit VarLong encoder.
    [673]      *
    [674]      * @param int $v
    [675]      * @return string
    [676]      */
    [677]     public static function writeVarLong_64(int $v) : string{
    [678]         return self::writeUnsignedVarLong_64(($v << 1) ^ ($v >> 63));
    [679]     }
    [680]
    [681]     /**
    [682]      * Writes a 64-bit integer as a variable-length long
    [683]      *
    [684]      * @param int|string $v
    [685]      * @return string up to 10 bytes
    [686]      */
    [687]     public static function writeUnsignedVarLong($v) : string{
    
    Backtrace:
    #0 /src/pocketmine/utils/Binary(650): pocketmine\utils\Binary::writeVarLong_64(NULL )
    #1 /src/pocketmine/utils/BinaryStream(333): pocketmine\utils\Binary::writeVarLong(NULL )
    #2 /src/pocketmine/network/mcpe/protocol/DataPacket(268): pocketmine\utils\BinaryStream->putVarLong(NULL )
    #3 /src/pocketmine/network/mcpe/protocol/AddPlayerPacket(67): pocketmine\network\mcpe\protocol\DataPacket->putEntityUniqueId(NULL )
    #4 /src/pocketmine/network/mcpe/RakLibInterface(193): pocketmine\network\mcpe\protocol\AddPlayerPacket->encode(boolean)
    #5 /src/pocketmine/Player(1053): pocketmine\network\mcpe\RakLibInterface->putPacket(pocketmine\Player object, pocketmine\network\mcpe\protocol\AddPlayerPacket object, boolean , boolean )
    #6 /Slapper/src/slapper/entities/SlapperHuman(77): pocketmine\Player->dataPacket(pocketmine\network\mcpe\protocol\AddPlayerPacket object)
    #7 /src/pocketmine/Player(792): slapper\entities\SlapperHuman->spawnTo(pocketmine\Player object)
    #8 /src/pocketmine/level/Level(2428): pocketmine\Player->sendChunk(integer 31, integer 9, pocketmine\network\mcpe\protocol\BatchPacket object)
    #9 /src/pocketmine/level/format/io/ChunkRequestTask(88): pocketmine\level\Level->chunkRequestCallback(integer 31, integer 9, pocketmine\network\mcpe\protocol\BatchPacket object)
    #10 /src/pocketmine/scheduler/AsyncPool(158): pocketmine\level\format\io\ChunkRequestTask->onCompletion(pocketmine\Server object)
    #11 /src/pocketmine/scheduler/ServerScheduler(339): pocketmine\scheduler\AsyncPool->collectTasks(boolean)
    #12 /src/pocketmine/Server(2414): pocketmine\scheduler\ServerScheduler->mainThreadHeartbeat(integer 1686)
    #13 /src/pocketmine/Server(2182): pocketmine\Server->tick(boolean)
    #14 /src/pocketmine/Server(2064): pocketmine\Server->tickProcessor(boolean)
    #15 /src/pocketmine/Server(1646): pocketmine\Server->start(boolean)
    #16 /src/pocketmine/PocketMine(501): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/mcpe/PocketMine-MP.phar/, string /home/mcpe/, string /home/mcpe/plugins/)
    #17 (1): require_once(string phar:///home/mcpe/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
    
    PocketMine-MP version: 1.6.2dev #0 [Protocol 113; API 3.0.0-ALPHA5]
    Git commit: 0000000000000000000000000000000000000000
    uname -a: Linux infinity-pe.ga 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64
    PHP Version: 7.0.3
    Zend version: 3.0.0
    OS : Linux, linux
    
    Loaded plugins:
    ImagicalDevTools 2.1.1 by PocketMine Team and modyfied by DarkWav for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    NetherChests 1.1.1 by aliuly for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    ManyWorlds 2.0.3 by aliuly for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    SkyWarsDoDo 1.0.0 Reloaded_ENGLISH by KaitoDoDo for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    BasicHUD 1.0.6 by aliuly for API(s) 3.0.0-ALPHA5
    ExtraProtector 1.0.0 by WinterBuild for API(s) 3.0.0-ALPHA5
    CrateKeys 0.0.1 by  for API(s) 3.0.0-ALPHA5
    PurePerms 1.3.7 by 64FF00 & ProjectInfinity for API(s) 1.13.0, 2.0.0, 3.0.0-ALPHA5
    Parkour 3 by Driesboy for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    ServerAuth 2.13 by EvolSoft for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    ItemBlocker 1.0.0 by WinterBuild for API(s) 3.0.0-ALPHA5
    VoteReward 3.0.2 by LDX for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    TimerBan 2.1 by onebone for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    iProtector 3.1b by LDX for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    FactionsPro 1.3.7 by Tethered_ for API(s) 2.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA5
    ChatDefender 1.1.1 by Falkirks for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    TapToDo 2.2.1 by Falk for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    SignPortal 1.1.2 by 99leonchang for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    SexyMOTD 1.0.0 by hoyinm14mc for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    Elytra 2 by Ad5001 for API(s) 3.0.0-ALPHA5
    BuyCraft 1.2.2 by Falkirks for API(s) 3.0.0, 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5
    KeepInventory 1.2.0 by boybook for API(s) 3.0.0-ALPHA5
    EssentialsPE 2.0.0 by LegendsOfMCPE Team for API(s) 3.0.0-ALPHA5
    EconomyJob 2.0.4 by onebone for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    Extra 2 by WinterBuild7074 for API(s) 3.0.0-ALPHA5
    Slapper 1.3.4 by jojoe77777 for API(s) 3.0.0-ALPHA5
    EconomyAPI 2.0.9 by onebone for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    AdvancedKits 5.1 by luca28pet for API(s) 2.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA5
    MagicWE 0.2.6 by thebigsmileXD for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    ChatToolsPro 1.1 by paetti for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    Broadcaster 1.16 by EvolSoft for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    AlwaysSpawn 2.1.0 by Comedyman937 for API(s) 3.0.0-ALPHA5
    ParticlesPlus 0.0.2 by ImagicalGamer for API(s) 1.0.0, 2.0.0, 3.0.0-ALPHA5
    InfinityInfos 1.0.1 by DuengonZocker for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    EconomyShop 2.0.7 by onebone for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    EconomySell 2.0.7 by onebone for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    MyPlot 1.1.3 by Wiez, Exxarion, jasonwynn10 for API(s) 2.0.0, 1.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0
    PureChat 1.4.0-BETA-05 by 64FF00 for API(s) 1.13.0, 2.0.0, 3.0.0-ALPHA5
    
    I hope you can help me as soon as possible!
     
  2. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    Your Slapper version is outdated. Newest versions have this issue fixed.
     
  3. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    That is a slapper issue
     
  4. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    But that error clearly states that you are using slapper
     
    corytortoise likes this.
  5. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    For similar future issues, you should try to take the issue to the developer of the plugin first. Assuming they are active, they know the plugin better than we do, and will likely have a much easier time fixing it. Most public plugins have a GitHub repository with a very useful issue tracker.
     
  6. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    Will my slappers get all deleted if I update?
     
  7. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    Slapper was loaded. Unless you can reproduce it without Slapper being loaded, there's no point in assuming it's another issue.
    Aren't they all saved in a file? Keep a backup of that just in case, but you should be fine.
     
  8. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    jasonwynn10, Muqsit and EdwardHamHam like this.
  9. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    But the crashdump says that you do have it and it is loaded. Are you sure that you've removed it correctly?
     
  10. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    That picture shows many plugins that weren't in console, however. Also, Slapper is enabled, according to it.
     
  11. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    What should the name of the file be where they're saved? Is it a .yml?
     
  12. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    Nvm, it's actually SlapperCache that does that.
     
  13. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I don't have that installed... but I'm still wondering where it's saved. Maybe in .PHP file?
     
  14. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I don't which plugin does this, but I always get this error message in console:
    [​IMG]
    I know this not the right place, but I cannot open a GitHub issue.
     
  15. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    You're using the wrong branch. Use master.
     
    WinterBuild7074 likes 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.