i didn't test it, if its not working tell me what errors it gives you. basically clears your target if you got the same target for more than 10 secs, adjustable in the cs file eh.
3min work are not worth 30 bucks for me, though
public override void Initialize() {
Logging.Write(Colors.Lime, " [" + Name + ", " + Version + "]");
}
Error cs0103: The name 'colors' does not exist in the current context
This part gave me an error so I removed it. So it's working nowCode:public override void Initialize() { Logging.Write(Colors.Lime, " [" + Name + ", " + Version + "]"); }
The error wasCode:Error cs0103: The name 'colors' does not exist in the current context
oh, i am sorry
Add to the ClearTarget.cs just above the rest of the using's:
using System.Windows.Media;
and save it.![]()
(curTar != null && Me.Combat && !curTar.IsAlive)
Instead of clearing every 10 seconds, it could be useful to add something like
Code:(curTar != null && Me.Combat && !curTar.IsAlive)
or something like that. Syntaxes might not be perfect as i just took a quick glance in your plugin and decided it might be usefull. This will help him if he is in combat at least, which i am not sure is the problem or not.
If it's only a problem when fighting a timer isn't actually needed and it can simply be set to clear target if in combat and mob dead
I will make it for you for 30 bucks. Or maybe someone will be nice enough to make it for free.