• Visit Rebornbuddy
  • Agility

    Discussion in 'Botbases' started by Deathdisguise, May 19, 2015.

    1. ptfock

      ptfock New Member

      Joined:
      Nov 11, 2014
      Messages:
      64
      Likes Received:
      0
      Trophy Points:
      0
      Death, how can i count the stacks one buff? When i use Me.HasBuff says the operator '<' can't be applyed to int or string, it works normally but how to count the stacks of the buff?
       
    2. Deathdisguise

      Deathdisguise Community Developer

      Joined:
      Mar 7, 2015
      Messages:
      678
      Likes Received:
      6
      Trophy Points:
      0
      int SpellController.BuffCount(string buffName)
       
    3. ptfock

      ptfock New Member

      Joined:
      Nov 11, 2014
      Messages:
      64
      Likes Received:
      0
      Trophy Points:
      0
      if (SpellController.CanCast("Psychic Frenzy") && SpellController.BuffCount("Psy Charge") == 2)
      Do i apply it like this? Atm it's not working, compiles but doesn't do the buffcount
       
    4. Deathdisguise

      Deathdisguise Community Developer

      Joined:
      Mar 7, 2015
      Messages:
      678
      Likes Received:
      6
      Trophy Points:
      0
      After checking on jabbithole, are you sure it isn't "Psi Charge"? If not, I shall look into this.


      Regarding Medic DPS, xergz submitting a routine that has what you want, I just haven't gotten around to including it in the SVN!

      Code:
      using Buddy.Wildstar.Game;
      using Buddy.Wildstar.Game.Actors;
      
      namespace Agility.Routines
      {
          class Medic_DPS : IAgilityRoutine
          {
              public string Name { get { return "DPS"; } }
              public string Version { get { return "0.9"; } }
              public string Author { get { return "Xergz"; } }
      
              private Player Me { get { return GameManager.LocalPlayer; } }
      
              public string Routine()
              {
                  if (SpellController.CanCast("Empowering Probes"))
                      return "Empowering Probes";
      
                  if (SpellController.CanCast("Fissure"))
                      return "Fissure";
      
                  if (SpellController.CanCast("Nullifier"))
                      return "Nullifier";
      
                  if (SpellController.CanCast("Annihilation"))
                      return "Annihilation";
      
                  if (SpellController.CanCast("Atomize") && Me.HasBuff("Atomize"))
                      return "Atomize";
      
                  if (SpellController.CanCast("Discharge"))
                      return "Discharge";
      
                  if (!SpellController.CastingSpell("Quantum Cascade") && SpellController.CanCast("Quantum Cascade"))
                      return "Quantum Cascade";
      
                  if (SpellController.CanCast("Gamma Rays"))
                      return "Gamma Rays";
      
                  if (SpellController.CanCast("Collider"))
                      return "Collider";
      
                  if (SpellController.CanCast("Energize") && Me.InnateResource <= 1)
                      return "Energize";
      
                  if (SpellController.CanCast("Devastator Probes"))
                      return "Devastator Probes";
      
                  if (SpellController.CanCast("Mending Probes") && !Me.HasBuff("Mending Probes"))
                      return "Mending Probes";
                  return null;
              }
          }
      }
      
      
       
      Last edited: Oct 10, 2015
    5. lab185

      lab185 New Member

      Joined:
      Oct 12, 2012
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      1
      Deathdisguise, ty
       
    6. ptfock

      ptfock New Member

      Joined:
      Nov 11, 2014
      Messages:
      64
      Likes Received:
      0
      Trophy Points:
      0
       
    7. blasthoss

      blasthoss New Member

      Joined:
      Jan 2, 2015
      Messages:
      53
      Likes Received:
      5
      Trophy Points:
      0
      FYI I am not the author of the botbase, Deathdisguise is, this is just my version of the Stalker profile.

      OK -- made some more updates to the Stalker profile I'm using. It's MUCH better now, but it only works with this build currently.

      I need to set it up to work with Impale (Build 1/Build 2) as well but I honestly haven't played that version b/c I don't have the Assassin Runeset yet and Neutralize build has been much better to me so far.

      From the previous file I changed:
      - better calculating of when to use Preparation based on suit power / cooldowns for AW/Punish
      - follow up stance switching back in
      - better CK timing to drop CD on Punish/AW
      - Neutralize suit power calculation improvements
      - better Punish usage
      - cons: NO IMPALE USAGE -- this file will not use Impale since it's designed around the Neutralize build linked above.

      I'm going to work in some Impale usage but I want it to be good so need to do some more testing on how much the prioritization needs to change when using Impale over Neutralize.

      Code:
      using Buddy.Wildstar.Game;
      using Buddy.Wildstar.Game.Actors;
      using System;
      using System.Linq;
      
      namespace Agility.Routines
      {
          class Stalker_DPS : IAgilityRoutine
          {
              public string Name { get { return "DPS"; } }
              public string Version { get { return "0.1"; } }
              public string Author { get { return "Deathdisguise"; } }
      
              private Player Me { get { return GameManager.LocalPlayer; } }
      
              public string Routine()
              {
                  if (Me.IsCasting
                      && Me.CurrentCast.Name.Equals("Preparation")
                      && Me.SuitPower <= 94)
                      return "";
                  if (SpellController.CanCast("Preparation")
                      && !Me.IsCasting
                      && !Me.HasBuff("Preparation")
                      && SpellController.Cooldown("Concussive Kicks") > ((100-Me.SuitPower+1)/12)*1000
                      && SpellController.Cooldown("Punish") > ((100-Me.SuitPower+1)/12)*1000)
                  {
                      if (SpellController.HasAMP("Follow Up"))
                          SpellController.SetStance("Nano Skin: Evasive");
                      return "Preparation";
                  }
                  SpellController.SetStance("Nano Skin: Lethal");
                  if (SpellController.CanCast("Analyze Weakness"))
                      return "Analyze Weakness";
                  if (SpellController.CanCast("Punish") && Me.HasBuff("Punish") && (Me.SuitPower < 35 || SpellController.BuffCount("Neutralize") == 4))
                      return "Punish";
                  if (SpellController.CanCast("Concussive Kicks") && SpellController.Cooldown("Punish") > 2000 && SpellController.Cooldown("Analyze Weakness") > 2000)
                      return "Concussive Kicks";
                  if (SpellController.CanCast("Neutralize") && Me.SuitPower >= (15 + (5 * SpellController.BuffCount("Neutralize"))))
                  {
                      if (SpellController.CanCast("Nano Skin: Lethal") && !Me.HasBuff("Stealth"))
                          return "Nano Skin: Lethal";
                      return "Neutralize";
                  }
                  if (SpellController.CanCast("Shred"))
                      return "Shred";
                  return "";
              }
          }
      }
      
       
      Last edited: Oct 10, 2015
    8. Deathdisguise

      Deathdisguise Community Developer

      Joined:
      Mar 7, 2015
      Messages:
      678
      Likes Received:
      6
      Trophy Points:
      0
      I think it's safe to say you can give it it's own unique class name, and put your author name/routine name in place of mine, as that is entirely your own baby. :)
       
    9. blasthoss

      blasthoss New Member

      Joined:
      Jan 2, 2015
      Messages:
      53
      Likes Received:
      5
      Trophy Points:
      0
      Ok yeah, also I put that part about me not being the author b/c someone PM'ed me with an issue related to the Medic DPS routine thinking I was you.

      I would love to continue contributing to the enhancement of the profiles, especially Stalker.

      Are you okay with me continuing to post my updates here too for you to potentially include with the releases?
       
      Last edited: Oct 10, 2015
    10. Deathdisguise

      Deathdisguise Community Developer

      Joined:
      Mar 7, 2015
      Messages:
      678
      Likes Received:
      6
      Trophy Points:
      0
      Definitely. :D
       
    11. Wannbe

      Wannbe New Member

      Joined:
      Mar 14, 2014
      Messages:
      95
      Likes Received:
      1
      Trophy Points:
      0
      What Build do you recommend as ENGI DPS to use with Agility?

      Also i made some test and i found out that:
      - it's not casting Electrocute

      - if you drop below 30 volatility and you have both Eredicate and VolatileInjection on cooldown it don't cast BioShell (because it's not instant) preventing any gain of volatility and blocking the rotation
       
    12. eng1ish

      eng1ish New Member

      Joined:
      Oct 10, 2011
      Messages:
      99
      Likes Received:
      1
      Trophy Points:
      0
      configurable hotkeys to start rotations please :( or even tell me where i can change it? cheers
       
    13. blasthoss

      blasthoss New Member

      Joined:
      Jan 2, 2015
      Messages:
      53
      Likes Received:
      5
      Trophy Points:
      0

      Attached Files:

      Mazzyr likes this.
    14. DrKEvo

      DrKEvo New Member

      Joined:
      Jul 27, 2012
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      Hi Guys,

      I have massive fps drops while using the latest agility botbase version... someone else knows this problem? The default Combat Routine is working fine.. What can I do?
       
      Last edited: Oct 11, 2015
    15. ptfock

      ptfock New Member

      Joined:
      Nov 11, 2014
      Messages:
      64
      Likes Received:
      0
      Trophy Points:
      0
      Death, on the esper dps, there is the illusionary blades skill that add a buff(dispellable) on player that stacks called "illusion", at same time there is another buff with same name "illusion" that does nothing and doesn't stack.

      I can't seem to make SpellController.BuffCount to work with "illusion", give me some insight please :) Hugs
       
    16. Deathdisguise

      Deathdisguise Community Developer

      Joined:
      Mar 7, 2015
      Messages:
      678
      Likes Received:
      6
      Trophy Points:
      0
      I shall look into this! Buffs with the same name are just not okay. :( Hahaha




      Throw me a log? People are reporting horrible DPS with non-english versions of the game client!
       
    17. sombreheros

      sombreheros Member

      Joined:
      Aug 24, 2013
      Messages:
      140
      Likes Received:
      2
      Trophy Points:
      18
      Hi, I've trivial issue. I don't know the keybinding of Hotkeys 1 2 3 4. How can I change it?
       
    18. bobbylapointe

      bobbylapointe New Member

      Joined:
      Dec 26, 2014
      Messages:
      17
      Likes Received:
      0
      Trophy Points:
      1
      Last edited: Oct 12, 2015
    19. eng1ish

      eng1ish New Member

      Joined:
      Oct 10, 2011
      Messages:
      99
      Likes Received:
      1
      Trophy Points:
      0
      you cant YET, he said he is going to get round to doing it, but to me its a MASSIVE pain in the ass
       
    20. Palenie

      Palenie New Member

      Joined:
      Dec 7, 2014
      Messages:
      42
      Likes Received:
      0
      Trophy Points:
      0
      Try to lower the TPS. By default its on 10. But I've noticed you can put it as low as 3 without any dps loss.
       

    Share This Page