This is my first project I've worked on dealing with C# and sockets from the ground up.
How to use
1. Get IP of the server of you're choosing (Except DK Evolution).
2. You can either change the usual places for IP's to 127.0.0.1:7880 or IP of you're choosing and ports 50005 for the game server.
3. Use a dll to redirect the connect function to 127.0.0.1 or IP of you're choosing for the authentication.
4. In the Config.ini the ExternalIP is the Server IP, and the ProxyIP is the IP for the client to connect to.
Bugs:
- Packets does not send properly, Even though I encrypt it. (I cannot figure out why)
For those looking for packet structure. (-Credits- Nebular)
Code:
0 - Packet CRC (calculated/checked by upon encryption/decryption) 4 - Number (starts from 0; synchronization,GG’s CSA are not counted) 6 - Size (header+data => 16bytes minimum ) 8 - Timestamp (used to distinguish between requests/responces in some commnads) 12 - Command (Describes what action to take) 16 - Data (optional; varies in size and not all areas of it are always used)
If anyone knows how to send a packet correctly PM me
If you have ideas on bigger packet based projects or would like to help me out My MSN is

UPDATE:
I have fixed the reconnection issue. You can now log out, log in, change character without the proxy crashing etc. I have taken out Send functionality till I can resolve that issue DCing when sending a packet to either Server or Client.






