User:Jak1/devel
From The Mana World
TmwAthena Packets (outdated)
Herc Packets (vanilla)
HowTo: Server (Herc/TMWA)
TMWA[edit]
P.=Packet -1=len is in shiped offset[2:4] P.Content(url) = a link to description about the packet
| P.ID | P.IDint | P.len | STATIC P.NAME | P.Content(url) |
|---|---|---|---|---|
| 0x7530 | 30000 | 2 | CMSG_SERVER_VERSION_REQUEST | |
| 0x7531 | 30001 | 10 | SMSG_SERVER_VERSION_RESPONSE | |
| 0x0064 | 100 | 55 | CMSG_LOGIN_REGISTER | |
| 0x0063 | 99 | -1 | SMSG_UPDATE_HOST | |
| 0x0069 | 105 | -1 | SMSG_LOGIN_DATA | |
| 0x006b | 107 | -1 | SMSG_CHAR_LOGIN | |
| 0x0066 | 102 | 3 | CMSG_CHAR_SELECT | |
| 0x0071 | 113 | 28 | SMSG_CHAR_MAP_INFO | |
| 0x0072 | 114 | 19 | CMSG_MAP_SERVER_CONNECT | |
| 0x0080 | 128 | 7(?) | SMSG_BEING_REMOVE | |
| 0x0073 | 115 | 11 | SMSG_MAP_LOGIN_SUCCESS |
EVOL2/HERC[edit]
P.=Packet -1=len is in shiped offset[2:4] P.Content(url) = a link to description about the packet
| P.ID | P.IDint | P.len | STATIC P.NAME | P.Content(url) |
|---|---|---|---|---|
Packets[edit]
| P.Name | content | offset | len | type | comment |
|---|---|---|---|---|---|
| CMSG_SERVER_VERSION_REQUEST | (0x7530) | 0 | 2 | Uint16 | |
| CMSG_SERVER_VERSION_REQUEST | (0x7531) | 0 | 2 | Uint16 | |
| major | 2 | 1 | Uint8 | ||
| minor | 3 | 1 | Uint8 | ||
| patch | 4 | 1 | Uint8 | ||
| devel | 5 | 1 | Uint8 | ||
| flags | 6 | 1 | Uint8 | ||
| which | 7 | 1 | Uint8 | ||
| vendor | 8 | 2 | Uint16 | ||
| CMSG_LOGIN_REGISTER | (0x0064) | 0 | 2 | Uint16 | |
| client_version | 2 | 4 | Uint32 | ||
| account_name | 6 | 24 | Char[24] | ||
| account_pass | 30 | 24 | Char[24] | ||
| flags | 54 | 1 | Uint8 | ||
| SMSG_UPDATE_HOST | (0x0063) | 0 | 2 | Uint16 | |
| packet_len | 2 | 2 | Uint32 | ||
| update_host_url | 6 | -1 | char[-1] | ||
| SMSG_LOGIN_DATA | (0x0069) | 0 | 2 | Uint16 | |
| packet_len | 2 | 2 | Uint32 | 47 + (32 * ServerCount) | |
| SessionID_P1 | 4 | 4 | Uint16 | ||
| AccountID | 8 | 4 | Uint16 | ||
| SessionID_P2 | 12 | 4 | Uint16 | ||
| 16 | 4 | Char[4] | |||
| 20 | 26 | Char[26] | (old last login timestamp) | ||
| 46 | 1 | Uint8 | (old Account Sex) | ||
| CharSAdress | X+0 | 4 | Uint16 | ||
| CharSPort | X+4 | 2 | Uint8 | ||
| CharSName | X+6 | 20 | Uint8 | ||
| OnlineUsers | X+26 | 4 | Uint8 | ||
| X+30 | 2 | Char[2] |
helpful software[edit]
Tiled Map Editor
VS Code
saedit (xml editor)
GIMP & Krita & Lospec (online pixel editor)