This is the function:
And this is the code I was using for other servers:
Code:
int GetItemIndex(int index)
{
int value;
__asm
{
mov ecx, [0x6E24A8]
mov edx, [ecx+ 0x4]
mov edx, [edx+ 0x40]
add ecx, 4
push index
call edx
mov value, eax
}
return value;
}
Code:
int GetItemIndex(int index)
{
int value;
__asm
{
mov ecx, [0x6C4148]
mov edx, [ecx+0x4]
add ecx, 4
push index
mov eax, [edx+0x40]
call eax
mov value, eax
}
return value;
}
Any hints on how to fix this are appreciated, thanks in advance






