![]() |
|
|
|
|
#1 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
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 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... |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jan 2006
Posts: 82
|
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 |
|
|
|
|
#3 | |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
Quote:
|
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Feb 2005
Posts: 705
|
maybe testdude if you are using that dll, you can change the packets in engine.dll.
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Oct 2005
Posts: 26
|
on the server where i play , they updated engine.dll and then it starts working all the bers.
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Jan 2006
Posts: 82
|
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 |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|