Peter12
02-24-2015, 12:56 PM
Hello,
I have problem with hooked Tibia 7.72 use.
I hooked it like this:
typedef void _UseContainerItem(int arg1, int arg2, int arg3, int arg4, int arg5, int arg6);
static _UseContainerItem *UseContainerItem = (_UseContainerItem*)0x438FA6;
When Tibia calls this function it looks like this:
http://iv.pl/images/47682814448177965729.png
But when i call this function:
UseContainerItem(0, 2, 0xE0F, 2, 0x40, 0xFFFF);
it looks like this:
http://www.iv.pl/images/55271870089638951798.png
Could anyone tell me what is wrong?
I have problem with hooked Tibia 7.72 use.
I hooked it like this:
typedef void _UseContainerItem(int arg1, int arg2, int arg3, int arg4, int arg5, int arg6);
static _UseContainerItem *UseContainerItem = (_UseContainerItem*)0x438FA6;
When Tibia calls this function it looks like this:
http://iv.pl/images/47682814448177965729.png
But when i call this function:
UseContainerItem(0, 2, 0xE0F, 2, 0x40, 0xFFFF);
it looks like this:
http://www.iv.pl/images/55271870089638951798.png
Could anyone tell me what is wrong?