Quote:
Originally Posted by s1cko
What I'm looking for is an "big picture" overview about how the client and server work. From what I understand, the clients are usually not hacked but the source is pretending to be an official CO server and communicates with the client via packets.
If this is correct, I guess the place to start would be to understand how the client connects to the server and start from there.
|
Client connects to port 9958 (old patches; 9960 in newer ones*) using TCP. That's the Login/Auth server.
Implement the crypto for the version you target (
)
Then simply check the packets (
)
Without looking at a reference project you'd waste a lot of time guessing
what to reply and
when (Especially the DH Key Exchange), so go with COPS v7 at least for the login sequence.
* I'm only working on classic versions, port might be different on the latest patch