• Visit Rebornbuddy
  • Pures old routines fixed for pve or pvp

    Discussion in 'Archives' started by Nexis5000, May 31, 2015.

    1. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      The routine doesn't handle looting, you need to check your bot settings.xml file and make sure looting is set to true. Check your game settings and make sure auto-loot is on. Make sure you're only running Pure in the rotations folder (other routines, like Joe's, reset your settings each time you load).
       
    2. sycz

      sycz New Member

      Joined:
      Mar 10, 2015
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      Hey can someone pls help me to gez this Routine working for fury marauder ? I downloaded the fixed fury.cs and paste it into the Marauder Routine folder, but if i try to load the Profil BW tells me there is no Combat Routine for my Class. Works with Carnage, so i guess i have to Tell BW somehow that it should load the fury.cs instead of Rage. But How?

      Thanks in advance!
       
    3. Cybs

      Cybs Member

      Joined:
      Aug 23, 2015
      Messages:
      56
      Likes Received:
      0
      Trophy Points:
      6
      thank you alltrueist, could just tell me where to find this setting.xml? I can't seem to find it
       
    4. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Settings folder, file is called DefaultSettings.xml
       
    5. Cybs

      Cybs Member

      Joined:
      Aug 23, 2015
      Messages:
      56
      Likes Received:
      0
      Trophy Points:
      6
      Hmm I have no element called loot. Can you give me the tag so I can manually enter it?
       
    6. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Oh wow, I guess it doesn't exist anymore. Um, make sure you have a fresh install with no Joe's routine, and make sure you have auto-loot enabled in-game. No idea otherwise.
       
    7. Cybs

      Cybs Member

      Joined:
      Aug 23, 2015
      Messages:
      56
      Likes Received:
      0
      Trophy Points:
      6
      Fresh installed -> checked
      No other routines -> checked
      Auto loot enabled in-game -> checked

      Still it is not looting :(
       
    8. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      No log no help
       
    9. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      At this point you'll need to post a log. I'm not playing SWTOR at the moment so I can't confirm that the bot is looting anyway, but if it is you're likely missing some dependency or something.
       
    10. sycz

      sycz New Member

      Joined:
      Mar 10, 2015
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      NVM got it Wworking somehow :) but now i have Heavy fps Drops while fury specced ,
      // Out some abilities and it doesnt lag anymore... I cloudnt figure Out what abilities Cause the lag, didnt saw Anything suspecious in the Logs, do you have a Suggestion ?

      *edit* Starts lagging as soon i have something in my Target
       
    11. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      is it only if you target something and are NOT in combat?
      Ama thinks it might be the targetting that fucks it up a bit, but he will look into it soonish.
       
    12. sycz

      sycz New Member

      Joined:
      Mar 10, 2015
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      Both in and Out of Combat, even practice dummy, dosnt matter if the Target is an Enemy or friendly -> starts lagging. I recognized that when my Char Starts channeling ravage or choke it stops lagging for the Time its channel. I think its kinda Strange that Carnage dont lagg at all, i mean its the Same Profil, has to do Something with the Routine i guess. Checked both routines for diffrences, cloudnt find One except for the Rotation of curse. Ot forgive me my Bad english :)
       
    13. wired203

      wired203 Community Developer

      Joined:
      Jan 22, 2015
      Messages:
      391
      Likes Received:
      1
      Trophy Points:
      18
      targeting a friendly and not in combat and running causes crazy lag. Gotta untarget.
       
    14. motogp69

      motogp69 Member

      Joined:
      Jan 9, 2014
      Messages:
      34
      Likes Received:
      0
      Trophy Points:
      6
      I put the original Pure files in the Routines folder and it works fine, but as soon as I put the new Marauder Annihilation.cs into the folder overwriting the old one BW no longer loads any routines. How exactly do i get the fixed routines to work? Do I just overwrite the old Pure files from the SVN? Each time I do I get a red exclamation point on the file icon. Log Attached View attachment 186595

      EDIT* I can get the original version of Pure working fine, however...the rotation doesn't have Force Rend, Force Scream, and I don't want Frenzy, Force Charge or Berserk in it. How can I edit those in and remove the ones I don't want? I tried in Visual Studio but then I get

      Compiler Error: c:\Program Files\Buddywing\Routines\Pure\Pure.cs(57,13) : warning CS0618: 'Buddy.Common.Logging.Write(string)' is obsolete: 'Logging.WriteX is no longer used, declare [private ILog _log = Log.Get();] in your type and use its members instead!'

      I'm so lost atm LOL
       

      Attached Files:

      Last edited: Sep 5, 2015
    15. motogp69

      motogp69 Member

      Joined:
      Jan 9, 2014
      Messages:
      34
      Likes Received:
      0
      Trophy Points:
      6
      Anyone?
       
    16. Teo

      Teo Member

      Joined:
      Oct 6, 2012
      Messages:
      35
      Likes Received:
      1
      Trophy Points:
      8
      Annihilation.cs, line 57. I am at work at the moment. Will help out this afternoon if you have still issues
       
    17. motogp69

      motogp69 Member

      Joined:
      Jan 9, 2014
      Messages:
      34
      Likes Received:
      0
      Trophy Points:
      6
      Thanks Teo, I could really use the help!
       
      Last edited: Sep 6, 2015
    18. Teo

      Teo Member

      Joined:
      Oct 6, 2012
      Messages:
      35
      Likes Received:
      1
      Trophy Points:
      8
      The error points at line 57, character 21:
      Code:
                          Spell.Buff("Deadly Saber", ret => !Me.HasBuff("Deadly Saber")),
                          Spell.Buff("Frenzy", ret => Me.BuffCount("Fury") < 5),
                          Spell.Buff("Berserk")
      
      Can you confirm that lines 56-58 look as above, because they don't appear to have any errors.

      This is the entire file as attached on the first post:
      Code:
      using System;
      using System.Collections.Generic;
      using System.Linq;
      using Buddy.BehaviorTree;
      using Buddy.Swtor;
      using Buddy.Swtor.Objects;
      using PureSWTor.Helpers;
      using PureSWTor.Core;
      using PureSWTor.Managers;
      
      
      using Action = Buddy.BehaviorTree.Action;
      using Distance = PureSWTor.Helpers.Global.Distance;
      
      
      namespace PureSWTor.Classes.Marauder
      {
          class Annihilation : RotationBase
          {
              #region Overrides of RotationBase
      
      
              public override string Revision
              {
                  get { return ""; }
              }
      
      
              public override CharacterDiscipline KeySpec
              {
                  get { return CharacterDiscipline.Annihilation; }
              }
      
      
              public override string Name
              {
                  get { return "Marauder Annihilation by aquintus"; }
              }
      
      
              public override Composite PreCombat
              {
                  get
                  {
                      return new PrioritySelector(
                          Spell.Buff("Juyo Form"),
                          Spell.Buff("Unnatural Might"),
                          //Scavenge.ScavengeCorpse,
                          Rest.HandleRest 
                          );
                  }
              }
      
      
              private Composite HandleCoolDowns
              {
                  get
                  {
                      return new LockSelector(
                          Spell.Buff("Cloak of Pain", ret => Me.HealthPercent <= 50),
                          Spell.Buff("Undying Rage", ret => Me.HealthPercent <= 10),
                          Spell.Buff("Saber Ward", ret => Me.HealthPercent <= 30),
                          Spell.Buff("Deadly Saber", ret => !Me.HasBuff("Deadly Saber")),
                          Spell.Buff("Frenzy", ret => Me.BuffCount("Fury") < 5),
                          Spell.Buff("Berserk")
                          );
                  }
              }
      
      
              /*private Composite HandlePull
              {
                  get
                  {
                      return new Decorator(
                          ret => !Me.InCombat,
                          new LockSelector(
                              Spell.Cast("Force Charge"),
                              Spell.Buff("Deadly Saber"),
                              Spell.Cast("Battering Assault"),
                              Spell.Cast("Rupture"),
                              Spell.Cast("Annihilate"),
                              Spell.Cast("Ravage")
                          )
                      );
                  }
              }*/
      
      
              private Composite HandleSingleTarget
              {
                  get
                  {
                      return new LockSelector(
                          //Move To Range
                          Spell.Cast("Dual Saber Throw", ret => !LazyRaider.MovementDisabled && Me.CurrentTarget.Distance >= 1f && Me.CurrentTarget.Distance <= 3f),
                          CloseDistance(Distance.Melee),
                          
                          //Rotation
                          Spell.Cast("Disruption", ret => Me.CurrentTarget.IsCasting && !LazyRaider.MovementDisabled),
                          Spell.DoT("Rupture", "", 6000),
                          Spell.Cast("Force Rend" , ret => !Me.CurrentTarget.HasDebuff("Force Rend")),
                          Spell.Cast("Annihilate"),
                          Spell.Cast("Vicious Throw", ret => Me.CurrentTarget.HealthPercent <= 30),
                          Spell.Cast("Dual Saber Throw" , ret => Me.HasBuff("Pulverize")),
                          Spell.Cast("Force Choke"),
                          Spell.Cast("Ravage"),
                          Spell.Cast("Vicious Slash", ret => Me.ActionPoints >= 9),
                          Spell.Cast("Battering Assault", ret => Me.ActionPoints <= 6),
                          Spell.Cast("Force Charge", ret => Me.ActionPoints <= 8),
                          Spell.Cast("Assault", ret => Me.ActionPoints < 9)
                          );
                  }
              }
              private Composite HandleAOE
              {
                  get
                  {
                      return new Decorator(ret => ShouldPBAOE(3, Distance.MeleeAoE),
                         new LockSelector(
                         Spell.Cast("Dual Saber Throw", ret => !LazyRaider.MovementDisabled && Me.CurrentTarget.Distance >= 1f && Me.CurrentTarget.Distance <= 3f),
                         Spell.Cast("Smash"),
                         Spell.Cast("Sweeping Slash")
                         )
                      );
                  }
              }
      
      
              private class LockSelector : PrioritySelector
              {
                  public LockSelector(params Composite[] children)
                      : base(children)
                  {
                  }
      
      
                  public override RunStatus Tick(object context)
                  {
                      using (BuddyTor.Memory.AcquireFrame())
                      {
                          return base.Tick(context);
                      }
                  }
              }
      
      
              public override Composite PVERotation
              {
                  get
                  {
                      return new PrioritySelector(
                          Spell.WaitForCast(),
                          HandleCoolDowns,
                          HandleAOE,
                          //HandlePull,
                          HandleSingleTarget
                      );
                  }
              }
      
      
              public override Composite PVPRotation
              {
                  get { return PVERotation; }
              }
      
      
              #endregion
          }
      }
      
       
    19. motogp69

      motogp69 Member

      Joined:
      Jan 9, 2014
      Messages:
      34
      Likes Received:
      0
      Trophy Points:
      6
      I attempted to take out Frenzy and Berserk because I wanted to cast those myself. I just want an Annihilation routine that doesn't have Force Charge, Berserk, or Frenzy and includes Force Scream and Force Rend.
       
    20. motogp69

      motogp69 Member

      Joined:
      Jan 9, 2014
      Messages:
      34
      Likes Received:
      0
      Trophy Points:
      6
      Every time I pasted the fixed routine into the marauder folder there would be a red ! and BW stopped loading routines.
       

    Share This Page