• Visit Rebornbuddy
  • [Plugin] TakeControl! - Control HonorBuddy and blacklist objects with your keyboard !

    Discussion in 'Uncataloged' started by ZenLulz, Feb 21, 2013.

    1. ZenLulz

      ZenLulz Community Developer

      Joined:
      Aug 17, 2011
      Messages:
      583
      Likes Received:
      98
      Trophy Points:
      28
      TakeControl!
      Control HonorBuddy and blacklist objects with your keyboard !

      TakeControl.png

      Version 1.0
      Tested on WoW 5.1.0


      Synopsis
      TakeControl! is a plugin for HonorBuddy that allows you to bind various actions with hotkeys.
      These hotkeys are usable when WoW is your foreground window and does not interfere with other applications.

      Features
      Blacklist All Objects
      Blacklist all objects (including pnj, real player, nodes, etc.) in a specified radius during a specified time. This feature is useful when your bot tries to gather a node it cannot harvest (underground node or a lot of WoWObjects around). Press on your key and your bot will ignore it ! It also works for ignoring all mobs around the bot.

      Blacklist Current Target
      Blacklist you current target. Especially use when your target is evading or if you want to bypass it.

      HonorBuddy Suspend/Resume
      Pause and resume the bot without reload all the profile or the botbase behavior.

      HonorBuddy Start/Stop
      Stop and start the bot.

      HonorBuddy Restart
      Restart the bot (perform the stop and start operations in one).

      Downloads
      [SVN] https://zenlulzdev.googlecode.com/svn/trunk/HonorBuddy/Plugins/TakeControl/
      [ZIP] https://zenlulzdev.googlecode.com/svn/tags/HonorBuddy/Plugins/TakeControl/
      The latest version is also attached to this post.

      Setup
      Extract the zip in a folder called "TakeControl" in the repository "Plugins" in your HonorBuddy installation.
      Don't forget the enable the plugin when you started HonorBuddy.

      Bottom lines
      All my releases are completely free and offered to the community. If you like this plugin, please consider to like this page (the Like link at the bottom right), adding some reputations (the star button at the bottom left) or eventually buy my beer with the Paypal link in my signature. :)

      Also, all your feedbacks are welcome.

      Cheers
      ZenLulz
       

      Attached Files:

    2. Ernst Otten

      Ernst Otten Member

      Joined:
      Jan 11, 2013
      Messages:
      38
      Likes Received:
      0
      Trophy Points:
      6
      Looks awesome :) i will try it out
       
    3. Werty0Werty0

      Werty0Werty0 New Member

      Joined:
      Oct 3, 2012
      Messages:
      19
      Likes Received:
      0
      Trophy Points:
      0
      amazing, i've always wanted to be able to pause HB for a few seconds when something messes up. I'll give it a try thanks again!
       
    4. fantasydreaming

      fantasydreaming Member

      Joined:
      Feb 2, 2013
      Messages:
      129
      Likes Received:
      0
      Trophy Points:
      16
      Great project! I'm having some problems with it crashing upon resuming, for example:

      [06:59:08.392 D] Activity: [TakeControl!] Bot resumed
      [06:59:08.392 N] [TakeControl!]: Honorbuddy: Resumed
      [06:59:18.459 D] System.Exception: Process must have frozen or gotten out of sync: InjectionFinishedEvent_was_never_fired
      at Styx.MemoryManagement.Executor.Execute(Int32 fromId)
      at Styx.MemoryManagement.ExternalProcessReader.Call[T](IntPtr address, CallingConvention callingConvention, Boolean& defaultedToInjection, Object[] args)
      at Styx.MemoryManagement.ExternalProcessReader.Call[T](IntPtr address, CallingConvention callingConvention, Object[] args)
      at Styx.WoWInternals.WoWObjects.WoWUnit.GetReactionTowards(WoWUnit otherUnit)
      at Styx.WoWInternals.WoWObjects.WoWUnit.get_MyReaction()
      at Styx.WoWInternals.WoWObjects.WoWUnit.get_IsHostile()
      at Singular.Helpers.Safers.<EnsureTarget>b__c(WoWUnit p) in c:\Users\Inspire\Downloads\Honorbuddy 2.5.6701.525\Routines\Singular\Helpers\Safers.cs:line 222
      at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
      at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
      at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext()
      at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
      at Singular.Helpers.Safers.<EnsureTarget>b__b(Object ctx) in c:\Users\Inspire\Downloads\Honorbuddy 2.5.6701.525\Routines\Singular\Helpers\Safers.cs:line 220
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.Decorator..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.Decorator..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.Common.HookExecutor.Run(Object context)
      at Styx.TreeSharp.Action.RunAction(Object context)
      at Styx.TreeSharp.Action..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.Decorator..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Singular.SingularRoutine.LockSelector.Tick(Object context) in c:\Users\Inspire\Downloads\Honorbuddy 2.5.6701.525\Routines\Singular\SingularRoutine.Behaviors.cs:line 358
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.Common.HookExecutor.Run(Object context)
      at Styx.TreeSharp.Action.RunAction(Object context)
      at Styx.TreeSharp.Action..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.Decorator..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.Common.HookExecutor.Run(Object context)
      at Styx.TreeSharp.Action.RunAction(Object context)
      at Styx.TreeSharp.Action..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.CommonBot.TreeRoot.()
      [06:59:18.459 D] System.Exception: Process must have frozen or gotten out of sync: InjectionFinishedEvent_was_never_fired
      at Styx.MemoryManagement.Executor.Execute(Int32 fromId)
      at Styx.MemoryManagement.ExternalProcessReader.Call[T](IntPtr address, CallingConvention callingConvention, Boolean& defaultedToInjection, Object[] args)
      at Styx.MemoryManagement.ExternalProcessReader.Call[T](IntPtr address, CallingConvention callingConvention, Object[] args)
      at Styx.WoWInternals.WoWObjects.WoWUnit.GetReactionTowards(WoWUnit otherUnit)
      at Styx.WoWInternals.WoWObjects.WoWUnit.get_MyReaction()
      at Styx.WoWInternals.WoWObjects.WoWUnit.get_IsHostile()
      at Singular.Helpers.Safers.<EnsureTarget>b__c(WoWUnit p) in c:\Users\Inspire\Downloads\Honorbuddy 2.5.6701.525\Routines\Singular\Helpers\Safers.cs:line 222
      at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
      at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
      at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext()
      at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
      at Singular.Helpers.Safers.<EnsureTarget>b__b(Object ctx) in c:\Users\Inspire\Downloads\Honorbuddy 2.5.6701.525\Routines\Singular\Helpers\Safers.cs:line 220
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.Decorator..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.Decorator..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.Common.HookExecutor.Run(Object context)
      at Styx.TreeSharp.Action.RunAction(Object context)
      at Styx.TreeSharp.Action..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.Decorator..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Singular.SingularRoutine.LockSelector.Tick(Object context) in c:\Users\Inspire\Downloads\Honorbuddy 2.5.6701.525\Routines\Singular\SingularRoutine.Behaviors.cs:line 358
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.Common.HookExecutor.Run(Object context)
      at Styx.TreeSharp.Action.RunAction(Object context)
      at Styx.TreeSharp.Action..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.Decorator..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.Common.HookExecutor.Run(Object context)
      at Styx.TreeSharp.Action.RunAction(Object context)
      at Styx.TreeSharp.Action..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.CommonBot.TreeRoot.()
      [06:59:18.460 D] Cleared POI - Reason Exception in Root.Tick()
      [06:59:18.460 D] Cleared POI
      [06:59:22.937 N] Wow exited, Honorbuddy stopped!
      [06:59:22.938 D] Stop called!
      [06:59:22.938 Q] Bot Stopped! Reason: Wow exited, Honorbuddy stopped!
      [06:59:28.536 D] System.AccessViolationException: Could not read bytes from 01C882D0 [299]!
      at Styx.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
      at Styx.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
      at Styx.WoWInternals.WoWCurrency.GetCurrencyById(UInt32 id)
      at Styx.WoWInternals.WoWCurrency.GetCurrencyByType(WoWCurrencyType type)
      at Styx.CommonBot.GameStats.()
      at Styx.CommonBot.GameStats.()
      at Styx.Pulsator.Pulse(PulseFlags flags)
      at Styx.CommonBot.TreeRoot.()
      at Styx.CommonBot.TreeRoot.()
       
    5. ZenLulz

      ZenLulz Community Developer

      Joined:
      Aug 17, 2011
      Messages:
      583
      Likes Received:
      98
      Trophy Points:
      28
      Thanks for reporting. How often do you meet this error ?
       
    6. fantasydreaming

      fantasydreaming Member

      Joined:
      Feb 2, 2013
      Messages:
      129
      Likes Received:
      0
      Trophy Points:
      16
      Not constantly. Maybe 10-20% of the time when I'm interrupting a questing profile to run away from pvpers or a huge pack of mobs that was pulled but doesn't really need to be killed.
       
    7. minizick

      minizick New Member

      Joined:
      May 14, 2011
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      Will try this out soon looks awsome!
       
    8. Ducks

      Ducks New Member

      Joined:
      Mar 22, 2012
      Messages:
      377
      Likes Received:
      4
      Trophy Points:
      0
      Will test tomorrow!
       
    9. ZenLulz

      ZenLulz Community Developer

      Joined:
      Aug 17, 2011
      Messages:
      583
      Likes Received:
      98
      Trophy Points:
      28
      Thanks for reporting, I will look after it.
       
    10. rascal9

      rascal9 Member

      Joined:
      Aug 8, 2012
      Messages:
      774
      Likes Received:
      5
      Trophy Points:
      18
      Is it possible to have it blacklist target after 3 seconds of attempting combat and no damage received or given
       
    11. highend

      highend Member

      Joined:
      Jan 15, 2010
      Messages:
      422
      Likes Received:
      1
      Trophy Points:
      18
      It won't compile any more with WOD...
       
      Last edited: Nov 28, 2014

    Share This Page