Hello
I'm having problems interacting with nodes.
I don't really want to use CTM global struct, but that's all I know =/
The addresses that im using:
Code:
public static uint GUID1 = 0x30;
public static uint Action = 0x00B92530; // 3.3.3
public static uint Target = 0x00B92530; // 3.3.3
public static uint Distance = 0x005EC1E0 + 0xC; // possibly wrong?
To interact I am using:
Code:
WoW.Memory.WriteUInt64(Offsets.CTM.Target, guid);
WoW.Memory.WriteInt(Offsets.CTM.Action, 4);
It does nothing, my character just stands there. So I did some digging and found that I would need to write to Distance also, so know I use:
Code:
WoW.Memory.WriteFloat(Offsets.CTM.Distance, 2.75f);
WoW.Memory.WriteUInt64(Offsets.CTM.Target, guid);
WoW.Memory.WriteInt(Offsets.CTM.Action, 4);
Again my character is still stood in the same place.
To obtain the GUID, I am using:
Code:
WoW.Memory.ReadUInt(BaseAddress + Offsets.WowObject.GUID1);
The GUID reading must be ok, because I can get name and ID's perfectly!
Thus meaning that its my interaction code that's wrong.
Any ideas guys? +Rep to helpers