openkore icon indicating copy to clipboard operation
openkore copied to clipboard

Update RagexeRE_2015_11_04a

Open Razalka opened this issue 9 years ago • 88 comments

Please anyone can help update the kRO servertype to RagexeRE_2015_11_04a ? The latest one was provided from @Nyxvanthcal (RagexeRE_2015_05_13a)(Packet version : 52) Now the packet version is 55.

//2015-11-04aRagexe packet_ver: 55 packet_keys: 0x4C17382A,0x7ED174C9,0x29961E4F // [Winnie] 0x0369,7,actionrequest,2:6 0x083C,10,useskilltoid,2:4:6 0x0363,5,walktoxy,2 0x0886,6,ticksend,2 0x0928,5,changedir,2:4 0x0964,6,takeitem,2 0x0437,6,dropitem,2:4 0x088B,8,movetokafra,2:4 0x0364,8,movefromkafra,2:4 0x0438,10,useskilltopos,2:4:6:8 0x0366,90,useskilltoposinfo,2:4:6:8:10 0x0887,6,getcharnamerequest,2 0x0368,6,solvecharname,2 0x0838,12,searchstoreinfolistitemclick,2:6:10 0x0835,2,searchstoreinfonextpage,0 0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15 0x0815,-1,reqtradebuyingstore,2:4:8:12 0x0436,6,reqclickbuyingstore,2 0x0817,2,reqclosebuyingstore,0 0x023B,-1,reqopenbuyingstore,2:4:8:9:89 0x0811,18,bookingregreq,2:4:6 //0x0939,8 CZ_JOIN_BATTLE_FIELD 0x093A,-1,itemlistwindowselected,2:4:8:12 0x0360,19,wanttoconnection,2:6:10:14:18 0x08A5,26,partyinvite2,2 //0x08A3,4 CZ_GANGSI_RANK 0x07EC,26,friendslistadd,2 0x088D,5,hommenu,2:4 0x0940,36,storagepassword,2:4:20

Thank you.

Razalka avatar Mar 16 '17 18:03 Razalka

Already update some files in my dir !

https://github.com/Nyxvanthcal/openkore

Not tested yet ! Provide feedback!

https://github.com/Nyxvanthcal/openkore/blob/master/src/Network/Send/kRO/RagexeRE_2015_11_04a.pm

https://github.com/Nyxvanthcal/openkore/blob/master/src/Network/Receive/kRO/RagexeRE_2015_11_04a.pm

ghost avatar Mar 19 '17 20:03 ghost

Hello Nyxvanthcal, Thanks for your work !

I'm facing an error using your files : "Can't reconstruct unknown packet 02B0 at src/Network/PacketParser.pm line 129."

EDIT: after some investigations, i found this :

# kRO uses 02B2 as masterLogin packet when we have 0 in the clientinfo.xml

aquint-g avatar Mar 19 '17 23:03 aquint-g

Thanks for your feedback ! Well, i already know why you received this error and i've already fixed this ! Try downloading it again ! Now must working fine !

ghost avatar Mar 19 '17 23:03 ghost

Thanks for the update @Novishivsmoke , i will test it and provide the feedback asap.

Razalka avatar Mar 20 '17 01:03 Razalka

@Novishivsmoke

Obfuscation packet ?

nyx

Razalka avatar Mar 20 '17 02:03 Razalka

Do you have sure your server is using encryption packet scheme !? 73B9 ?

http://forums.openkore.com/viewtopic.php?f=6&t=211637

Obfuscation packet ?! How so !? Did u have extracted the correct keys ? Try changing the order ! Upload your main game exe file !

Looks like the packet is wrong ! Or the encryption keys ! or the recvpackets is incorrect !

ghost avatar Mar 20 '17 02:03 ghost

@Novishivsmoke So the developer said that he customs the keys and the version. but he tells me the keys is exactly same with the version, so if i can get the version, i get the keys. I got the version, and its correct, but not with the keys. Exe version = 20151102 , but published 20151104 .. got it from PEEK , and extract the recvpackets from PEEK too.

I've read all the threads that you post in openkore forums, and learned a lot from it. thank's SkyLord :smile:
but stuck with this server :sad:

here's the exe with openkore server.txt. https://drive.google.com/open?id=0B2t-24ZoJDCSLURCUkhiN2F5RVk

sorry for my bad english.

Razalka avatar Mar 20 '17 03:03 Razalka

Yes ! He added some kind of themida in keys function and i don't know how to bypass this. Looks like same used in bRO ragexe file !

said that he custom the keys ! the keys is exactly same with the version

Now it's more complicated ! 0x4C17382A,0x7ED174C9,0x29961E4F ! Well, if it doesn't worked ! It will won't work !

Try inverting the second number with the third and lets go ! If you've already tried, forget !

ghost avatar Mar 20 '17 06:03 ghost

I've tried the default keys from PEEK Extract same with you mention above , and inverting all of it, 321,312,213,231,123,132 and nothing changed.

oke, i will try to find another knowledge about themida lol thanks before @Novishivsmoke :smile:

Razalka avatar Mar 20 '17 08:03 Razalka

The part of crypt keys are emulated. I don't know how he did it, but it's a good technique! Some polymorphic engine

PS : just some kind of permutation

ghost avatar Mar 20 '17 15:03 ghost

He just tell me to fills the keys same with the "version" but in hex. i tried it and tadaaaaa .... nothing happened :cry:

Razalka avatar Mar 21 '17 04:03 Razalka

@Novishivsmoke When i tried to fill src/Network/Receive/kRO/RagexeRE_2015_11_04a.pm with some packet desc.

error1

erro2

Razalka avatar Mar 21 '17 06:03 Razalka

Looks like u're forcing to enter in the game. I think it's impossible. I believe that this message of "Your coordinates" is a bug.Try sniffing the map login packet and check if it receive any other Unknown packet parser! I'll check your exe !

ghost avatar Mar 21 '17 21:03 ghost

tried xkore 3 mode, logged in and after 1 minutes in game, there's so many unknown packet recorded and the packet changing so damn fast. i'll try to make rebuild packet script in packetparser.

trying to sniff the packet into map, the end packet change like +1 every loging in. login packet

lite client link. http://ro.rakki.org/file/Rakki-RO_lite.exe

Razalka avatar Mar 22 '17 01:03 Razalka

here from xkore 3 mode.

xkore3_1

xkore3_2

xkore3_3

i think they change the 2 byte from header packet.

Razalka avatar Mar 22 '17 03:03 Razalka

Yeah i was debugging here and the emulation part is awful ! i hate emulation ! i hate themida. I don't know why this exe has 0x9D0 (gameguard_reply) inside him !

ghost avatar Mar 22 '17 05:03 ghost

this one didn't use the themida and gameguard (confirmed from the developer). i got the packet key, but the developer only fill it with 1 key, its not like the default that have 3 keys. 0x26061990 is the packet key. but if we fill only with 1 packet key, the script will not work properly. And if we fill it 3 times with the same value, the server will reject it because they only use 1 key. @_@

Razalka avatar Mar 23 '17 02:03 Razalka

the packet keys and recvpacket was right, but the server still denied the connection. that't what makes me confused, they denied the connection. if we problem with keys or the packet, only map timeout will show, not the denied connection.

Razalka avatar Mar 24 '17 02:03 Razalka

try to change the recvpackets 006A to 25 bytes :rofl: opkore rakki

Razalka avatar Mar 24 '17 02:03 Razalka

The developer help us lol. But its too late, we already have all this things. The keys, version and another info they gave it to me.

I thinks its rathena client bug, activating obfus packet with broken key (only 1 key define like the pic below) And the client still got no error and works perfectly. Diffed with nemo and they define 3 keys inside it @_@ How it can be ?! The developer only activating, obfus packet, custom key and client hash. No gameguard or themida and another encryption method. I'll try to make custom dll to bypass this thing.

img_20170326_124725 img_20170326_124652 img_20170326_124657

Razalka avatar Mar 26 '17 05:03 Razalka