[Only registered and activated users can see links. Click Here To Register...]
Wrote this just for this purpose! (very basic information but can help)
Step 1: Socket system
A socket system allows your server to accept a connection from the client. This is required to send and receive information between server and client.
Step 2: Encryption
All conquer packets are encrypted. Login and game servers use seperate encryption, there's also password encryption to worry about. Many examples are out there for older patches. More up to date ones are a bit more difficult as there's no public references.
Step 3: Login Sequence
There's a specific sequence of packets sent between the client and server to handle client authentication (login server side of things) at which point the client will connect to the game server. At this point you need to initialize your encryption system (using a DHKey Exchange) and may run the game login sequence which determines if this is a new character or not. Once you have a character to log in with, it sends the hero information packet to determine what your character information is (name, mesh, level, etc) as well as a general data packet to set your position in the world as well as a number of exchanged requests/replies between client and server to send you your equipment, inventory, skills, proficiencies, friends, etcetc.
Once this is all done you enter the normal game phase of the server. This is when you handle various game packet sequences such as player movement, attacking, interacting and other systems such as warehouses or more advanced things like poker.
In order to fully understand how these systems work as well as structure the packets required to implement them, you'll need to be able to log packets and structure them. this is less feasible on older versions of conquer seeing as there's no live version to log your packets from.