Undefined word[hair]
Where I need define the slot 'hair' ? how can I fix it?
Thank
you need to hex the l2server to register that slot_bit_type
stage 1 of many, registering slot.
73 00 6C 00 6F 00 74 00 5F 00 68 00 61 00 69 00 72 ; 'slot_hair' (somwhere in free space)
jump from "slots chain" according charselect info, or another paperdoll select info to this point:
mov eax, [esi][20]
mov ecx, [esi][0C]
mov edx, [eax]*8
push 'slot_hair' ; that offset where you place this word.
push edx
call 0x58C90D
add esp, 008
test eax, eax
jne ???? ; jne - jump if not equal - jump to next slot registration according to data.
mov eax, [esi][20]
mov ecx, [esi][0C]
mov ecx, [ecx][eax]*8[-18]
push ??? ; slot number (last 0x0E - slot_rlhand)
push 0xC0
call 0x488BF0
mov ecx, [ebp][-0C]
mov fs:[0x0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
retn 4
chaints of registers can be different need just see in what place in the chain you need put this slot and correct it or you will destroy data chaint.
after this your server can do operations with this slot, maybe more corrections needed i dont know and i dont care.
68 00 61 00 69 00 72 ; 'hair' - or different wor that you call this slot in itemdata somwhere in free space. (offset x y z)
somwhere after .006C57??
z y x(adress where you place 'hair' end byte-start byte) 00 ?? ??(slot bit) 00 00 00 00 00 00 06 00 00 00.
after this you can equip your item in to slot that you define)
chait of slots started at: 644D3Ch - see references and you will find slot registration chaint.
slot name registration somwhere at: 645374h see references for that words and you will find current place.
thank for info Aspire, im working this