Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 13.04.2006, 02:47   #1
MuNLoK
Архивный участник
 
Join Date: Sep 2005
Posts: 255
Default Undefined word[hair]

Undefined word[hair]

Where I need define the slot 'hair' ? how can I fix it?

Thank
MuNLoK is offline  
Old 13.04.2006, 03:08   #2
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

you need to hex the l2server to register that slot_bit_type
SoaPy is offline  
Old 13.04.2006, 10:22   #3
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default

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.
Aspire is offline  
Old 13.04.2006, 10:35   #4
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default

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)
Aspire is offline  
Old 13.04.2006, 10:41   #5
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default

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.
Aspire is offline  
Old 14.04.2006, 02:06   #6
MuNLoK
Архивный участник
 
Join Date: Sep 2005
Posts: 255
Default

thank for info Aspire, im working this
MuNLoK is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:31.