- serverType <value>
- Network parser module to use with your server.
Named serverTypes can be loaded since r6870 and begin to appear in r7066 (not counting kRO serverType tree which started all that madness).
|Server||serverType||revision||Last used numeric ST|
|Official, Taiwan||twRO||21, 22|
|Official, China||cRO||added in r8352||none|
|iRO_Classic (Classic Pre-Renewal)||added in r8046||none|
|Official, Brazil||bRO (Odin)||0|
|bRO_Thor (Thor)||removed in r7929||22|
|Official, Middle East||aRO||22|
|Private servers|| kRO_RagexeRE_*
Numeric serverTypes (0-22, 8_1-8_5) are outdated and aren't being updated to follow server updates, so they probably will not work correctly - that's a real reason to update from OpenKore 2.0.7 and stop using them, if you don't want to update them by yourself. Don't complain that there's just "some problems" with them if you don't have solutions too.
They're kept in OpenKore for use with really outdated official and private servers.
serverType 0 is also used as a base for serverTypes for official servers (except kRO).
kRO serverTypes for private servers
OpenKore 2.0.7 and previous versions does not have kRO serverType and aren't capable of loading it without changes in source. To configure for an up to date pserver, you need svn trunk (or 2.1 when it becomes released), not 2.0.7.
Only official servers have their own serverType, so other servers (private ones) must find the server's executable compilation date and use the appropriate kRO serverType (newer versions) or Sakray serverTypes (older versions)
Currently, kRO serverTypes syntax is:
And Sakray ones is:
You can find all serverType files in src/Network/Receive. Only serverTypes whose files actually do exist would work.
Determining kRO serverType
There are several ways to determine kRO serverType for your server.
Server version changes when there are incompatible changes in protocol (usually game_login packet changes at that point). Try serverTypes corresponding to the server's version. Use openkore source or eAthena's packet_db as reference.
|44||2013-07-17 Ragexe (N/A, Patches Welcome)||091D|
|43||2013-07-10 Ragexe (N/A, Patches Welcome)||022D|
|42||2013-07-03 Ragexe (N/A, Patches Welcome)||022D|
|41||2013-06-26 Ragexe (N/A, Patches Welcome)||088C|
|40||2013-06-18 Ragexe (N/A, Patches Welcome)||095B|
|39||2013-06-12 Ragexe (N/A, Patches Welcome)||0919|
|38||2013-06-05 Ragexe (N/A, Patches Welcome)||022D|
|37||2013-05-29 Ragexe (N/A, Patches Welcome)||0919|
|36||2013-05-22 Ragexe (N/A, Patches Welcome)||08A9|
|35||2013-05-15a Ragexe (N/A, Patches Welcome)||0943|
|34||2013-03-20Ragexe (N/A, Patches Welcome)||0888|
|33||2012-07-02aRagexeRE (N/A, Patches Welcome)||0363|
|31||2012-04-18aRagexeRE (N/A, N/A in rAthena, Patches Welcome)||022D|
|30||kRO_RagexeRE_2012_04_10a (unfinished, Patches Welcome)||094B|
|29||kRO_RagexeRE_2012_03_07f (unfinished, Patches Welcome)||086A|
|28||kRO_RagexeRE_2011_11_02a (unfinished, Patches Welcome)||083C|
|27||kRO_RagexeRE_2011_10_05a||0436 (no change)|
|26||kRO_RagexeRE_2010_11_24a||0436 (no change)|
Since there are packets being continually introduced, you may inspect packets (and packet lengths) used on the server (either from already generated recvpackets.txt or from warnings on unknown packets) and compare that with serverType's data in openkore sourec.
(Not reliable: Executable's compilation date can be changed easily.)
1. Download PE Viewer.
2. Open it and go the File > Open or just press F2. Select your server's executable.
3. Go to PE Header tab.
4. Beside the Time Data Stamp box, see the executable's compilation date.
5. Find the most suitable serverType file in src/Network/Receive/kRO.
For example, if the date was January 26, 2010, file name would be RagexeRE_2010_01_26a.pm.
6. Set serverType to "kRO_" and file name without extension.
For example, if file name was RagexeRE_2010_01_26a.pm, serverType would be kRO_RagexeRE_2010_01_26a.
If there is no file with exact compilation date, try the ones near to that date, or the latest available.
- If you bot on a private server that uses eAthena, DO NOT use kRO_RagexeRE_0, as it is only meant to be used for the official kRO server.