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

Slapper 1.2.9.3

Hit entities to run commands!

  1. IzakHearn
    Offline

    IzakHearn New Member

    Joined:
    Aug 2, 2015
    Posts:
    1
    Minecraft User:
    izakhearn
    Good day my server keeps crashing when i use the /slapper command here is the crash report


    PocketMine-MP Crash Dump Tue Dec 22 11:41:07 SAST 2015

    Error: Call to undefined method pocketmine\Player::isSkinSlim()
    File: /Slapper_v1.2.5.phar/src/slapper/main
    Line: 134
    Type: E_ERROR

    THIS CRASH WAS CAUSED BY A PLUGIN
    BAD PLUGIN: Slapper v1.2.5

    Code:
    [125] break;
    [126] case "slapper":
    [127] if($sender instanceof Player){
    [128] $type = array_shift($args);
    [129] $name = str_replace("{color}","§",str_replace("{line}", "\n", trim(implode(" ", $args))));
    [130] if(($type === null || $type === "" || $type === " ")){ return false; }
    [131] $defaultName = $sender->getDisplayName();
    [132] if($name == null) $name = $defaultName;
    [133] $senderSkin = $sender->getSkinData();
    [134] $isSlim = $sender->isSkinSlim();
    [135] $playerX = $sender->getX();
    [136] $playerY = $sender->getY();
    [137] $playerZ = $sender->getZ();
    [138] $playerLevel = $sender->getLevel()->getName();
    [139] $playerYaw = $sender->getYaw();
    [140] $playerPitch = $sender->getPitch();
    [141] $humanInv = $sender->getInventory();
    [142] $pHealth = $sender->getHealth();
    [143] $theOne = "Blank";
    [144] $nameToSay = "Human";

    Backtrace:
    #0 (): pocketmine\Server->crashDump(boolean)

    PocketMine-MP version: 1.6dev #1266 [Protocol 38; API 1.13.1]
    Git commit: 0000000000000000000000000000000000000000
    uname -a: Linux Clous-Server 4.2.0-22-generic #27-Ubuntu SMP Thu Dec 17 22:57:08 UTC 2015 x86_64
    PHP Version: 5.6.10
    Zend version: 2.6.0
    OS : Linux, linux
  2. k3ithkfng
    Offline

    k3ithkfng Active Member

    Joined:
    Jul 9, 2015
    Posts:
    91
    Minecraft User:
    K3ith
    LOL do you read? This issue has been submitted 3 times already.
    And do you read the forum rules? Post your crash dump in a spoiler or as a code block.
  3. iDirtPlayzMC
    Offline

    iDirtPlayzMC Active Member

    Joined:
    Apr 10, 2015
    Posts:
    264
    Minecraft User:
    iZenith_xPr
    Then fix it quick ;-;
    Shadow166 likes this.
  4. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    Sorry, I've been on holidays the last few days, and going back again in a couple of days. I don't have much time to work on Slapper.
    iDirtPlayzMC likes this.
  5. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    I am working on a very bleeding build that has the new skins working and no crashing, but you may have to re-create all your Slapper entities.
  6. Joel_creeper
    Offline

    Joel_creeper New Member

    Joined:
    Dec 20, 2015
    Posts:
    10
    Minecraft User:
    Joel_creeper
    Hi again, can u add the option to sneak and have particles or potion effects pls
    (Once the slappers are working!)
  7. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    I made potion bubbles in a dev version but the number system was weird; something like 10000 is blue, 50364 is red, 564322 is a shade of purple, etc. I tried sneaking but I didn't get it to work. I may try again some time. At the moment I am working on fixing Slapper for 0.13.1.
    applqpak likes this.
  8. applqpak
    Offline

    applqpak Active Member Plugin Developer

    Joined:
    Dec 16, 2015
    Posts:
    284
    Plugins:
    1
    Minecraft User:
    applqpak
    Omg!! Yes, Everytime you try to use it - It crashes your server.. BTW Pro job on the plugin! :) :p
  9. iDirtPlayzMC
    Offline

    iDirtPlayzMC Active Member

    Joined:
    Apr 10, 2015
    Posts:
    264
    Minecraft User:
    iZenith_xPr
    Your awesome, take your time on your holidays but don't be too long because your fan(s) is waiting for you!
    jojoe77777 and applqpak like this.
  10. applqpak
    Offline

    applqpak Active Member Plugin Developer

    Joined:
    Dec 16, 2015
    Posts:
    284
    Plugins:
    1
    Minecraft User:
    applqpak
    True! ;)
    iDirtPlayzMC likes this.
  11. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
    I have already fixed it you must replace the line 134 with
    PHP:
    $isSlim $sender->getSkinName();
    Then everything will work again!
    Last edited: Dec 24, 2015
    iDirtPlayzMC likes this.
  12. iDirtPlayzMC
    Offline

    iDirtPlayzMC Active Member

    Joined:
    Apr 10, 2015
    Posts:
    264
    Minecraft User:
    iZenith_xPr
    I will try that!
  13. iDirtPlayzMC
    Offline

    iDirtPlayzMC Active Member

    Joined:
    Apr 10, 2015
    Posts:
    264
    Minecraft User:
    iZenith_xPr
    no..............................
  14. applqpak
    Offline

    applqpak Active Member Plugin Developer

    Joined:
    Dec 16, 2015
    Posts:
    284
    Plugins:
    1
    Minecraft User:
    applqpak
    Lol.
  15. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    I have already easily fixed that crash, just working on properly supporting the new skins.
    applqpak and iDirtPlayzMC like this.
  16. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    Sorry server owners, but I am not planning to support 0.11/0.12 anymore, because of the skin changes.
    This doesn't mean I definitely won't.
    iDirtPlayzMC likes this.
  17. applqpak
    Offline

    applqpak Active Member Plugin Developer

    Joined:
    Dec 16, 2015
    Posts:
    284
    Plugins:
    1
    Minecraft User:
    applqpak
    Can't wait! ;)
    iDirtPlayzMC likes this.
  18. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
    Here is not crashing version of slapper, for 0.13.1:
    WARNING THIS IS AN BAD HACK AND IT IS NOT RECOMMENDED TO USE ON PRODUCTION SERVERS! USE IT (like every software) ON YOUR OWN RISK!

    Deleted File upon multiple requests...
    Last edited: Dec 25, 2015
  19. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    That's not properly fixed. Please remove that to avoid confusion.
  20. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
    Edited it

Share This Page

Advertisement