Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Client Crash #83

Closed
SuperKali opened this issue Oct 17, 2018 · 5 comments
Closed

Client Crash #83

SuperKali opened this issue Oct 17, 2018 · 5 comments

Comments

@SuperKali
Copy link

Issue description

[03:15:29] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to pocketmine\level\Level::getFullLightAt() must be of the type integer, float given, called in phar:///home/NG/PocketMine-MP.phar/src/pocketmine/level/Level.php on line 1254" (EXCEPTION) in "src/pocketmine/level/Level" at line 1257
[03:15:29] [Server thread/DEBUG]: #0 src/pocketmine/level/Level(1254): pocketmine\level\Level->getFullLightAt(double -44.5, double 50, double 55.5)
[03:15:29] [Server thread/DEBUG]: #1 src/pocketmine/entity/Animal(48): pocketmine\level\Level->getFullLight(pocketmine\entity\passive\Chicken object)
[03:15:29] [Server thread/DEBUG]: #2 src/pocketmine/level/AnimalSpawner(160): pocketmine\entity\Animal->canSpawnHere()
[03:15:29] [Server thread/DEBUG]: #3 src/pocketmine/level/Level(1043): pocketmine\level\AnimalSpawner->findChunksForSpawning(pocketmine\level\Level object, boolean 1, boolean 1, boolean 1, array Array())
[03:15:29] [Server thread/DEBUG]: #4 src/pocketmine/level/Level(857): pocketmine\level\Level->tickChunks()
[03:15:29] [Server thread/DEBUG]: #5 src/pocketmine/level/Level(773): pocketmine\level\Level->actuallyDoTick(integer 813)
[03:15:29] [Server thread/DEBUG]: #6 src/pocketmine/Server(2592): pocketmine\level\Level->doTick(integer 813)
[03:15:29] [Server thread/DEBUG]: #7 src/pocketmine/Server(2721): pocketmine\Server->checkTickUpdates(integer 813)
[03:15:29] [Server thread/DEBUG]: #8 src/pocketmine/Server(2491): pocketmine\Server->tick()
[03:15:29] [Server thread/DEBUG]: #9 src/pocketmine/Server(2365): pocketmine\Server->tickProcessor()
[03:15:29] [Server thread/DEBUG]: #10 src/pocketmine/Server(1874): pocketmine\Server->start()
[03:15:29] [Server thread/DEBUG]: #11 src/pocketmine/PocketMine(259): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/NG/, string /home/NG/plugins/)
[03:15:29] [Server thread/DEBUG]: #12 /home/NG/PocketMine-MP.phar(1): require_once(string phar:///home/NG/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[03:15:29] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
[03:15:29] [Server thread/EMERGENCY]: Please upload the "/home/NG/crashdumps/Wed_Oct_17-03.15.29-EDT_2018.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.

Steps to reproduce the issue

  1. start the server
  2. i join and i have this error with the client crash

OS and versions

  • Altay: Jenkins Last
  • PHP: 7.2
  • Server OS: Debian 8
  • Game version: PE0

Plugins

  • Test on a clean server without plugins: is the issue reproducible without any plugins loaded?

If the issue is not reproducible without plugins:

  • Have you asked for help on our forums before creating an issue?
  • Can you provide sample, minimal reproducing code for the issue? If so, paste it in the bottom section
  • Paste your list of plugins here (use the 'plugins' command in PocketMine-MP)

Crashdump, backtrace or other files

  • Do not paste crashdumps into an issue - please use our Crash Archive at https://crash.pmmp.io for submitting crash reports to not spam the issue tracker. Add links to your reports in the Crash Archive here.
  • Please use gist or anything else to add other files and add links here
  • ...
@SuperKali
Copy link
Author

[03:24:45] [Server thread/CRITICAL]: Error: "Class 'pocketmine\entity\EntityDeathEvent' not found" (EXCEPTION) in "src/pocketmine/entity/Living" at line 719
[03:24:45] [Server thread/DEBUG]: #0 src/pocketmine/entity/Entity(1192): pocketmine\entity\Living->onDeath()
[03:24:45] [Server thread/DEBUG]: #1 src/pocketmine/entity/Living(714): pocketmine\entity\Entity->kill()
[03:24:45] [Server thread/DEBUG]: #2 src/pocketmine/entity/Entity(1237): pocketmine\entity\Living->kill()
[03:24:45] [Server thread/DEBUG]: #3 src/pocketmine/entity/Living(212): pocketmine\entity\Entity->setHealth(double -5)
[03:24:45] [Server thread/DEBUG]: #4 src/pocketmine/entity/Entity(1173): pocketmine\entity\Living->setHealth(double -5)
[03:24:45] [Server thread/DEBUG]: #5 src/pocketmine/entity/Living(645): pocketmine\entity\Entity->attack(pocketmine\event\entity\EntityDamageByEntityEvent object)
[03:24:45] [Server thread/DEBUG]: #6 src/pocketmine/Player(2515): pocketmine\entity\Living->attack(pocketmine\event\entity\EntityDamageByEntityEvent object)
[03:24:45] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/handler/SimpleSessionHandler(211): pocketmine\Player->attackEntity(pocketmine\entity\passive\Chicken object)
[03:24:45] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(155): pocketmine\network\mcpe\handler\SimpleSessionHandler->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
[03:24:45] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/NetworkSession(212): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(pocketmine\network\mcpe\handler\SimpleSessionHandler object)
[03:24:45] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/NetworkSession(192): pocketmine\network\mcpe\NetworkSession->handleDataPacket(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
[03:24:45] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(136): pocketmine\network\mcpe\NetworkSession->handleEncoded(string x.c.abb.ba.m.<n.Y.....{.1.ca`P.cf.gdZ.....uY.n;.I:.N.pc@...r. )
[03:24:45] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 79.36.10.251 58861, raklib\protocol\EncapsulatedPacket object, integer 0)
[03:24:45] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(81): raklib\server\ServerHandler->handlePacket()
[03:24:45] [Server thread/DEBUG]: #14 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[03:24:45] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
[03:24:45] [Server thread/DEBUG]: #16 src/pocketmine/Server(2494): pocketmine\snooze\SleeperHandler->sleepUntil(double 1539761085.8306)
[03:24:45] [Server thread/DEBUG]: #17 src/pocketmine/Server(2365): pocketmine\Server->tickProcessor()
[03:24:45] [Server thread/DEBUG]: #18 src/pocketmine/Server(1874): pocketmine\Server->start()
[03:24:45] [Server thread/DEBUG]: #19 src/pocketmine/PocketMine(259): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/NG/, string /home/NG/plugins/)

@TobiasGrether
Copy link

Should be easy to fix. I assume that the class isn't importet yet.

@SuperKali
Copy link
Author

@TobiasDevDE please add scoreboard api for 1.7

@TobiasGrether
Copy link

@SuperKali I will do when I have time for it, so I think I'll do in 1 1/2 week :/

Erkam246 added a commit that referenced this issue Oct 17, 2018
@phoshp
Copy link
Member

phoshp commented Oct 17, 2018

oh my fault

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants