Page 1 of 1

[Help] About packet switching

Posted: 18 Apr 2015, 20:19
by melody
This is my first time trying to bot on private server.

I notice that when it is connected to the map server, using client, the packet being sent is different.

Example:
map_login : from 094B to 464D, etc.

Image
The first packet that was sent was the map_login, and i dont have any idea what the other
packets(left side, by client) that was sent is. The image on the right stream was sent by
openkore.

I created new serverType and based it on RagexeRE_2012_04_10a, and yes.. i know this is wrong,
i dont know what is the proper way to do it.. and also, teach me how :D

Server

Code: Select all

[VegasRO]
ip 64.94.100.176
port 6900
version 30
master_version 14
serverType kRO_RagexeRE_2012_04_10a
recvpackets vegasro-recvpackets.txt
serverEncoding Western
charBlockSize 144
addTableFolders kRO
vegasro-recvpackets.txt
http://puu.sh/hiLb6.txt

Re: [Help] About packet switching

Posted: 18 Apr 2015, 23:53
by vitriol
your server if probably using Hercules emulator with packet encryption (it only encrypts the headers after you reach the map server). you have to get the encryption keys by diffing the unpacked client exe file with the unpacked original (Gravity) exe file. then add the packet keys to your src/Network/Send server type file so that your bot sends the encrypted headers. search on the forum for examples

Re: [Help] About packet switching

Posted: 19 May 2015, 15:36
by SkylorD
Looks like a XOR algorithm.