• Visit Rebornbuddy
  • Increasing stuck timer and decreasing pull distance?

    Discussion in 'Buddy Wing Support' started by Recons, Apr 10, 2014.

    1. Recons

      Recons New Member

      Joined:
      Apr 5, 2014
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      0
      Hello

      Trying to run Quest bot, it randomly gets stuck at hops even tho it's at the hop. I think it checks if it's stuck too early (it says Stuck almost immedietly when reaching a hop) can I increase this timer?

      When running quests it is quite annoying that it keeps pulling mobs when it could easily run past them even with current route. I have modified the BuddyWingSettings.xml setting <PullDistance>0.1</PullDistance> but it does not seem to affect the pull distance. Any way I can change this?
       
    2. Recons

      Recons New Member

      Joined:
      Apr 5, 2014
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      0
      Anyone?

      It's becoming quite annoying when the bot gets stuck in one area just keeps grinding mobs..
       
    3. Recons

      Recons New Member

      Joined:
      Apr 5, 2014
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      0
      Realized it was the routines fault (should've realized this sooner) I think it's time to write my own :(
       
    4. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Which routine were you using?
       
    5. Recons

      Recons New Member

      Joined:
      Apr 5, 2014
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      0
      PureSwtor

      When you enable combat targetting it defaults your pull distance to 3
      I changed it last night to store your pull distance setting on startup, then use that instead of the constant 3



      *Edit*

      In Routines\PureSwtor\Managers\LazyRaider.cs
      amongst the declarations add
      Code:
              public static float DefaultPullDistance = 3.0f;
      In Initialize() add
      Code:
      DefaultPullDistance = CharacterSettings.Instance.PullDistance;
      Change EnableTargeting() to
      Code:
              public static void EnableTargeting()
              {
                  Logging.Write("LazyRaider Enabling Combat Targeting");
                  CharacterSettings.Instance.PullDistance = DefaultPullDistance;
                  CombatTargeting.Instance.Provider = DefaultTargetProvider;
              }
      The LazyRaider implementation in WingIt already does this properly, but not in PureSwtor.


      Should also be added so it restores CharacterSettings.Instance.PullDistance to DefaultPullDistance on deinitialization but w/e
       
      Last edited: Apr 11, 2014

    Share This Page