*From Cypher*
[07:14:51]: GAMEOBJECT_POS_X = 0x10
[07:14:51]: GAMEOBJECT_POS_Y = 0x11
[07:14:51]: GAMEOBJECT_POS_Z = 0x12
Code:
//The Getting name & type of the Object works so its not that the base addr is wrong
//Curobj = Base addr of Object in question
tempObject.OBJECT_X = Memory.ReadFloat(hProcess, (curObj + (long)eObjectFields.OBJECT_FIELD_X)); // 0x10 * 4
tempObject.OBJECT_Y = Memory.ReadFloat(hProcess, (curObj + (long)eObjectFields.OBJECT_FIELD_Y)); // 0x11 * 4
tempObject.OBJECT_Z = Memory.ReadFloat(hProcess, (curObj + (long)eObjectFields.OBJECT_FIELD_Z)); // 0x12 * 4
EX:
Found a new node Fel Iron Deposit
Go to <0,0,0>
Tryed other things than just nodes and returned the same thing
I had it working a while ago but i must've done something wrong and i didn't catch it.
To people who think *4 is wrong i also didn't do any *4 and still is a 0.