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

Crashing when game starts #5

Closed
jsnfjsfjbwiea opened this issue Mar 4, 2020 · 7 comments
Closed

Crashing when game starts #5

jsnfjsfjbwiea opened this issue Mar 4, 2020 · 7 comments

Comments

@jsnfjsfjbwiea
Copy link

[01:33:24] [Server thread/CRITICAL]: InvalidArgumentException: "Invalid skin data size 0 bytes (allowed sizes: 8192, 16384, 65536)" (EXCEPTION) in "src/pocketmine/entity/Skin" at line 79
[01:33:24] [Server thread/DEBUG]: #0 src/pocketmine/entity/Human(131): pocketmine\entity\Skin->validate()
[01:33:24] [Server thread/DEBUG]: #1 src/pocketmine/entity/Human(114): pocketmine\entity\Human::deserializeSkinNBT(object pocketmine\nbt\tag\CompoundTag)
[01:33:24] [Server thread/DEBUG]: #2 plugins/BedWars-master/src/BedWars/game/Generator(96): pocketmine\entity\Human->__construct(object pocketmine\level\Level, object pocketmine\nbt\tag\CompoundTag)
[01:33:24] [Server thread/DEBUG]: #3 plugins/BedWars-master/src/BedWars/game/Game(357): BedWars\game\Generator->__construct(integer 264, integer 30, object pocketmine\level\Position, boolean 1, boolean 1)
[01:33:24] [Server thread/DEBUG]: #4 plugins/BedWars-master/src/BedWars/game/Game(334): BedWars\game\Game->initGenerators()
[01:33:24] [Server thread/DEBUG]: #5 plugins/BedWars-master/src/BedWars/game/Game(638): BedWars\game\Game->start()
[01:33:24] [Server thread/DEBUG]: #6 plugins/BedWars-master/src/BedWars/game/Game(170): BedWars\game\Game->tick()
[01:33:24] [Server thread/DEBUG]: #7 src/pocketmine/scheduler/TaskHandler(134): class@anonymous/home/container/plugins/BedWars-master/src/BedWars/game/Game.php0x7fe63636618d->onRun(integer 2861)
[01:33:24] [Server thread/DEBUG]: #8 src/pocketmine/scheduler/TaskScheduler(176): pocketmine\scheduler\TaskHandler->run(integer 2861)
[01:33:24] [Server thread/DEBUG]: #9 src/pocketmine/plugin/PluginManager(643): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 2861)
[01:33:24] [Server thread/DEBUG]: #10 src/pocketmine/Server(2380): pocketmine\plugin\PluginManager->tickSchedulers(integer 2861)
[01:33:24] [Server thread/DEBUG]: #11 src/pocketmine/Server(2143): pocketmine\Server->tick()
[01:33:24] [Server thread/DEBUG]: #12 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
[01:33:24] [Server thread/DEBUG]: #13 src/pocketmine/Server(1584): pocketmine\Server->start()
[01:33:24] [Server thread/DEBUG]: #14 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
[01:33:24] [Server thread/DEBUG]: #15 src/pocketmine/PocketMine(296): pocketmine\server()
[01:33:24] [Server thread/DEBUG]: #16 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Happens when the game timer hits 0 and the game begins. Using the sign to join games because the /bedwars join does not work.

@eforce67
Copy link

eforce67 commented Mar 4, 2020

The error crashes /bedwars join and to fix this you need the skins imported into the files

@jsnfjsfjbwiea
Copy link
Author

what do you mean? Can you elaborate?

@eforce67
Copy link

eforce67 commented Mar 4, 2020

And i mean BedWars\resources\skins\388 and 264 as the skin name, any skin would do like your own and rename them 264 plus 388

@jsnfjsfjbwiea
Copy link
Author

I dont see the resources folder anywhere? Am I skipping over something?

@eforce67
Copy link

eforce67 commented Mar 4, 2020

There should one in data if you see one

@eforce67
Copy link

eforce67 commented Mar 4, 2020

Dm me Eforce#1317 on discord and i'll send the skins if you like

@boi1216
Copy link
Owner

boi1216 commented Mar 4, 2020

With latest commit you do not need to import the files manually.

@boi1216 boi1216 closed this as completed Mar 4, 2020
@tnt10128 tnt10128 mentioned this issue Sep 6, 2020
ricky074game referenced this issue in ricky074game/Blossom-Bedwars May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants