Closed ecoron closed 9 years ago
there is a new version 1.8.1 which should no more crash if a player is entering a full server.
This is working great! Thank you for this!
Tested against newest PocketMine-MP_1.6dev-30_mcpe-0.12_86c11986_API-1.13.0.phar
Unfortunately there doesn't seem to be a version of PurePerms that does not crash when server is full. Both your modified version and the release version still crash with
Error: Call to a member function toString() on null File: /PurePerms_v1.1.12-PMv1.6dev.phar/src/_64FF00/PurePerms/PurePerms Line: 661
yes i know i'm still on it to provide also a customized PurePerms version
The 1.8.0 fork of SimpleAuth crashes when one player above max players joins (they get kicked with "server full"). Note that Shoghi made some code changes to the UUID; so we may need a new approach for fixing SimpleAuth and PurePerms:
https://github.com/PocketMine/PocketMine-MP/commit/ed559fdf98456b9bb6ff77c1bf09da397f91ecf8
The error that occurs when you have 2/2 players in server and attempt to connect a third player is:
I wonder if the uuid data is null because the player has already been kicked for "server full" before SimpleAuth gets a chance to run.
reported by: @BlindTail