A game update
A couple nights ago I got the UDP server working. I took the code from another project I worked on (encrypted UDP client/server), broke apart all the modules that made up legacy of a warlord, finally took the code from the tile memory manager project and squished them all together into 2 parts server/client.
The server currently handles:
Client session management
Packet encryption between client/server
Processing client event requests (after determining if it is valid)
Multiple threads: client session manager and network thread (non-blocking UDP)
The client handles:
Display of tiles
User input
Sending event requests to the server (very simple commands like, <request move left>)
Processing packets based on server encryption key.
Moving forward now by adding in more modules from legacy of a warlord for the server. Next is the XML files for entities (mobs.xml). I decided I will split this file in half. Tiles/Ascii displayed will be controlled by the client. All the AI/attributes will be stored in the server.
I hope to have a release of the client up by Christmas and a server running somewhere on the internet. I think this time I will also try to have a linux release of the client. I really respect that community and like that OS.










