View Single Post
Old 03.06.2006, 01:41   #9
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

Quote:
Originally Posted by draft
main idea must be - hook packet from client with header 29h and return to same point, coz party packet have many parts like erro system, loot manager, smartid manager, party windows..., so to fix objectid we must hook first part of packet, all another maybe not needed, need just correctly return to exe from dll or all another parts will be bypassed.
imo hooking by the packet header isnt the best, or easyest way to do it, because the RequestJoinParty is already a function in the l2server, it's address is stored in the dword table of functions, it is best just to change the address on the table to the address of the function.


also mcrabben7, the party window update blah blah packet for zzcat's dll was changed, but zzcat put the value for the CP at the end of the packet, instead of the beginning, so just changing where the engine.dll reads the CP from the packet is an easy fix for this.
testdude is offline