Marsyas Lua Help

Language: JP EN DE FR
2010-09-08
New Items
users online
Forum » FFXI » Jobs » Bard » Marsyas Lua Help
Marsyas Lua Help
Offline
Posts: 410
By Kodaijin 2018-05-06 07:27:09
Link | Quote | Reply
 
Hello~
Too Long wont read:
trying to get Marsyas lua to work but having issues.
What is the necessary code in lua to get Honor March/Marsyas to work?

the details:
My original bard lua was based off of Kinematics-
https://github.com/Kinematics/GearSwap-Jobs/blob/master/BRD.lua

I am trying to get marsyas/honor march to be included in the lua and saw Sammeh's lua included it (https://github.com/SammehFFXI/FFXIAddons/blob/master/GearSwap/Sammeh_BRD.lua), but I get the errors saying that Honor March cant be indexed/Honor March isnt a valid song.

After messing with it for a bit, I ditched Sammehs, and went back to my original lua and just made Marsyas my Idle set, and in my Honor March macro, I simply make the macro disable swaps for that 1 song and do macro swaps, but there has to be a better way, especially since its not recognizing HM as march and I am not getting the song bonuses the way I should.

The lines in Sammehs code that include Marsyas or Honor March are:

Line 187
Code
    sets.midcast.March = {hands="Fili Manchettes +1"}
sets.midcast.HonorMarch = {hands="Fili Manchettes +1",range="Marsyas"}


Line 469
Code
	if spell.name == 'Honor March' then
        equip({range="Marsyas"})
end



Line 502
Code
if spell.name == 'Honor March' then
        equip(sets.midcast.HonorMarch)
if buffactive.Troubadour and string.find(spell.name,'Lullaby') then
		equip(sets.midcast.LullabyFull)
		equip({range="Marsyas"})
end
end


line 611 (timers adjustment)
Code
if player.equipment.range == "Marsyas" then mult = mult + 0.5 end
 Cerberus.Mrkillface
Offline
Server: Cerberus
Game: FFXI
user: bitchtits
Posts: 123
By Cerberus.Mrkillface 2018-05-06 11:04:25
Link | Quote | Reply
 
You have to have the marsyas equipped for the song to be available, so it has to go in precast as well as midcast. It looks like what you're missing is:

sets.precast.FC["Honor March"] = set_combine(sets.precast.FC.BardSong,{range="Marsyas"})

and then

sets.midcast["Honor March"] = set_combine(sets.midcast.SongEffect,{range="Marsyas"})

should work.


This is just for the timers. probably don't need it anymore.

if player.equipment.range == "Marsyas" then mult = mult + 0.5 end


EDIT: and yeah, Sels luas are amazing.
Asura.Toralin said: »
IMO, this guys Gearswaps are the best...
[+]
 Asura.Toralin
Offline
Server: Asura
Game: FFXI
user: toralin
Posts: 799
By Asura.Toralin 2018-05-06 11:05:12
Link | Quote | Reply
 
IMO, this guys Gearswaps are the best, i got caught up in using this guys BLM, this guys GEO, this guys WAR, and they were all good but not really all done with the same architecture in mind


https://github.com/Selindrile/GearSwap


you may take a look
 Bismarck.Speedyjim
Offline
Server: Bismarck
Game: FFXI
user: speedyjim
Posts: 516
By Bismarck.Speedyjim 2018-05-06 13:01:47
Link | Quote | Reply
 
Cerberus.Mrkillface said: »
You have to have the marsyas equipped for the song to be available, so it has to go in precast as well as midcast. It looks like what you're missing is:

sets.precast.FC["Honor March"] = set_combine(sets.precast.FC.BardSong,{range="Marsyas"})

and then

sets.midcast["Honor March"] = set_combine(sets.midcast.SongEffect,{range="Marsyas"})

should work.
This will work, combined with adding ['Honor March']='March' to line 170 of /libs/Mote-Mappings/lua file, to ensure that your March+ gear is getting equipped when singing.
[+]
Offline
Posts: 410
By Kodaijin 2018-05-06 14:17:31
Link | Quote | Reply
 
thanks guys
Log in to post.