The following warnings occurred: | ||||||||||||||||||||||||||||||
Warning [2] Undefined variable $captcha - Line: 15 - File: global.php(587) : eval()'d code PHP 8.2.24 (Linux)
|
Reversing Spellborn
|
I don't know if you saw that but that's what I found about this packet (it's on github). I think, merged with what you found about the "bits packing" we should have the answer:
<pre class="_prettyXprint"> struct C2S_CS_CREATE_CHARACTER (various size) { struct PacketHeader header; DWORD lod0size; byte[lod0size] lod0; DWORD lod1size; byte[lod1size] lod1; DWORD lod2size; byte[lod2size] lod2; DWORD lod3size; byte[lod3size] lod3; DWORD charNameNumChars; BYTE[charNameNumChars*2] characterName; DWORD classID; DWORD fixedSkill1ID;//Hack/slash/shoot DWORD fixedSkill2ID;//Hack/slash/shoot DWORD fixedSkill3ID;//Hack/slash/shoot DWORD customSkill1ID;//choosen by player DWORD customSkill2ID;//choosen by player DWORD unknwownDword;//=41 it changes when the character has a shield (=43) }; Note: Lod0 Lod1 Lod2 Lod3 are byte arrays containing appearance information. WARNING: I am not 100% sure of their layout, so it has to be verified. /*LOD0 size = 13 * [00] = glove left color 1 * [01] = glove left color 2 * [02] = glove right color 1 * [03] = glove right color 2 * [04] = gauntlet left color 1 * [05] = gauntlet left color 2 * [06] = gauntlet right color 1 * [07] = gauntlet right color 2 * [08] = tattoo chest + left arm (power of 16) * [09] = tattoo left arm + tatoo right arm * [10] = unknown (reserved for hood?) * [11] = unknown (reserved for hood?) * [12] = voice id */ /*LOD1 size = 20 * [00] = Pants color 1 * [01] = pants colour 2 * [02] = shooes color 1 * [03] = shooes color 2 * [04] = helmet color 1 * [05] = helmet color 2 * [06] = left shoulder color 1 * [07] = left shoulder color 2 * [08] = right shoulder color 1 * [09] = right shoulder color 2 * [10] = belt color 1 * [11] = belt color 2 * [12] = Thigh left color 1 * [13] = Thigh left color 2 * [14] = thigh right color 1 * [15] = thigh right color 2 * [16] = shin left color 1 * [17] = shin left color 2 * [18] = shin right color 1 * [19] = shin right color 2 */ /*LOD2 size = 15 * [00] = glove left type * [01] = glove right type + pants type * [02] = shooes type * [03] = helmet type * [04] = shoulder left + right type part 1 * [05] = shoulder right type part 2 + gauntlet left part 1 * [06] = gauntlet left part 2 + gauntlet right * [07] = belt type + thigh left type part 1 * [08] = Thigh left type part 2 + thigh right part 1 * [09] = thigh right part 2 + shin left * [10] = shin right + melee weapon part 1 * [11] = melee weapon part 2 * [12] = ranged weapon part 1 * [13] = ranged weapon part 2 * [14] = unknown dword (reserved for hood?) */ /*LOD3 size = 10 * [0] = Race+Gender+body * 0 to 3 = skinny (human male, daevi male, human female, daevi female) * 4 to 7 = athletic (idem) * 8 to 11 = fat (idem) * [01] = skin color1 + headTypeID * [02] = skin color2 + hairType (power of 16) * [03] = hair type part 2 + hair color 1 * [04] = hair color 2 + torso cloth * [05] = torso cloth color 1 * [06] = torso cloth color 2 * [07] = armor chest type + armor chest color 1 * [08] = armor chest color 1 + armor chest color 2 * [09] = armor chest color 2 */ </pre> |
« Next Oldest | Next Newest »
|