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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Plugin] NoBotHere 1.0.0

Status
Not open for further replies.

randomstraw

Community Developer
Joined
Jul 17, 2012
Messages
1,611
NoBotHere
______________________________

is a small, simple plugin ...
... to target other players, out of combat
... within a preset range of 30 yards
... for a random amount of time (4s - 18s)
... the same player not more than once every 40s


however, it also ...
... removes any friendly player targets almost instantly if set by hand/routine for healing
... except if in combat. It disables itself while fighting. Smart move.

______________________________







I made this on a request to a function SupremeTargets had back then,
but never really worked 100%.
As SupremeTargets is "left for dead"
(because Millz' [Plugin] I Want Movement - Use LazyRaider CR's with afk bot bases does an awesome job on targetting/facing!)
this standalone "I target you, so I look less bottish" is here.

But keep in mind - if you target a player,
you may also draw his attention!

This plugin is provided "as-is",
means i'm not planning to add a GUI or any other stuff.
But - If there are any issues with the Plugin itself, I'll fix them.
If I get any feedback, which is greatly appreciated.
Just as a Beer/Coffee is (see my sig ;))!



current issues / personal to-do list
  • blacklisting isn't working correctly with the most recent update
  • disable targetting friends in the Battleground startingarea, especially if using singular, its creating odd facing-behaviour due to a (not settable) setting in singular, requested this to be setable - v1.0.1/2 disables the plugin in battlegrounds for the time being
    ( www.thebuddyforum.com/honorbuddy-forum/combat-routines/all-one/88535-singular-community-driven-all-one-cc-just-plain-works-version-3-a-153.html#post1202093 )

changelog
 

Attachments

Last edited:
This is awesome! Could you make it (if enabled) do a random emote like /wave, /fart, /cheer? :D

Would be a nice feature to add, anyway, good job on this!
 
This is awesome! Could you make it (if enabled) do a random emote like /wave, /fart, /cheer? :D

Would be a nice feature to add, anyway, good job on this!

i thought about this, but felt it would draw too much attention.
i can give you the code so you can add it for yourself, but i won't add it in here.

edit: no time right now. If you want, you should add it yourself, some inspiration:
Code:
//emote config - i recommend to let this FALSE, use at own risk. (well, you are using everyhting at own risk, do what you must!)
        private static int _totalEmotes;
        private static bool _emotes = true;    //set true to use emotes (sometimes!)
        private static DateTime _lastEmote;     //used to cache last emote Date
        private static TimeSpan _waitEmote = TimeSpan.FromMilliseconds(_targetTimeMax + 2000);  //should always be above the max time we can have a target..
        private static int _emoteFactor = 12;   //explaination: each _tick (1s) will do a random roll, from 0 to _emoteFactor - which is standard 10. If the number 1 is rolled, it will do an emote.
                                                //              that means that on average a target will be held for 11s standard [(4000+18000)/2]
                                                //              that means, the higher the value the less emotes (randomly generated, might differ sometimes - but will never do more than 1 emote / person.)

...

if (StyxWoW.Me.CurrentTarget != null && StyxWoW.Me.CurrentTarget.IsPlayer && DateTime.UtcNow < _targetTime && DateTime.UtcNow > _lastEmote.Add(_waitEmote))
                    {
                        //emotes
                        if (new Random().Next(0, _emoteFactor) == 1)
                        {

                            string _emote = "flex"; //dummy

                            [more random makros here..]

                            Lua.DoString("RunMacroText(\"/"+_emote+"\")");
                            _lastEmote = DateTime.UtcNow;
                            Logging.Write(_color, "[NBH]: [/{0} @ {1}.{2}]", _emote, StyxWoW.Me.CurrentTarget.Class, StyxWoW.Me.CurrentTarget.Guid.ToString().Substring(8, 4));
                            _totalEmotes = _totalEmotes + 1;
                            
                        }
                    }

regards
 
Last edited:
This is awesome! Could you make it (if enabled) do a random emote like /wave, /fart, /cheer? :D

Would be a nice feature to add, anyway, good job on this!

^This :p was actually thinking about making that few mins ago before i saw this thread lol :)

EDIT: Damn late posting :mad: ah well thanks for informing us! Might as well look into it later :)
 
Last edited:
i thought about this, but felt it would draw too much attention.
i can give you the code so you can add it for yourself, but i won't add it in here.

edit: no time right now. If you want, you should add it yourself, some inspiration:
Code:
//emote config - i recommend to let this FALSE, use at own risk. (well, you are using everyhting at own risk, do what you must!)
        private static int _totalEmotes;
        private static bool _emotes = true;    //set true to use emotes (sometimes!)
        private static DateTime _lastEmote;     //used to cache last emote Date
        private static TimeSpan _waitEmote = TimeSpan.FromMilliseconds(_targetTimeMax + 2000);  //should always be above the max time we can have a target..
        private static int _emoteFactor = 12;   //explaination: each _tick (1s) will do a random roll, from 0 to _emoteFactor - which is standard 10. If the number 1 is rolled, it will do an emote.
                                                //              that means that on average a target will be held for 11s standard [(4000+18000)/2]
                                                //              that means, the higher the value the less emotes (randomly generated, might differ sometimes - but will never do more than 1 emote / person.)

...

if (StyxWoW.Me.CurrentTarget != null && StyxWoW.Me.CurrentTarget.IsPlayer && DateTime.UtcNow < _targetTime && DateTime.UtcNow > _lastEmote.Add(_waitEmote))
                    {
                        //emotes
                        if (new Random().Next(0, _emoteFactor) == 1)
                        {

                            string _emote = "flex"; //dummy

                            [more random makros here..]

                            Lua.DoString("RunMacroText(\"/"+_emote+"\")");
                            _lastEmote = DateTime.UtcNow;
                            Logging.Write(_color, "[NBH]: [/{0} @ {1}.{2}]", _emote, StyxWoW.Me.CurrentTarget.Class, StyxWoW.Me.CurrentTarget.Guid.ToString().Substring(8, 4));
                            _totalEmotes = _totalEmotes + 1;
                            
                        }
                    }

regards

I like you! Will test this later today :)
 
This is awesome! Could you make it (if enabled) do a random emote like /wave, /fart, /cheer? :D

Would be a nice feature to add, anyway, good job on this!

Not sure this is really needed he is right you really don't want to draw to much attention. The plugin is great as is and I wouldn't recommend adding extra emotes in considering questing in HB is already buggy as hell.
 
Not sure this is really needed he is right you really don't want to draw to much attention. The plugin is great as is and I wouldn't recommend adding extra emotes in considering questing in HB is already buggy as hell.

Yeah I tried with emotes, the code didn't work, maybe I did something wrong. Anyhow, yeah I'll just use this without emotes :D
 
Possible to disable this Target Player while in Bossfight with Dungeon Buddy? Or if in Fight at all. Mostly he targets player but fight too
 
Possible to disable this Target Player while in Bossfight with Dungeon Buddy? Or if in Fight at all. Mostly he targets player but fight too

it should disable itself while fighting.

i will look into this later today, thanks for reporting

e: 1.0.3 added to OP, potentially fixing the problem, could you please try it?
 
Last edited:
Been using this a while now and it's awesome! :)

It would be legendary if you added a function to use random emotes if the player is within say 30yards of my Bot.

/smile
/wave
/cheer

Whatever. AI doesn't have emotions, or does it?
 
it should disable itself while fighting.

i will look into this later today, thanks for reporting

e: 1.0.3 added to OP, potentially fixing the problem, could you please try it?

works now fine in dungeons (infight)
 
Been using this a while now and it's awesome! :)

It would be legendary if you added a function to use random emotes if the player is within say 30yards of my Bot.

/smile
/wave
/cheer

Whatever. AI doesn't have emotions, or does it?
This has already been discussed previously in this very same thread. Just start at the beginning and read the thread, mate. The OP said they weren't going to add in that sort of thing because it will draw more attention than is needed. The OP said if YOU (the person asking for it) knew how to code, then feel free to code it in yourself, but they (the OP) aren't going to put it in.
 
it would be awkward to wave to someone and they wanted to start a conversation about the fishing

then they get shitty when you dont respond and report you for being a bot

AM NOT CONDONING REPORTING OTHER BOTTERS. JUST ACKNOWLEDGING IT HAPPENS.
 
1.0.5 - fixed typo
1.0.4 - changes to cope with HB-test .750
 
Last edited:
Status
Not open for further replies.
Back
Top