What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Plugin to clear target every 10 sec

smiie

New Member
Joined
Jan 15, 2010
Messages
203
Reaction score
0
Just as I said in the title, I'd like a plugin that would clear my target every 10sec.
 
I'm trying to farm various instances with SoR bots, but they constantly get stuck ( as in just standing there) if I press esc to clear the target it goes on without a problem.
 
I could fix you problem but .. it would be a workaround. Not a plugin. Just tell me what CC u r using for your bots and I should be able to fix it.
 
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
 

Attachments

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

This part gave me an error so I removed it. So it's working now
Code:
public override void Initialize()        {
            Logging.Write(Colors.Lime, " [" + Name + ", " + Version + "]");
        }

The error was
Code:
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 now
Code:
public override void Initialize()        {
            Logging.Write(Colors.Lime, " [" + Name + ", " + Version + "]");
        }

The error was
Code:
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. ;)
 
oh, i am sorry

Add to the ClearTarget.cs just above the rest of the using's:

using System.Windows.Media;

and save it. ;)

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
 
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

The problem mostly occurs out of combat. So the plugin he created works perfectly!
 
Back
Top