• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Magitek - All in One

    Discussion in 'Combat Routines' started by Exmortem, Mar 28, 2014.

    Thread Status:
    Not open for further replies.
    1. Ichiba

      Ichiba New Member

      Joined:
      Jun 14, 2014
      Messages:
      258
      Likes Received:
      8
      Trophy Points:
      0
      I've been trying this out today and have a problem. When using this on my level 50 bard, it sometimes takes a really long time in between doing Heavy Shots. For instance:

      [06:31:47.976 N] [Magitek] Casting Heavy Shot
      [06:31:47.976 D] DoAction Spell 97 0x4000031D
      [06:31:50.995 N] [Magitek] Casting Heavy Shot
      [06:31:50.995 D] DoAction Spell 97 0x4000031D

      There's nothing in between those, not even me moving, so I don't know why it's taking more than 3 seconds to repeat a cooldown that's less than 2.5. Other abilities seem to be going off when they should, but sometimes there's a large pause with Heavy Shot. Am I missing something or doing something wrong?

      EDIT: Just to clarify, this is only happening when the bot needs to do two consecutive Heavy Shots. Any other order of actions seem to work just fine.

      EDIT2: I don't seem to have this problem with Kupo's default archer/bard profile, so I think it's something specific to Magitek.
       
      Last edited: Jun 14, 2014
    2. Ichiba

      Ichiba New Member

      Joined:
      Jun 14, 2014
      Messages:
      258
      Likes Received:
      8
      Trophy Points:
      0
      Well I guess I fixed it myself. Line 251 in Bard.cs is default:

      Casting.Cast(r => "Heavy Shot", r => true, r => Core.Player.CurrentTarget, r => 2, r => true)

      if I change it to

      Casting.Cast(r => "Heavy Shot", r => true, r => Core.Player.CurrentTarget, r => 2, r => false)

      I don't have the problem with consecutive Heavy shots anymore and everything seems to work great.
       
      Last edited: Jun 14, 2014
    3. exaccuss

      exaccuss Active Member

      Joined:
      Nov 10, 2013
      Messages:
      1,021
      Likes Received:
      6
      Trophy Points:
      38
      Great work so far Exmortem, just wondering if you had any time yet to work on the shadow flare interrupt issue yet? (ruin will interrupt shadow flare when casting)

      Also shadow flare doesn't seem to cast very often. What are the conditions for it?
       
      Last edited: Jun 14, 2014
    4. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      Thanks, changed for the next version, that shouldn't have been true to begin with.
       
    5. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      Conditions for shadowflare are either AOE or its set to use after single mob has all dots on it if enable for single target, it's on my to-do list to fix, i've just been really busy sorry. Also, i'll be adding the toggle instead of hold down Master.
       
    6. exaccuss

      exaccuss Active Member

      Joined:
      Nov 10, 2013
      Messages:
      1,021
      Likes Received:
      6
      Trophy Points:
      38
      Ok thanks for that. I did some testing with shadowflare and sometimes it casts right after all the dots are up, sometimes there is a bit of a wait.
       
    7. Ichiba

      Ichiba New Member

      Joined:
      Jun 14, 2014
      Messages:
      258
      Likes Received:
      8
      Trophy Points:
      0
      Bard profile improvement

      I figured I'd share a little improvement I made to the bard routine. The normal one would delay putting up dots to use straighter shot procs, so I separated the conditions for not having straight shot and having straighter shot. The duration of straighter shot is longer than it takes to reapply both dots, so it should never run out before it has a chance to use it. I'll attach the rotation to this post if anyone else wants to give it a shot.

      There's some other room for improvement but I'm not familiar enough yet with the bot to manage it myself. If you could make it so GCD's don't get animation locked by off-GCD abilities, it could help DPS as well. This could be implemented by just preventing off-GCD abilities from firing if the GCD will be finished in less than half a second. This might also help to weave GCD attacks in between buffs at the start of battle as well.

      Also, could you possibly separate the interrupt function and the ability to use blunt arrow? It would be nice if you could have it spam blunt arrow for damage on fights where you don't need it, and save it for silences on ones that you do.

      It would also be nice to separate auto targeting and auto facing so you could run around in legacy mode and still fire abilities without having the auto targeting mess with your target. I did this in a kind of crappy way by just commenting out targeting.GetTarget(); in Magitek.cs, but it would be nice to not have to deal with this.

      Thanks for all the work, though. Magitek really is a great piece of software.
       

      Attached Files:

      • Bard.cs
        File size:
        12.5 KB
        Views:
        147
      Last edited: Jun 14, 2014
    8. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      I need to learn how to track global cooldowns, I don't know how to do that right now. I changed it to where it'll Blunt Arrow on cooldown if you don't have interrupt selected. Im not sure what you mean on auto facing, that's an in game option that Magitek will enable if you have auto targeting enabled in the magitek settings. If you want it to auto face but not auto target just unselect targeting in magitek and enable auto facing in your game settings.
       
    9. Ichiba

      Ichiba New Member

      Joined:
      Jun 14, 2014
      Messages:
      258
      Likes Received:
      8
      Trophy Points:
      0
      I thought I read in another post that that is the way autotarget is supposed to work, but it's not doing that for me. When I don't have "Target" checked in the bot, it doesn't face to the target to allow the ability to fire. If I check it, it will face and fire. I have the in-game option enabled to face target when using abilities enabled, and it works when I fire abilities myself. Maybe it has something to do with me using a gamepad? I don't know.
       
      Last edited: Jun 16, 2014
    10. deflama

      deflama New Member

      Joined:
      Feb 16, 2013
      Messages:
      29
      Likes Received:
      0
      Trophy Points:
      0
      Hey
      Ben using your routines for a few days now and all seem excellent!
      However, on the warrior rotation, i just started my relic quest for it and entered the Chim fight and was recieving this error when trying to attack:

      [17:22:16.115 D] System.InvalidOperationException: NavigationProvider cannot be null!
      at ff14bot.Navigation.Navigator.MoveTo(Vector3 location, String destination)
      at ff14bot.Behavior.CommonBehaviors..(Object )
      at TreeSharp.Action.RunAction(Object context)
      at TreeSharp.Action.<Execute>d__0.MoveNext()
      at TreeSharp.Composite.Tick(Object context)
      at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
      at TreeSharp.Composite.Tick(Object context)
      at TreeSharp.Decorator.<Execute>d__0.MoveNext()
      at TreeSharp.Composite.Tick(Object context)
      at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
      at TreeSharp.Composite.Tick(Object context)
      at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
      at TreeSharp.Composite.Tick(Object context)
      at TreeSharp.Decorator.<Execute>d__0.MoveNext()
      at TreeSharp.Composite.Tick(Object context)
      at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
      at TreeSharp.Composite.Tick(Object context)
      at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
      at TreeSharp.Composite.Tick(Object context)
      at TreeSharp.Decorator.<Execute>d__0.MoveNext()
      at TreeSharp.Composite.Tick(Object context)
      at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
      at TreeSharp.Composite.Tick(Object context)
      at ..()

      I'm presuming this might be a bot error and not a profile one?

      Thanks for all your good work :)
       
    11. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      deflamma, that's only ever happened on Hydra? Whats your warriors pull range set to?
       
    12. deflama

      deflama New Member

      Joined:
      Feb 16, 2013
      Messages:
      29
      Likes Received:
      0
      Trophy Points:
      0
      Ive only fought chim so far and done AK as part of the quest. In AK i switched to combat assist and not your ex assist but was getting the messages saying it was "moving into range" and wouldnt do anything until i moved really close
      I have it set to 10 (I think the default when i first got it was 5). should I set this higher?
      When watching the bot it seems the skills are in range to use but its detecting that i'm not, hence the error. Im wondering if hit boxes arent being detected by the bot and its using the range as from the direct center of the monster. Im probably wrong though as Im fairly new to rebornbuddy lol. If thats the case then I should set the pull range to a high number?
       
      Last edited: Jun 18, 2014
    13. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      Put out an update that hopefully fixed your issue deflamma, let me know. I also added an option to Bard to not use AOE. Next i'll be working on finally fixing the shadowflare issue, adding toggle hotkeys to AOE for all classes and special toggles for Warrior.
       
    14. tokyodrift

      tokyodrift Member

      Joined:
      Dec 28, 2013
      Messages:
      49
      Likes Received:
      0
      Trophy Points:
      6
      Sounds awesome! Was hoping for something like an AOE toggle. Keep up the good work. :)
       
    15. SmokegoodESG

      SmokegoodESG New Member

      Joined:
      Jun 6, 2013
      Messages:
      68
      Likes Received:
      0
      Trophy Points:
      0
      Is this Routine supposed to work for Fate Bot. I saw in the thread that you added movement for it or something but whenever I try to use it on my PLD, if I get attacked before I attack, I just stand there and don't move to the mob to hit it. I'll just stand still and shield lob, and if I turn shield lob off, it will just stand there and not do anything.
       
    16. sparkiezz

      sparkiezz Member

      Joined:
      Apr 5, 2013
      Messages:
      132
      Likes Received:
      1
      Trophy Points:
      18
      Why does the routine lag for me when I am in combat, I get real bad lag. I go from like 130fps to like 40 and stuff and this is using the Warrior bot. And AoE does not work on 3 targets

      EDIT: NVM it does use aoe but spams in non stop and tp just goes and mp, its just flash flash overpower overpower overpower...

      EDIT: After testing few things out Dragoon seems fine for me, no lag seems all good it just Warrior it lags like crazy and spams aoe :/ till I have no TP or MP left Con seems to lag as well :/

      What does Topmost mean~>
       
      Last edited: Jun 19, 2014
    17. Klacid

      Klacid Member

      Joined:
      May 29, 2014
      Messages:
      173
      Likes Received:
      2
      Trophy Points:
      18
      Hey Ex, my SMN doesn't seem to be summoning Ifrit even with Swiftcast on, fresh 30.

      Update: It actually did when it moved onto another FATE, but did not resummon during the last FATE it seems. Will keep an eye on it.

      Update v2: Ifrit is fixed, but now it doesn't cast Ruin.
       
      Last edited: Jun 19, 2014
    18. sparkiezz

      sparkiezz Member

      Joined:
      Apr 5, 2013
      Messages:
      132
      Likes Received:
      1
      Trophy Points:
      18
      I really dont get this now... I am getting lag on dragoon and gladiator for no reason what so ever, there is no kind of error in the logs
       
    19. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      sparkiezz and I worked together on Skype to solve the issue. I upload an update to Magitek which adds a Pulse Rate setting to General Settings. If you're having FPS issues with Magitek lower the pulse rate to a number lower than 30 which solves your combat fps issue. I also added Overpower Tp checks and Flash Mp checks for Warrior.
       
    20. sparkiezz

      sparkiezz Member

      Joined:
      Apr 5, 2013
      Messages:
      132
      Likes Received:
      1
      Trophy Points:
      18
      Thanks once again, great help! :)
       
    Thread Status:
    Not open for further replies.

    Share This Page