serverType: Difference between revisions
m (→Notes) |
No edit summary |
||
Line 3: | Line 3: | ||
{{Available since 2.1}} | {{Available since 2.1}} | ||
== ServerTypes overview == | == ServerTypes overview == | ||
Line 10: | Line 11: | ||
Named serverTypes can be loaded since r6870 and begin to appear in r7066 (not counting kRO serverType tree which started all that madness). | Named serverTypes can be loaded since r6870 and begin to appear in r7066 (not counting kRO serverType tree which started all that madness). | ||
{| class=" | {|class="TablePager" | ||
!Server | !Server | ||
!serverType | !serverType | ||
|- | |- | ||
| | | Official, Korea | ||
| | | kRO_RagexeRE_0 | ||
|- | |- | ||
| | | Official, Taiwan | ||
| | | twRO | ||
|- | |- | ||
| | | Official, Japan | ||
| | | ''[[Patches Welcome|none]]'' | ||
|- | |- | ||
| | | Official, Thailand | ||
| | | tRO | ||
|- | |- | ||
| | | Official, China | ||
| | | ''[[Patches Welcome|none]]'' | ||
|- | |- | ||
| Indonesia | | Official, International | ||
| iRO | |||
|- | |||
| Official, Philippines | |||
| pRO | |||
|- | |||
| Official, Indonesia | |||
| idRO | | idRO | ||
|- | |- | ||
| Official, Malaysia | |||
| Malaysia | |||
| mRO | | mRO | ||
|- | |- | ||
| | | Official, Brazil | ||
| | | bRO (Odin) <br/>bRO_Thor (Thor) | ||
|- | |- | ||
|Russia | | Official, Russia | ||
| rRO | | rRO | ||
|- | |- | ||
| | | Official, France | ||
| | | fRO | ||
|- | |- | ||
| | | Official, Middle East | ||
| | | ''[[Patches Welcome|none]]'' | ||
|- | |||
| Private servers | |||
| | | kRO_RagexeRE_* <br/>kRO_Sakexe_* | ||
|- | |||
| Private | |||
| kRO_RagexeRE_*<br/>kRO_Sakexe_* | |||
|} | |} | ||
{{Changes expected}} | |||
=== Legacy === | === Legacy === |
Revision as of 01:16, 8 July 2011
- serverType <value>
- Network parser module to use with your server.
The following documentation describes a feature that was greatly changed in SVN trunk (latest development version) since the last release. It may work differently or not be available if you're using 2.0.7 or any older version. |
ServerTypes overview
Supported
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 |
---|---|
Official, Korea | kRO_RagexeRE_0 |
Official, Taiwan | twRO |
Official, Japan | none |
Official, Thailand | tRO |
Official, China | none |
Official, International | iRO |
Official, Philippines | pRO |
Official, Indonesia | idRO |
Official, Malaysia | mRO |
Official, Brazil | bRO (Odin) bRO_Thor (Thor) |
Official, Russia | rRO |
Official, France | fRO |
Official, Middle East | none |
Private servers | kRO_RagexeRE_* kRO_Sakexe_* |
Implementation of this feature is expected to become outdated with server updates. As OpenKore is a free project, if you stumble upon such updates, you are expected to fix the problem and contribute your changes back. Usually, server supporters will do that, but there isn't any for random private servers, and some official ones may not always be covered. |
Legacy
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).
Finding serverType
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:
kRO_RagexeRE_<year>_<month>_<date><letter>
And Sakray ones is:
kRO_Sakexe_<year>_<month>_<date><letter>
You can find all serverType files on src/Network/Receive.
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. Go to src/Network/Receive/kRO and search for the serverType file using the date collected before. In the example bellow, the date was January 26, 2010 so the file would be RagexeRE_2010_01_26a.pm
6. Now that the file was found, it's known that the serverType exists for the compilation date. So just remove the fle extension (.pm) and add kRO_ before the file name and the serverType can be used.
File name:
RagexeRE_2010_01_26a.pm
ServerType:
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.
Notes
- 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.
- 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.
- Executable's compilation date can be changed, so don't really rely on it.