iTXTech / Nemisys

The Java implementation of standard Synapse Proxy Protocol.
GNU General Public License v3.0
44 stars 44 forks source link

Fixes blocking of query requests when player with name "null" joins #59

Closed SleepSpace9 closed 7 years ago

SleepSpace9 commented 8 years ago

When a player with the name "null" is joining the server then this will cause a java.lang.NullPointerException. After it the query server fails for new queries and block incoming requests for 300 seconds. In this time the server seems dead/offline, but is currently running. With this fix those players are kicked at login. Maybe you can solve it in a more elegand way. ;-)

[Fixes #54 and probably #49 and maybe even #38]

SleepSpace9 commented 7 years ago

I know now who was the player with name "null" => it were people with 0.15.90 The login packet of this version created an empty UUID for Nemisys. Are we prepared (Nemisys) for the new login packet when 0.16 comes out?