onebone / EconomyS

The economy plugin for PocketMine-MP
GNU General Public License v3.0
144 stars 188 forks source link

Shop plugins causing crashes. #169

Closed tehkyy closed 9 years ago

tehkyy commented 9 years ago

PocketMine-MP Crash Dump Fri Sep 18 19:59:02 UTC 2015

Error: Call to undefined method pocketmine\item\DiamondSword::isPlaceable() File: /EconomyShop_v2.0.6.phar/src/onebone/economyshop/EconomyShop Line: 257 Type: E_ERROR

THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: EconomyShop v2.0.6

Code: [248] $player->sendMessage($this->getMessage("no-permission-buy")); [249] $event->setCancelled(); [250] return; [251] } [252] [253] $money = EconomyAPI::getInstance()->myMoney($player); [254] if($shop["price"] > $money){ [255] $player->sendMessage($this->getMessage("no-money-buy", [$shop["item"].":".$shop["meta"], $shop["price"], "%3"])); [256] $event->setCancelled(true); [257] if($event->getItem()->isPlaceable()){ [258] $this->placeQueue[$player->getName()] = true; [259] } [260] return; [261] }else{ [262] if(!isset($shop["itemName"])){ [263] $item = $this->getItem($shop["item"], $shop["meta"], $shop["amount"]); [264] if($item === false){ [265] $item = $shop["item"].":".$shop["meta"]; [266] }else{ [267] $item = $item[0];

Backtrace:

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

PocketMine-MP version: 1.6dev #0 [Protocol 34; API 1.13.0] Git commit: 0000000000000000000000000000000000000000 uname -a: Darwin XXXXX.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64 PHP Version: 5.6.10 Zend version: 2.6.0 OS : Darwin, mac

Loaded plugins: AdvancedKits 4.0.1 by luca28pet for API(s) 1.12.0 EconomyAPI 2.0.8 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyAuction 2.0.2 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyCasino 2.0.2 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyJob 2.0.4 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyLand 2.0.8 by onebone for API(s) 1.12.0 EconomyProperty 2.0.5 by onebone for API(s) 1.12.0 EconomySell 2.0.6 by onebone for API(s) 1.12.0 EconomyShop 2.0.6 by onebone for API(s) 1.12.0 EconomyTax 2.0.3 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyUsury 1.0.1 by onebone for API(s) 1.12.0 ItemCloud 1.3 by onebone for API(s) 1.4.0 SpeedBoots 0.1 by for API(s) 1.11.0 EconomyAirport 2.0.4 by onebone for API(s) 1.12.0 EconomyPShop 2.0.1 by onebone for API(s) 1.12.0 SimpleWarp 2.1.0 by Falkirks for API(s) 1.12.0 SimplePortals 0.0.2 by Falkirks for API(s) 1.10.0

----------------------REPORT THE DATA BELOW THIS LINE-----------------------

===BEGIN CRASH DUMP=== eNrVWwtz3DaS/iu4ka9WuhqO5i2ZLvlKJ8u33rVjrSWfr8qTcmFIcIYRSTAEqdEklfvt93UDfMxI SRRv7nbjdcrDBtD4+t0AuT/2yjhVPX80nY7nw/lkOu73VFHoouf/2Cu3OYZ6l18uP3x4/6HX76XK GLki2oVMElFqUWWhiuJMhSJV5VqHItfBrSpTkBaLuFTpYvEqlqnOwuuNLkLfj81VIgMll4k6PALL KE6I3/FloDOdbq/XOv9yNx4MB/NBvpbFsSmCY52pJf47VnaOwZzufHBJsF/PH89Ofur38qRaxRnh 3pkS6FCRUOPpKcYWpf3fszyRW1V4L43KwndWvMNn5To23suVKmvKopdpL1dFGhsT68xbVttF7+jo BfiOp8+7/NSdykpiV17ILFBJosJDO2827MwrVFkVmaWPGvpP/DzGM/+YNAPPoEG1FWfCyXR+9cb3 ge9NZ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8BLIcZMg== ===END CRASH DUMP===

onebone commented 9 years ago

You are using PocketMine-MP for 0.12.1. And your plugin is for 0.11.0. You will have to get the plugin from 'php7' branch and it will be fixed.

tehkyy commented 9 years ago

Thanks for the help.