Jump to content
  • 0
hadiesyafiq

How to find packet from client?

Question

Hi all,I need to know how to find the client packet for other official server not from kRO...

 

All I know the client that Hercules support from kRO

 

Can someone teach me how to find the packet for existing roextreme client?

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

I've never done it and this answer may not be totally accurate...

 

But I think the following is what you need to keep in mind:

1. NEMO probably won't be able to patch it, you will have to do by hand

2. The hardest part is not using the client, but usually each official server uses a different combination of packets. For example, if packet A was added in kRO in 2015, and packet B in 2016. For another server it may be the case that packet B was added in 2020 and packet A never came. Thus, relying in PACKETVER config will most of the time not work.

 

So you will certainly need knowledge on how to customize packets read/sent by herc -- specailly clif.c and related packet structures (and their counterparts in char/login server)

 

PEEK or BPE (Links to their topics below) may help you find the list of packets currently defined for the client. I did not test BPE for that, but I do remember PEEK being able to extract packet length table -- which would include the packet ID too.

 

For packet structures (if any of them changed for any reason -- should not be the case, usually only versions change) that will be harder. If you need a different structure, I think you have 2 options:

1. Reverse engineer the client and find where it sends the packet you need with some reverse engineering tool (IDA, Ghidra, etc)

2. Capture the packet and find the data by trial and error and guessing -- A good amount of guessing is needed here, and you may get some thing wrong

 

I am not sure if I can give much more info than that. But I guess it is better than nothing :) If you are really going this route, do know that it is some quite advanced stuff with barely any public info

 

 

 

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.