Jump to content
  • 0

Packet Obfuscation Problem .


Fahhad

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/01/14
  • Last Seen:  

Sorry if this is not the right spot to post , idk where should i start it , anyway ..

 

i diffed my client for the right keys , took it from the packet_db.txt i am using client 20130618 with it default keys ,

 

whenever i try to log in my server it keeps saying rejected with this error /pif  :

 

clif_parse: Disconnecting session #8 with unknown packet version (p:0x02e6,l:19).

 

this is my packet_db.txt :

 

packet_db_ver: 40
packet_db_ver: default
packet_keys_use: default

 

thats it , am i making it wrong?

 

P.S Changed to 2013-08-07 and changed the packet keys , same thing happens. plz any idea?

Edited by spe3y
Link to comment
Share on other sites

17 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

recompiled?

 

maybe try to look for another working custom packet keys..

 

I also encountered something like this before. Well in my case, im using 2013-12-23 client.

second and third packet key is the same. What I did is just used nkwz RO Toolkit, and look for

the packet key that works, replaced 2nd packet with same packet as the 3rd (i think this is only for 2013-12-23 client).

Just full of trial and errors but somehow it works now.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   1
  • Joined:  11/08/14
  • Last Seen:  

On 30/3/2015 at 7:29 PM, Sweetie Pie said:

 

Thanks a lot for your fast replys, changing the keys fixed it , i used three same keys and pooff!! works ^^

 Thank you , already fixed it <3

Never works on me.. have the same problem

 

error.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

did you diff your client with packetkeys?

 

Packet First Key Encrpytion

Packet Second Key Encrpytion

Packet Third Key Encrpytion

 

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/01/14
  • Last Seen:  

 

did you diff your client with packetkeys?

 

Packet First Key Encrpytion

Packet Second Key Encrpytion

Packet Third Key Encrpytion

 

 

 Yes i did , i made my custom keys with nkwz RO Toolkit , then put them in packet_db with ver 45 still rejected

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  164
  • Reputation:   12
  • Joined:  01/03/12
  • Last Seen:  

@spe3y

 

in packet_db.txt

 

edit the "default"

packet_keys_use: default

to your custom key, since you diffed your client with custom ones, the format should be like this

packet_keys: 0xyourcustomkey1,0xyourcustomkey2,0xyourcustomkey3
Edited by exneval
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/01/14
  • Last Seen:  

 

@spe3y

 

in packet_db.txt

 

edit the "default"

packet_keys_use: default

to your custom key, since you diffed your client with custom ones, the format should be like this

packet_keys: 0xyourcustomkey1,0xyourcustomkey2,0xyourcustomkey3

 

 

packet_db_ver: 45

packet_db_ver: default

packet_keys_use: 0xC2D6A42E,0xCC546ACF,0xC05D801F

 

its in this form now , diffed my client with it too , still rejected

 

P,S i restarted my server though

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

Did you test your custom keys?

 

You can test it here and see if it pass or a broken key

 

EDIT: 

 

Did you enable Packet Obfuscation in core.h?

Edited by Lord Ganja
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/01/14
  • Last Seen:  

Did you test your custom keys?

 

You can test it here and see if it pass or a broken key

Passed , no error with it

 

my packet_db.txt is like this :

 

//packet_db_ver: 45

packet_db_ver: 45

packet_keys_use: 0xC2D6A42E,0xCC546ACF,0xC05D801F

 

and my mmo.h is like this :

 

    #define PACKETVER 20130807

 

my clientinfo.xml is :

 

      <version>45</version>

 

and diffed my client with the keys above , still rejected :(

Edited by spe3y
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

try this 

 

 

client diff

 

 

Disable Packet Encryption - no

Packet First Key Encryption - Yes
Packet Second Key Encryption - Yes
Packet Third Key Encryption - Yes

 

 

 

mmo.h

#ifndef PACKETVER
#define PACKETVER 20130807
#endif

core.h 

/// Comment to disable the official packet obfuscation support.
/// When enabled, make sure there is value for 'packet_keys' of used packet version or
/// defined 'packet_keys_use' in db/[import/]packet_db.txt.
/// This requires PACKETVER 2011-08-17 or newer.
#define PACKET_OBFUSCATION

db/packet_db.txt

packet_db_ver: 45
packet_keys_use: default
packet_keys: 0x<yourcustomkey1>,0x<yourcustomkey2>,0x<yourcustomkey3>

don't foget to recompile

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  164
  • Reputation:   12
  • Joined:  01/03/12
  • Last Seen:  

Ah yes.. It's got rejected with any custom key...

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/01/14
  • Last Seen:  

Diff :

 

image.png
 

mmo.h :

 

image.jpg

 

core.h :

 

image.jpg

 

packet keys:

 

image.png
 

Packet.db.txt :

 

image.jpg\

 

 thats it , anything wrong?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  164
  • Reputation:   12
  • Joined:  01/03/12
  • Last Seen:  

for now.. don't hex your client with custom key.. 

 

and please use back the default key..

 

so for your case the default key is

packet_keys: 0x7E241DE0,0x5E805580,0x3D807D80 //[Shakto]
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/01/14
  • Last Seen:  

recompiled?

 

maybe try to look for another working custom packet keys..

 

I also encountered something like this before. Well in my case, im using 2013-12-23 client.

second and third packet key is the same. What I did is just used nkwz RO Toolkit, and look for

the packet key that works, replaced 2nd packet with same packet as the 3rd (i think this is only for 2013-12-23 client).

Just full of trial and errors but somehow it works now.

 

Thanks a lot for your fast replys, changing the keys fixed it , i used three same keys and pooff!! works ^^

 

for now.. don't hex your client with custom key.. 

 

and please use back the default key..

 

so for your case the default key is

packet_keys: 0x7E241DE0,0x5E805580,0x3D807D80 //[Shakto]

 Thank you , already fixed it <3

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  164
  • Reputation:   12
  • Joined:  01/03/12
  • Last Seen:  

Me too.. I also fixed it with custom keys..

Just follow the format like what @Lord Ganja said

 

Well done

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

glad to hear that /no1 

btw you  used 3 same keys ? have you tried using wpe?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

A small side note, you better use the 'import folder' for any configurations that supports the import feature, to prevent future conflicts.

But something bothers my mind, currently rA only accepts 0x7FFFFFFF for maximum key value, so any higher value might give unwanted results.

 

Could you post/PM your packet keys /?

I want to test it further   /hmm

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Okay, now nkwz RO Toolkit has been updated to v1.8, please recheck your packet keys quality.

And try to use the pair which get up to 100%. If not, just randomize and recheck them again /ok

 

Please be aware that currently the tool can still randomize the value above 0x7FFFFFFF

For now use value below than that, until I'm sure that higher value than 0x7FFFFFFF is okay to use or not /no1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...