Question - Packets

Newbie Spellweaver
Joined
Feb 6, 2007
Messages
8
Reaction score
0
Im currently in the process of making my own game.

Goobers OT

If anyone is interested in helping with C++ coding msg me ASAP.


My main goal is to learn how to encrypt packets, Right now people are useing WPE packet editors to cheat and even crash my game.


If you would like to help, The best way to contact would be
[email protected]
(I hope this is in the right section, If not feel free to move it)
 
Well.. whatever's encrypted can be opened if you have what username1 called a determined mind. Encryption only makes things harder.

Just make your game discard invalid packets as a whole and add checks for acceptable value ranges to variables where one would want to send modified data, such as position and what not.
 
Explian more on HOW I would do this?

I wasn't the original coder.

Hi,
The easiest way:
1 - identify each packet with a sequential number, and check the order you process packets on the server. each packet out of oder will force a connection drop.
2 - XOR each packet with a fixed (64bit) key before you send it, and negotiate that key with the client when he first connects.

Other most stable way:
Find encryption libaries and use them on your app
 
Back