openkore update your system. new private servers wont work

Private server support - Only post connectivity issues in the subforum!

Moderator: Moderators

aapikz
Human
Human
Posts: 44
Joined: 18 Sep 2008, 11:31
Noob?: Yes

openkore update your system. new private servers wont work

#1 Post by aapikz »

i have tried all single kro server types from 2013-2008
and i have fully extracted recvpackets but still cant connect
Last edited by aapikz on 02 May 2015, 06:19, edited 2 times in total.
vitriol
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 19 Apr 2011, 23:26
Noob?: No

Re: openkore update your system. new private servers wont work

#2 Post by vitriol »

that is not the cause of the error. If your server is using Hercules emulation, then it is likely that they have enabled "packet obfuscation" to encrypt the packet headers and you need to add the encryption keys to the server type pm file to connect
Latelaz
Noob
Noob
Posts: 4
Joined: 20 Apr 2015, 08:43
Noob?: No

Re: openkore update your system. new private servers wont work

#3 Post by Latelaz »

Aeva?
vitriol
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 19 Apr 2011, 23:26
Noob?: No

Re: openkore update your system. new private servers wont work

#4 Post by vitriol »

they all use Hercules with packet obfuscation, which encrypts all packet headers after reaching the map server. you need to get the encryption keys and add them to src/Network/Send pm files
aapikz
Human
Human
Posts: 44
Joined: 18 Sep 2008, 11:31
Noob?: Yes

Re: openkore update your system. new private servers wont work

#5 Post by aapikz »

vitriol wrote:they all use Hercules with packet obfuscation, which encrypts all packet headers after reaching the map server. you need to get the encryption keys and add them to src/Network/Send pm files
thats beyond my knowledge connecting openkore lol.. would you tell how to do that? tried searching in forums.. but i cant find any guides through modifiying pm files
melody
Been there done that!
Been there done that!
Posts: 100
Joined: 18 Apr 2015, 19:25
Noob?: Yes

Re: openkore update your system. new private servers wont work

#6 Post by melody »

open openkore/src/Network/Send/RagexeRE_201?_??_??a.pm, change "?" depending on your serverType

for example:
RagexRE_2012_04_10a.pm (2012-04-10a client)

Before:
$self->{packet_lut}{$_} = $handlers{$_} for keys %handlers;

$self;
After:
$self->{packet_lut}{$_} = $handlers{$_} for keys %handlers;
$self->cryptKeys(crypt_key_1, crypt_key_2, crypt_key_3);
$self;
Change crypt_key_1, crypt_key_2, crypt_key_3 depending on the client's Encryption Keys, you can extract Encryption Keys using PEEK
aapikz
Human
Human
Posts: 44
Joined: 18 Sep 2008, 11:31
Noob?: Yes

Re: openkore update your system. new private servers wont work

#7 Post by aapikz »

thx btw, how can i see the encryption keys from recvpackets i got from peek? theres alot of numbers and packets here which one is the encryption key?
Last edited by aapikz on 02 May 2015, 20:50, edited 2 times in total.
melody
Been there done that!
Been there done that!
Posts: 100
Joined: 18 Apr 2015, 19:25
Noob?: Yes

Re: openkore update your system. new private servers wont work

#8 Post by melody »

aapikz wrote: tnx btw, how can i see the encryption keys from recvpackets i got from peek? theres alot of numbers and packets here which one is the encryption key?
at the very bottom of the recvpackets_<client-date>.ini file from the Output directory of PEEK.. convert those hex to decimal.

for example:
recvpackets_20120410.ini

Code: Select all

[Encryption]
Key1 = 0x12345678
Key2 = 0x9abcdef0
Key3 = 0x1234abcd
converted hex to decimal
crypt_key_1 = 305419896
crypt_key_2 = 2596069104
crypt_key_3 = 305441741
aapikz
Human
Human
Posts: 44
Joined: 18 Sep 2008, 11:31
Noob?: Yes

Re: openkore update your system. new private servers wont work

#9 Post by aapikz »

but why it doesnt detect status? like awakening potion,bless,agi,enchant poison etc. my bot priest keep spamming buffs to himself because it doesnt detect whenstatusinactive :(
Last edited by aapikz on 02 May 2015, 06:18, edited 1 time in total.
cool0013
Noob
Noob
Posts: 9
Joined: 30 Apr 2015, 07:19
Noob?: Yes

Re: openkore update your system. new private servers wont work

#10 Post by cool0013 »

aapikz wrote:thanks it works like a charm lol!
but why it doesnt detect status? like awakening potion,bless,agi,enchant poison etc. my bot priest keep spamming buffs to himself because it doesnt detect whenstatusinactive :(
how did you fixed it?