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
Phoenix.Nightfrost
Offline
Does anyone have a GS they can post here that is alil more recent. Most I've found were 2013/14.
thanks in advance. Offline
Posts: 346
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... Phoenix.Nightfrost
Offline
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.
Offline
Posts: 346
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. Offline
Posts: 346
Spoke too soon... I found this just hitting the DRG page on bg-wiki
It appears to be self contained: https://pastebin.com/THLpaa7D
Necro Bump Detected!
[195 days between previous and next post]
Sidiov said: » I doubt youll ever find a no sidecar Why do you want to use a lua that has 2000 lines of code in it? Most luas that don't use mote are that way because their existence predates Mote. Using Mote does not make a lua bad or less performant, in fact it adds so much value and out-of-the-box functionality that you can create very complex rulesets with a few lines of code. As a programmer, you're making a mistake if you don't use Mote. It's like using C++ without Boost or just writing your application in ASM. Edit: Saw this one the recent posts and didn't check the dates of the last post. How is this "recent" lol... 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
Necro Bump Detected!
[273 days between previous and next post]
Siren.Lionsheart
Offline
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. Siren.Lionsheart
Offline
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.
Necro Bump Detected!
[280 days between previous and next post]
Offline
Posts: 281
For my edification, in lua files, what are:
1. Mote 2. Sidecar Offline
Posts: 179
Offline
Posts: 30
@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
Offline
Posts: 30
Anyone have a 2021 DRG lua they can share publicly for DRG newbies?
|
||
All FFXI content and images © 2002-2024 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|