what im doing wrong
are the offsets wrong or what?
doing currently like this:
Code:
float playerx = wow.ReadFloat(playerbase + 0x898); // works
float playery = wow.ReadFloat(playerbase + 0x898 + 0x4); // works
wow.WriteFloat(CTM_X, playerx + 5);
wow.WriteFloat(CTM_Y, playery + 5);
wow.WriteInt(CTM_PUSH, 4);
and these are my offsets
public const int CTM = 0x8CAB70;
public const int CTM_DISTANCE = CTM + 0xC;
public const int CTM_PUSH = CTM + 0x1C;
public const int CTM_X = CTM + 0xA0;
public const int CTM_Y = CTM + 0xA4;
public const int CTM_Z = CTM + 0xA8;
is it right that
i must write the x and the y and than the ctm push??