Hello, I am trying to make a simple multiplayer game using Slick and Kryonet.
I am having problems with the client. It will connect to the server and read a few messages, but after that, it stops receiving messages and it times out. It doesn't stop sending messages to the server, however. The server seems okay, as it is sending and receiving messages as I expect that it would. After 12s, the client times out. The debugger also indicates that, after the first few packets received, the client listener received function is not being called at all.
I've tried running the client in debug mode and pausing it about a second after it connects. The messages that ordinarily would not have been read now show up in the message queue. Similarly, if I prematurely quit the client (not running in debug mode), the client log shows that the client has read the messages.
I'm confused! Any help would be appreciated.
Server Log: http://pastebin.com/TpPBv0dh
Client Log: http://pastebin.com/FZM9DB7q