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...
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...