Update

Published July 21, 2005
Advertisement
Ok, so tonight I worked on the communication protocol between the server and Torque2d.

So far I have made the following message types:
enum EComType {  COM_NONE = 0,  COM_HELLO,  COM_DISPLAY,  COM_LOGIN,  COM_LOGOUT,  COM_BANNED,  COM_MENU,  COM_CHARLIST,  COM_CREATECHAR,  COM_CHOOSECHAR,  COM_ENTERGAME,  COM_CREATEENT,  COM_UPDATEPOS,  COM_REQUPDATE,  COM_REMENTITY};


They all pass from the server to the client properly, and I have created the stub functions in the engine to parse them and pass them to a callback in the scripting engine of T2d.

So far, so good. Tommorow I will start implementing the new functions in script. I spent a good hour or so reading through threads on the garagegames message boards to figure out the best way to handle the entities so I can reference them, loop on them, and create them properly without losing track of them.

Fun, fun!
Previous Entry Fun in RL.
Next Entry ...
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Advertisement