• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Ultima - The Ultimate Combat Routine

    Discussion in 'Combat Routines' started by Endus, Nov 25, 2014.

    1. Eklipse

      Eklipse New Member

      Joined:
      Dec 13, 2014
      Messages:
      208
      Likes Received:
      0
      Trophy Points:
      0
      The larger file summoner.cs goes in the methods folder (14.5kb or w/e) the smaller one the 3.5 goes into the behaviorss/combat/folder. And the spells goes in the main/spells folder. I've made some tweak s for my own personal use in terms of use of deathflare and energy manually as the current files will use them asap to get into trance stance asap, I might be posting an update soon if endus doesnt update soon.

      by the way is there any logic for target HP threshold, cause reapplying dots when something has 5k hp is sorta silly and i'd like to be spamming ruin III at certain points when I know trash is goign to die instead of toggling routine off ?? I know kupper has this logic built in.

      something along the lines of Core.Player.TargetHP ?
       
      Last edited: Jul 6, 2015
    2. Cloud30000

      Cloud30000 New Member

      Joined:
      May 9, 2015
      Messages:
      298
      Likes Received:
      7
      Trophy Points:
      0
      Sample health polling:
      Code:
      	private async Task<bool> RuinIIPull()
              {
                  if (Core.Target.CurrentHealthPercent > 90 || !Helpers.IsEnemy((BattleCharacter)Core.Target) || Core.Target.CurrentHealthPercent < 40) return await MySpells.RuinII.Cast();
                  return false;
      	}
      Could also use Core.Target.CurrentHealth, which gives the actual number.
       
    3. Eklipse

      Eklipse New Member

      Joined:
      Dec 13, 2014
      Messages:
      208
      Likes Received:
      0
      Trophy Points:
      0
      perfect yes this is what i need so it doesnt dot trash with say 10k hp left.
       
    4. Derbear

      Derbear New Member

      Joined:
      Jul 4, 2015
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      1
      Man. Everytime I try to add those files it asks me if I want to update the client then I get all these errors when I start it back up..

      warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

      This over and over for a bunch of different files... I don't get it.

      I've tried to compare the 3 files... they don't look any different from the original ones except the added new spells.. I'm pulling my hair out..

      Ugh. So I fixed it. You didn't have Ruin III added. Had to manually add it. I'm learning how to program!! lol
       
      Last edited: Jul 6, 2015
    5. Cyanide

      Cyanide Member

      Joined:
      Apr 11, 2012
      Messages:
      135
      Likes Received:
      3
      Trophy Points:
      18
      Dark Knight seems to focus on more dps than threat D: any way that could be changed? I'm low level so maybe it'll be better once I break fifty, but right now I seem to be forced to take over and just manually spam unleash for aoe threat. And same for single target sometimes.
       
    6. pointless23

      pointless23 New Member

      Joined:
      Feb 22, 2015
      Messages:
      24
      Likes Received:
      0
      Trophy Points:
      1
      MCH routine is good so far, will report back at 60, currently 59.
       
      Last edited: Jul 6, 2015
    7. Cloud30000

      Cloud30000 New Member

      Joined:
      May 9, 2015
      Messages:
      298
      Likes Received:
      7
      Trophy Points:
      0
      Those are warnings, not errors. While I don't know why they are suppressed normally but not when the file is changed, they shouldn't have any effect on the actual routine; most of them are due to empty PvP rotations.
       
    8. Derbear

      Derbear New Member

      Joined:
      Jul 4, 2015
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      1
      I fixed it. Ruin III wasn't added to the spell file, I guess it was throwing everything off. I'm proud of myself for looking at the stuff and adding it myself. Felt great. I wish I knew more, I'd like to make the script Fester 2 times and painflare once~ or the 2pain flares, 1 fester. Right now it does Fester > Painflare and Energy drain at the same time. A big waste of dps but hey it will get me by.

      Man I am on fire. I set it so it only uses energy drain when mana is < 50%
       
      Last edited: Jul 7, 2015
    9. Saedo

      Saedo New Member

      Joined:
      Jan 28, 2015
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Everything works excellently except one tiny thing: Duality seems to not want to cast when Storm's Eye is up. It only works when Dancing Edge is applied. I attempted to add the function myself but I'm not exactly savvy with coding.
       
    10. Eklipse

      Eklipse New Member

      Joined:
      Dec 13, 2014
      Messages:
      208
      Likes Received:
      0
      Trophy Points:
      0
      Ruin III was in the arcanist spells file with the other two which is the reason you were having an error I probably should have included that file as well my apologies. I have made some changes now for double fester painflare and vice versa, as well as moved energy drain back to more of a MP function at low mp. I've also added some HP Limits into the 3 main dots, I think they are working since not casting on dummy when I force proc the HP. Hope this helps.

      View attachment Summoner.cs >Ultima/Routines/Behaviors/Combat/Summoner.CS
      View attachment Summoner.cs >Ultima/Routines/Methods/Summoner.CS
      View attachment ArcanistSpells.cs >Ultima/Spells/MainSpells/Arcanist.CS
      View attachment SummonerSpells.cs >Ultima/Spells/MainSpells/Summoner.CS
       
      Last edited: Jul 7, 2015
    11. throne

      throne Member

      Joined:
      May 1, 2015
      Messages:
      66
      Likes Received:
      0
      Trophy Points:
      6
      I always seem to use kupper for ninja/bard. it works well with the new skills. other than that, ultima all the way.

      Is it possible to add a stance dance feature to the chocobo? DPS stance by default, then switching to Healer at 40% hp then switching back to DPS at 80% HP.
      I've been trying to add stance dance but I'm not too shabby with coding. :( Would help solo tanks healers and casters a lot.
       
    12. Kaiser Macc

      Kaiser Macc New Member

      Joined:
      May 31, 2015
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      1
      The community for this is sexy ass hell lol, but could we also get a update to the dragoon CR I would do it myself but understand lil to nothing about c+
       
    13. khld

      khld New Member

      Joined:
      Mar 7, 2014
      Messages:
      52
      Likes Received:
      0
      Trophy Points:
      0
      Poo...
      Fixed above mentioned Duality bug, I think...
      Dragoons are the thing now right? My Dragoon is only level 59 so I can't test the level 60 skill, but its coded there in theory ;). Should be easy enough for people to adjust though...
       
    14. Kaiser Macc

      Kaiser Macc New Member

      Joined:
      May 31, 2015
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      1
      Any special place I need to put this file homsterz??
       
    15. Derbear

      Derbear New Member

      Joined:
      Jul 4, 2015
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      1
      I would change lvl 60 skill to 22000~
       
    16. Cloud30000

      Cloud30000 New Member

      Joined:
      May 9, 2015
      Messages:
      298
      Likes Received:
      7
      Trophy Points:
      0
      Routines = Rotations and MainSpells = Main from the SVN Directory structure :)
       
      Last edited: Jul 7, 2015
    17. Kaiser Macc

      Kaiser Macc New Member

      Joined:
      May 31, 2015
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      1
      i just got home and was able to look at the file, THANK YOU SO MUCH!
       
    18. Cyanide

      Cyanide Member

      Joined:
      Apr 11, 2012
      Messages:
      135
      Likes Received:
      3
      Trophy Points:
      18
      is there any way at all I can get this to cast Unleash? I;ve tried changing the code but no matter what I do it won't cast it -

      {
      if (Core.Player.HasAura(814) &&
      Helpers.EnemiesNearPlayer(2) > 0)
      {
      return await MySpells.Unleash.Cast();
      }
      return false;
      }
      I lowered it to 2 from 5 but it still will not cast it.
       
    19. Kaiser Macc

      Kaiser Macc New Member

      Joined:
      May 31, 2015
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      1
      where can i change that at lol yah cuz it does mess up the rotation
       
    20. Endus

      Endus Community Developer

      Joined:
      Jul 9, 2012
      Messages:
      458
      Likes Received:
      6
      Trophy Points:
      18
      New version.

      Changed some Location casting stuff (needed changes to make MCH Turret and BLM Ley Lines work properly). Made a few MCH improvements. Fixed NIN Goad (hopefully).

      The big stuff in this version is that I finished fleshing out the spell library and class/job methods (so that those of you making your own edits only need to plug in the correct logic rather than dealing with Ultima's core).

      I also finally got around to putting in some healing logic (specifically for WHM for now). No idea how it'll perform (I literally just finished it before posting). If there are any WHMs out there let me know how it does. I know that RebornBuddy's Combat Assist has some quirks like not healing or buffing outside of combat as well as requiring you to have a target (even if you're not actually healing that target). I might end up having to make my own bot base to get around the limitations.

      Now that I got the big stuff out of the way hopefully I can start helping everyone with the 50-60 skills. It's tough since I can't test any of my work (I'm slowly leveling up with Fatebot but it's going to be a long time before all my Jobs are 60) but I'll do what I can. :cool:
       

    Share This Page