Solvedk_relay packets, objects and tiles

Posts 1–6 of 6 · Page 1 of 1
k_relay packets, objects and tiles
Hello,

Looking at K_relay code on github, I see that the latest commit is from 2 months ago.
So when I try to compile and run, it just fails horribly.
Yet people release updated compiled version of the tool on the main board, is their some public repo with the updated code ?
The git hub version compiles and runs out of the box, it just needs packet ids to be updated. It will be receiving some commits with big changes soon though.
Quote Originally Posted by krazyshank View Post
The git hub version compiles and runs out of the box, it just needs packet ids to be updated. It will be receiving some commits with big changes soon though.

yes, but how does one find these packets ids ?
Quote Originally Posted by Ox90 View Post
yes, but how does one find these packets ids ?
JustANoobROTMG and ossimc82 and others have made auto packet parsers. To get packet ids, open the latest client with JPEXS and navigate to:
kabam\rotmg\messaging\impl\GameServerConnection.as

Copy paste all of these inside the class:
Code:
    public static const FAILURE:int = 0;
    public static const CREATE_SUCCESS:int = 86;
    public static const CREATE:int = 90;
Delete all underscores. Then use this regex:
search for:
^\s*public static const (\w+):int = (\d+);$
replace with:
<Packet>\r\n\t<PacketName>$1</PacketName>\r\n\t<PacketID>$2</PacketID>\r\n</Packet>\r\n
Then wrap the entire thing with <Packets> </Packets> tags.
Quote Originally Posted by 059 View Post
JustANoobROTMG and ossimc82 and others have made auto packet parsers. To get packet ids, open the latest client with JPEXS and navigate to:
kabam\rotmg\messaging\impl\GameServerConnection.as

Copy paste all of these inside the class:
Code:
    public static const FAILURE:int = 0;
    public static const CREATE_SUCCESS:int = 86;
    public static const CREATE:int = 90;
Delete all underscores. Then use this regex:
search for:
^\s*public static const (\w+):int = (\d+);$
replace with:
<Packet>\r\n\t<PacketName>$1</PacketName>\r\n\t<PacketID>$2</PacketID>\r\n</Packet>\r\n
Then wrap the entire thing with <Packets> </Packets> tags.
Awesome ! Thanks alot.
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us