possible packethook fix:
uopacket.cfg
Code:
Packet 0x07
{
Length 7
ReceiveFunction drag:dragging
}
drag.src
Code:
use uo;
use os;
use polsys;
program drag()
return 1;
endprogram
exported function dragging(who, byref packet)
var item := SystemFindObjectBySerial(packet.GetInt32(1));
if (item && item.serial == who.backpack.serial)
var reject := CreatePacket(0x27, 2);
reject.SetInt8(1, 0x00);
reject.SendPacket(who);
return 1;
endif
return 0;
endfunction
I know theres a little extra code there but its there to make sure the check behaves properly...
Code:
var item := SystemFindObjectBySerial(packet.GetInt32(1));
if (item && item.serial == who.backpack.serial)
could just be narrowed down to
Code:
if (packet.GetInt32(1) == who.backpack.serial)