Users browsing this thread: 1 Guest(s)
MS_ClaimCharacterNameRequest
|
07-30-2009, 03:11 PM,
(This post was last modified: 07-30-2009, 03:22 PM by Neo.)
|
|||
|
|||
MS_ClaimCharacterNameRequest
1.
MS_ClaimCharacterNameRequest Code: 0a 03 00 07 00 6d 78 6f 65 6d 75 00 MS_ClaimCharacterNameReply Code: 0b 0f 00 00 00 00 00 44 87 1f 00 00 00 00 00 07 00 6d 78 6f 65 6d 75 00 2. (repeat the same) MS_ClaimCharacterNameRequest Code: 0a 03 00 07 00 6d 78 6f 65 6d 75 00 MS_ClaimCharacterNameReply Code: 0b 0f 00 00 00 00 00 44 87 1f 00 00 00 00 00 07 00 6d 78 6f 65 6d 75 00 Therea are 3 bytes that varried..i bet this could be a "character ID" or something. Will add a third create here soon and attached the 3 files for that too. EDIT : Yes i was right, i see this at character delete procedure. |
|||
07-30-2009, 08:56 PM,
|
|||
|
|||
RE: MS_ClaimCharacterNameRequest
yeah we knew it yesterday.
We though on 4 bytes, including the preluding 00 but delete responses point to 3 bytes. BTW your info is almost complete but not exactly xD. I will answer with the full structure & error codes that are on this and delete procedures...when i reach pc @ home. |
|||
07-31-2009, 03:37 AM,
(This post was last modified: 07-31-2009, 04:31 AM by Morpheus.)
|
|||
|
|||
RE: MS_ClaimCharacterNameRequest
ClaimCharacterNameRequest
Client -> Margin 0a 03 00 <charnameLenght+1 1byte> 00 <charname Nbytes> 00 Margin -> Client ERROR: 0b 0f 00 <errorCode1 1 byte> 00 00 <errorCode2 1 byte> 00 00 00 00 00 00 00 00 <charnameLenght+1 1byte> 00 <charname Nbytes> 00 charNameExist: errorCode1 = 01 errorCode2 = 11 charsLimitReached errorCode1 = 00 errorCode2 = 11 SUCCESS: 0b 0f 00 00 00 00 00 <charID 3 bytes> 00 00 00 00 00 <charnameLenght+1 1byte> 00 <charname Nbytes> 00 |
|||
07-31-2009, 05:53 AM,
|
|||
|
|||
RE: MS_ClaimCharacterNameRequest
It would probably be better to treat the name length as a uint16 and the name as a c string.
Even though the character name would always fit within 1 byte the game probably transmits all strings the same way and that wouldn't always be the case. |
|||
07-31-2009, 05:57 AM,
|
|||
|
|||
RE: MS_ClaimCharacterNameRequest
yes, it is an uint16, morpheus just telling it the stupid way
most strings are just uint16 size (including null) and then null temrinated string |
|||
« Next Oldest | Next Newest »
|