Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes 1.13 server #65

Closed
ramires666 opened this issue Nov 12, 2019 · 3 comments
Closed

Crashes 1.13 server #65

ramires666 opened this issue Nov 12, 2019 · 3 comments
Assignees
Labels
Bug: Plugin side Plugin side`s bug. Status: Reproduced It will be granted to the reproduced issues.

Comments

@ramires666
Copy link

ramires666 commented Nov 12, 2019

必須項目 (Required items)

  • ServerOS:Win10Edu
  • PHP version: php7.2.24 (64bit)
  • Minecraft version: MC:Win10 1.13
  • Texter version: Texter v3.3.00
  • issue(s):
    it crashes the server right after login
    i tryed it on Foxel version pocketmine-mp 1.13 and on JackMD version PocketMine-MP_v3.10.1
    the results are the same
Error: Call to undefined method pocketmine\entity\Skin::null()
File: plugins/Texter_3.3.0.phar/src/tokyo/pmmp/Texter/text/FloatingText
Line: 187
Type: Error

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: Texter v3.3.0

Code:
[178]         $uuid = UUID::fromRandom();
[179]         $skinData = str_repeat("\x00", 8192);
[180] 
[181]         $apk = new PlayerListPacket;
[182]         $apk->type = PlayerListPacket::TYPE_ADD;
[183]         $apk->entries = [PlayerListEntry::createAdditionEntry(
[184]           $uuid,
[185]           $this->eid,
[186]           $this->getIndentedTexts($owned),
[187]           Skin::null()
[188]         )];
[189] 
[190]         $pk = new AddPlayerPacket;
[191]         $pk->username = $this->getIndentedTexts($owned);
[192]         $pk->uuid = $uuid;
[193]         $pk->entityRuntimeId = $this->eid;
[194]         $pk->entityUniqueId = $this->eid;
[195]         $pk->position = $this;
[196]         $pk->item = Item::get(Item::AIR);
[197]         $flags = 1 << Entity::DATA_FLAG_IMMOBILE;

Backtrace:
#0 plugins/Texter_3.3.0.phar/src/tokyo/pmmp/Texter/text/UnremovableFloatingText(48): tokyo\pmmp\Texter\text\FloatingText->asPackets(integer 0)
#1 plugins/Texter_3.3.0.phar/src/tokyo/pmmp/Texter/task/SendTextsTask(79): tokyo\pmmp\Texter\text\UnremovableFloatingText->sendToPlayer(object pocketmine\Player, integer 0)
#2 src/pocketmine/scheduler/TaskHandler(159): tokyo\pmmp\Texter\task\SendTextsTask->onRun(integer 539)
#3 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 539)
#4 src/pocketmine/plugin/PluginManager(682): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 539)
#5 src/pocketmine/Server(2593): pocketmine\plugin\PluginManager->tickSchedulers(integer 539)
#6 src/pocketmine/Server(2368): pocketmine\Server->tick()
#7 src/pocketmine/Server(2228): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1774): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(278): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[15] C:\pmmp\101119\, string[23] C:\pmmp\101119\plugins\)
#10 src/pocketmine/PocketMine(300): pocketmine\server()
#11 (1): require(string[63] phar://C:/pmmp/101119/Fox123.phar/src/pocketmine/PocketMine.php)

Foxel version: 1.0.0 [Protocol 388]
Git commit: 0000000000000000000000000000000000000000
uname -a: Windows NT COMPUTER 10.0 build 17134 (Windows 10) AMD64
PHP Version: 7.2.24
Zend version: 3.2.0
OS : WINNT, win
@fuyutsuki fuyutsuki self-assigned this Nov 13, 2019
@fuyutsuki fuyutsuki added Bug: Plugin side Plugin side`s bug. Status: Reproduced It will be granted to the reproduced issues. labels Nov 13, 2019
@fuyutsuki
Copy link
Owner

I'll release asap hotfix version: 3.3.1

@ramires666
Copy link
Author

thank you very much

@fuyutsuki
Copy link
Owner

np :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Plugin side Plugin side`s bug. Status: Reproduced It will be granted to the reproduced issues.
Projects
None yet
Development

No branches or pull requests

2 participants