|
Gearswap Support Thread
By Shukudai 2025-05-22 14:27:34
The lua I'm using for BRD has a section for Instrument for each song type. Is it possible to make a toggle that takes that into account and allows me to toggle between Gjallarhorn for each song type and Miracle Cheer? i.e: If it's a short fight, I hit the toggle, and get Ghorn buffs, if it's longer (like Ody C), I hit the toggle and get Miracle instead of Ghorn?
Anything is possible, but without seeing your lua and its specifics, hard to advise: if you post it here maybe we can help. Do you know who's lua you are using? Basically you will want to find the logic, add a keybind, and implement an override of the default logic.
I'm using the Arislan BRD one (Original: Motenten / Modified: Arislan). I think I can just share via PasteBin? https://pastebin.com/JJTDEtbz
I figured it would be adding a keybind (I just look at how the others are implemented, copy that but change what I need) but I'm not sure if that would do it.
Server: Asura
Game: FFXI
Posts: 201
By Asura.Yottaxa 2025-05-22 17:14:19
The lua I'm using for BRD has a section for Instrument for each song type. Is it possible to make a toggle that takes that into account and allows me to toggle between Gjallarhorn for each song type and Miracle Cheer? i.e: If it's a short fight, I hit the toggle, and get Ghorn buffs, if it's longer (like Ody C), I hit the toggle and get Miracle instead of Ghorn?
Anything is possible, but without seeing your lua and its specifics, hard to advise: if you post it here maybe we can help. Do you know who's lua you are using? Basically you will want to find the logic, add a keybind, and implement an override of the default logic.
I'm using the Arislan BRD one (Original: Motenten / Modified: Arislan). I think I can just share via PasteBin? https://pastebin.com/JJTDEtbz
I figured it would be adding a keybind (I just look at how the others are implemented, copy that but change what I need) but I'm not sure if that would do it.
I am not super familiar with Motes based gs, but it looks like you already have potential functionality:
Line 133: (send_command('bind ^` gs c cycle SongMode'))
I took the liberty of playing around here with this for 15mins for fun - let me know if it works: (Free to try) You can ping me on discord too same name, perhaps we can get it working.
https://pastebin.com/ki0xRhnA
Use ^` to toggle into miracle cheer mode (Same key as dummy songs). You need to update sets.midcast.SongMiracleCheer line 414 with any relevant gear. (I dont play bard cant really test any of this)
FYI details of what I think needed to be done:
I added miracle cheer to line 73:
state.SongMode = M{['description']='Song Mode', 'None', 'Placeholder', 'MiracleCheer'}
Then adding to near line 1008:
elseif state.SongMode.value == 'MiracleCheer' then
return 'SongMiracleCheer'
And then setting up the invoked set around line 413: (edit as needed)
sets.midcast.SongMiracleCheer = set_combine(sets.midcast.SongEnhancing, {range=info.MiracleCheer})
As well as putting at line 124:
info.MiracleCheer = 'Miracle Cheer'
Not sure if the precast set was needed, as I don't see logic but added that too.
[+]
By Shukudai 2025-05-22 18:05:30
I added miracle cheer to line 73:
Thank you for the effort! The toggle says it's toggling, but it's not actually using the Miracle Cheer when it does. I tested it out with five different songs, didn't use it.
I understand what you did with the line 73 change, the line 124 one, the line 413 one. It looks to me like you set it up to A) Have a new Toggle for Miracle Cheer, made a set for Miracle Cheer for midcast and made it refer to it as "info.MiracleCheer". I tried changing it to 'Miracle Cheer' for the range slot but that also didn't work XD
Server: Asura
Game: FFXI
Posts: 201
By Asura.Yottaxa 2025-05-22 18:32:49
I added miracle cheer to line 73:
Thank you for the effort! The toggle says it's toggling, but it's not actually using the Miracle Cheer when it does. I tested it out with five different songs, didn't use it.
I understand what you did with the line 73 change, the line 124 one, the line 413 one. It looks to me like you set it up to A) Have a new Toggle for Miracle Cheer, made a set for Miracle Cheer for midcast and made it refer to it as "info.MiracleCheer". I tried changing it to 'Miracle Cheer' for the range slot but that also didn't work XD
Hmm. Does the Daurdable mode work? Just not this? I am thinking about what else could be going on. My limitation here is experience with Motes and no way to test this myself.
By Shukudai 2025-05-22 18:39:59
Hmm. Does the Daurdable mode work? Just not this? I am thinking about what else could be going on. My limitation here is experience with Motes and no way to test this myself.
It sort of works?
I had already defined Paeons to use Daurdabla. But when I switch to PH mode (Daurdabla mode) and sang Goblin Gavotte, Daurdabla was used. But if I tried Minuet (with PH mode on) it went to my Minuet instrument and not Daurdabla.
I'd also be willing to swap LUAs as well if there's a cool BRD one :D
Server: Asura
Game: FFXI
Posts: 201
By Asura.Yottaxa 2025-05-22 18:43:29
Hmm. Does the Daurdable mode work? Just not this? I am thinking about what else could be going on. My limitation here is experience with Motes and no way to test this myself.
It sort of works?
I had already defined Paeons to use Daurdabla. But when I switch to PH mode (Daurdabla mode) and sang Goblin Gavotte, Daurdabla was used. But if I tried Minuet (with PH mode on) it went to my Minuet instrument and not Daurdabla.
I'd also be willing to swap LUAs as well if there's a cool BRD one :D
Sadly there might be some other overrides present I just cant see. If something pops out at me I can let you know.
By Shukudai 2025-05-22 18:56:31
Hmm. Does the Daurdable mode work? Just not this? I am thinking about what else could be going on. My limitation here is experience with Motes and no way to test this myself.
It sort of works?
I had already defined Paeons to use Daurdabla. But when I switch to PH mode (Daurdabla mode) and sang Goblin Gavotte, Daurdabla was used. But if I tried Minuet (with PH mode on) it went to my Minuet instrument and not Daurdabla.
I'd also be willing to swap LUAs as well if there's a cool BRD one :D
Sadly there might be some other overrides present I just cant see. If something pops out at me I can let you know.
It's appreciated, thank you :)
By quelthos 2025-06-05 15:41:25
Just returned recently.
I know the answer was no, but checking to see if anyone has a work around now.
Issue: Not able to swap the same weapon from off hand to main hand and vice versa
Example: crocea main, daybreak sub, meleeing using seraph blade. I want to cast a potency enfeeble with daybreak main ammurapi sub, GS will not swap.
Thank you
By Shichishito 2025-06-05 15:53:06
It doesn't work cause in this instance the daybreak is already in the sub slot and when it's equipped it's not accessible from the equipment menue.
A workaround is to equip different weapons or unequip both slots in a in-between step. For instance swap to two FC weapons in precast and then to the desired daybreak/ammurapi combo during midcast.
If it still doesn't work you probably have some rule in your GS that locks main/sub slots.
[+]
By quelthos 2025-06-05 16:01:39
It doesn't work cause in this instance the daybreak is already in the sub slot and when it's equipped it's not accessible from the equipment menue.
A workaround is to equip different weapons or unequip both slots in a in-between step. For instance swap to two FC weapons in precast and then to the desired daybreak/ammurapi combo during midcast.
If it still doesn't work you probably have some rule in your GS that locks main/sub slots.
or just state empty for both main and sub in FC set, still frustrating as I don't want to reset my TP for every single spell.
Guess I'll just have to deal with it.
Server: Bahamut
Game: FFXI
Posts: 124
By Bahamut.Boposhopo 2025-06-05 16:28:05
Just returned recently.
I know the answer was no, but checking to see if anyone has a work around now.
Issue: Not able to swap the same weapon from off hand to main hand and vice versa
Example: crocea main, daybreak sub, meleeing using seraph blade. I want to cast a potency enfeeble with daybreak main ammurapi sub, GS will not swap.
Thank you
I believe prioritites would handle this. Higher priorities swap first.
So all you'd really need is to swap the sub first to the shield, then main to Daybreak since it'd no longer be equipped in the Sub slot.
Code main={ name="Daybreak", priority=1},
sub={ name="Ammurapi Shield", priotity=2}
And then reverse it when you switch back.
Code main={ name="Crocea Mors", priority=2},
sub={ name="Daybreak", priority=1}
**Edit**
"..." still frustrating as I don't want to reset my TP for every single spell.
Also, swapping any main/sub resets your TP, so you're losing TP no matter what.
By Shichishito 2025-06-05 17:18:13
still frustrating as I don't want to reset my TP for every single spell.
Guess I'll just have to deal with it. What are you trying to achieve? Is this spell always ment to be cast in potency gear and therefore the weapon swap/tp lose is always necessary or do you want to decide depending on situation whether the weapon swap is necessary or not?
If you're working with the kinematics/mote lua templates and you want to always cast in potency gear but only for that particular spell you could explicitly state:
Code function job_post_precast(spell, spellMap, eventArgs)
if spell.name == 'Spell name in question' then
equip(sets.precast.Spellnameinquestion)
end end
Code function job_post_midcast(spell, action, spellMap, eventArgs)
if spell.name == 'Spell name in question' then
equip(sets.midcast.Spellnameinquestion)
end
end
remember to define the correct sets in pre and midcast. I don't know if it works with other templates too.
If you want to make the decission on the fly whether to do the weaponswap or not I guess you could make 2 different macros and work with weaponlocks.
By quelthos 2025-06-05 20:33:54
Bahamut.Boposhopo said: »Just returned recently.
I know the answer was no, but checking to see if anyone has a work around now.
Issue: Not able to swap the same weapon from off hand to main hand and vice versa
Example: crocea main, daybreak sub, meleeing using seraph blade. I want to cast a potency enfeeble with daybreak main ammurapi sub, GS will not swap.
Thank you
I believe prioritites would handle this. Higher priorities swap first.
So all you'd really need is to swap the sub first to the shield, then main to Daybreak since it'd no longer be equipped in the Sub slot.
Code main={ name="Daybreak", priority=1},
sub={ name="Ammurapi Shield", priotity=2}
And then reverse it when you switch back.
Code main={ name="Crocea Mors", priority=2},
sub={ name="Daybreak", priority=1}
**Edit**
"..." still frustrating as I don't want to reset my TP for every single spell.
Also, swapping any main/sub resets your TP, so you're losing TP no matter what.
This working perfectly, thank you so much!
Exactly code for anyone in the future searching
Code
sets.mws = {
main={name="Crocea Mors", priority=2},
sub={name="Daybreak", priority=1}
}
sets.macc = {
main={name="Daybreak", priority=1},
sub={name="Ammurapi Shield", priority=2}
}
[+]
By quelthos 2025-06-06 01:35:54
Another question if anyone can help
Currently the codes for equipping sets.kiting
Code function customize_idle_set(idleSet)
if state.Auto_Kite.value == true then
idleSet = set_combine(idleSet, sets.Kiting)
end
return idleSet
end
It does its job when kiting is toggled on, however the set.kiting persists when I am engaged, how would I make it auto unequip set.kiting upon engaged?
I tried adding a player.status ~= engaged line to the if, but does not seem to work.
Thanks
Just looking for someone to explain this addon a bit for me. It looks like it is an alternative to Spellcast.
Is it going to be replacing Spellcast? In which ways is it better or worse. I don't know any programming but I've slowly learned more and more about spellcast and the 'language' used in gearswap is confusing to me.
It says it uses packets so it potentially could be more detectable? but does that also eliminate any lag that spellcast may encounter?
I plan on redoing my PUP xml to include pet casting sets thanks to the new addon petschool. I'm just not sure if it's worth it to just wait until gearswap gets more popular or to go ahead and do it in spellcast.
If anyone could give me more info I'd greatly appreciate it.
|
|