onebone / EconomyS

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

EconomyLand crush when nonOwner of a land try edit owned land #176

Closed tompok76 closed 9 years ago

tompok76 commented 9 years ago

Hello, first thank you, your plugin is awesome, i have tried manytimes on version 0.11.1 MCPE. Now I have mcpe (s15.minespan.com 26223) 0.12.1 version 35 Bleeding and when somebody who dont own a land try edit land which istn his/her, server crush down. Its a pitty because this plugins is realy cool. I attached server report. If you wish to try it by yourself, tell me for access via ftp or by game (WhiteListed). Thank you very much and have a nice day, Tom

Sorry but attachment (txt neither pdf doens work) PocketMine-MP Crash Dump Wed Sep 30 07:46:03 MDT 2015

Error: Call to undefined method pocketmine\item\Sign::isPlaceable() File: /EconomyLand_v2.0.8.phar/src/onebone/economyland/EconomyLand Line: 613 Type: E_ERROR

THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: EconomyLand v2.0.8

Code: [604] $this->placeQueue[$player->getName()] = true; [605] } [606] return false; [607] } [608] } [609] }elseif($info !== true){ [610] $player->sendMessage($this->getMessage("no-permission", array($info["owner"], "", ""))); [611] $event->setCancelled(); [612] if($event instanceof PlayerInteractEvent){ [613] if($event->getItem()->isPlaceable()){ [614] $this->placeQueue[$player->getName()] = true; [615] } [616] } [617] return false; [618] } [619] return true; [620] } [621] [622] public function addLand($player, $startX, $startZ, $endX, $endZ, $level, $expires = null){ [623] if($level instanceof Level){

Backtrace:

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

PocketMine-MP version: 1.6dev #35 [Protocol 34; API 1.13.0] Git commit: 0000000000000000000000000000000000000000 uname -a: Linux s15.minespan.com 2.6.32-573.3.1.el6.x86_64 #1 SMP Thu Aug 13 22:55:16 UTC 2015 x86_64 PHP Version: 5.6.2 Zend version: 2.6.0 OS : Linux, linux

Loaded plugins: essentialsTP 1.1.0 by for API(s) 1.12.0 VoteReward 2.1 by LDX for API(s) 1.0.0, 1.1.0, 1.2.0, 1.3.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 EconomySell 2.0.6 by onebone for API(s) 1.12.0 SimpleAuth 1.6.0 by PocketMine Team, shoghicp for API(s) 1.8.0 WorldEditArt 1.0.0_betadev#048 by PEMapModder for API(s) 1.0.0 EconomyShop 2.0.6 by onebone for API(s) 1.12.0 EconomyLand 2.0.8 by onebone for API(s) 1.12.0 EconomyProperty 2.0.5 by onebone for API(s) 1.12.0

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

===BEGIN CRASH DUMP=== eNrNWgtv20YS/it7coCzD6Is6mVHhQsYiXsXwG50ttMUFxXGilxKPJNclktaVov89/tmdvmQ7WvT 3B1w6SPkPma/ec+s+GuvjFPVm/uTyXg2Gp7Mxv2eKgpd9Oa/9spdjqnexd3F9fX7616/lypj5JrG 3sgkEaUWVRaqKM5UKFJVbnQoch3cqzLF0HIZlypdLm/idTafx2aRyEDJVaIOj0AqihOic3wR6Eyn u0uZhXcPo8FwcDrIN7I4NkVwrDO1wn/Hyq5JsKa7HlQSnNObz/zx534vT6p1nBHevSWBDhUxMxtO MLcs239elZvYeN/mhOvvlarUp1d43qnC+3atyu9lCqQ/iTNRFpX6BpRmw+kehc88NtsbK1RZFZmI ZGLcnpPOvN1x2ozY99fu/bPCpjg6fBVnkRZ/OrMnH/1Ki/xhs6kBaVQWXlmNHDpegLseWfYy7eWq SGNjYp0te30hi0LuLPlPy57eZqpY9n7qi2WPZun/R0dHjNr32+PUg8pKOq18I7NAJYkKD92qUbOK YPNCEWempHU6EgsG+i4rVSGD8oKmHTfjjlCarQz/HWzm8Mj7ds9e3K59Bf5h9fnTp6rwZ/uq8Ftl PVOkX6vNrqyV5tY1h4ysonjRiKTID1ZQebVK4kBEVRaUUImQYUhGeuhw98UriK4of6wf/oEH6PhH +xe9JRBUQq+PeVwoA+6yKkmseEa1UEmgvLCri0sawEI4SgltwCU+9Q6G4vBovueyN6p4IAkGhTSb t1WaH660TpTMjmAovb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qI4HwZxtvkIc6n3+QCXVe kQ7WvTm7TL+XB7TUvZifk7hUY/u1ime/jPnFfr5ivwFYBahrNs16ujjNQlm0A/azu/qtKpLmJYoT mDmT9u2HBVGZN7PrtH3ewHvtD7dY9E/jfsW1Hx+kK3uX2yxGTbjLy5aDUhKgsMPuzeKST6XnPEAt 1+7dgWH+MsY9iemA0BHnwqPfg0bD6XCMx1fvoLdofDJWchqG0+n49GTmT4YzeTocjeRkdSrHJ5OJ f7oaTYZKvMJJiw2JhX9444O1iR9bobtm3S3widFrFblOE6N83qmaRoFEpTrBscPo5CQ4OT2dTac4 evx6NFbj4er1yesw5PPMJtWtCA07ltnnNLbCx+JS36sMeaZoRj4qeY+IYAXFPxXuJP9IQl+B0IJf 4ty+jQaT3ufP/wIO1Tzz ===END CRASH DUMP===

Pub4Game commented 9 years ago

https://github.com/onebone/EconomyS/tree/php7/EconomyLand

Download the plugin from the branches of "php7"

tompok76 commented 9 years ago

I will try, thank you. btw what does php7 mean? I know update php is about 5.6.xxx ...... my server has only 5.6.2, it will work? thank you

Pub4Game commented 9 years ago

Yes, it will work

tompok76 commented 9 years ago

I am sorry but doesnt load php7 plugins. I put it in plugin folder like other and restart server, a console nor player know it. My server has only php 5.6.2 and this is php7 like other Bleeding MCPE PocketMine-MP.phar, last stable is PocketMine-MP_1.6dev-35_mcpe-0.12_a7e5e33d_API-1.13.0.phar but i cant use PocketMine-MP_1.6dev-36_php7_f560d07c_API-2.0.0.phar due to php7. This is my problem, on my rent server is php only 5.6.2 Linux runs on my server, is there any option tu run this cool plugin? Thank you very much for an advice, tom

Pub4Game commented 9 years ago

Do not worry into the account of versions of php, just install the plugin on your server)

tompok76 commented 9 years ago

install means copy all of this https://github.com/onebone/EconomyS/tree/php7/EconomyLand into a plugnin folder? (its done) Because i dont know what i have done wrong... Thank you, you are so patient :) What does it mean install? just copy? because i dont know whats wrong :( PS: So why PocketMine-MP_1.6dev-35_mcpe-0.12_a7e5e33d_API-1.13.0.phar run easy and PocketMine-MP_1.6dev-36_php7_f560d07c_API-2.0.0.phar dont? I thing due to "php7" ogm, where is :ghost: ?

Pub4Game commented 9 years ago

Just download the plugin and install it on you server

https://www.dropbox.com/s/c6pkag8le69irsj/EconomyLand_v2.0.8.phar?dl=0

tompok76 commented 9 years ago

this is what did problems

tompok76 commented 9 years ago

v208 u can find it here: https://forums.pocketmine.net/plugins/%E2%82%AC%C2%A2onom%C2%A5.30/

tompok76 commented 9 years ago

so simply question, what is php7 in the name of file?

Pub4Game commented 9 years ago

Pay no attention to the name of the branch development..... This plugin comes to 1.6 PM in PHP 5.6

tompok76 commented 9 years ago

i copy your file (only this file) in plugin folder and a plugin doesnt work need API to work too, may i use "original" API?

Pub4Game commented 9 years ago

You have not set EconomyAPI? If so, download it and install

tompok76 commented 9 years ago

I like your cat profile pict :)

Pub4Game commented 9 years ago

:+1: Subscribe to me :D

tompok76 commented 9 years ago

I found this http://jenkins.pocketmine.net/view/PHP/job/PHP-PocketMine-Linux/152/artifact/archive/linux/ php7 is ti php7 for linux and good for minecraft? this php version drives me up the wall

Pub4Game commented 9 years ago

I'm sorry, but I can't enter) My ISP has blocked this site

tompok76 commented 9 years ago

after original API and your ecoland still same: "30.09 12:55:50 [Disconnect] User test[/109.202.83.167:19132] has disconnected, reason: Server shutting down"

tompok76 commented 9 years ago

my only hope is php7

onebone commented 9 years ago

I am not sure why your server is crashing even if you replaced Land. Could you try replacing Shop and Sell?

tompok76 commented 9 years ago

Ive used only EconomyLand plus Api standalone, no shop. By replace the Land you mean plugin not a word, do you? Thank you very much for care, Tom

Sent from my iPad

On 06 Oct 2015, at 06:56, onebone notifications@github.com wrote:

I am not sure why your server is crashing even if you replaced Land. Could you try replacing Shop and Sell?

— Reply to this email directly or view it on GitHub.

onebone commented 9 years ago

Did you try this version? https://github.com/onebone/EconomyS/releases/download/v5.7/EconomyS_v5.7.zip