Drop Hook doesn't work.
Posted: Tue Feb 19, 2013 4:41 am
Why? Something is wrong or broken? I use rev 572 from svn.
DropPacketHook.src
pkg.cfg
uopacket.cfg
Length = 15 because of 6.0.13 client version.
Hook doesn't print anything... Doesn't work at all....
DropPacketHook.src
Code: Select all
use uo;
program drag()
print( "INSTALLING: Item Drop Hook..." );
return 1;
endprogram
exported function drophook( character, byref packet )
print ("ITEM DROPPED");
SendSysMessage(character, "DROP!!!!");
return 0;
endfunctionCode: Select all
Enabled 1
Name DropPacketHook
CoreRequired 99
Maintainer CWO
Email admin@cwo333.comCode: Select all
Packet 0x08
{
Length 15
ReceiveFunction DropPacketHook:drophook
}Hook doesn't print anything... Doesn't work at all....