xZeroMCPE / SurvivalGames

A SurvivalGames plugin like no other
58 stars 28 forks source link

Doesnt tp player to the level or even start the game #21

Closed EpicArtz08999 closed 8 years ago

EpicArtz08999 commented 8 years ago

in console saids this :

26.12 20:14:03 [Server] Server thread/NOTICE UndefinedVariableException: "Undefined variable: event" (E_NOTICE) in "/SurvivalGame_v1.0.5.phar/src/Andre/SurvivalGame/Main" at line 175 26.12 20:14:03 [Server] Server thread/CRITICAL Unhandled exception executing command 'lobby' in lobby: Undefined variable: event 26.12 20:14:02 [Server] Server thread/NOTICE UndefinedPropertyException: "Undefined property: Andre\SurvivalGame\Main::$level" (E_NOTICE) in "/SurvivalGame_v1.0.5.phar/src/Andre/SurvivalGame/Main" at line 486 26.12 20:14:02 [Server] Server thread/CRITICAL Could not execute task pocketmine\scheduler\CallbackTask: Undefined property: Andre\SurvivalGame\Main::$level 26.12 20:14:01 [Server] Server thread/NOTICE UndefinedPropertyException: "Undefined property: Andre\SurvivalGame\Main::$level" (E_NOTICE) in "/SurvivalGame_v1.0.5.phar/src/Andre/SurvivalGame/Main" at line 486 26.12 20:14:01 [Server] Server thread/CRITICAL Could not execute task pocketmine\scheduler\CallbackTask: Undefined property: Andre\SurvivalGame\Main::$level 26.12 20:14:00 [Server] Server thread/NOTICE UndefinedPropertyException: "Undefined property: Andre\SurvivalGame\Main::$level" (E_NOTICE) in "/SurvivalGame_v1.0.5.phar/src/Andre/SurvivalGame/Main" at line 486

xZeroMCPE commented 8 years ago

Hi, delete the whole "SurvivalGame" folder then restart server and set up the arena again then try to join arena. " Do Not Restart". Cause whenever you restart the server and try to join again it will not work. You must set arena again and join without restarting server. I will try to fix this bug and when it's fix you will be able to join the arena after restart. Thanks /

EpicArtz08999 commented 8 years ago

lol ok i guess i will wait

EpicArtz08999 commented 8 years ago

and thx for your work

xZeroMCPE commented 8 years ago

Sure, no problem :)

Taki21 commented 8 years ago

Fixed Error

xZeroMCPE commented 8 years ago

Got it!

EpicArtz08999 commented 8 years ago

and here comes another one

Fatal error: Cannot use object of type pocketmine\math\Vector3 as array in C:\Users\Blenda\Downloads\PocketMine-MP\plugins\SurvivalGame-master\src\Andre\SurvivalGame\Main.php on line 1091

Call Stack: 0.0351 447520 1. {main}() C:\Users\Blenda\Downloads\PocketMine-MP\PocketMine-MP.phar:0 0.0389 442424 2. require('phar://C:/Users/Blenda/Downloads/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php') C:\Users\Blenda\Downloads\PocketMine-MP\PocketMine-MP.phar:1 2.2223 582976 3. pocketmine\Server->construct() phar://C:/Users/Blenda/Downloads/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php:466 9.3641 26599832 4. pocketmine\Server->start() phar://C:/Users/Blenda/Downloads/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/Server32bit.php:1701 9.4520 26700624 5. pocketmine\Server->tickProcessor() phar://C:/Users/Blenda/Downloads/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/Server32bit.php:2100 75.0021 61101856 6. pocketmine\Server->tick() phar://C:/Users/Blenda/Downloads/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/Server32bit.php:2222 75.0022 61101920 7. pocketmine\network\Network->processInterfaces() phar://C:/Users/Blenda/Downloads/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/Server32bit.php:2470 75.0022 61101920 8. pocketmine\network\RakLibInterface->process() phar://C:/Users/Blenda/Downloads/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/network/Network32bit.php:160 75.0029 61101952 9. raklib\server\ServerHandler->handlePacket() phar://C:/Users/Blenda/Downloads/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/network/RakLibInterface.php:81 75.0030 61102928 10. pocketmine\network\RakLibInterface->handleEncapsulated() phar://C:/Users/Blenda/Downloads/PocketMine-MP/PocketMine-MP.phar/src/raklib/server/ServerHandler32bit.php:90 75.0033 61103800 11. pocketmine\Player->handleDataPacket() phar://C:/Users/Blenda/Downloads/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/network/RakLibInterface.php:140 75.0036 61104120 12. pocketmine\level\Level->useItemOn() phar://C:/Users/Blenda/Downloads/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/Player32bit.php:1980 75.0038 61104896 13. pocketmine\plugin\PluginManager->callEvent() phar://C:/Users/Blenda/Downloads/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/level/Level__32bit.php:1669 75.0067 61104896 14. pocketmine\plugin\RegisteredListener->callEvent() phar://C:/Users/Blenda/Downloads/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/plugin/PluginManager.php:673 75.0067 61104896 15. pocketmine\plugin\MethodEventExecutor->execute() phar://C:/Users/Blenda/Downloads/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/plugin/RegisteredListener.php:96 75.0067 61104896 16. Andre\SurvivalGame\Main->playerBlockTouch() phar://C:/Users/Blenda/Downloads/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/plugin/MethodEventExecutor.php:36

dries-c commented 8 years ago

Wow

dries-c commented 8 years ago

Version from pocketmine

Taki21 commented 8 years ago

xD ill fix it

xZeroMCPE commented 8 years ago

It's fixed. Download the new release via out main GitHub page ;)