Gearswap Support Thread

Eorzea Time
3:56 PM
 
 
 
Language: JP EN FR DE
users online
Forum » Windower » Support » Gearswap Support Thread
Gearswap Support Thread
First Page 2 3 ... 186 187
Offline
Posts: 55
By Shukudai 2025-05-22 14:27:34
Link | Quote | Reply
 
Asura.Yottaxa said: »
Shukudai said: »
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.
 Asura.Yottaxa
Offline
Server: Asura
Game: FFXI
user: Yottaxa
Posts: 201
By Asura.Yottaxa 2025-05-22 17:14:19
Link | Quote | Reply
 
Shukudai said: »
Asura.Yottaxa said: »
Shukudai said: »
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.
[+]
Offline
Posts: 55
By Shukudai 2025-05-22 18:05:30
Link | Quote | Reply
 
Asura.Yottaxa said: »
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
 Asura.Yottaxa
Offline
Server: Asura
Game: FFXI
user: Yottaxa
Posts: 201
By Asura.Yottaxa 2025-05-22 18:32:49
Link | Quote | Reply
 
Shukudai said: »
Asura.Yottaxa said: »
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.
Offline
Posts: 55
By Shukudai 2025-05-22 18:39:59
Link | Quote | Reply
 
Asura.Yottaxa said: »
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
 Asura.Yottaxa
Offline
Server: Asura
Game: FFXI
user: Yottaxa
Posts: 201
By Asura.Yottaxa 2025-05-22 18:43:29
Link | Quote | Reply
 
Shukudai said: »
Asura.Yottaxa said: »
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.
Offline
Posts: 55
By Shukudai 2025-05-22 18:56:31
Link | Quote | Reply
 
Asura.Yottaxa said: »
Shukudai said: »
Asura.Yottaxa said: »
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 :)
Offline
Posts: 44
By quelthos 2025-06-05 15:41:25
Link | Quote | Reply
 
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
Offline
By Shichishito 2025-06-05 15:53:06
Link | Quote | Reply
 
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.
[+]
Offline
Posts: 44
By quelthos 2025-06-05 16:01:39
Link | Quote | Reply
 
Shichishito said: »
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.
 Bahamut.Boposhopo
Offline
Server: Bahamut
Game: FFXI
user: Boposhopo
Posts: 124
By Bahamut.Boposhopo 2025-06-05 16:28:05
Link | Quote | Reply
 
quelthos 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**
quelthos said: »
"..." 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.
Offline
By Shichishito 2025-06-05 17:18:13
Link | Quote | Reply
 
quelthos said: »
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.
Offline
Posts: 44
By quelthos 2025-06-05 20:33:54
Link | Quote | Reply
 
Bahamut.Boposhopo said: »
quelthos 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**
quelthos said: »
"..." 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}
		}
[+]
Offline
Posts: 44
By quelthos 2025-06-06 01:35:54
Link | Quote | Reply
 
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
First Page 2 3 ... 186 187