Does anyone have a GS they can post here that is alil more recent. Most I've found were 2013/14.
thanks in advance.
Drg Gearswap Lua |
||
Drg Gearswap lua
Does anyone have a GS they can post here that is alil more recent. Most I've found were 2013/14.
thanks in advance. Need to use the equip slot bug for this, but makes it easy.
Code function sets{ sets.all = {main="Shining One",sub="Shining One",range="Shining One",ammo="Shining One", head="Shining One",neck="Shining One",ear1="Shining One",ear2="Shining One", body="Shining One",hands="Shining One",ring1="Shining One",ring2="Shining One", back="Shining One",waist="Shining One",legs="Shining One",feet="Shining One"} } Just replace the old sets with updated equipment. The easiest way is to use "//gs export" when you're wearing the correct set. Open that file, copy the text, and replace the old set with it.
It would take only a few minutes to update a gearswap from 2013/14. You may have to replace some of the globals at the top, but that's easy to do as well. The functionality of a drg.lua from 2013/14 should still be nearly identical today. Only the sets should need updating... Just update the sets... thanks for the response guys, But the ones I have use side card files. I'm looking for one that doesn't require alot of include files for it to work.
I doubt youll ever find a no sidecar one thats useful, but if you can stomach mote's you can use this
https://github.com/AlanWarren/gearswap/blob/master/DRG.lua you can comment out the organizer include at the top if you dont use it. *Note.. sets are outdated in this as well. Spoke too soon... I found this just hitting the DRG page on bg-wiki
It appears to be self contained: https://pastebin.com/THLpaa7D ![]() Part of what makes that LUA so long is the fact that each gear is on it's own individual line, there's a bit much of information there but even my LUA is 879 lines long.
However it does a check for the weapon attached and equips appropriately, adding 300 lines to it though. If each piece was on it's own line my lua would probably be just as long. https://pastebin.com/xVXxZv9w ![]() Would anyone help be with adding a GS that switches to a set for when the wyvern uses an elemental breath each time you WS?
Siren.Lionsheart said: » Would anyone help be with adding a GS that switches to a set for when the wyvern uses an elemental breath each time you WS? The first lua at the bottom of "Here Be Drgs" guide on BGwiki has that feature so you could pull it out of that one. I apologize, I'm terrible at this. Would this be the area to add in?
function pet_midcast(spell, act) PetBreathFailover = true if string.find(spell.english,'Healing Breath') then ChangeGear(sets.HB.Mentos) elseif ElementalBreath:contains(spell.english) then ChangeGear(sets.HB.Ricola) end send_command('wait 1.2;gs c PetBreathFailover') end And the sets he has further up in the lua that define the gear from it? I'm not very good at LUAs but I believe that's most of what you need. Hopefully some one more experienced can correct me if I am wrong. He also has an elemental breath table that should need to be included but I have no idea if you still need this if you use motes
ElementalBreath = S { "Flame Breath", "Sand Breath", "Hydro Breath","Gust Breath", "Frost Breath", "Lightning Breath", } You may should also either have to remove PetBreathFailover = true or add whatever function uses that variable. ![]() For my edification, in lua files, what are:
1. Mote 2. Sidecar @Galkapryme and Subadai -- thanks for the query and sharing the information -- Gives a whole new meaning to the term "Veteran". To capture and synthesize the context and intersections of lua use is like a full time second job
Anyone have a 2021 DRG lua they can share publicly for DRG newbies?
|
||
All FFXI content and images © 2002-2025 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|