Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 19.02.2006, 15:31   #1
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default Party packet hex...?!

ok i been trying to get the party packet thing sorted, but aparently it wasnt as simple as i thought....
from retail i l2logged this....
c 0e
d 1330667210 - SID
d 4 - Status Update Count
d 9 - Cur HP ID
d 815 - Cur HP
d 10 (0x0a) - Max HP ID
d 815 - Max HP
d 33 (0x21) - Cur CP ID
d 407 - Cur CP
d 34 (0x22) - Max CP ID
d 407 - Max CP

now i changed the packet, i l2log my server i get this....

c 0e
d (inster random number) - SID
d 4 - Status Update Count
d 9 - Cur HP ID
d 62 - Cur HP
d 10 (0x0a) - Max HP ID
d 113 - Max HP
d 33 (0x21) - Cur CP ID
d 127 - Cur CP
d 34 (0x22) - Max CP ID
d 127 - Max CP

it matches the retail packet 100%... yet it still displays the hp as the cp bar... ive tried moving the CP to before the HP... same problem, i tried putting the HP cur/max where the cp cur/max is supposed to be, after the 33 and 34, still same... i dont know wtf is up with this... anyone else can help?

basically this is what i did....

i relocated from here
004B526C .-E9 3F342000 JMP L2Server.006B86B0
down to the cmp eax,2
and then added the extra data:
Code:
PUSH 0
PUSH 22
PUSH 0
PUSH 21
MOV EAX,DWORD PTR SS:[EBP-14]
PUSH EAX
PUSH 0A
PUSH ESI
PUSH 9
MOV EDI,DWORD PTR DS:[EDI+19B8]
PUSH 4
PUSH EBX
PUSH 1A
PUSH L2Server.006B86E2                   ; ASCII "cdddddddddd"
PUSH EDI
CALL L2Server.004DFC70
ADD ESP,2C
JMP L2Server.004B52A1
i had to relocate down to the add esp cos if i didnt it would screw up the mp packet...
i dont get whats up with this... it matches the packet i logged from retail EXACTLY... ive tried just about everything i can think of and it still doesnt work, i tried pushing eax and esi for cur/max cp, ive tried 0, ive tired 7f... not a random number or anything... the packet matches retail 100%, why the hell doesnt it work? the mp packet matches aswell, it hasnt changed at all...
testdude 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 15:22.