Hey everyone. Like you guys, I am trying to learn network programming by looking at the Pong Example. I pulled the latest code, both the multiplayer extension and the andengine.
However, I'm getting many errors and instability in the Pong Example. There are two bugs that I found.
When you exit the PongGameActivity, the onDestroy method is executed. This causes a runtime exception. This may be minor but I'd like to handle ending the server correctly. As you can see, the failure point is sandwiched between my comments in the code.
And here is the error message.
The next error is much more alarming since it happens during game play and is causing instability. The bug is this. After I connect both devices (Galaxy tab 10.1 is the server, Samsung smartphone is the client), the game will just crash and I will get this error.
I discovered AndEngine in April and have been loving it ever since. However, I really want to get Multiplayer working. For those that are more veteran to the engine, do you have any tips? Or is there an older version of AndEngine or the Multiplayer Extension that works with high stability?