• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • FightThisWay

    Discussion in 'All in One' started by Kamilche, Oct 14, 2012.

    1. randomstraw

      randomstraw Community Developer

      Joined:
      Jul 17, 2012
      Messages:
      1,611
      Likes Received:
      10
      Trophy Points:
      38
      any progress ;)?
       
    2. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      Good catch. I've made it check for the unit, not the player, so it should work for all targets and the player. Let me know if it works out for you, and thanks for posting that.
       
    3. SHJordan

      SHJordan Member

      Joined:
      Oct 20, 2012
      Messages:
      636
      Likes Received:
      1
      Trophy Points:
      18
      noticed ftw keeps trying to cast spells i donk have yet on my lvl 60 DK:
       
    4. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      OK, I've added a new target called 'Add', that is an add that's attacking you, that you and your pet aren't currently targeting. I've modified the class files to put a freezing trap on the add.

      I examined your other request more carefully, and think it already does what you want. Try this out:

      Code:
      Target.PetCast Thunderstomp
      	Target.StunCount = 0
      
      I see that 'StunCount' considers frozen targets as stunned as well, so it should work.
      If it doesn't, note the aura name on the frozen mob, and put it in the file 'Spell Stuns', and see if it works then.
       
    5. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      Oh yeah. That's what's great about this class set - it doesn't matter if you have the spell or not, if it can't find it, it notes it and goes on down to the next spell. You may or may not have a talent, or a spell because you're not high enough level, but the class still works!

      If you find yourself frozen and unable to cast something because of an unknown spell, let me know... but otherwise, ignore all those 'unknown spell' messages, they're just for your edification.
       
    6. SHJordan

      SHJordan Member

      Joined:
      Oct 20, 2012
      Messages:
      636
      Likes Received:
      1
      Trophy Points:
      18
      i found it wow have graphic lag spikes bcause of this =/
       
    7. Photon

      Photon New Member

      Joined:
      Oct 30, 2012
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      hi, i try to use your CC but it didn't work, i guess only english wow client is supportet?

      [01:26:13.093 D] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
      at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
      at FTW.FightThisWay.MyBaseClass.EvaluateRules(String desiredsection) in e:\Games\World of Warcraft\Honorbuddy\Routines\FTW\FightThisWay.cs:line 703
      at FTW.FightThisWay.MyBaseClass.Initialize() in e:\Games\World of Warcraft\Honorbuddy\Routines\FTW\FightThisWay.cs:line 569
      at FTW.FightThisWay.LoadRules() in e:\Games\World of Warcraft\Honorbuddy\Routines\FTW\FightThisWay.cs:line 114
      at FTW.FightThisWay.Pulse() in e:\Games\World of Warcraft\Honorbuddy\Routines\FTW\FightThisWay.cs:line 296
      at Styx.Pulsator.Pulse(PulseFlags flags)
      at Styx.CommonBot.TreeRoot.smethod_4()
      at Styx.CommonBot.TreeRoot.smethod_5()
      [01:26:13.114 N] [FTW] 02:26:13 Loading rules for Hunter_?berleben
      [01:26:13.114 N] [FTW] 02:26:13 Couldn't find a data file for Hunter_?berleben! Could not find file 'E:\Games\World of Warcraft\Honorbuddy\Routines\FTW\data\Hunter_?berleben.txt'.
       
    8. enosh

      enosh New Member

      Joined:
      Feb 10, 2012
      Messages:
      113
      Likes Received:
      0
      Trophy Points:
      0
      Does it support battlegrounds? Didn't see in destription
       
    9. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      Hm, interesting! Try renaming your Hunter_Survival.txt file in the 'data' folder, to 'Hunter_?berleben.txt', and tell us whether that worked, thanks!

       
    10. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      Yeah, it works in battlegrounds.
       
    11. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      Recent Changes:

      Code:
      11/7/2012
      	Warriors (All):
      		Added 'Devastate' and 'Sunder Armor' to rotation.
      		Put cooldowns on spells requiring shields, so not having a shield equipped won't stop the rotation.
      
      11/6/2012
      	Made 'IsCasting' work for all units, not just the player.
      		This will be useful for laying down a tremor totem when a target is casting a particular spell, such as Chaos Bolt.
      	Added new target 'Add' - this brings up an add that is attacking you or your pet, that you and your pet don't currently have targeted.
      		This will be useful for casting 'Freezing Trap' on an add.
      
      
       
    12. Anakonda

      Anakonda New Member

      Joined:
      Jul 5, 2010
      Messages:
      65
      Likes Received:
      0
      Trophy Points:
      0
      Is it at all possible to get the bot to use:
      1) Dark Intent (right now it doesnt buff itself, only with soulstone)
      2) Grimoire of sacrifice


      Would really appreciate it!

      Edit: Nevermind, turns out fiddling with the text files really IS simple :eek:
      Kudos for awesome profile!


      EDIT: For some reason, if the following line is put into main rotation, it gives the "Bad number on left side found when evaluating action Soulburn line 229 - 'Me.Soulshards' (Input string was not in a correct format.)" error

      Me.Soulshards > 0

      If the exact same line (copy-pasted) is put into anywhere else, it works fine.


      So this gives an error:

      -----------------------------------------------------------------------
      -- Normal attack rotation
      -----------------------------------------------------------------------
      --Target.CastOnce Voidwalker: Disarm
      -- Target.Distance < 6
      Soulburn
      Target.Health > 70
      Target.HasAura("Corruption") = 0
      Target.HasAura("Agony") = 0
      Me.HasAura("Soulburn") = 0
      Me.Soulshards > 0

      While this works fine:
      -----------------------------------------------------------------------
      -- Pet Spells
      -----------------------------------------------------------------------
      Me.Cast Soulburn
      Me.PetIsMissing = 1
      Me.HasAura("Grimoire of Sacrifice") = 0
      Me.SoulShards > 0
       
      Last edited: Nov 7, 2012
    13. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      It's the capitalization - SoulShards, not Soulshards.
       
    14. metisgb

      metisgb New Member

      Joined:
      Apr 14, 2010
      Messages:
      66
      Likes Received:
      0
      Trophy Points:
      0
      i'm not sure who's doing the druid_guardian cc, but if you could take out the last part

      Me.Cast Cat Form
      Me.Health >= 60
      Me.CatForm = 0
      Me.InParty = 0


      that is under the rest section.. nothing screams bot like mounting and imediately dismounting intgo cat form, running 2 yards, mounting, and imediately dismounting into cat form.. just sayin :)
       
    15. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      Aaah, good point! I modified it and uploaded it.

      Instead of taking out the cat form, I modified it to only do that if it's in bear form. It accomplishes the same thing (fight in cat form when preferable, but don't change to cat during combat) without breaking riding a horse.
       
    16. Cukie

      Cukie Active Member

      Joined:
      Dec 3, 2011
      Messages:
      1,255
      Likes Received:
      3
      Trophy Points:
      38
      For some reason my lvl 85 ret paladin does not attack back when being attacked while running archaelogybuddy. Came home earlier and it was targetting/untargetting for hours, but because it was on a lvl 21 mob I didn't die, just stood there spazzing out for hours. I will upload a log later since I am not home if needed.
       
    17. cn.

      cn. New Member

      Joined:
      Aug 15, 2011
      Messages:
      71
      Likes Received:
      0
      Trophy Points:
      0
      The pull part of this Routine gets me killed a lot in safe places. I'm on a pvp realm so if I'm in a neutral area it'll attack an alliance and get insta-killed by the guards then resurrect and repeat until the alliance leaves. I can't find the exact log area (big log but I'll post it all if you like) but I remember seeing that it was
      [FTW] <time> PULL: Target = <alliance character> at <numbers> (0 mobs surrounding)
      Is there any way to disable the pull more for when the char is not in combat? I think that would be a good idea
       
    18. metisgb

      metisgb New Member

      Joined:
      Apr 14, 2010
      Messages:
      66
      Likes Received:
      0
      Trophy Points:
      0
      hey kam, its close but not quite. i see that you added the Me.BearForm = 1, however, it still looks botty when it gathers etc.. for instance

      -i land to get node
      -monster attacks me
      -pop into bear form to fight (probably 2 monsters?)
      -kill monsters
      -run to herb / mine in bear form
      -harvest
      -turns into cat
      -instantly turns into bird form and flies off

      do you have a Me.IsInCombat that we could check against.. if she isn't in combat she shouldn't care about switching to cat form

      -metis
       
    19. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      Look for the 'PullMore' phrase in the file, just delete that whole black. I disabled it for almost all classes, but I may have left it on for warriors - didn't consider the PVP aspect of it.

      But that 'PULL:' only happens when HonorBuddy feeds you a new target. You won't see that on a pull more. A log would be helpful.
       
    20. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      Yeah, that happened to my hunter earlier today. HonorBuddy kept feeding me a blacklisted target. It would say 'Blacklisting xxx', and then HB would pick it up an feed it to the class in a PULL:.

      I think it's a bug in HonorBuddy, with the latest 'native flying' changes. You know how it used to blacklist a target if it couldn't get to a flying target? I think rather than not blacklisting it, they're ignoring the blacklist altogether. That could cause you to loop on a mob that's unreachable, yeah.

      Just a guess - I don't have access to their codebase.
       

    Share This Page