Originally Posted by
bierstud
mov eax, dword ptr ds:[0x010BD5F4 + 0x7A0]
mov z, eax
}
I`ll just paste values you need from my project:
Code:
public static UInt32 PlayerBasePtr = 0x010BD5F4; //3.1.1: 0x010B65F4; //pointer
public static UInt32 Player1stOffset = 0x34;
public static UInt32 PlayerBaseOffset = 0x24;
public static UInt32 PlayerXOffset = 0x798;
public static UInt32 PlayerYOffset = PlayerXOffset + 4;
public static UInt32 PlayerZOffset = PlayerXOffset + 8;
Your code should be like
Code:
mov eax, [0x010BD5F4]
add eax, 0x34
mov eax, [eax]
add eax, 0x24
mov eax, [eax]
add eax, 0x7A0 //Z-offset
mov z, [eax]
Sorry for any errors in asm, but i hope u got an idea.