PDA

View Full Version : Party packet hex...?!


testdude
19.02.2006, 15:31
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:
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.004B52A1i 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...

johnsmith2
19.02.2006, 16:14
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

testdude
19.02.2006, 17:06
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 bugi 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! >.>

SoaPy
20.02.2006, 17:03
maybe testdude if you are using that dll, you can change the packets in engine.dll.

andreab
21.02.2006, 01:47
on the server where i play , they updated engine.dll and then it starts working all the bers.

johnsmith2
22.02.2006, 12:37
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