Packet Length Extractor

From OpenKore Wiki
Revision as of 18:52, 3 April 2010 by Mushrom (talk | contribs) (Created page with 'If you're having server problems, such as: * Packet Tokenizer: Unknown switch: xxxx * Getting disconnected after a few seconds * NPCs, players and monsters are not recognized by …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If you're having server problems, such as:

  • Packet Tokenizer: Unknown switch: xxxx
  • Getting disconnected after a few seconds
  • NPCs, players and monsters are not recognized by Kore (shown as Unknown)

Then generating a new recvpackets.txt might solve the problem. It's advisable to always extract the recvpackets before running Openkore. The file must be on tables folder.

Note. You may have problems extracting the recvpackets if your server's client has some kind of protection.

About

The network data that the server sends to Kore, is a byte stream. Kore must be able to recognize messages inside that byte stream to be able to do something with it. But the size of the messages can vary from to server to server. Recvpackets.txt contains information about the size of each message, so Kore can correctly split the byte stream into messages.

Download

There are two programs you can use to extract the recvpackets:

You can also get Openkore Packet Lenght Extractor though SVN.

It's better to use JCV's RO Tools as it is more up to date and have some fixes for newer clients. Also it's much easier to maintain, but it has undesirable and outdated options in addition to the Openkore packet extractor.


Extracting Recvpackets

1. Open RO Tools.

2. Click in the button with ... beside the box. Search for your's server executable (not server patcher) and open it.

File:button.PNG

3. On Extractor Type, check Full Disarm box.

File:full.PNG

4. Click on Start button and wait it to finish.

File:start.PNG

5. After it finishes, it will ask for you to save the file. Save it on tables folder, inside your Openkore's root folder. Override current file if needed. Note. You can rename recvpackets file name as long as you change recvpackets option on servers.txt. (See Connectivity Guide)