CortexPE / TeaSpoon

☕ A PLUGIN to Extend PMMP's Functionality without completely changing it.
GNU Affero General Public License v3.0
144 stars 100 forks source link

[Ported PC Maps] MobSpawner NBT Error #206

Closed SpecialistNinja closed 6 years ago

SpecialistNinja commented 6 years ago
19.02 18:46:11 [Server] Server thread/CRITICAL RuntimeException: "Expected a tag of type pocketmine\nbt\tag\IntTag, got pocketmine\nbt\tag\StringTag" (EXCEPTION) in "vendor/pocketmine/pocketmine-nbt/src/tag/CompoundTag" at line 107
19.02 18:46:11 [Server] Server thread/DEBUG #0 vendor/pocketmine/pocketmine-nbt/src/tag/CompoundTag(309): pocketmine\nbt\tag\CompoundTag->getTag(string EntityId, string pocketmine\nbt\tag\IntTag)
19.02 18:46:11 [Server] Server thread/DEBUG #1 vendor/pocketmine/pocketmine-nbt/src/tag/CompoundTag(345): pocketmine\nbt\tag\CompoundTag->setTagValue(string EntityId, string pocketmine\nbt\tag\IntTag, integer 0, boolean )
19.02 18:46:11 [Server] Server thread/DEBUG #2 TeaSpoon_dev-145.phar/src/CortexPE/tile/MobSpawner(32): pocketmine\nbt\tag\CompoundTag->setInt(string EntityId, integer 0)
19.02 18:46:11 [Server] Server thread/DEBUG #3 src/pocketmine/tile/Tile(112): CortexPE\tile\MobSpawner->__construct(pocketmine\level\Level object, pocketmine\nbt\tag\CompoundTag object)
19.02 18:46:11 [Server] Server thread/DEBUG #4 src/pocketmine/level/format/Chunk(749): pocketmine\tile\Tile::createTile(string MobSpawner, pocketmine\level\Level object, pocketmine\nbt\tag\CompoundTag object)
19.02 18:46:11 [Server] Server thread/DEBUG #5 src/pocketmine/level/Level(2732): pocketmine\level\format\Chunk->initChunk(pocketmine\level\Level object)
19.02 18:46:11 [Server] Server thread/DEBUG #6 src/pocketmine/level/Level(2365): pocketmine\level\Level->loadChunk(integer -10, integer 2, boolean 1)
19.02 18:46:11 [Server] Server thread/DEBUG #7 src/pocketmine/level/Level(3001): pocketmine\level\Level->getChunk(integer -10, integer 2, boolean 1)
19.02 18:46:11 [Server] Server thread/DEBUG #8 src/pocketmine/Player(944): pocketmine\level\Level->populateChunk(integer -10, integer 2)
19.02 18:46:11 [Server] Server thread/DEBUG #9 src/pocketmine/Player(1728): pocketmine\Player->sendNextChunk()
19.02 18:46:11 [Server] Server thread/DEBUG #10 src/pocketmine/Server(2554): pocketmine\Player->checkNetwork()
19.02 18:46:11 [Server] Server thread/DEBUG #11 src/pocketmine/Server(2290): pocketmine\Server->tick()
19.02 18:46:11 [Server] Server thread/DEBUG #12 src/pocketmine/Server(2163): pocketmine\Server->tickProcessor()
19.02 18:46:11 [Server] Server thread/DEBUG #13 src/pocketmine/Server(1746): pocketmine\Server->start()
19.02 18:46:11 [Server] Server thread/DEBUG #14 src/pocketmine/PocketMine(385): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /, string /plugins/)
19.02 18:46:11 [Server] Server thread/DEBUG #15 /custom-php7.2.phar(1): require(string phar:///custom-php7.2.phar/src/pocketmine/PocketMine.php)
19.02 18:46:11 [Server] Server thread/EMERGENCY An unrecoverable error has occurred and the server has crashed. Creating a crash dump
19.02 18:46:11 [Server] Server thread/EMERGENCY Please upload the "/crashdumps/Mon_Feb_19-23.46.11-UTC_2018.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
19.02 18:46:11 [Server] Server thread/EMERGENCY The crash dump has been automatically submitted to the Crash Archive. You can view it on https://crash.pmmp.io/view/11441 or use the ID #11441.
CortexPE commented 6 years ago

can't reproduce :/ Someone probably placed the monster spawner block that has a corrupted NBT structure

isoz commented 6 years ago

Because you can't reproduce doesn't mean it's not a problem. This happens in PC maps mostly, I fly around if TeaSpoon is enabled the server crashes, with it disabled it doesn't which makes it a TeaSpoon problem.

CortexPE commented 6 years ago

didn't say its 'not a TeaSpoon problem' but could you send me a copy of the map so I could test it?

isoz commented 6 years ago

It's happening with this one https://www.planetminecraft.com/project/factions-server-spawn-with-download-3558606/

CortexPE commented 6 years ago

kk I'll test it when I have time...

CortexPE commented 6 years ago

reproduced... I'll try to make the patch for this tomorrow... for now I'll push the changes for ArmorStands and a fix for EndCrystal placement...