• 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. Gualtiero

      Gualtiero New Member

      Joined:
      Jun 27, 2014
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      Thank you very much, now I understand much better everything.
      Just one more thing: When you say you add it to list by adding the name "Poison", "Poison +1" what do you mean for Poison+1?
      Sorry to bore you, but I do not know any place where I can find proper information for this kind of questions.
       
    2. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      "Poison +1" is just another debuff mobs can put on you.
       
    3. exaccuss

      exaccuss Active Member

      Joined:
      Nov 10, 2013
      Messages:
      1,021
      Likes Received:
      6
      Trophy Points:
      38
      With the monk (i have noticed on drg too) you have to be really close in order for the rotation to actually start. Is there any way to change this?
       
    4. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      Please update the SVN and let me know if its fixed.
       
    5. exaccuss

      exaccuss Active Member

      Joined:
      Nov 10, 2013
      Messages:
      1,021
      Likes Received:
      6
      Trophy Points:
      38
      Seems to work now. Thank you.
       
    6. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      I don't know if you were thinking about adding support for food buffs (3% extra EXP on the grind!), but I added really rudimentary food support for mine that I thought I would share. Ideally this would reference a setting in the General Settings window, but I can't render the forms in my Visual Studio to edit them.

      Choose the file of your class in Magitek/Rotations (for any basic class choose AllBasicClasses.cs), and in the OnPulse() function add the following:

      Code:
                  if (!Core.Player.HasAura("Well Fed"))
                  {
                      string foodname = "YOUR_FOOD_NAME_HERE";
                      foreach (BagSlot a in InventoryManager.Slots)
                      {
                          if (a.Name == foodname)
                          {
                              a.UseItem();
                              break;
                          }
                      }
                  }
      
      So in the end it would look something like this:

      Code:
              public override void OnPulse()
              {
                  if (Core.Player.IsDead && WindowSettings.acceptraise)
                  {
                      Extensions.AcceptRaise();
                  }
                  if (!Core.Player.HasAura("Well Fed"))
                  {
                      string foodname = "Marmot Steak";
                      foreach (BagSlot a in InventoryManager.Slots)
                      {
                          if (a.Name == foodname)
                          {
                              a.UseItem();
                              break;
                          }
                      }
                  }
              }
       
      Last edited: Jun 27, 2014
    7. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      Yeah, I can add that to general settings with some customization. Thanks!
       
    8. MasterKilj

      MasterKilj Member

      Joined:
      Sep 18, 2010
      Messages:
      109
      Likes Received:
      1
      Trophy Points:
      18
      Is there any healing logic when balanced against your dispel list? I notice against mobs that spam a debuff like poisons my scholar will sit there and cast leech over and over even at the cost of possible deaths.
       
    9. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      In the healing manager, dispel above Hp %

      edit: I did notice something wrong though, update svn
       
    10. MasterKilj

      MasterKilj Member

      Joined:
      Sep 18, 2010
      Messages:
      109
      Likes Received:
      1
      Trophy Points:
      18
      You are awesome as always
       
    11. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      Updated again, general settings now has food options. Thanks for kagamihiiragi17 for the idea and the code.
       
    12. exaccuss

      exaccuss Active Member

      Joined:
      Nov 10, 2013
      Messages:
      1,021
      Likes Received:
      6
      Trophy Points:
      38
      could you make it so drg uses leg sweep when off gcd when interrupt is not ticked like monk/bard? Thanks alot for your work.
       
    13. Gualtiero

      Gualtiero New Member

      Joined:
      Jun 27, 2014
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      I found this list of debuff (the number is the debuff ID):
      ,1 --Petrification
      ,2 --Stun
      ,3 --Sleep
      ,4 --Daze
      ,5 --Amnesia
      ,6 --Pacification
      ,7 --Silence
      ,8 --Haste
      ,9 --Slow
      ,10 --Slow
      ,11 --00
      ,12 --00
      ,13 --Bind
      ,14 --Heavy
      ,15 --Blind
      ,16 --00
      ,17 --Paralysis
      ,18 --Poison
      ,19 --Pollen
      ,20 --TP Bleed
      ,21 --HP Boost
      ,22 --HP Penalty
      ,23 --MP Boost
      ,24 --MP Penalty
      ,25 --Attack Up
      ,26 --Attack Down
      ,27 --Accuracy Up
      ,28 --Accuracy Down
      ,29 --Defense Up
      ,30 --Defense Down
      ,31 --Evasion Up
      ,32 --Evasion Down
      ,33 --Magic Potency Up
      ,34 --Magic Potency Down
      ,35 --Healing Potency Up
      ,36 --Healing Potency Down
      ,37 --Magic Defense Up
      ,38 --Magic Defense Down
      ,39 --00
      ,40 --00
      ,41 --00
      ,42 --00
      ,43 --Weakness
      ,44 --Brink of Death
      ,45 --Crafter's Grace
      ,46 --Gatherer's Grace
      ,47 --Stealth
      ,48 --Food Benefits
      ,49 --00
      ,50 --Sprint
      ,51 --Strength Down
      ,52 --Vitality Down
      ,53 --Physical Damage Up
      ,54 --Physical Damage Down
      ,55 --Physical Vulnerability Down
      ,56 --Physical Vulnerability Up
      ,57 --Magic Damage Up
      ,58 --Magic Damage Down
      ,59 --Magic Vulnerability Down
      ,60 --Magic Vulnerability Up
      ,61 --Determination Up
      ,62 --Determination Down
      ,63 --Vulnerability Down
      ,64 --Vulnerability Up
      ,65 --Critical Skill
      ,66 --Terror
      ,67 --Leaden
      ,68 --Drainstrikes
      ,69 --Aspirstrikes
      ,70 --Stunstrikes
      ,71 --Rampart
      ,72 --Convalescence
      ,73 --Awareness
      ,74 --Sentinel
      ,75 --Tempered Will
      ,76 --Fight or Flight
      ,77 --Bulwark
      ,78 --Sword Oath
      ,79 --Shield Oath
      ,80 --Cover
      ,81 --Covered
      ,82 --Hallowed Ground
      ,83 --Foresight
      ,84 --Bloodbath
      ,85 --Maim
      ,86 --Berserk
      ,87 --Thrill of Battle
      ,88 --Holmgang
      ,89 --Vengeance
      ,90 --Storm's Eye
      ,91 --Defiance
      ,92 --Unchained
      ,93 --Wrath
      ,94 --Wrath II
      ,95 --Wrath III
      ,96 --Wrath IV
      ,97 --Infuriated
      ,98 --Dragon Kick
      ,99 --Featherfoot
      ,100 --Internal Release
      ,101 --Twin Snakes
      ,102 --Mantra
      ,103 --Fists of Fire
      ,104 --Fists of Earth
      ,105 --Fists of Wind
      ,106 --Touch of Death
      ,107 --Opo-opo Form
      ,108 --Raptor Form
      ,109 --Coeurl Form
      ,110 --Perfect Balance
      ,111 --Greased Lightning
      ,112 --Greased Lightniing II
      ,113 --Greased Lightning III
      ,114 --Keen Flurry
      ,115 --Heavy Thrust
      ,116 --Life Surge
      ,117 --Blood for Blood
      ,118 --Chaos Thrust
      ,119 --Phlebotomize
      ,120 --Power Surge
      ,121 --Disembowel
      ,122 --Straighter Shot
      ,123 --Hawk's Eye
      ,124 --Venomous Bite
      ,125 --Raging Strikes
      ,126 --Freeshot
      ,127 --Quelling Strike
      ,128 --Barrage
      ,129 --Windbite
      ,130 --Straight Shot
      ,131 --Downpour of Death
      ,132 --Quicker Nock
      ,133 --Swiftsong
      ,134 --Swiftsong
      ,135 --Mage's Ballad
      ,136 --Mage's Ballad
      ,137 --Army's Paeon
      ,138 --Army's Paeon
      ,139 --Foe Requiem
      ,140 --Foe Requiem
      ,141 --Battle Voice
      ,142 --Chameleon
      ,143 --Aero
      ,144 --Aero II
      ,145 --Cleric Stance
      ,146 --Protect
      ,147 --Protect
      ,148 --Raise
      ,149 --Rebirth
      ,150 --Medica II
      ,151 --Stoneskin
      ,152 --ストンスキン(物理攻撃)
      ,153 --ストンスキン(魔法攻撃)
      ,154 --Shroud of Saint
      ,155 --Freecure
      ,156 --Overcure
      ,157 --Presence of Min
      ,158 --Regen
      ,159 --Divine Seal
      ,160 --Surecast
      ,161 --Thunder
      ,162 --Thunder II
      ,163 --Thunder III
      ,164 --Thundercloud
      ,165 --Firestarter
      ,166 --Succor
      ,167 --Swiftcast
      ,168 --Manaward
      ,169 --Manawall
      ,170 --Apocatastasis
      ,171 --Ekpyrosis
      ,172 --Infirmity
      ,173 --Astral Fire
      ,174 --Astral Fire II
      ,175 --Astral Fire III
      ,176 --Umbral Ice
      ,177 --Umbral Ice II
      ,178 --Umbral Ice III
      ,179 --Bio
      ,180 --Miasma
      ,181 --Disease
      ,182 --Virus
      ,183 --Fever
      ,184 --Sustain
      ,185 --Eye for an Eye
      ,186 --Eye for an Eye II
      ,187 --Rouse
      ,188 --Miasma II
      ,189 --Bio II
      ,190 --Shadow Flare
      ,191 --Tri-disaster
      ,192 --Spur
      ,193 --Slow
      ,194 --Shield Wall
      ,195 --Mighty Guard
      ,196 --Last Bastion
      ,197 --Blaze Spikes
      ,198 --Ice Spikes
      ,199 --Shock Spikes
      ,200 --Physical Vulner
      ,201 --Stun
      ,202 --Vulnerability Up
      ,203 --Boost
      ,204 --Enfire
      ,205 --Enblizzard
      ,206 --Enaero
      ,207 --Enstone
      ,208 --Enthunder
      ,209 --Enwater
      ,210 --Doom
      ,211 --Sharpened Knife
      ,212 --True Sight
      ,213 --Pacification
      ,214 --Agitation
      ,215 --Determination Down
      ,216 --Paralysis
      ,217 --Triangulate
      ,218 --Gathering Rate Up
      ,219 --Gathering Yield Up
      ,220 --Gathering Fortune Up
      ,221 --Truth of Forests
      ,222 --Truth of Mountains
      ,223 --Byregot's Ward
      ,224 --Nophica's Ward
      ,225 --Prospect
      ,226 --Haste
      ,227 --00
      ,228 --Menphina's Ward
      ,229 --Nald'thal's Ward
      ,230 --Llymlaen's Ward
      ,231 --Thaliak's Ward
      ,232 --Preparation
      ,233 --Arbor Call
      ,234 --Lay of the Land
      ,235 --00
      ,236 --Choco Beak
      ,237 --Choco Regen
      ,238 --Choco Surge
      ,239 --The Echo
      ,240 --00
      ,241 --Blessing of Light
      ,242 --Arbor Call II
      ,243 --Lay of the Land II
      ,244 --Fracture
      ,245 --Sanction
      ,246 --Demolish
      ,247 --Rain of Death
      ,248 --Circle of Scorn
      ,249 --Flaming Arrow
      ,250 --Burns
      ,251 --Inner Quiet
      ,252 --Waste Not
      ,253 --Steady Hand
      ,254 --Great Strides
      ,255 --Ingenuity
      ,256 --Ingenuity II
      ,257 --Waste Not II
      ,258 --Manipulation
      ,259 --Innovation
      ,260 --Reclaim
      ,261 --Comfort Zone
      ,262 --Steady Hand II
      ,263 --Vulnerability Down
      ,264 --Flesh Wound
      ,265 --Stab Wound
      ,266 --Concussion
      ,267 --Burns
      ,268 --Frostbite
      ,269 --Windburn
      ,270 --Sludge
      ,271 --Electrocution
      ,272 --Dropsy
      ,273 --Bleeding
      ,274 --Recuperation
      ,275 --Poison +1
      ,276 --Voice of Valor
      ,277 --堅忍の誉れ:効果
      ,278 --00
      ,279 --Rehabilitation
      ,280 --Bind
      ,281 --Physical Damage Down
      ,282 --Mana Modulation
      ,283 --Dropsy
      ,284 --Burns
      ,285 --Frostbite
      ,286 --Windburn
      ,287 --Sludge
      ,288 --Electrocution
      ,289 --Dropsy
      ,290 --Determination Up
      ,291 --Hundred Fists
      ,292 --Fetters
      ,293 --Skill Speed Up
      ,294 --Spell Speed Up
      ,295 --Goldbile
      ,296 --Hysteria
      ,297 --Adloquium
      ,298 --Sacred Soil
      ,299 --Sacred Soil
      ,300 --Determination Up
      ,301 --Critical Strike
      ,302 --Gold Lung
      ,303 --Burrs
      ,304 --Aetherflow
      ,305 --The Dragon's Curse
      ,306 --Inner Dragon
      ,307 --Voice of Valor
      ,308 --堅忍の誉れ
      ,‚Œ309 --00
      ,310 --Curl
      ,311 --Earthen Ward
      ,312 --Earthen Fury
      ,313 --Radiant Shield
      ,314 --Inferno
      ,315 --Whispering Dawn
      ,316 --Fey Covenant
      ,317 --Fey Illumination
      ,318 --Fey Glow
      ,319 --Fey Light
      ,320 --Bleeding
      ,321 --Gungnir
      ,322 --Crystal Veil
      ,323 --Reduced Immunity
      ,324 --Greenwrath
      ,325 --Invincibility
      ,326 --Lightning Charg
      ,327 --Ice Charge
      ,328 --Heart of the Moon
      ,329 --Modification
      ,330 --Haste
      ,331 --Magic Vulnerabi
      ,332 --Physical Damage
      ,333 --Allagan Rot
      ,334 --Allagan Immunit
      ,335 --Firestream
      ,336 --Sequence AB1
      ,337 --Sequence AP1
      ,338 --Sequence AS1
      ,339 --Bleeding
      ,340 --Physical Field
      ,341 --Aetherial Field
      ,342 --Repelling Spray
      ,343 --Bleeding
      ,344 --Neurolink
      ,345 --Recharge
      ,346 --Waxen Flesh
      ,347 --Pox
      ,348 --Disseminate
      ,349 --Steel Scales
      ,350 --Vulnerability Down
      ,351 --Rancor
      ,352 --Spjot
      ,353 --Brave New World
      ,354 --Live off the Land
      ,355 --What You See
      ,356 --Eat from the Hand
      ,357 --In Control
      ,358 --00
      ,359 --00
      ,360 --Meat and Mead
      ,361 --That Which Binds Us
      ,362 --Proper Care
      ,363 --Back on Your Feet
      ,364 --Reduced Rates
      ,365 --The Heat of Battle
      ,366 --A Man's Best Friend
      ,367 --Earth and Water
      ,368 --Helping Hand

      Can you tell me which debuff should I add to the Healer List to afford the dungeons?
      Sorry for the long list but it can be of any help to someone.
       
    14. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      Lovely implementation, much cleaner than mine! The only thing is that you forgot to implement whether they've checked the button or not... ^^

      Code:
      if (!Core.Player.HasAura("Well Fed") && !Core.Player.InCombat && !Core.Player.IsMounted && Core.Player.IsValid)
      This should probably be changed to the following:

      Code:
      if (!Core.Player.HasAura("Well Fed") && [COLOR="#008000"]Magitek.WindowSettings.usefood && [/COLOR]!Core.Player.InCombat && !Core.Player.IsMounted && Core.Player.IsValid)
      Thanks for the quick updates, it's really awesome that you're so on top of all the bug reports and feature requests. :)
       
    15. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      Ah good call, updated with the fix. Also added the leg sweep change exaccuss.
       
    16. garretjax

      garretjax New Member

      Joined:
      Mar 14, 2014
      Messages:
      56
      Likes Received:
      3
      Trophy Points:
      0
      Thanks for your work on this Ex
       
    17. papatoast

      papatoast Member

      Joined:
      Jan 15, 2010
      Messages:
      237
      Likes Received:
      0
      Trophy Points:
      16
      I'd like to say that I'm buying rebornbuddy just to use Magitek. Thanks for this routine :)
       
    18. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      Thanks guys, we just need to keep improving it.
       
    19. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      Exmortem, I implemented this within my Magitek and I thought I'd share if you want it. I don't have much C# experience so perhaps there's a cleaner and better way to do this, but it's an 'Items' class to simplify the addition of item functionality in the future (so we don't have to run that foreach loop in the code each time). I figured in the future it would be nice to add support for potions, ethers, and other items as the routine expands. Currently this only has Items.Use(string itemname), but more can be added in the future if necessary. I couldn't find support for item cooldowns within Rebornbuddy but if that exists that would be great to include.

      Magitek/Helpers/Items.cs
      Code:
      using ff14bot;
      using ff14bot.Behavior;
      using ff14bot.Helpers;
      using ff14bot.Managers;
      using ff14bot.Navigation;
      using ff14bot.Objects;
      using System;
      using System.Collections.Generic;
      using System.Linq;
      using System.Text;
      using System.Threading.Tasks;
      using Magitek.Helpers;
      using TreeSharp;
      
      using Action = TreeSharp.Action;
      
      namespace Magitek.Helpers
      {
          public class Items
          {
              // Based off of Casting
              public static void Use(string itemname)
              {
                  foreach (BagSlot a in InventoryManager.Slots)
                  {
                      if (a.Name == itemname)
                      {
                          a.UseItem();
                          ff14bot.Helpers.Logging.Write("[Magitek] Using Item: " + a.Name);
                          return;
                      }
                  }
              }
          }
      }
      
      
      This allowed me to change the Pulse code for applying the food buff to:

      Code:
      if (!Core.Player.HasAura("Well Fed") && WindowSettings.usefood && !Core.Player.InCombat && !Core.Player.IsMounted && Core.Player.IsValid)
      {
          Items.Use(WindowSettings.foodname);
      }
      It's just a bit cleaner and hopefully it could help simplify the path to future item inclusion.
       
    20. Archaion

      Archaion Member

      Joined:
      Mar 28, 2012
      Messages:
      129
      Likes Received:
      1
      Trophy Points:
      18
      I'm playing as a Lancer and the routine seems to try to attack from a long range. I'll mess with it and see if I can get it to work. If not I'll post a log.
       
    Thread Status:
    Not open for further replies.

    Share This Page