I think I discovered a bug: When the first user, after a server restart, enters a game room, he gets the Id 0
This doesn't give errors when the clients sends TCP messages to the server, but this error occurs when UDP messages are being sent:
Code: Select all
11:54:41,649 WARN [SocketReader] protocol.SFSIoHandler - Discard UDP packet from 127.0.0.1:60359, reason: User does not exist, id: -1
When the user disconnects, and reconnects again, the error is gone and everything works fine. Is this a bug or am I doing something wrong?
Cheers
Jan