Receiving Strange UNKNOWN Packets !!

09/20/2013 14:10 abdeen#1
Hello guys so am here because as thread or topic title says i am receiving a strange packets id's like : 51771 , 51744 and 17064

and i receive all of them when i try to create a new character or at login !!

note , i am working on version 5017 !!

can any body explain whats those id's means or what to do with them ?

they stopped me at login or at create a character !!
09/20/2013 14:20 CptSky#2
Your cipher implementation is invalid or you're parsing wrong bytes for the header.
09/20/2013 16:38 abdeen#3
Quote:
Originally Posted by CptSky View Post
Your cipher implementation is invalid or you're parsing wrong bytes for the header.
thanks brother i fixed it :)

but i only " For Now " meet this problem :

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

i fixed the problem of client character name its now working fine

this image before fixing it ..
[Only registered and activated users can see links. Click Here To Register...]

but still get the error of MySql although i break pointed my code and got all info got a values nothing null !!
09/20/2013 19:59 pro4never#4
He just told you... your encryption is completely wrong and that's why none of your information you're receiving can be processed.

If you do not decrypt the packets properly then you cannot read them properly. You have to write proper encryption before anything else you do.
09/20/2013 20:11 abdeen#5
Quote:
Originally Posted by pro4never View Post
He just told you... your encryption is completely wrong and that's why none of your information you're receiving can be processed.

If you do not decrypt the packets properly then you cannot read them properly. You have to write proper encryption before anything else you do.
that's what i have done with i told that i get all values are correct ... and i decrypt packets look here :

Code:
string Account = "";
                for (sbyte i = 0x04; i < 0x14; i++)
                    if (Data[i] != 0x00)
                        Account += (char)Data[i];

                string Name = "";
                for (sbyte i = 0x14; i < 0x24; i++)
                    if (Data[i] != 0x00)
                        Name += (char)Data[i];
                
                uint Look = (ushort)((Data[0x35] << 8) + Data[0x34]);
                ushort Job = (ushort)((Data[0x37] << 8) + Data[0x36]);

                ushort Avatar = 67;
                bool ValidName = true;

                if (Look == 2001 || Look == 2002)
                    Avatar = 201;
                else
                    Avatar = 67;
anything else am messing ?
09/20/2013 22:25 pro4never#6
If you're still receiving those packet IDs then your encryption in general is wrong. It has nothing to do with how you're handling the login request packet, we're talking about the actual server cipher that handles decrypting packets as you log in.


What source are you using that is this completely fucked up? I strongly suggest you just stop and use something that works. You've more than demonstrated you are incapable of basic troubleshooting in your time on epvp so just use the spoon fed releases we've provided you with.
09/21/2013 23:41 Smallxmac#7
Make sure you generate the key for the client upon connecting to the gameserver
09/22/2013 22:20 Basser#8
Quote:
Originally Posted by abdeen View Post
that's what i have done with i told that i get all values are correct ... and i decrypt packets look here :

Code:
string Account = "";
                for (sbyte i = 0x04; i < 0x14; i++)
                    if (Data[i] != 0x00)
                        Account += (char)Data[i];

                string Name = "";
                for (sbyte i = 0x14; i < 0x24; i++)
                    if (Data[i] != 0x00)
                        Name += (char)Data[i];
                
                uint Look = (ushort)((Data[0x35] << 8) + Data[0x34]);
                ushort Job = (ushort)((Data[0x37] << 8) + Data[0x36]);

                ushort Avatar = 67;
                bool ValidName = true;

                if (Look == 2001 || Look == 2002)
                    Avatar = 201;
                else
                    Avatar = 67;
anything else am messing ?
Is that what decryption looks like? :o