|
RUN lua
Bismarck.Roundelk
サーバ: Bismarck
Game: FFXI
Posts: 19
By Bismarck.Roundelk 2016-04-03 12:37:19
I am wondering if it's possible to lock your current TP set and be able to toggle it on and off if so how?
Necro Bump Detected!
[57 days between previous and next post]
By Ineeedmoney 2016-05-30 14:50:52
Would someone be able to explain to me why my GS keeps putting me back into DW set after I use Lunge.
Even when I have it set to Reg mode it puts me back into DW set
function get_sets()
send_command('bind !f9 gs c toggle TP set')
send_command('bind ^f9 gs c toggle DW set')
send_command('bind !f10 gs c toggle Weaponskill sets')
send_command('bind ^f10 gs c toggle Idle set')
send_command('bind f9 input /ja "Gambit" <t>')
send_command('bind f10 input /ja "Lunge" <t>')
send_command('bind f11 input /ja "Swipe" <t>')
send_command('bind f12 input /ma "Flash" <t>')
send_command('bind !f12 input /ws "Dimidiation" <t>')
function file_unload()
send_command('unbind ^f9')
send_command('unbind ^f10')
send_command('unbind !f9')
send_command('unbind !f10')
send_command('unbind !f12')
send_command('unbind f9')
send_command('unbind f10')
send_command('unbind f11')
send_command('unbind f12')
end
-- JA Sets for Precast Function --
sets.JA = {}
sets.JA['Elemental Sforzo'] = {body="Futhark Coat +1"}
sets.JA['Vallation'] = {body="Runeist Coat +1",legs="Futhark Trousers"}
sets.JA['Valiance'] = {body="Runeist Coat +1",legs="Futhark Trousers"}
sets.JA['Pflug'] = {feet="Runeist Bottes"}
sets.JA['Swordplay'] = {hands="Futhark Mitons +1"}
sets.JA['Gambit'] = {hands="Runeist Mitons"}
sets.JA['Liement'] = {body="Futhark Coat +1"}
sets.JA['Battuta'] = {head="Futhark Bandeau +1"}
sets.JA['Lunge'] = {
ammo="Ghastly tathlum",
head={ name="Taeon Chapeau", augments={'"Mag.Atk.Bns."+17','Crit.hit rate+3','AGI+6',}},
body="Samnuha coat",
hands="Leyline gloves",
legs={ name="Taeon Tights", augments={'"Mag.Atk.Bns."+20','"Recycle"+8',}},
feet={ name="Taeon Boots", augments={'Attack+20','"Triple Atk."+2','Pet: Damage taken -2%',}},
neck="Eddy necklace",
waist="Yamabuki-no-Obi",
left_ear="Friomisi earring",
right_ear="Hecate's earring",
left_ring="Acumen ring",
right_ring="",
back="Evasionist's cape"}
sets.JA['Embolden'] = {back="Evasionist's Cape"}
sets.JA['Vivacious Pulse'] = {legs="Runeist Trousers +1",head="Erilaz galea"}
-- TP/Engaged sets --
sets.TP = {'Reg'}
sets.TP.index = {'Reg', 'MAcc', 'HAcc', 'PDT', 'PDTA','DW','DWA','DWP','DWPA','JP','Multi','Mag'}
TP_index = 1
sets.TP.Reg = {
main="",
sub="",
ammo="Hagneia Stone",
head={ name="Taeon Chapeau", augments={'Attack+22','"Triple Atk."+2','STR+2 DEX+2',}},
body="Rawhide vest",
hands={ name="Taeon Gloves", augments={'Accuracy+16 Attack+16','"Triple Atk."+2','Weapon skill damage +3%',}},
legs="Samnuha tights",
feet={ name="Taeon Boots", augments={'Attack+20','"Triple Atk."+2','Pet: Damage taken -2%',}},
neck="Asperity Necklace",
waist="Windbuffet Belt +1",
left_ear="Steelflash earring",
right_ear="Bladeborn earring",
left_ring="Epona's ring",
right_ring="Rajas Ring",
back="Evasionist's cape",}
sets.TP.MAcc = set_combine(sets.TP.Reg,{hands=""})
sets.TP.HAcc = {{
ammo="Honed tathlum",
head={ name="Taeon Chapeau", augments={'Attack+22','"Triple Atk."+2','STR+2 DEX+2',}},
body="Rawhide vest",
hands={ name="Taeon Gloves", augments={'Accuracy+16 Attack+16','"Triple Atk."+2','Weapon skill damage +3%',}},
legs="Samnuha tights",
feet={ name="Taeon Boots", augments={'Attack+20','"Triple Atk."+2','Pet: Damage taken -2%',}},
neck="Asperity Necklace",
waist="Windbuffet Belt +1",
left_ear="Steelflash earring",
right_ear="Bladeborn earring",
left_ring="Epona's ring",
right_ring="Rajas Ring",
back="Evasionist's cape"}}
sets.TP.PDT = {ammo="Honed Tathlum",
head="Futhark bandeau +1",neck="Twilight Torque",ear1="Ethereal Earring",ear2="Brutal Earring",
body="Futhark coat +1",hands="Umuthi gloves",ring1="Defending Ring",ring2="Dark ring",
back="Evasionist's cape",waist="Flume Belt",legs="Erilaz leg guards",feet="Erilaz greaves"}
sets.TP.PDTA ={ammo="Honed Tathlum",
head="Futhark bandeau +1",neck="Twilight Torque",ear1="Ethereal Earring",ear2="Brutal Earring",
body="Erilaz surcoat",hands="Umuthi gloves",ring1="Defending Ring",ring2="Dark ring",
back="Evasionist's cape",waist="Flume Belt",legs="Erilaz leg guards",feet="Erilaz greaves"}
sets.TP.DW = set_combine(sets.TP.Reg,{ear1="Dudgeon earring",ear2="Heartseeker earring"})
sets.TP.DWA = set_combine(sets.TP.Acc,{ear1="Dudgeon earring",ear2="Heartseeker earring"})
sets.TP.DWP = set_combine(sets.TP.PDT,{ear1="Dudgeon earring",ear2="Heartseeker earring"})
sets.TP.DWPA = set_combine(sets.TP.PDTA,{ear1="Dudgeon earring",ear2="Heartseeker earring"})
sets.TP.JP = set_combine(sets.TP.Reg,{back="Mecistopins Mantle"})
sets.TP.Multi = set_combine(sets.TP.Reg,{body="Thaumas Coat"})
sets.TP.Mag = set_combine(sets.TP.PDTA,{back=""})
-- Idle Sets --
sets.Idle = {}
sets.Idle.index = {'Regen','Refresh'}
Idle_index = 1
sets.Idle.Regen = {head="",
neck="Wiglen Gorget",ear1="Ethereal Earring",body="Respite cloak",hands="Umuthi gloves",
ring1="Paguroidea Ring",ring2="Sheltered ring",back="Shadow Mantle",waist="Flume Belt",
legs="Runeist Trousers +1",Feet="Hermes' sandals"}
sets.Idle.Refresh = {ammo="Honed Tathlum",
head="Futhark bandeau +1",neck="Twilight Torque",ear1="Ethereal Earring",ear2="Brutal Earring",
body="Futhark coat +1",hands="Umuthi gloves",ring1="Defending Ring",ring2="Dark ring",
back="Evasionist's cape",waist="Flume Belt",legs="Erilaz leg guards",feet="Erilaz greaves"}
--WS Resolution Set --
sets.WS = {{
ammo="Aqreqaq bomblet",
head="Rabid visor",
body={ name="Taeon Tabard", augments={'Accuracy+10 Attack+10','"Triple Atk."+2','Weapon skill damage +2%',}},
hands={ name="Taeon Gloves", augments={'Accuracy+16 Attack+16','"Triple Atk."+2','Weapon skill damage +3%',}},
legs="Samnuha tights",
feet={ name="Taeon Boots", augments={'Attack+20','"Triple Atk."+2','Pet: Damage taken -2%',}},
neck="Thunder gorget",
waist="Thunder belt",
left_ear="Brutal earring",
right_ear="Flame pearl",
left_ring="Ifrit ring",
right_ring="Rajas Ring",
back="Buquwik cape"}}
sets.Resolution = {}
sets.Resolution.index = {'Normal','Accuracy'}
Resolution_index = 1
sets.Resolution.Normal = {
ammo="Aqreqaq bomblet",
head="Rabid visor",
body={ name="Taeon Tabard", augments={'Accuracy+10 Attack+10','"Triple Atk."+2','Weapon skill damage +2%',}},
hands={ name="Taeon Gloves", augments={'Accuracy+16 Attack+16','"Triple Atk."+2','Weapon skill damage +3%',}},
legs="Samnuha tights",
feet={ name="Taeon Boots", augments={'Attack+20','"Triple Atk."+2','Pet: Damage taken -2%',}},
neck="Thunder gorget",
waist="Thunder belt",
left_ear="Brutal earring",
right_ear="Flame pearl",
left_ring="Ifrit ring",
right_ring="Rajas Ring",
back="Buquwik cape"}
sets.Resolution.Accuracy = {
ammo="Aqreqaq bomblet",
head="Rabid visor",
body={ name="Taeon Tabard", augments={'Accuracy+10 Attack+10','"Triple Atk."+2','Weapon skill damage +2%',}},
hands={ name="Taeon Gloves", augments={'Accuracy+16 Attack+16','"Triple Atk."+2','Weapon skill damage +3%',}},
legs="Samnuha tights",
feet={ name="Taeon Boots", augments={'Attack+20','"Triple Atk."+2','Pet: Damage taken -2%',}},
neck="Thunder gorget",
waist="Thunder belt",
left_ear="Brutal earring",
right_ear="Flame pearl",
left_ring="Ifrit ring",
right_ring="Rajas Ring",
back="Buquwik cape"}
sets.Resolution.R = set_combine(sets.Resolution.Normal,{neck="Ygnas's Resolve +1"})
sets.Dimidiation = {}
sets.Dimidiation.index = {'Normal','Accuracy'}
Dimidiation_index = 1
sets.Dimidiation.Normal = {
ammo="Honed tathlum",
head="Rabid visor",
body="Rawhide vest",
hands="Leyline gloves",
legs="Samnuha tights",
feet={ name="Taeon Boots", augments={'Attack+20','"Triple Atk."+2','Pet: Damage taken -2%',}},
neck="Flame gorget",
waist="Light belt",
left_ear="Light earring",
right_ear="Thunder pearl",
left_ring="Ramuh ring",
right_ring="Rajas Ring",
back="Kayapa cape"}
sets.Dimidiation.Accuracy = {
ammo="Honed tathlum",
head="Rabid visor",
body="Rawhide vest",
hands="Leyline gloves",
legs="Samnuha tights",
feet={ name="Taeon Boots", augments={'Attack+20','"Triple Atk."+2','Pet: Damage taken -2%',}},
neck="Flame gorget",
waist="Light belt",
left_ear="Light earring",
right_ear="Thunder pearl",
left_ring="Ramuh ring",
right_ring="Rajas Ring",
back="Kayapa cape"}
sets.Dimidiation.R = set_combine(sets.Dimidiation.Normal,{neck="Ygnas's Resolve +1"})
-- WS Requiescat Set --
sets.Requiescat = {}
sets.Requiescat.index = {'Normal','Accuracy'}
Requiescat_index = 1
sets.Requiescat.Normal = {
ammo="Honed tathlum",
head={ name="Taeon Chapeau", augments={'Attack+22','"Triple Atk."+2','STR+2 DEX+2',}},
body="Rawhide vest",
hands={ name="Taeon Gloves", augments={'Accuracy+16 Attack+16','"Triple Atk."+2','Weapon skill damage +3%',}},
legs="Samnuha tights",
feet={ name="Taeon Boots", augments={'Attack+20','"Triple Atk."+2','Pet: Damage taken -2%',}},
neck="Flame gorget",
waist="Light belt",
left_ear="Light earring",
right_ear="Thunder pearl",
left_ring="Ramuh ring",
right_ring="Rajas Ring",
back="Kayapa cape"}
sets.Requiescat.Accuracy = {
ammo="Honed tathlum",
head={ name="Taeon Chapeau", augments={'Attack+22','"Triple Atk."+2','STR+2 DEX+2',}},
body="Rawhide vest",
hands={ name="Taeon Gloves", augments={'Accuracy+16 Attack+16','"Triple Atk."+2','Weapon skill damage +3%',}},
legs="Samnuha tights",
feet={ name="Taeon Boots", augments={'Attack+20','"Triple Atk."+2','Pet: Damage taken -2%',}},
neck="Flame gorget",
waist="Light belt",
left_ear="Light earring",
right_ear="Thunder pearl",
left_ring="Ramuh ring",
right_ring="Rajas Ring",
back="Kayapa cape"}
-- WS Savage Blade Set --
sets.SavageBlade ={}
sets.SavageBlade.index = {'Normal','Accuracy'}
SavageBlade_index = 1
sets.SavageBlade.Normal = {
ammo="Hagneia Stone",
head="Rabid visor",
body={ name="Rawhide Vest", augments={'HP+50','"Subtle Blow"+7','"Triple Atk."+2',}},
hands="Rawhide Gloves",
legs={ name="Samnuha Tights", augments={'STR+9','DEX+8','"Dbl.Atk."+2','"Triple Atk."+2',}},
feet={ name="Futhark Boots +1", augments={'Enhances "Rayke" effect',}},
neck="Flame Gorget",
waist="Shadow Belt",
left_ear="Flame Pearl",
right_ear="Brutal Earring",
left_ring="Ifrit Ring",
right_ring="Ifrit Ring",
back="Buquwik Cape"}
sets.SavageBlade.Accuracy = {
ammo="Hagneia Stone",
head="Rabid visor",
body={ name="Rawhide Vest", augments={'HP+50','"Subtle Blow"+7','"Triple Atk."+2',}},
hands="Rawhide Gloves",
legs={ name="Samnuha Tights", augments={'STR+9','DEX+8','"Dbl.Atk."+2','"Triple Atk."+2',}},
feet={ name="Futhark Boots +1", augments={'Enhances "Rayke" effect',}},
neck="Flame Gorget",
waist="Shadow Belt",
left_ear="Flame Pearl",
right_ear="Brutal Earring",
left_ring="Ifrit Ring",
right_ring="Ifrit Ring",
back="Buquwik Cape"}
-- WS Ruinator Set --
sets.Ruinator = {}
sets.Ruinator.index = {'Normal','Accuracy'}
Ruinator_index = 1
sets.Ruinator.Normal = {
ammo="Hagneia Stone",
head="Rabid visor",
body={ name="Rawhide Vest", augments={'HP+50','"Subtle Blow"+7','"Triple Atk."+2',}},
hands="Rawhide Gloves",
legs={ name="Samnuha Tights", augments={'STR+9','DEX+8','"Dbl.Atk."+2','"Triple Atk."+2',}},
feet={ name="Futhark Boots +1", augments={'Enhances "Rayke" effect',}},
neck="Flame Gorget",
waist="Shadow Belt",
left_ear="Flame Pearl",
right_ear="Brutal Earring",
left_ring="Ifrit Ring",
right_ring="Ifrit Ring",
back="Buquwik Cape"}
sets.Ruinator.Accuracy = {
ammo="Hagneia Stone",
head="Rabid visor",
body={ name="Rawhide Vest", augments={'HP+50','"Subtle Blow"+7','"Triple Atk."+2',}},
hands="Rawhide Gloves",
legs={ name="Samnuha Tights", augments={'STR+9','DEX+8','"Dbl.Atk."+2','"Triple Atk."+2',}},
feet={ name="Futhark Boots +1", augments={'Enhances "Rayke" effect',}},
neck="Flame Gorget",
waist="Shadow Belt",
left_ear="Flame Pearl",
right_ear="Brutal Earring",
left_ring="Ifrit Ring",
right_ring="Ifrit Ring",
back="Buquwik Cape"}
-- Precast Spell sets --
sets.precast = {}
sets.precast.FC = {}
sets.precast.FC = {ammo="Aqreqaq bomblet",
head="Runeist bandeau +1",
body="Futhark coat +1",
hands="Leyline gloves",
legs="Futhark trousers",
feet={ name="Taeon Boots", augments={'Attack+20','"Triple Atk."+2','Pet: Damage taken -2%',}},
neck="Jeweled collar",
waist="Flume belt",
left_ear="Laquacious earring",
right_ear="Ethereal earring",
left_ring="Defendign ring",
right_ring="Shadow ring",
back="Evasionist's cape"}
sets.precast.FC.Enhancing = set_combine(sets.precast.FC,{hands="Runeist Mitons",legs="Futhark Trousers"})
sets.precast.FC.Divine = set_combine(sets.precast.FC,{legs="Runeist Trousers"})
--Phalanx Utility--
sets.Utility = {}
sets.Utility.Phalanx = set_combine(sets.precast.FC.Enhancing,{
head="Futhark Bandeau +1"})
--Copy and pasted set from Snprphnx_SCH example--
--Obis--
sets.Obi = {}
sets.Obi.Fire = {waist='Karin Obi',ring2='Zodiac Ring'}
sets.Obi.Earth = {waist='Dorin Obi',ring2='Zodiac Ring'}
sets.Obi.Water = {waist='Suirin Obi',ring2='Zodiac Ring'}
sets.Obi.Wind = {waist='Furin Obi',ring2='Zodiac Ring'}
sets.Obi.Ice = {waist='Hyorin Obi',ring2='Zodiac Ring'}
sets.Obi.Thunder = {waist='Rairin Obi',ring2='Zodiac Ring'}
sets.Obi.Light = {waist='Korin Obi',ring2='Zodiac Ring'}
sets.Obi.Dark = {waist='Anrin Obi',ring2='Zodiac Ring'}
-----Tengu
sets.tengu = {ammo="Tengu-No-Hane"}
end
--Precast Actions--
function precast(spell,act)
if spell.type == 'JobAbility' then
if sets.JA[spell.english] then
equip(sets.JA[spell.english])
end
end
if spell.action_type == 'Enhancing' then
equip(sets.precast.FC.Enhancing)
end
if spell.action_type == 'Divine' then
equip(sets.precast.FC.Divine)
end
if spell.action_type == 'Magic' then
equip(sets.precast.FC)
end
if spell.action_type == 'Ninjutsu' then
equip(sets.precast.FC)
end
if spell.english == 'Lunge' or spell.english == 'Swipe' then
equip(sets.JA['Lunge'])
if spell.element == world.weather_element or spell_element == world.day_element then
equip(sets.JA['Lunge'],sets.Obi[spell.element])
end
end
if spell.english == "Resolution" then
equip(sets.Resolution[sets.Resolution.index[Resolution_index]])
end
if spell.english == "Requiescat" then
equip(sets.Requiescat[sets.Requiescat.index[Requiescat_index]])
end
if spell.english == 'Savage Blade' then
equip(sets.SavageBlade[sets.SavageBlade.index[SavageBlade_index]])
end
if spell.english == "Ruinator" then
equip(sets.Ruinator[sets.Ruinator.index[Ruinator_index]])
end
if spell.english == "Dimidiation" then
equip(sets.Dimidiation[sets.Dimidiation.index[Dimidiation_index]])
end
if spell.english == "Herculean Slash" then
equip(sets.JA['Lunge'])
end
if buffactive['Reive Mark'] and spell.type == 'WeaponSkill' then
equip(sets.Resolution.R)
end
if buffactive['Reive Mark'] and spell.english == 'Dimidiation' then
equip(sets.Dimidiation.R)
end
if buffactive['Reive Mark'] and spell.english == 'Resolution' then
equip(sets.Resolution.R)
end
if buffactive['Tenebrae'] and spell.english == 'Lunge' then
equip(sets.JA.Lunge,{head="Pixie Hairpin +1"})
end
if buffactive['Tenebrae'] and spell.english == 'Swipe' then
equip(sets.JA.Lunge,{head="Pixie Hairpin +1"})
end
if buffactive['Lux'] and spell.english == 'Lunge' then
equip(sets.JA.Lunge,{ring2="Weatherspoon Ring"})
end
if buffactive['Lux'] and spell.english == 'Swipe' then
equip(sets.JA.Lunge,{ring2="Weatherspoon Ring"})
end
end
--Midcast functions for spells--
function midcast(spell,act)
if spell.english == 'Phalanx' then
equip(sets.Utility.Phalanx)
end
if spell.english == 'Flash' then
equip(sets.precast.FC.Divine)
end
if spell.english == 'Regen IV' then
equip(sets.precast.FC.Enhancing)
end
if spell.type == 'JobAbility' then
if sets.JA[spell.english] then
equip(sets.JA[spell.english])
end
end
if spell.english == 'Lunge' or spell.english == 'Swipe' then
equip(sets.JA['Lunge'])
if spell.element == world.weather_element or spell_element == world.day_element then
equip(sets.JA['Lunge'],sets.Obi[spell.element])
end
end
if spell.english == "Resolution" then
equip(sets.Resolution[sets.Resolution.index[Resolution_index]])
end
if spell.english == 'Savage Blade' then
equip(sets.SavageBlade[sets.SavageBlade.index[SavageBlade_index]])
end
if spell.english == "Ruinator" then
equip(sets.Ruinator[sets.Ruinator.index[Ruinator_index]])
end
if spell.english == "Dimidiation" then
equip(sets.Dimidiation[sets.Dimidiation.index[Dimidiation_index]])
end
if spell.english == "Herculean Slash" then
equip(sets.JA['Lunge'])
end
if buffactive['Reive Mark'] and spell.type == 'WeaponSkill' then
equip(sets.Resolution.R)
end
if buffactive['Reive Mark'] and spell.english == 'Dimidiation' then
equip(sets.Dimidiation.R)
end
if buffactive['Reive Mark'] and spell.english == 'Resolution' then
equip(sets.Resolution.R)
end
if buffactive['Tenebrae'] and spell.english == 'Lunge' then
equip(sets.JA.Lunge,{head="Pixie Hairpin +1"})
end
if buffactive['Tenebrae'] and spell.english == 'Swipe' then
equip(sets.JA.Lunge,{head="Pixie Hairpin +1"})
end
if spell.name == 'Resolution' or spell.name == "Dimidiation" then
tengu_handler()
end
end
function tengu_handler()
if world.time >= 360 and world.time < 1080 then -- 6~18
equip(sets.tengu)
end
end
--Aftercast function, returns user to TP set after actions/spells--
function aftercast(spell,act)
if player.status == 'Engaged' then
equip(sets.TP[sets.TP.index[TP_index]])
else
equip(sets.Idle[sets.Idle.index[Idle_index]])
end
if player.status == 'Engaged' and buffactive['Battuta'] then
equip{feet="Futhark Boots +1"}
end
if player.status == 'Engaged' and buffactive['Reive Mark'] then
equip{neck="Ygnas's Resolve +1"}
end
end
function buff_change(new,old)
if buffactive['Battuta'] then
equip{feet="Futhark Boots +1"}
end
if buffactive['Embolden'] then
equip{back="Evasionist's Cape"}
end
if player.status == 'Engaged' and buffactive['Reive Mark'] then
equip{neck="Ygnas's Resolve +1"}
end
end
--Status Change function, switches user to TP set upon engaging--
function status_change(new,old)
if player.status == 'Engaged' then
equip(sets.TP[sets.TP.index[TP_index]])
else
equip(sets.Idle[sets.Idle.index[Idle_index]])
end
if buffactive['Battuta'] and new == 'Engaged' then
equip{feet="Futhark Boots +1"}
end
if player.status == 'Engaged' and buffactive['Reive Mark'] then
equip{neck="Ygnas's Resolve +1"}
end
end
--Toggle Command functions--
--Gearswap direct command = //gs c toggle 'x' set
--Macro line = console gs c toggle x set
--ex: console gs c toggle TP set
-- Index is set to 1 or 'Reg', press button once to switch to 'Acc', and so on.
function self_command(command)
if command == 'toggle TP set' then
if TP_index < 5 then
TP_index = TP_index +1
else TP_index = 1 end
send_command('@ input /echo >>> TP set changed to '..sets.TP.index[TP_index]..' ')
equip(sets.TP[sets.TP.index[TP_index]])
elseif command == 'toggle DW set' then
if TP_index < 9 and TP_index > 5 then
TP_index = TP_index +1
else TP_index = 6 end
send_command('@ input /echo >>> DW set changed to '..sets.TP.index[TP_index]..' ')
equip(sets.TP[sets.TP.index[TP_index]])
elseif command == 'toggle dTP set' then
if TP_index < 6 and TP_index > 1 then
TP_index = TP_index -1
else TP_index = 5 end
send_command('@ input /echo >>> DW set changed to '..sets.TP.index[TP_index]..' ')
equip(sets.TP[sets.TP.index[TP_index]])
elseif command == 'toggle Weaponskill sets' then
Resolution_index = Resolution_index +1
if Resolution_index > #sets.Resolution.index then Resolution_index = 1 end
Requiescat_index = Requiescat_index +1
SavageBlade_index = SavageBlade_index +1
if SavageBlade_index > #sets.SavageBlade.index then SavageBlade_index = 1 end
if Ruinator_index > #sets.Ruinator.index then Ruinator_index = 1 end
Dimidiation_index = Dimidiation_index +1
if Dimidiation_index > #sets.Dimidiation.index then Dimidiation_index = 1 end
send_command('@ input /echo >>> All Weaponskill sets changed to '..sets.Dimidiation.index[Dimidiation_index]..' ')
elseif command == 'toggle JP set' then
if TP_index < 10 and TP_index > 0 then
TP_index = 10 end
send_command('@ input /echo >>> TP set changed to '..sets.TP.index[TP_index]..' ')
equip(sets.TP[sets.TP.index[TP_index]])
elseif command == 'toggle Multi set' then
if TP_index < 11 and TP_index > 0 then
TP_index = 11 end
send_command('@ input /echo >>> TP set change to '..sets.TP.index[TP_index]..' ')
equip(sets.TP[sets.TP.index[TP_index]])
elseif command == 'toggle Magic set' then
if TP_index < 12 and TP_index > 0 then
TP_index = 12 end
send_command('@ input /echo >>> Defense set changed to '..sets.TP.index[TP_index]..' ')
equip(sets.TP[sets.TP.index[TP_index]])
elseif command == 'toggle Idle set' then
Idle_index = Idle_index +1
if Idle_index > #sets.Idle.index then Idle_index = 1 end
send_command('@ input /echo >>> Idle set changed to '..sets.Idle.index[Idle_index]..' ')
equip(sets.Idle[sets.Idle.index[Idle_index]])
end
end
Thanks for your help
Necro Bump Detected!
[165 days between previous and next post]
Lakshmi.Vadian
サーバ: Lakshmi
Game: FFXI
Posts: 55
By Lakshmi.Vadian 2016-11-11 21:44:40
Anyone have a current version?
サーバ: Shiva
Game: FFXI
Posts: 1052
By Shiva.Arislan 2016-11-12 08:18:40
Lakshmi.Vadian
サーバ: Lakshmi
Game: FFXI
Posts: 55
By Lakshmi.Vadian 2016-11-12 13:14:16
Awesome! Thank You!!!
サーバ: Asura
Game: FFXI
Posts: 152
By Asura.Blitzjr 2016-11-12 13:34:39
Yeah I created one where you can manually switch the gear between tanking, dual wield, and all that good stuff. With all the weapon skills on it too. Was hard to find a good and working gs.
Necro Bump Detected!
[66 days between previous and next post]
By Bongarippa 2017-01-17 12:28:51
Here is a fairly straight forward GS that will do pretty much everything you need it to do.
Code
--TP set toggle input: //gs c toggle TP set----1 Standard, 2 Solo, 3 Marches, 4 AccuracyLite, 5 AccuracyMax, 6 DT, 7 DTAccuracy--
--Idle set toggle input: //gs c toggle Idle set----1 Standard, 2 DT--
--Requiescat set toggle input: //gs c toggle Req set----1 Attack, 2 Accuracy--
--Chant du Cygne set toggle input: //gs c toggle CDC set----1 Attack, 2 Accuracy--
Enmity_Spells = S{"Foil","Flash","Blank Gaze","Geist Wall","Jettatura"}
function get_sets()
--Idle Sets--
sets.Idle = {}
sets.Idle.index = {'Standard','DT'}
Idle_ind = 1
Gear_Debug = 0
sets.Idle.Standard = {ammo="Demonry stone",
head="Iuitl headgear +1",neck="Twilight torque", ear1="Spellbreaker earring", ear2="Sanare earring",
body="Runeist coat",hands="Umuthi gloves",ring1="Patricius Ring",ring2="Defending Ring",
back="Shadow mantle",waist="Fucho-no-obi",legs="Blood cuisses",feet="Iuitl gaiters +1"}
sets.Idle.DT = {ammo="Demonry stone",
head="Iuitl headgear +1",neck="Twilight torque", ear1="Spellbreaker earring", ear2="Sanare earring",
body="Futhark coat +1",hands="Umuthi gloves",ring1="Patricius Ring",ring2="Defending Ring",
back="Mollusca mantle",waist="Flume belt",legs="Qaaxo tights",feet="Iuitl gaiters +1"}
--TP Sets--
sets.TP = {}
sets.TP.index = {'Standard', 'DW', 'Marches', 'AccuracyLite', 'AccuracyFull', 'DT', 'DTAccuracy'}
--1=Standard, 2=DW, 3=Marches, 4=AccuracyLite, 5=AccuracyFull, 6=DT, 7=DTAccuracy--
TP_ind = 1
sets.TP.Standard = {ammo="Ginsen",
head="Iuitl headgear +1",neck="Asperity necklace", ear1="Steelflash earring", ear2="Bladeborn earring",
body="Qaaxo harness",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Rajas ring",
back="Atheling mantle",waist="Windbuffet belt",legs="Iuitl tights +1",feet="Qaaxo leggings"}
sets.TP.Marches = {ammo="Honed tathlum",
head="Iuitl headgear +1",neck="Asperity necklace", ear1="Steelflash earring", ear2="Bladeborn earring",
body="Qaaxo harness",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Rajas ring",
back="Atheling mantle",waist="Windbuffet belt",legs="Iuitl tights +1",feet="Qaaxo leggings"}
sets.TP.DW = {ammo="Honed tathlum",
head="Iuitl headgear +1",neck="Asperity necklace", ear1="Brutal earring", ear2="Suppanomimi",
body="Qaaxo harness",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Rajas ring",
back="Atheling mantle",waist="Windbuffet belt",legs="Iuitl tights +1",feet="Qaaxo leggings"}
sets.TP.AccuracyLite = {ammo="Honed tathlum",
head="Iuitl headgear +1",neck="Asperity necklace", ear1="Steelflash earring", ear2="Bladeborn earring",
body="Qaaxo harness",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Rajas ring",
back="Atheling mantle",waist="Windbuffet belt",legs="Iuitl tights +1",feet="Qaaxo leggings"}
sets.TP.AccuracyFull = {ammo="Honed tathlum",
head="Iuitl headgear +1",neck="Asperity necklace", ear1="Steelflash earring", ear2="Bladeborn earring",
body="Qaaxo harness",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Rajas ring",
back="Atheling mantle",waist="Windbuffet belt",legs="Iuitl tights +1",feet="Qaaxo leggings"}
sets.TP.DT = {ammo="Demonry stone",
head="Iuitl headgear +1",neck="Twilight torque", ear1="Spellbreaker earring", ear2="Sanare earring",
body="Futhark coat +1",hands="Umuthi gloves",ring1="Patricius Ring",ring2="Defending Ring",
back="Repulse mantle",waist="Flume belt",legs="Qaaxo tights",feet="Iuitl gaiters +1"}
sets.TP.DTAccuracy = {ammo="Honed tathlum",
head="Iuitl headgear +1",neck="Asperity necklace", ear1="Steelflash earring", ear2="Bladeborn earring",
body="Qaaxo harness",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Rajas ring",
back="Atheling mantle",waist="Windbuffet belt",legs="Iuitl tights +1",feet="Qaaxo leggings"}
--Weaponskill Sets--
sets.WS = {}
sets.Requiescat = {ammo="Honed tathlum",
head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Qaaxo harness",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Aquasoul ring",
back="Atheling mantle",waist="Soil belt",legs="Quiahuiz trousers",feet="Qaaxo leggings"}
sets.Resolution = {ammo="Aqreaqa bomblet",
head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Manibozho jerkin",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Rajas ring",
back="Atheling mantle",waist="Soil belt",legs="Quiahuiz trousers",feet="Manibozho boots"}
sets.Ruinator = {ammo="Aqreaqa bomblet",head="Whirlpool mask",neck="Snow gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Manibozho jerkin",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Rajas ring",
back="Atheling mantle",waist="Snow belt",legs="Manibozho brais",feet="Manibozho boots"}
sets.Dimidiation = {ammo="Potestas bomblet",head="Uk'uxkaj cap",neck="Thunder gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Qaaxo harness",hands="Futhark mitons +1",ring1="Epona's ring",ring2="Rajas ring",
back="Atheling mantle",waist="Thunder belt",legs="Manibozho brais",feet="Qaaxo leggings"}
sets.Shockwave = {ammo="Aqreaqa bomblet",head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Manibozho jerkin",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Rajas ring",
back="Atheling mantle",waist="Soil belt",legs="Manibozho brais",feet="Manibozho boots"}
--Job Ability Sets--
sets.JA = {}
sets.JA.Lunge = {ammo="Dosis tathlum",head="A'as circlet",neck="Eddy necklace",ear1="Friomisi earring",ear2="Crematio earring",
body="Vanir Cotehardie",hands="Spolia cuffs",ring1="Acumen Ring",ring2="Sangoma Ring",
back="Toro cape",waist="Soil belt",legs="Shneddick tights +1",feet="Weatherspoon souliers +1"}
sets.JA.VP = {ammo="Aqreaqa bomblet",
head="Whirlpool mask",neck="Asperity necklace", ear1="Steelflash earring", ear2="Bladeborn earring",
body="Qaaxo harness",hands="Qaaxo mitaines",ring1="Epona's ring",ring2="Rajas ring",
back="Atheling mantle",waist="Windbuffet belt",legs="Iuitl tights +1",feet="Qaaxo leggings"}
--Precast Sets--
sets.precast = {}
sets.precast.FC = {head="Runeist bandeau +1",Ear1="Loquacious earring",body="Futhark coat +1",hands="Thaumas gloves",back="Fravashi Mantle",
waist="Siegel Sash",legs="Futhark trousers",feet="Chelona boots"}
sets.enmity = {ammo="Aqreaqa bomblet",head="Runeist bandeau +1",neck="Twilight torque",ear1="Friomisi earring",ear2="Loquacious earring",
body="Futhark coat +1",hands="Futhark mitons +1",ring1="Epona's ring",ring2="Rajas ring",
back="Fravashi mantle",waist="Goading belt",legs="Futhark trousers",feet="Futhark boots +1"}
end
function precast(spell)
if spell.action_type == 'Magic' then
equip(sets.precast.FC)
end
if spell.english == 'Requiescat' then
equip(sets.Requiescat)
send_command('@input /echo Requiescat Set')
elseif spell.english == 'Resolution' then
equip(sets.Resolution)
send_command('@input /echo Resolution Set')
elseif spell.english == 'Ruinator' then
equip(sets.Ruinator)
send_command('@input /echo Ruinator Set')
elseif spell.english == 'Shockwave' then
equip(sets.Shockwave)
send_command('@input /echo Shockwave Set')
elseif spell.english == 'Sanguine Blade' then
equip(sets.JA.Lunge)
send_command('@input /echo Sanguine Blade Set')
elseif spell.english == 'Dimidiation' then
equip(sets.Dimidiation)
send_command('@input /echo Dimidiation Set')
elseif spell.english == 'Herculean Slash' then
equip(sets.JA.Lunge)
send_command('@input /echo Herculean Slash Set')
elseif spell.english == 'Lunge' then
equip(sets.JA.Lunge)
send_command('@input /echo Lunge Set')
elseif spell.english == 'Swipe' then
equip(sets.JA.Lunge)
send_command('@input /echo Lunge Set')
elseif spell.english == 'Swordplay' then
equip({hands="Futhark mitons +1"})
elseif spell.english == 'Battuta' then
equip({head="Futhark Bandeau"})
elseif spell.english == 'Pflug' then
equip({feet="Runeist bottes"})
elseif spell.english == "Vallation" then
equip({body="Runeist Coat",legs="Futhark Trousers"})
elseif spell.english == "Valiance" then
equip({body="Runeist Coat",legs="Futhark Trousers"})
elseif spell.english == "Rayke" then
equip({feet="Futhark boots +1"})
elseif spell.english == "Liement" then
equip({body="Futhark coat +1"})
end
end
function midcast(spell,act)
if spell.action_type == 'Magic' then
if spell.english == 'Phalanx' then
equip({head="Futhark bandeau"})
elseif Enmity_Spells:contains(spell.name) then
equip(sets.enmity)
send_command('@input /echo Enmity Set')
else
equip(sets.precast.FC)
end
end
end
function aftercast(spell)
if player.status == 'Engaged' then
equip(sets.TP[sets.TP.index[TP_ind]])
send_command('@input /echo TP Set')
else
if Gear_Debug == 0 then
equip(sets.Idle.Standard)
send_command('@input /echo Idle Set')
else
end
end
end
function status_change(new,old)
if new == 'Engaged' then
equip(sets.TP[sets.TP.index[TP_ind]])
else
equip(sets.Idle.Standard)
end
end
function self_command(command)
if command == 'equip TP set' then
TP_ind = 1
equip(sets.TP[sets.TP.index[TP_ind]])
send_command('@input /echo TP Set')
elseif command == 'equip Idle set' then
equip(sets.Idle.Standard)
send_command('@input /echo Idle Set')
elseif command == 'equip DW set' then
TP_ind = 2
equip(sets.TP[sets.TP.index[TP_ind]])
send_command('@input /echo DW Set')
elseif command == 'equip DT set' then
TP_ind = 6
equip(sets.TP[sets.TP.index[TP_ind]])
send_command('@input /echo DT Set')
elseif command == 'change debug mode' then
if Gear_Debug == 1 then
Gear_Debug = 0
send_command('@input /echo Debug Mode Set to 0')
else
Gear_Debug = 1
send_command('@input /echo Debug Mode Set to 1')
end
end
end
It's self contained, easy to edit, has feedback to let you know it's working and is straight forward. I made it from Bryth's BLU gearswap after heavy editing and simplification. Anyone should be able to figure out it's logic without needing a class in coding.
So I got everything updated and working on this except for //gs c toggle TP set
Any ideas why?
Just copied this spellcast since mine I'm not all that happy with and I have the same problem that you had a year ago. What was the solution to get it to work, or could anyone who knows the answer let me know. I'm at a loss.
Ragnarok.Terazuma
サーバ: Ragnarok
Game: FFXI
Posts: 50
By Ragnarok.Terazuma 2017-01-17 13:30:21
Code function self_command(command)
if command == 'equip TP set' then
TP_ind = 1
equip(sets.TP[sets.TP.index[TP_ind]])
send_command('@input /echo TP Set')
elseif command == 'equip Idle set' then
equip(sets.Idle.Standard)
send_command('@input /echo Idle Set')
elseif command == 'equip DW set' then
TP_ind = 2
equip(sets.TP[sets.TP.index[TP_ind]])
send_command('@input /echo DW Set')
elseif command == 'equip DT set' then
TP_ind = 6
equip(sets.TP[sets.TP.index[TP_ind]])
send_command('@input /echo DT Set')
elseif command == 'change debug mode' then
if Gear_Debug == 1 then
Gear_Debug = 0
send_command('@input /echo Debug Mode Set to 0')
else
Gear_Debug = 1
send_command('@input /echo Debug Mode Set to 1')
end
end
I'm just looking at the self command section (which //gs c xxx are) and I don't see the "toggle TP set" anywhere. Chances are it has been edited out since whoever it was copied from decide those weren't needed.
You simply just need to copy how the other self commands work and add it back in.
By Bongarippa 2017-01-17 14:34:38
I tried adding in the toggle tp set and still didnt work. I'm not really good at putting rules in gs and all that, so this is what I ended up doing. Obviously not correct so if someone could point me in the right direction, thatd be awesome.
Code function self_command(command)
if command == 'equip TP set' then
TP_ind = 1
equip(sets.TP[sets.TP.index[TP_ind]])
send_command('@input /echo TP Set')
elseif command == 'equip Idle set' then
equip(sets.Idle.Standard)
send_command('@input /echo Idle Set')
elseif command == 'toggle tp set' then
TP_ind = 1
equip(sets.TP[sets.TP.index[TP_ind]])
send_command('@input) /echo TP set')
elseif command == 'equip DW set' then
TP_ind = 2
equip(sets.TP[sets.TP.index[TP_ind]])
send_command('@input /echo DW Set')
elseif command == 'equip DT set' then
TP_ind = 6
equip(sets.TP[sets.TP.index[TP_ind]])
send_command('@input /echo DT Set')
elseif command == 'change debug mode' then
if Gear_Debug == 1 then
Gear_Debug = 0
send_command('@input /echo Debug Mode Set to 0')
else
Gear_Debug = 1
send_command('@input /echo Debug Mode Set to 1')
end
end
end
Lakshmi.Buukki
By Lakshmi.Buukki 2017-01-17 14:51:37
How do I use gear swap
Ragnarok.Terazuma
サーバ: Ragnarok
Game: FFXI
Posts: 50
By Ragnarok.Terazuma 2017-01-17 15:09:32
If you intended 'toggle TP set' to be an acc swap, then you can do:
Code elseif command == 'acc low' then
TP_ind = 4
equip(sets.TP[sets.TP.index[TP_ind]])
elseif command == 'acc high' then
TP_ind = 5
equip(sets.TP[sets.TP.index[TP_ind]])
The reason it is = 4 and 5 are because your accuracylite is 4th in the table and accuracyfull are 5th:
Code sets.TP.index = {'Standard', 'DW', 'Marches', 'AccuracyLite', 'AccuracyFull', 'DT', 'DTAccuracy'}
In this example, you'd do '//gs c acc low' for accuracylite, and '//gs c acc high' for accurayfull.
Shiva.Aunshi
サーバ: Shiva
Game: FFXI
Posts: 3
By Shiva.Aunshi 2017-01-17 15:18:10
You can find some info on it here and here.
Basically, you use a .lua file to create rules that control gearsets. Have a look around ffxiah and the gearswap page, as well as google.
does anyone have a working Rune Fencer .lua that works off of Mote's includes etc.?
Thanks in advance!
|
|