From The Mana World
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__TOC__ | |||
[[Archive:TmwAthena Packets|TmwAthena Packets (outdated)]]<br> | [[Archive:TmwAthena Packets|TmwAthena Packets (outdated)]]<br> | ||
[https://github.com/HerculesWS/Hercules/wiki/Packets| Herc Packets (vanilla)]<br> | [https://github.com/HerculesWS/Hercules/wiki/Packets| Herc Packets (vanilla)]<br> | ||
[[Dev:How_to_Develop|HowTo: Server (Herc/TMWA)]] | [[Dev:How_to_Develop|HowTo: Server (Herc/TMWA)]] | ||
=TMWA= | |||
P.=Packet | |||
-1=len is in shiped offset[2:4] | |||
P.Content(url) = a link to description about the packet | |||
{| border="1" cellspacing="0" cellpadding="3" style="width:100%" | |||
!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= | |||
P.=Packet | |||
-1=len is in shiped offset[2:4] | |||
P.Content(url) = a link to description about the packet | |||
{| border="1" cellspacing="0" cellpadding="3" style="width:100%" | |||
!P.ID | |||
!P.IDint | |||
!P.len | |||
!STATIC P.NAME | |||
!P.Content(url) | |||
|- | |||
| || || || || | |||
|} | |||
=Packets= | |||
{| border="1" cellspacing="0" cellpadding="3" style="width:100%" | |||
!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 || | |||
|- | |||
||| <u>packet_len</u> || 2 || 2 || Uint32 || | |||
|- | |||
||| update_host_url || 6 || -1 || <u>char[-1]</u> || | |||
|- | |||
| SMSG_LOGIN_DATA || '''(0x0069)''' || 0 || 2 || Uint16 || | |||
|- | |||
||| <u>packet_len</u> || 2 || 2 || Uint32 || 47 + (32 * ServerCount) | |||
|- | |||
||| SessionID_P1 || 4 || 4 || Uint16 || | |||
|- | |||
||| AccountID || 8 || 4 || Uint16 || | |||
|- | |||
||| SessionID_P2 || 12 || 4 || Uint16 || | |||
|- | |||
||| <s>UNUSED</s> || 16 || 4 || Char[4] || | |||
|- | |||
||| <s>UNUSED</s> || 20 || 26 || Char[26] || (old last login timestamp) | |||
|- | |||
||| <s>UNUSED</s> || 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 || | |||
|- | |||
||| <s>UNUSED</s> || X+30 || 2 || Char[2] || | |||
|- | |||
|} | |||
=helpful software= | |||
[https://doc.mapeditor.org/ Tiled Map Editor]<br> | |||
[https://code.visualstudio.com/ VS Code]<br> | |||
[https://gitlab.com/vasily_makarov/saedit2 saedit (xml editor)]<br> | |||
[https://www.gimp.org GIMP] & [https://krita.org Krita] & [https://lospec.com/pixel-editor/app Lospec (online pixel editor)]<br> |
Latest revision as of 09:50, 13 April 2021
TmwAthena Packets (outdated)
Herc Packets (vanilla)
HowTo: Server (Herc/TMWA)
TMWA
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
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
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
Tiled Map Editor
VS Code
saedit (xml editor)
GIMP & Krita & Lospec (online pixel editor)