[Help] About packet switching

Wrote new code? Fixed a bug? Want to discuss technical stuff? Feel free to post it here.

Moderator: Moderators

Message
Author
melody
Been there done that!
Been there done that!
Posts: 100
Joined: 18 Apr 2015, 19:25
Noob?: Yes

[Help] About packet switching

#1 Post 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
Last edited by melody on 19 Apr 2015, 17:31, edited 1 time in total.

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

Re: [Help] About packet switching

#2 Post 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

User avatar
SkylorD
Moderators
Moderators
Posts: 1167
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil
Contact:

Re: [Help] About packet switching

#3 Post by SkylorD »

Looks like a XOR algorithm.
Learn rules

Post Reply