MS_ClaimCharacterNameRequest - Printable Version +- Hardline Dreams - A Python Matrix Online Server Project (http://mxo.hardlinedreams.com/forum) +-- Forum: The Matrix Online (http://mxo.hardlinedreams.com/forum/forumdisplay.php?fid=3) +--- Forum: Packets Auth & Margin (http://mxo.hardlinedreams.com/forum/forumdisplay.php?fid=16) +--- Thread: MS_ClaimCharacterNameRequest (/showthread.php?tid=51) |
MS_ClaimCharacterNameRequest - Neo - 07-30-2009 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. RE: MS_ClaimCharacterNameRequest - Morpheus - 07-30-2009 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. RE: MS_ClaimCharacterNameRequest - Morpheus - 07-31-2009 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 RE: MS_ClaimCharacterNameRequest - Asheron2K - 07-31-2009 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. RE: MS_ClaimCharacterNameRequest - rajkosto - 07-31-2009 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 |