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

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

    1. EdwinOnline

      EdwinOnline Banned

      Joined:
      Jun 25, 2015
      Messages:
      221
      Likes Received:
      1
      Trophy Points:
      0
      Heya,

      First off, awesome work!

      question, it doesnt seem to be able to want to summon my chocobo while fategrinding, any idea?
       
    2. Hazado

      Hazado New Member

      Joined:
      Jul 10, 2015
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      0
      So made up section of code for autopotion use. Goes inside the combatbuffs behaviour for your class.
      So basically when your health gets below 50% it uses the highest potion you have in your inventory, x-pot > mega > hi > potion.
      Code:
      			if (Core.Player.CurrentHealthPercent < 50)
      			{
      				foreach(ff14bot.Managers.BagSlot slot in ff14bot.Managers.InventoryManager.FilledSlots)
      				{
      					if(slot.RawItemId == 4554) //X-Potion
      					{
      						slot.UseItem();
      						return true;
      					}
      					if(slot.RawItemId == 4553) //Mega-Potion
      					{
      						slot.UseItem();
      						return true;
      					}
      					if(slot.RawItemId == 4552) //Hi-Potion
      					{
      						slot.UseItem();
      						return true;
      					}
      					if(slot.RawItemId == 4551) //Potion
      					{
      						slot.UseItem();
      						return true;
      					}
      				}
      			}
      You can also put skills in there if you want. You probably have to enable them though, which is kind of complicated.
      So say you want to use Second wind. Place
      Code:
      if (await SecondWind()) return true;
      before the foreach.
      Then open the UltimaCR\Settings\Forms\UltimaForm.Designer.cs.
      Find the section of code for the SecondWind for the class your enabling it for.
      Example for Lancer is the code your looking for will start with LancerSecondWind.
      Then find this code
      Code:
      this.LancerSecondWind.Enabled = false;
      and remove it. This will enable second wind cross-class skill for lancers then check it like normal in the combat routine settings in the bot. If its checked and your put the secondwind code above in the right place, When your health gets below 50% it will use the second wind skill first, then the potions if your skill is on cooldown.
      You can do this for combat buffs as well. Just set the combat buff health percentage a little higher (like 70 or 90). Here is some example code with pugilist and rogue skills. You still need to go into the UltimaForm.Designer.cs and remove the section of code to enable them like I explained above.
      Code:
      			if (Core.Player.CurrentHealthPercent < 70)
      			{
      				if (await KeenFlurry()) return true;
      				if (await Featherfoot()) return true;
      				if (await ShadeShift()) return true;
      				if (await Foresight()) return true;
      				
      			}
       
    3. ChrisAttackk

      ChrisAttackk New Member

      Joined:
      Apr 4, 2011
      Messages:
      229
      Likes Received:
      1
      Trophy Points:
      0
      I also can't get this to heal in dungeons for some reason while playing my SCH.

      using MUD and here's a log View attachment 12772 2015-07-28 23.30.txt

      It was DPSing just not healing the tank or anyone at all. I would appreciate any help I can get.
       
    4. eye_356

      eye_356 New Member

      Joined:
      Oct 21, 2012
      Messages:
      34
      Likes Received:
      0
      Trophy Points:
      0
      Just did a4 with my ninja and he fails 90% of ninjutsu's even when standing still
       
    5. EdwinOnline

      EdwinOnline Banned

      Joined:
      Jun 25, 2015
      Messages:
      221
      Likes Received:
      1
      Trophy Points:
      0
      it doesn't have healing routines yet, that is described in the intro.
      use another CR for that.
       
    6. EdwinOnline

      EdwinOnline Banned

      Joined:
      Jun 25, 2015
      Messages:
      221
      Likes Received:
      1
      Trophy Points:
      0
      anyone has an idea why the chocobo summoning could not be working?
       
    7. Endus

      Endus Community Developer

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

      Holy crap that's a lot of posts. Sorry I haven't been able to address a lot of the Job issues yet. I've been working on a lot of core stuff (bug fixes, consistency, performance, etc.). Good news is it should run a bit better, crash less (for those who were getting 90002 errors), and even improve NIN's Ninjutsu some more. I've also got a few more Jobs to 60 so I can start doing some real tests/improvements soon (rather than blindly guessing).

      I'll try to catch on on the thread and get all the reported bug fixes worked on. :cool:
       
    8. tishat

      tishat Member

      Joined:
      May 29, 2015
      Messages:
      735
      Likes Received:
      7
      Trophy Points:
      18
      I would use the white-mage-healing-routine To heal, pretty sure he fixed it for sch as well.. Ultima is optimized for dps as far as I know, and has no easy interface for editing values on when to heal, so it just creams your mana pool when healing
       
    9. melos2k

      melos2k New Member

      Joined:
      Jun 2, 2015
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      1
      When queue spells is enabled, DRG casts chaos thrust combo twice in a row.
       
    10. EdwinOnline

      EdwinOnline Banned

      Joined:
      Jun 25, 2015
      Messages:
      221
      Likes Received:
      1
      Trophy Points:
      0
      Let me know if the not-summoning of the chocobo is a bug or that there are settings wrong on my end.
       
    11. dragospartan

      dragospartan New Member

      Joined:
      Mar 28, 2015
      Messages:
      20
      Likes Received:
      0
      Trophy Points:
      1
      anyone know where i would need to edit and how to do so to make sure that I cast Deliverence or defiance with warrior whenever its not up?
       
    12. chickengenders

      chickengenders New Member

      Joined:
      Jun 1, 2014
      Messages:
      37
      Likes Received:
      0
      Trophy Points:
      0
      The Summoner routine seems to work sporadically for me at best, it usually just casts the DOTs, then stands there without casting ruin. Is anyone else having this problem?
       
    13. karmakazi

      karmakazi New Member

      Joined:
      Jun 12, 2014
      Messages:
      30
      Likes Received:
      0
      Trophy Points:
      0
      I've only used this CR for fate grinding and it's been flawless. Stoneskin, Physick on me & pet at low HP, Cross Talent Raging Strikes, DoTs + Ruin spam, and even Carby knockback if mobs get too close.
       
    14. scorpinot

      scorpinot Member

      Joined:
      Oct 1, 2014
      Messages:
      133
      Likes Received:
      1
      Trophy Points:
      18
      Is there a quick edit to disable logging for ultima?
       
    15. zakkwylde

      zakkwylde New Member

      Joined:
      Nov 19, 2012
      Messages:
      104
      Likes Received:
      3
      Trophy Points:
      0
      Am I assuming correctly that you just put this in the routines folder named UltimaCR? Do you need to remove the default one for it to work, because I can't seem to get it to perform a rotation for me :(

      NVM I'm an idiot...completely screwed the folder setup...working now!!
       
    16. dragospartan

      dragospartan New Member

      Joined:
      Mar 28, 2015
      Messages:
      20
      Likes Received:
      0
      Trophy Points:
      1
      can anyone post an example of a cast of buff @ % player hp here please?
       
    17. Eklipse

      Eklipse New Member

      Joined:
      Dec 13, 2014
      Messages:
      208
      Likes Received:
      0
      Trophy Points:
      0
      Code:
      private async Task<bool> Defiance()
      {
           if(!Core.Player.HasAura(MySpells.Defiance.Name) &&
               Core.Player.CurrentHealthPercent <50)
              {
                  return await MySpells.Defiance.Cast();
              }
              return false;
      }
      
      
       
    18. dragospartan

      dragospartan New Member

      Joined:
      Mar 28, 2015
      Messages:
      20
      Likes Received:
      0
      Trophy Points:
      1
      Thank you so much
       
    19. Lopsy

      Lopsy New Member

      Joined:
      Nov 2, 2014
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      Can you please make MCH wildfire a check-able skill? it keeps applying the skill just as the mob dies >.> looks really silly lol. So I'd rather like to apply it myself.
      Else I really love the CR, big thank you!
       
    20. eye_356

      eye_356 New Member

      Joined:
      Oct 21, 2012
      Messages:
      34
      Likes Received:
      0
      Trophy Points:
      0
      Any way I can turn off using fluid aura as WHM? Kind off annoying to push adds away in dungeons
       

    Share This Page