Thanks for your replies.
Simple action and im having problems. As a test i did the following:
Code:
private void button2_Click(object sender, EventArgs e)
{
Process[] pid = Process.GetProcessesByName("wow");
BlackMagic wow = new BlackMagic();
wow.OpenProcessAndThread(pid[0].Id);
wow.WriteFloat(0xB9251C + 0x74, 5910);//ctm x
wow.WriteFloat(0xB9251C + 0x78, 638);//ctm y
wow.WriteFloat(0xB9251C + 0x7C, 645);//ctm z
wow.WriteFloat(0xB9251C + 0xC, 10); // ctm distance
wow.WriteInt(0xB9251C + 0x1C, 4); // ctm action
}
I'm getting nothing. I was watch the value of ctm action when doing a normal ctm action in wow and it gets set to 2. Tried this also but no luck.
I must of read Click To Move - WoW.Dev Wiki 1million times already.
Any comments apprcaited. Thank you.
Edit: added code tags