big problem of game server

01/04/2015 17:15 ctyjason2#1
I don't know it can or not to post this type of question::

my game server use the following code to encrypt the message and send to client ( This code are not code by me )


And I found that if the str length bigger than 128, the client will receive the wrong message, Anyone know how to solve this problem

Here's two examples:

Anyone know about this problem?
I try my best but I can't solve this. Hope anyone can help!!!
01/04/2015 18:36 Nause1231#2
1 and 8? Sure? Joke?
01/05/2015 00:18 EasyTale#3
Because it is not the true game packet encryption from server to client, this above works only for 127 characters, because it is an work around.
01/05/2015 12:11 ctyjason2#4
Quote:
Originally Posted by EasyTale View Post
Because it is not the true game packet encryption from server to client, this above works only for 127 characters, because it is an work around.
but any ways to handle > 127 characters??
04/08/2015 01:10 0Lucifer0#5
Hi i've the same problem... someone know a way to handle > 127?
EDIT:Problem fixed with crypto of waat sources :D thanks
04/09/2015 13:20 FI0w#6
waat crypto is too bugy but who cares xD