MMORPG? lol

The built-in panda ConnectionManager modules use threading automatically. I spent a week going though the entire module and related modules just figuring out how it works and setup a simple client/server TCP connection.

I posted the code of how to use the connection manager and setup a basic client using the TCP protocol with Panda. Took a while to make it work because the stuff in the online manual doesn’t really give you much for sending data to a specific connection, which is essential in a multiplayer game. I put a way to deal with it in the code I posted, but it’s still pretty rough:

Click here to get the code

That’s what I’m doing now. The DistributedNode code is really cool, and it’s probably the best way to get a multiplayer game working. I’m working through it all to figure out how to get it working, and it completely automates the code that I spent a week working on above lol. But trying to setup a connection manager myself taught me a ton about how Panda functions so I think it was very useful.