ColinHDev / ActualAntiXRay

AntiXRay plugin for PocketMine-MP
https://discord.gg/cAYKEtaqnp
GNU General Public License v3.0
23 stars 7 forks source link

Server crashes on player join #9

Open TrinitroToluen0 opened 7 months ago

TrinitroToluen0 commented 7 months ago

2024-04-06 [20:30:59.307] [Server thread/CRITICAL]: TypeError: "pocketmine\network\mcpe\ChunkRequestTask::__construct(): Argument #3 ($dimensionId) must be of type int, pocketmine\world\format\Chunk given, called in phar:///home/admin/Server/plugins/ActualAntiXRay.phar/src/ColinHDev/ActualAntiXRay/tasks/ChunkRequestTask.php on line 46" (EXCEPTION) in "pmsrc/src/network/mcpe/ChunkRequestTask" at line 56 --- Stack trace ---

0 plugins/ActualAntiXRay.phar/src/ColinHDev/ActualAntiXRay/tasks/ChunkRequestTask(46): pocketmine\network\mcpe\ChunkRequestTask->__construct(int 5, int -1, object pocketmine\world\format\Chunk#48620, object pocketmine\network\mcpe\compression\CompressBatchPromise#48518, object pocketmine\network\mcpe\compression\ZlibCompressor#72, object Closure#63697)

1 plugins/ActualAntiXRay.phar/src/ColinHDev/ActualAntiXRay/player/Player(187): ColinHDev\ActualAntiXRay\tasks\ChunkRequestTask->__construct(object pocketmine\world\World#64582, int 5, int -1, object pocketmine\world\format\Chunk#48620, object pocketmine\network\mcpe\compression\CompressBatchPromise#48518, object pocketmine\network\mcpe\compression\ZlibCompressor#72, object Closure#63697)

2 plugins/ActualAntiXRay.phar/src/ColinHDev/ActualAntiXRay/player/Player(112): ColinHDev\ActualAntiXRay\player\Player->request(object pocketmine\network\mcpe\cache\ChunkCache#48514, int 5, int -1)

3 plugins/ActualAntiXRay.phar/src/ColinHDev/ActualAntiXRay/player/Player(80): ColinHDev\ActualAntiXRay\player\Player->startUsingChunk(int 5, int -1, object Closure#63642)

4 pmsrc/src/promise/Promise(47): ColinHDev\ActualAntiXRay\player\Player->ColinHDev\ActualAntiXRay\player{closure}(object pocketmine\world\format\Chunk#48620)

5 plugins/ActualAntiXRay.phar/src/ColinHDev/ActualAntiXRay/player/Player(66): pocketmine\promise\Promise->onCompletion(object Closure#48260, object Closure#48534)

6 pmsrc/src/player/Player(1025): ColinHDev\ActualAntiXRay\player\Player->requestChunks()

7 pmsrc/src/network/mcpe/NetworkSession(1211): pocketmine\player\Player->doChunkRequests()

8 pmsrc/src/network/NetworkSessionManager(90): pocketmine\network\mcpe\NetworkSession->tick()

9 pmsrc/src/network/Network(92): pocketmine\network\NetworkSessionManager->tick()

10 pmsrc/src/Server(1814): pocketmine\network\Network->tick()

11 pmsrc/src/Server(1693): pocketmine\Server->tick()

12 pmsrc/src/Server(1066): pocketmine\Server->tickProcessor()

13 pmsrc/src/PocketMine(350): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[18] /home/admin/Server/, string[26] /home/admin/Server/plugins/)

14 pmsrc/src/PocketMine(373): pocketmine\server()

15 pmsrc(11): require(string[62] phar:///home/admin/Server/PocketMine-MP.phar/src/PocketMine.php)

--- End of exception information ---

Pydepzaii commented 3 months ago

same issues here is crashdumps file [Uploading Sun_Aug_11-12.16.29-UTC_2024.log…]()