Closed teracube closed 5 years ago
another example. same crash, same issue
2018-12-01 [13:11:21] [Server thread/INFO]: [VPNGuard] Player IComeBack1 has connected with the IP: 207.XXX.0.34
2018-12-01 [13:11:21] [Server thread/INFO]: [13:11:21] IComeBack1 [-]
2018-12-01 [13:11:21] [Server thread/INFO]: IComeBack1[/207.XXX.0.34:40081] logged out due to Votre sous-réseau IP est banni !
2018-12-01 [13:11:21] [Server thread/INFO]: [VPNGuard] IComeBack1 has been disconnected for being in the subnet 207.XXX.0.34/32 which is banned.
2018-12-01 [13:11:21] [Server thread/INFO]: [13:11:21] IComeBack1 [+]
2018-12-01 [13:11:21] [Server thread/CRITICAL]: InvalidStateException: "Trying to get permissions of closed player" (EXCEPTION) in "src/pocketmine/Player" at line 623
2018-12-01 [13:11:21] [Server thread/DEBUG]: #0 src/pocketmine/Player(1057): pocketmine\Player->hasPermission(string pocketmine.broadcast.admin)
2018-12-01 [13:11:21] [Server thread/DEBUG]: #1 src/pocketmine/Player(985): pocketmine\Player->doFirstSpawn()
2018-12-01 [13:11:21] [Server thread/DEBUG]: #2 src/pocketmine/level/Level(2464): pocketmine\Player->sendChunk(integer -2, integer 3, pocketmine\network\mcpe\protocol\BatchPacket object)
2018-12-01 [13:11:21] [Server thread/DEBUG]: #3 src/pocketmine/level/Level(2488): pocketmine\level\Level->sendChunkFromCache(integer -2, integer 3)
2018-12-01 [13:11:21] [Server thread/DEBUG]: #4 src/pocketmine/level/Level(792): pocketmine\level\Level->processChunkRequest()
2018-12-01 [13:11:21] [Server thread/DEBUG]: #5 src/pocketmine/Server(2370): pocketmine\level\Level->doTick(integer 600655)
2018-12-01 [13:11:21] [Server thread/DEBUG]: #6 src/pocketmine/Server(2519): pocketmine\Server->checkTickUpdates(integer 600655, double 1543666281.5289)
2018-12-01 [13:11:21] [Server thread/DEBUG]: #7 src/pocketmine/Server(2265): pocketmine\Server->tick()
2018-12-01 [13:11:21] [Server thread/DEBUG]: #8 src/pocketmine/Server(2135): pocketmine\Server->tickProcessor()
2018-12-01 [13:11:21] [Server thread/DEBUG]: #9 src/pocketmine/Server(1701): pocketmine\Server->start()
2018-12-01 [13:11:21] [Server thread/DEBUG]: #10 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/)
2018-12-01 [13:11:21] [Server thread/DEBUG]: #11 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
2018-12-01 [13:11:21] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
2018-12-01 [13:11:21] [Server thread/EMERGENCY]: Please upload the "/home/myserver/crashdumps/Sat_Dec_1-13.11.21-CET_2018.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
This seems to be a problem of pocketmine itself at first sight, however, I will take a look at this. Since pocketmine does not report anything usefull in the crash report, It will require a quite complicated workaround.....
I tried to address your issue in VPNGuard 1.0.7-patch1 which you can find in my repository. If you need a version for API 4.0.0, please notify me down below.
@DarkWav v1.0.7-patch1 works on test on my server since 1 day and no error ok for me thanks
OK, then I will update the version for API-4.0.0 aswell and request the patch to be pushed upstream.
@DarkWav thank you very much TeraCube
@HiddenMotives @DarkWav
server crash when a banned ip player try to connect to the server with a new name account
62.XXX.107.16 is a banned ip in the config banned.yml =) 62.XXX.107.16/32 62.XXX.107.16 is not a VPN IP theo666 is the new name of the banned player player try to connect 2 times at same time
https://poggit.pmmp.io/r/43245/VPNGuard_dev-16.phar https://jenkins.pmmp.io/job/PocketMine-MP/1642/artifact/PocketMine-MP.phar