DEBUG version packets:
All packets starts by this:
[dword:size][word:id][dword:0][dword:0]
Unknow values are being set to 0 by default.
UnicodeString is:
dword (len of string in ASCII) + unicodeString
**********************************
Character list.
Response to: 0x13b
Server -> client.
id : 0x13c
[dword:0]
[word:charCount]
[dword:unk]
[Unicodestring:characterName]
[byte:level]
[byte:unk]
[byte:faction] -> //faction for girl if 2 makes elf
//for slim guy and dark lord (or wizard) 8 makes avatar (blue skin)
//mad guy turns into red monster with 4
[byte:race]
[dword:unk]
8 bytes of characters customs:
[byte:face] -> 0-1, >= 2 no face
[byte:unk]
[byte:hairType]
[byte:hairColor]
[byte:tatoo]
[byte:skinColor]
[byte:unk]
[byte:unk]
[dword:tutorialState]
//tutorialState 0 = ZoneJoin, > 0 = TutorialJoin
//race
//1 = wizard
//2 = mad guy
//4 = slim guy
//8 - elf
//16 - Emphatizer (in the future) (girl with white hair and horns)
**********************************
**********************************
Create character
Response to: 0x13d
Server -> client.
id : 0x13e
[dword:0]
**********************************
**********************************
Enter game (from char screen to in-game).
Response to: 0x141
Server -> client.
id : 0x142
[dword:0]
[dword:unk]
[byte:unk] -> If 0 crash
[dword:map]
[dword:unk]
Some maps
//0x3F9 = Navi_Dungeon_G (0x13), 0x3F8 = Navi_Dungeon_F (0x12),
//0x3F7 = Navi_Dungeon_E (0x11), 0x3F6 = Navi_Dungeon_D (0x10),0x3F5 = Navi_Dungeon_C (0xF)
//0x3F4 = Navi_Dungeon_B (0xE), 0x3F3 = Navi_Dungeon_A (0xD)
//0x3E9 = Baron (C),
//0xCA = Amberial Forest
//0xC9 = Dudrin Village
//0xCB = Weis Basin (3)
//0xD3 = Heath Mine (4)
//0x65 = Tutorial Kan
**********************************
**********************************
Set character data (from char screen to in-game).
Response to: 0x147
Server -> client.
id : 0x148
8 bytes maybe charID
[dword:1] -> Don't change both maybe BSOD
[dword:1]
[dword:unk]
[UnicodeString:characterName]
[byte:level]
[byte:unk] -> If 0 can't move
[byte:faction]
[byte:race]
[dword:unk]
[float:X]
[float:Y]
[float:Z]
8 bytes
[dword:Current experience]
[dword:unk] -> Maybe 64 bits of experience seems not currently used
8 bytes
[dword:Experience to next level (maxExp)]
[dword:unk] -> -> Maybe 64 bits of experience seems not currently used
8 bytes
[dword:unk]
[dword:unk]
[dword:CurrentHP]
[dword:CurrentMana]
8 bytes
[dword:money]
[dword:unk]
[dword:unk]
[dword:unk]
[dword:unk]
[dword:unk]
8 bytes char customs:
[byte:faceOn] -> 1 = face on
[byte:custom] -> 4 = on muscle guy tatoo tribal
[byte:hairStyle] -> 2 = bald
[byte:hairColor]
[byte:unk]
[byte:skinColor]
[byte:unk]
[byte:unk]
[dword:unk]
[dword:unk]
[dword:unk]
[dword:unk]
[dword:unk]
[dword:unk]
[dword:unk]
**********************************
**********************************
Set character inventory
Response to: 0x147
Server -> client.
id : 0x14A (sent at the same time as 0x148).
[dword:0]
[byte:itemCount]
[dword:unk]
[dword:unk]
[dword:itemID] -> 0xF241 -> green gem, 0xF242 -> teal gem, 2001 -> Shield
[dword:bagNumber] -> 1-3
[dword
osition] -> (0-31) (0 - > first row, 8 -> start second row, etc)
[dword:itemQuantity]
[dword:unk]
[dword:unk]
[dword:unk]
[byte:unk]
[byte:unk]
[byte:unk]
[dword:unk]
[dword:unk]
[dword:unk]
[dword:unk]
[dword:unk]
[dword:unk]
[dword:unk]
[dword:unk]
[byte:unk]
[word:unk]
[dword:unk]
[dword:unk]
[dword:unk]
**********************************
**********************************
Activates the interface
Response to: 0x147
Server -> client.
id : 0x14C (sent at the same time as 0x148).
[dword:unk]
[word:unk]
[word:unk]
[dword:unk]
**********************************