• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • CombatBotEx

    Discussion in 'Botbases' started by satbuster, Nov 1, 2015.

    1. satbuster

      satbuster Member

      Joined:
      Dec 19, 2014
      Messages:
      93
      Likes Received:
      0
      Trophy Points:
      6
      CombatBotEx v1.0.7 - derived from CombatBot
      (https://www.thebuddyforum.com/wildbuddy-forum/botbases/215814-combatbot.html)

      All credits to original author.

      CombatBotEx automates combat but leaves movement and targeting to you.

      Uses standard or custom WildBuddy combat routines.
      Supports auto-attacking selected targets for "lazy-mode" leveling.
      Supports auto-looting and auto-collecting settler resources.
      Supports pausing bot using Alt-x and optional in-game notification.
      Configurable.

      Installation
      - Unzip contents to WildBuddy\Bots\
      - Select CombatBotEx as Bot and your favorite Routine. Tested using Default Combat Routine.

      Use at your own risk & leisure. This derived bot is not supported.

      -SB-


      ChangeLog
      v.1.0.8 - test release. Press Alt-v to dump some useful XML for manual profile creation.
      v.1.0.7 - added configurable and optional support for in-game chat notification for bot pausing
      v.1.0.6 - added support for pausing bot using Alt-x
       

      Attached Files:

      Last edited: Nov 3, 2015
    2. satbuster

      satbuster Member

      Joined:
      Dec 19, 2014
      Messages:
      93
      Likes Received:
      0
      Trophy Points:
      6
      Unfortunately, pausing isn't working correct. Apologies for the premature upload.
       
    3. satbuster

      satbuster Member

      Joined:
      Dec 19, 2014
      Messages:
      93
      Likes Received:
      0
      Trophy Points:
      6
      Updated to v.1.0.6 and it seems to work.
       
    4. arvz16

      arvz16 Member

      Joined:
      Oct 17, 2013
      Messages:
      116
      Likes Received:
      0
      Trophy Points:
      16
      Thank you very much satbuster!! :)
       
    5. xXxSidewaysxXx

      xXxSidewaysxXx Member

      Joined:
      Feb 22, 2012
      Messages:
      138
      Likes Received:
      1
      Trophy Points:
      18
      Nice work! But, the Botbase is attacking NPC´s only? Doesnt work at players =(
       
    6. satbuster

      satbuster Member

      Joined:
      Dec 19, 2014
      Messages:
      93
      Likes Received:
      0
      Trophy Points:
      6
      You're probably correct. I haven't looked at PvP scenarios. If you initiate/activate combat, does it start combat routine?
       
    7. Deathdisguise

      Deathdisguise Community Developer

      Joined:
      Mar 7, 2015
      Messages:
      678
      Likes Received:
      6
      Trophy Points:
      0
      The default combat routine intentionally doesn't engage PVP targets. :eek:
       
    8. satbuster

      satbuster Member

      Joined:
      Dec 19, 2014
      Messages:
      93
      Likes Received:
      0
      Trophy Points:
      6
      I should be able to engage explicitly in the bot. The other question is if the default combat routines will continue combat rotation on an engaged target.
       
    9. satbuster

      satbuster Member

      Joined:
      Dec 19, 2014
      Messages:
      93
      Likes Received:
      0
      Trophy Points:
      6
      Will take a closer look sometime at PvP maybe later. Default Combat Routine seems to have some PvP-awareness.

      Code:
      // Ignore players if PVP isn't enabled.
      if (a.ActorType == ActorType.Player && (!isLocalPvpFlagged || !((Player) a).IsPvpFlagged))
         return false;
      
       
    10. Rocail

      Rocail New Member

      Joined:
      May 24, 2014
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      0
      Bug report. 3 problems

      Code:
      Buddy.Wildstar.Game.LuaException: [string "?"]:6: unexpected symbol near 'or'
         at Buddy.Wildstar.Game.GameLua.GetReturnValues(String lua)
         at Buddy.Wildstar.Game.GameLua.GetReturnValue[T](String lua, Int32 index)
         at Buddy.Wildstar.Game.GameLuaEvents.Pulse()
      
      1# Can't disable facing the target. Makes this extremely difficult to move / strafe. Completely unusable in raids.

      2# error at start. ^ code above

      3# Can't detect / use the gadget. ("Dance of Death" is the gadgets name)

      4# Uses the movement ability (urgency) while in combat every time it's up for no reason.

      Log attached
      View attachment 192061

      Using Profile combatbotex link
      with default combat routine.

      *suggested change. Allow a "Hold button to attack" setting, or let us set the button to toggle the bot. That would make this useful in raids if the auto-facing can be turned off.
       
    11. satbuster

      satbuster Member

      Joined:
      Dec 19, 2014
      Messages:
      93
      Likes Received:
      0
      Trophy Points:
      6
      1. CombatBotEx relies on whatever Combat Routines are selected. It seems like Default Combat Routine included in Wildbuddy sets this behavior.

      e.g.
      Code:
      public override void OnSelected()
      		{
      			using (GameManager.Memory.AcquireFrame(true))
      		    {
      			    // player.ignoreAlwaysFaceTarget = set to false, the player will face the target when casting abilities
      			    // player.disableFacingLock = set to false, the player will constantly face the target during the casting of abilities (coincides with the above, except it's done constantly, rather that at cast time)
      			    // player.moveToTargetOnSelfAOE = set to true, the player will move within range of the target when casting abilities (ensures the game puts us within range of the target when casting)
      			    GameManager.Lua.DoString(
      				    "Apollo.SetConsoleVariable('player.ignoreAlwaysFaceTarget', false) " +
      				    "Apollo.SetConsoleVariable('player.disableFacingLock', false) " +
      				    "Apollo.SetConsoleVariable('player.moveToTargetOnSelfAOE', true) ");
      
      			    // This then ensures that we're using the correct casting model for the logic we use.
      			    // Button presses cause events, rather than overlapping "down" states.
      			    SpellManager.SetSpellCastingBehavior(SpellCastingBehavior.Normal);
      		    }
      		    base.OnSelected();
      
      2. Yup, there is some LUA garbage dumped the first time you start. No clue what it is. Only appears the first time I start it.

      3. Again, sounds like a limitation of Combat Routine that it is being used with CombatBotEx. There is no rotation or combat logic in CombatBotEx. If you want a bot with integrated combat routines, I recommend trying out Agility.

      4. Again, sounds like a behavior originating from the Combat Routine.


      Alt-x pauses and resumes bot. Making the hotkey configurable is probably something that will come soon. Hold-button is a feature of Agility which may be a better fit for your needs.


      -SB-
       
    12. xXxSidewaysxXx

      xXxSidewaysxXx Member

      Joined:
      Feb 22, 2012
      Messages:
      138
      Likes Received:
      1
      Trophy Points:
      18
      Didnt work with the 24. Nov. WB Update?
       
    13. wakrsy

      wakrsy New Member

      Joined:
      Oct 19, 2014
      Messages:
      52
      Likes Received:
      0
      Trophy Points:
      0
      Same, bot not appearing in the list of usuable bots in WB.
       
    14. mochmulia

      mochmulia New Member

      Joined:
      Apr 28, 2010
      Messages:
      88
      Likes Received:
      0
      Trophy Points:
      0
      Same, bot not appearing in the list of usuable bots in WB.

      [Compiler Error] c:\Users\mulia\Downloads\Wildbuddy 1.1.680.38\Bots\CombatBotEx\CombatBotEx.cs(17,18) : error CS0738: 'CombatBotEx.CombatBotEx' does not implement interface member 'Buddy.Wildstar.Engine.IAuthored.Version'. 'CombatBotEx.CombatBotEx.Version' cannot implement 'Buddy.Wildstar.Engine.IAuthored.Version' because it does not have the matching return type of 'System.Version'.
       
    15. Rogue92

      Rogue92 New Member

      Joined:
      May 27, 2016
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      1
      Support for this bot was dropped a long time ago. Just use Agility.
       

    Share This Page