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.
|