Hello, I'm using a personal plugin who cast spell for me and it seems that there is some problems with BuddyTor.Me.CurrentTarget. Indeed, often the value is null, while I really have a target. It happen a lot in PvP (But in PVE as well). Maybe 1 in 10 target is not recognise as a target. Is it a known issue ? Is there a dirty fix or something ? Thank you.
Here is my plugin : http://pastebin.com/tJum6Lt3 I register an Hotkey and I execute some code to cast spell when I press the hotKey. Everything works fine but in PVP, some targets are not recognise. Maybe 5 or 10% of the time. Don't know why. When I say not recognise, I mean BuddyTor.Me.CurrentTarget return null. So obviously in this case, the spells are not cast. Thx for your help.
Code: private static void Routine() { using (BuddyTor.Memory.AcquireFrame()) { BuddyTor.Update(); BuddyTor.Me.SetTarget(BuddyTor.Me.CurrentTarget); //The rest of the code from Routine.... } }