Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
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  
Old 19.02.2006, 16:14   #2
johnsmith2
Архивный участник
 
Join Date: Jan 2006
Posts: 82
Default

i can give u couple hints on this one

1. ur idea is wrong, try another packets

2. if you are using the c4 server hami shared or any c4 server from 99nets, you wont get this working

3. its function hook, the packet is reformated in the dll.
but somehow zzcat forgot to reorganize the order of cp/hp/mp, so u get the bug
johnsmith2 is offline  
Old 19.02.2006, 17:06   #3
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

Quote:
Originally Posted by johnsmith2
i can give u couple hints on this one

1. ur idea is wrong, try another packets

2. if you are using the c4 server hami shared or any c4 server from 99nets, you wont get this working

3. its function hook, the packet is reformated in the dll.
but somehow zzcat forgot to reorganize the order of cp/hp/mp, so u get the bug
i thought it may have been another packet also... 0x52... and if so, why when i l2logged party on retail do i not see this? :| and im guessing beens as its reformatted in the dll of zzcat, then there is no way to fix it without changing the dll... which needs decrypting -.- bah! >.>
testdude is offline  
Old 20.02.2006, 17:03   #4
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

maybe testdude if you are using that dll, you can change the packets in engine.dll.
SoaPy is offline  
Old 21.02.2006, 01:47   #5
andreab
Архивный участник
 
Join Date: Oct 2005
Posts: 26
Default

on the server where i play , they updated engine.dll and then it starts working all the bers.
andreab is offline  
Old 22.02.2006, 12:37   #6
johnsmith2
Архивный участник
 
Join Date: Jan 2006
Posts: 82
Default

btw, testdude, i just take a sniff on engine.dll
the 0x0e packet is for player status update
aka StatusUpdatePacket
its for your own character, not for the party
johnsmith2 is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 18:26.