MCrafterss / MTeamPvP

A Simple in-development TeamPvP Minigame built for PocketMine-MP
GNU General Public License v3.0
19 stars 10 forks source link

Crashing... #4

Closed Sandertv closed 8 years ago

Sandertv commented 8 years ago

This plugin seems to be EXACTLY what i need! My problem is that the plugin keeps crashing when i add it :sob: I hope you can fix it!

I got the crashdump of it here:

PocketMine-MP Crash Dump Tue Dec 22 07:15:28 EST 2015

Error: Call to a member function getTile() on null
File: /Teampvp.phar/src/MCrafters/TeamPvP/Tasks/SignUpdaterTask
Line: 30
Type: E_ERROR

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: MTeamPvP v1.0.0 Beta

Code:
[21]         parent::__construct($plugin);
[22]         $this->plugin = $plugin;
[23]     }
[24] 
[25]     public function onRun($tick)
[26]     {
[27]         $this->f++;
[28]         if($this->f > 15){
[29]         $a = new \MCrafters\TeamPvP\TeamPvP();
[30]         $t = Server::getInstance()->getLevelByName($this->plugin->yml["sign_world"])->getTile(new Vector3($this->plugin->yml["sign_join_x"], $this->plugin->yml["sign_join_y"], $this->plugin->yml["sign_join_z"]));
[31] 
[32]         if ($t instanceof Sign) {
[33]             if ($this->plugin->gameStarted == true) {
[34]                 $t->setText(
[35]                     "§l§6Team§cPvP",
[36]                     "§l§cRed Team : " . count($this->plugin->reds),
[37]                     "§l§bBlue Team : " . count($this->plugin->blues),
[38]                     "§aStarted"
[39]                 );
[40]             } elseif ($this->plugin->gameStarted == false && count($this->plugin->reds) == 5 && count($this->plugin->blues) == 5) {

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

PocketMine-MP version: 1.6dev #0 [Protocol 38; API 1.13.1]
Git commit: 0000000000000000000000000000000000000000
uname -a: Linux mcpe2.bisecthosting.com 3.14.32-xxxx-grs-ipv6-64 #1 SMP Sat Feb 7 11:35:27 CET 2015 x86_64
PHP Version: 5.6.2
Zend version: 2.6.0
OS : Linux, linux

Loaded plugins:
ColorMatch 1.1 by CreeperFace for API(s) 1.12.0
MSpawns 1.5 by EvolSoft for API(s) 1.11.0
essentialsTP 1.0.9 by  for API(s) 1.0.0
GoldStd 1.2.2 by aliuly for API(s) 1.12.0
CustomAlerts 1.5 by EvolSoft for API(s) 1.12.0
WorldEditArt 1.0.0_beta_dev_#048 by PEMapModder for API(s) 1.0.0
CrateKeys 1.0 by Savion for API(s) 1.12.0
TapToDo 2.1.2 by Falk for API(s) 1.0.0
ItemCasePE 1.0.8 by aliuly for API(s) 1.10.0, 1.13.0
Unlimited 1.0.0 by Primus for API(s) 1.12.0, 1.13.0
AlwaysSpawn 2.2.2 by Philip Shilling for API(s) 1.12.0
Slapper 1.2.5 by jojoe77777 for API(s) 1.12.0
1vs1 0.0.3 by  for API(s) 1.0.0, 1.1.0
PurePerms 1.2.2 by 64FF00 for API(s) 1.12.0
BanItem 2.1 by LDX for API(s) 1.0.0
iProtector 3.1a by LDX for API(s) 1.9.0
MagicTelePortal 1.3.2 by aliuly for API(s) 1.10.0
ClearLagg 1.1.0 by LegendOfMCPE for API(s) 1.0.0
RocketPads 1.0.0 by Gamecrafter for API(s) 1.12.0
MTeamPvP 1.0.0 Beta by MCrafters for API(s) 1.12.0
BlockEffects 1.0.5 by GmWM 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
ServerMail 0.0.2 by tschrock (tschrock123@gmail.com) for API(s) 1.0.0
SimpleAuth 1.4.0 by PocketMine Team, shoghicp for API(s) 1.0.0
VoteReward 2.1 by LDX for API(s) 1.0.0, 1.1.0, 1.2.0, 1.3.0
SimpleAuthHelper 2.0.4 by aliuly for API(s) 1.12.0
EconomyShop 2.0.6 by onebone for API(s) 1.12.0
MyPlot 1 by Wies and Exxarion for API(s) 1.0.0
SignWarp 1.5.1 by aliuly for API(s) 1.10.0, 1.12.0
PureChat 1.3.3 by 64FF00 for API(s) 1.11.0

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

===BEGIN CRASH DUM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1fKFAhWhD508U4VPIVVROoOsiCHLCQFlk3k0yDA7ExrmmeGbCXQJJjbW
u87Ym4vT69no58Pu9Ph+2B3fj7ujn4c/+5AiaO+4h2/l6Iu5k6MBW4FdKN2aTPfNKb24z0WCLDLf
cGXC+hYMVc1qQjxadWZkbt1O6uFU01B/RmEuxvr7NUd/KvdJf9CmryUsPUi81tV8PO9NfJ7VHfp7
5bJVZFHVCMIIr64h6KG+6xDkaTW6iuvnNdh99WnDR1XdssUXsfFSH0FXkyF53aZ5TUHOESHfIncx
v6Bd8Tn1IOGs126BYPpMzjyxaQ+xQ8qZgy/lRoPpYAyPP70F2QXjw7HgU9+fTsdHhwfDyeCAHw1G
Iz5ZHvHx4WQyPFqOJgPBfsI31WtkC730p42lCu9rppuzCjNhiIReicCU09BL+x2JaeBxSKgnsO0g
ODz0Do+ODqZT2Hp8PBqL8WB5fHjs+7SfWseyZqEik1NNSkPNfJicy1uRQCTLqp4Pgt+Cx9CMouto
W05ve/BiCk74FKa6NepNOp8//x+9Fgm6
===END CRASH DUMP===
Sandertv commented 8 years ago

Well i would love to be able to load the level, but the server just crashes over and over again while i dont use any command from it :disappointed:

Sandertv commented 8 years ago

Ok thanks! Great you could reply and help me so fast man!

Sandertv commented 8 years ago

Yes! It worked! Thanks a lot, for your help again! Op 22 dec. 2015 13:33 schreef "PocketKiller" notifications@github.com:

now try the new code

— Reply to this email directly or view it on GitHub https://github.com/MCrafterss/MTeamPvP/issues/4#issuecomment-166607276.