Item Search
     
BG-Wiki Search
Page 199 of 302 FirstFirst ... 149 189 197 198 199 200 201 209 249 ... LastLast
Results 3961 to 3980 of 6036

Thread: Gearswap Help Thread!     submit to reddit submit to twitter

  1. #3961
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    Quote Originally Posted by Gun-it View Post
    Ok thanks found a decent SAM file there.
    in gearswap
    disable("slot_name","slot_name",...)
    enable("slot_name","slot_name",...)

    in windower console
    gs disable <slot_name>
    gs enable <slot_name>

  2. #3962
    Sea Torques
    Join Date
    May 2010
    Posts
    718
    BG Level
    5
    FFXI Server
    Ragnarok

    Quote Originally Posted by dlsmd View Post
    in gearswap
    disable("slot_name","slot_name",...)
    enable("slot_name","slot_name",...)

    in windower console
    gs disable <slot_name>
    gs enable <slot_name>
    I don't understand, sorry?

  3. #3963
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    Quote Originally Posted by Gun-it View Post
    I don't understand, sorry?
    slot_name = the slot you want to lock/unlock i.e. 'main' for main weapon
    disable = lock
    enable = unlock
    but this only stops gearswap from changing gear

    anf just so you know this is all in the info already provided by byrth in the gearswap doc's

  4. #3964
    Puppetmaster
    Join Date
    Jan 2014
    Posts
    59
    BG Level
    2

    I wouldn't recommend locking slots unless you don't want to lose TP and have main/sub and range/ammo items in other sets (or locking a CP mantle).

    It doesn't matter what job you're on. If you're in -DT gear then most likely you'll want to WS (or cast if mage) in Normal or Acc gear. You only swap to WS set and back in less than a second and locking sets will only hinder you.

    Create a engaged.PDT, an engaged.MDT set and a command in self_command() to set the -DT modes in status_change().

  5. #3965
    Sea Torques
    Join Date
    May 2010
    Posts
    718
    BG Level
    5
    FFXI Server
    Ragnarok

    Quote Originally Posted by dlsmd View Post
    slot_name = the slot you want to lock/unlock i.e. 'main' for main weapon
    disable = lock
    enable = unlock
    but this only stops gearswap from changing gear

    anf just so you know this is all in the info already provided by byrth in the gearswap doc's
    Where is the doc by byrth for gearswar?

    Also is their a way to have gearswap change to different TP sets depending on buffs/area/target/weapon? I had spellcast set up this way and would like to set up gearswap the same way.

  6. #3966
    Sea Torques
    Join Date
    May 2010
    Posts
    718
    BG Level
    5
    FFXI Server
    Ragnarok

    Quote Originally Posted by Quixacotl View Post
    I wouldn't recommend locking slots unless you don't want to lose TP and have main/sub and range/ammo items in other sets (or locking a CP mantle).

    It doesn't matter what job you're on. If you're in -DT gear then most likely you'll want to WS (or cast if mage) in Normal or Acc gear. You only swap to WS set and back in less than a second and locking sets will only hinder you.

    Create a engaged.PDT, an engaged.MDT set and a command in self_command() to set the -DT modes in status_change().
    I made the sets, I am not sure what command I put in and where to then make it equip.

  7. #3967
    Puppetmaster
    Join Date
    Jan 2014
    Posts
    59
    BG Level
    2

    Quote Originally Posted by Gun-it View Post
    I made the sets, I am not sure what command I put in and where to then make it equip.
    Spoiler: show
    Code:
    send_command('bind f9 gs c cycle')
    
    function get_sets()
        Idle_Set_Names = {'Normal', 'PDT', 'MDT'}
    
        sets.idle = {}
        sets.idle.Normal = {}
        sets.idle.PDT = {}
        sets.idle.MDT = {}
    
        TP_Set_Names = {'Normal', 'PDT', 'MDT'}
    
        sets.engaged = {}
        sets.engaged.Normal = {}
        sets.engaged.PDT = {}
        sets.engaged.MDT = {}
    
        sets.Resting = {}
    
        Mode_Index = 1
    end
    
    function aftercast(spell,action)
        update_gear()
    end
    
    function status_change(new,action)
        update_gear()
    end
    
    function self_command(command)
        if command:lower() == 'cycle' then
            Mode_Index = Mode_Index +1
            if Mode_Index > #Idle_Set_Names then
                Mode_Index = 1
            end
            add_to_chat(8,'----- DefenseMode changed to ' .. Idle_Set_Names[Mode_Index] .. ' -----')
    
            update_gear()
        end
    end
    
    function update_gear()
        if player.status == 'Engaged' then
            equip(sets.engaged[TP_Set_Names[Mode_Index]])
        elseif player.status == 'Idle' then
            equip(sets.idle[Idle_Set_Names[Mode_Index]])
        else
            equip(sets.Resting)
        end
    end

  8. #3968
    Puppetmaster
    Join Date
    Jan 2014
    Posts
    59
    BG Level
    2

    Quote Originally Posted by Gun-it View Post
    Where is the doc by byrth for gearswar?
    Byrth's examples come bundled with Gearswap. They're in the \addons\GearSwap\beta_examples_and_information folder. I highly recommend using them if you're just getting your feet wet into GS.

  9. #3969
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    Quote Originally Posted by Quixacotl View Post
    Byrth's examples come bundled with Gearswap. They're in the \addons\GearSwap\beta_examples_and_information folder. I highly recommend using them if you're just getting your feet wet into GS.
    and there also updated as needed

  10. #3970
    Sea Torques
    Join Date
    Aug 2008
    Posts
    699
    BG Level
    5
    FFXI Server
    Odin

    Code:
    -- *** Credit goes to Flippant for helping me with Gearswap *** --
    -- ** I Use Motenten's Macro Book Function ** --
    -- Last Updated: 05/05/14 12:00 AM *Fixed Magic Sets* --
    
    include('organizer-lib.lua')
    function get_sets()
    	AccIndex = 1
    	AccArray = {"LowACC","MidACC","HighACC"} -- 3 Levels Of Accuracy Sets For Magic. Default ACC Set Is LowACC. Add More ACC Sets If Needed Then Create Your New ACC Below --
    	IdleIndex = 1
    	IdleArray = {"Movement","Refresh"} -- Default Idle Set Is Movement --
    	Armor = 'None'
    	StunIndex = 0
    	Obi = 'ON' -- Turn Default Obi ON or OFF Here --
    	target_distance = 5 -- Set Default Distance Here --
    	select_default_macro_book('input /macro book 5;wait .1;input /macro set 1') -- Change Default Macro Book At The End --
    
    	Non_Obi_Spells = S{
    			'Burn','Choke','Drown','Frost','Rasp','Shock','Impact','Anemohelix','Cryohelix',
    			'Geohelix','Hydrohelix','Ionohelix','Luminohelix','Noctohelix','Pyrohelix'}
    
    	Cure_Spells = {"Cure","Cure II","Cure III","Cure IV"} -- Cure Degradation --
    	Curaga_Spells = {"Curaga","Curaga II"} -- Curaga Degradation --
    	sc_map = {SC1 = "Composure", SC2 = "Stun", SC3 = "Chainspell"} -- 3 Additional Binds. Can Change Whatever JA/WS/Spells You Like Here. Remember Not To Use Spaces. --
    
    	-- Idle Sets --
    	sets.Idle = {}
    	sets.Idle.Refresh = {
    			 main="Bolelabunga",
                            ammo="Demonry Stone",
    						sub="Genbu's Shield",
                            head="Vitivation Chapeau +1",
                            neck="Wiglen Gorget",
                            ear1="Ethereal Earring",
                            ear2="Loquac. Earring",
                            body="Artsieq Jubbah",
                            hands="Serpentes Cuffs",
                            ring1="Sheltered Ring",
                            ring2="Paguroidea Ring",
                            back="Hexerei cape",
                            waist="Fucho-no-obi",
                            legs="Nares Trews",
                            feet="Serpentes Sabots"}
    	sets.Idle.Movement = set_combine(sets.Idle.Refresh,{
    			 main="Bolelabunga",
                            ammo="Demonry Stone",
    						sub="Genbu's Shield",
                            head="Vitivation Chapeau +1",
                            neck="Wiglen Gorget",
                            ear1="Ethereal Earring",
                            ear2="Loquac. Earring",
                            body="Ischemia Chasuble",
                            hands="Serpentes Cuffs",
                            ring1="Sheltered Ring",
                            ring2="Paguroidea Ring",
                            back="Hexerei cape",
                            waist="Fucho-no-obi",
                            legs="Nares Trews",
                            feet="Serpentes Sabots"})
    	sets.Resting = set_combine(sets.Idle.Movement,{})
    
    	-- PDT Set --
    	sets.PDT = {
    			main="Bolelabunga",
                            ammo="Demonry Stone",
    						sub="Genbu's Shield",
                            head="Vitivation Chapeau +1",
                            neck="Twilight Torque",
                            ear1="Ethereal Earring",
                            ear2="Sanare Earring",
                            body="Ischemia Chasuble",
                            hands="Umuthi Gloves",
                            ring1="Defending Ring",
                            ring2="Shadow Ring",
                            back="Mollusca mantle",
                            waist="Flume Belt",
                            legs="Miasmic Pants",
                            feet="Umbani Boots"}
    
    	sets.Sublimation = {}
    
    	sets.Precast = {}
    
    	-- Fastcast Set --
    	sets.Precast.FastCast = {
    			ammo="Impatiens",
                            head="Nahtirah Hat",
                            neck="Orunmila's Torque",
                            ear2="Loquac. Earring",
                            body="Vitivation Tabard",
                            ring1="Prolix Ring",
                            ring2="Veneficium Ring",
                            back="Swith Cape",
                            waist="Witful Belt";
    						hands="Helios gloves",
                            legs="Artsieq hose",
    						feet="Uk'uxkaj Boots",}
    
    	-- Elemental Staves --
    	sets.Precast.Thunder = {main='Apamajas I'}
            sets.Precast.Water = {}
            sets.Precast.Fire = {}
            sets.Precast.Ice = {main='Vourukasha I'}
            sets.Precast.Wind = {}
            sets.Precast.Earth = {}
            sets.Precast.Light = {}
            sets.Precast.Dark = {}
    
    	-- Precast Enhancing Magic --
    	sets.Precast['Enhancing Magic'] = set_combine(sets.Precast.FastCast,{waist="Siegel Sash"})
    	
    	sets.Precast['Enfeebling Magic'] = set_combine(sets.Precast.FastCast,{head="Lethargy Chappel"})
    
    	-- Precast Cure Set --
    	sets.Precast.Cure = {main="Tamaxchi",
                            sub="Genbu's Shield",
                            head="Nahtirah Hat",
    						ammo="Kalboron Stone",
                            neck="Orunmila's Torque",
                            ear2="Loquac. Earring",
                            body="Heka's Kalasiris",
                            hands="Helios gloves",
                            ring1="Prolix Ring",
                            ring2="Veneficium Ring",
                            back="Pahtli Cape",
                            waist="Witful Belt";
                            legs="Artsieq hose",
    						feet="Uk'uxkaj Boots",}
    
    	-- Midcast Base Set --
    	sets.Midcast = {}
    
    	-- Haste Set --
    	sets.Midcast.Haste = {
                            ammo="Impatiens",
                            head="Nahtirah Hat",
                            neck="Orunmila's Torque",
                            ear2="Loquac. Earring",
                            body="Vitivation Tabard",
                            hands="Bokwus Gloves",
                            ring1="Prolix Ring",
                            ring2="Veneficium Ring",
                            back="Swith Cape",
                            waist="Witful Belt",
                            legs="Artsieq Hose",
                            feet="Uk'uxkaj Boots",}
    
    	-- Cure Set --
    	sets.Midcast.Cure = {
    						main="Tamaxchi",
                            sub="Genbu's Shield",
                            ammo="Kalboron Stone",
                            head="Gendewitha Caubeen",
                            neck="Phalaina locket",
                            ear1="Lifestorm Earring",
                            ear2="Loquacious Earring",
                            body="Heka's Kalasiris",
                            hands="Bokwus Gloves",
                            ring1="Sirona's Ring",
                            ring2="Kuchekula Ring",
                            back="Ghostfyre cape",
                            waist="Witful belt",
                            legs="Nares Trews",
                            feet="Umbani boots"}
    
    	-- Curaga Set --
    	sets.Midcast.Curaga = {
    						main="Tamaxchi",
                            sub="Genbu's Shield",
                            ammo="Kalboron Stone",
                            head="Gendewitha Caubeen",
                            neck="Phalaina locket",
                            ear1="Lifestorm Earring",
                            ear2="Loquacious Earring",
                            body="Heka's Kalasiris",
                            hands="Bokwus gloves",
                            ring1="Sirona's Ring",
                            ring2="Kuchekula Ring",
                            back="Ghostfyre Cape",
                            waist="witful belt",
                            legs="Nares Trews",
                            feet="Umbani Boots"}
    
    	-- Enhancing Magic --
    	sets.Midcast['Enhancing Magic'] = {main="Arendsi fleuret",
    						sub="Genbu's Shield",
                            neck="Imbodla Necklace",
    						head="Umuthi Hat",
                            body="Vitivation Tabard",
                            hands="Vivivation Gloves",
    						ammo="Kalboron Stone",
                            ring1="Prolix Ring",
                            ring2="Veneficium Ring",
    						back="Estoqueur's Cape",
    						ear1="Andoaa Earring",
                            waist="Siegel Sash",
                            legs="Artsieq Hose",
                            feet="Estoqueur's Houseaux +2"}
    						
    	
        
    
    	-- Stoneskin --
    	sets.Midcast.Stoneskin = set_combine(sets.Midcast['Enhancing Magic'],{waist="Siegel Sash",
    		head="Umuthi Hat"})
    
    	-- Refresh --
    	sets.Midcast.Refresh = set_combine(sets.Midcast.Haste,{legs="Estqr. Fuseau +2"})
    
    	-- Cursna --
    	sets.Midcast.Cursna = set_combine(sets.Midcast.Haste,{
    						head="Nahtirah Hat",
                            neck="Colossus's Torque",
                            ear2="Loquacious Earring",
    						ear1="Gifted earring",
                            body="Ischemia Chasuble",
                            hands="Lurid Mitts",
                            ring1="Sirona's Ring",
                            ring2="Ephedra Ring",
                            back="Swith Cape",
                            waist="Witful Belt",
                            legs="Artsieq Hose",
                            feet="Uk'uxkaj Boots",})
    
    	-- Stun Sets --
    	sets.Midcast.Stun = {main="Twebuliij",
                            sub="Mephitis Grip",
                            head="Nahtirah Hat",
                            neck="Orunmila's Torque",
    						ammo="Kalboron Stone",
                            ear1="Lifestorm Earring",
                            ear2="Psystorm Earring",
                            body="Ischemia Chasuble",
                            hands="Lurid Mitts",
                            ring1="Archon Ring",
                            ring2="Sangoma Ring",
                            back="Refraction Cape",
                            waist="Witful Belt",
                            legs="Hagondes pants +1",
                            feet="Vitivation boots +1"}
    	sets.Midcast.Stun.MidACC = set_combine(sets.Midcast.Stun,{})
    	sets.Midcast.Stun.HighACC = set_combine(sets.Midcast.Stun.MidACC,{})
    
    	-- Dark Magic Sets --
    	sets.Midcast['Dark Magic'] = {
    			 main="Twebuliij",
                            sub="Mephitis Grip",
                            head="Nahtirah Hat",
    						ammo="Kalboron Stone",
                            neck="Orunmila's Torque",
                            ear1="Lifestorm Earring",
                            ear2="Psystorm Earring",
                            body="Ischemia Chasuble",
                            hands="Lurid Mitts",
                            ring1="Archon Ring",
                            ring2="Sangoma Ring",
                            back="Refraction Cape",
                            waist="Witful Belt",
                           legs="Hagondes pants +1",
                            feet="Vitivation boots +1"}
    	sets.Midcast['Dark Magic'].MidACC = set_combine(sets.Midcast['Dark Magic'],{})
    	sets.Midcast['Dark Magic'].HighACC = set_combine(sets.Midcast['Dark Magic'].MidACC,{})
    
    	-- Elemental Sets --
    	sets.Midcast['Elemental Magic'] = {main="Ngqoqwanb",
                            sub="Mephitis Grip",
                            neck="Eddy Necklace",
    						head="Buremte Hat",
    						ammo="Witchstone",
                            ear1="Hecate's Earring",
                            ear2="Crematio Earring",
                            body="Hagondes Coat +1",
                            hands="Helios gloves",
                            ring1="Strendu Ring",
                            ring2="Acumen Ring",
                            back="Toro Cape",
                            waist="Sekhmet Corset",
                            legs="Hagondes Pants +1",
                            feet="Helios boots"}
    	sets.Midcast['Elemental Magic'].MidACC = set_combine(sets.Midcast['Elemental Magic'],{hands="Otomi Gloves",feet="Vitivation boots +1",})
    	sets.Midcast['Elemental Magic'].HighACC = set_combine(sets.Midcast['Elemental Magic'].MidACC,{
    						main="Twebuliij",
    						ear1="Lifestorm Earring",
                            ear2="Psystorm Earring",
    						body="Atrophy tabard +1",})
    
    	-- Enfeebling Sets --
    	sets.Midcast['Enfeebling Magic'] = {main="Twebuliij",
                            sub="Mephitis Grip",
                            neck="Imbodla necklace",
    						head="Vitivation Chapeau +1",
    						ammo="Kalboron Stone",
                            ear1="Lifestorm Earring",
                            ear2="Psystorm Earring",
                            body="Lethargy Sayon",
                            hands="Lurid Mitts",
                            ring1="Globidonta Ring",
                            ring2="Sangoma Ring",
                            back="Refraction Cape",
                            waist="Demonry Sash",
                            legs="Hagondes pants +1",
    						feet="Uk'uxkaj Boots"}
    	sets.Midcast['Enfeebling Magic'].MidACC = set_combine(sets.Midcast['Enfeebling Magic'],{
                            feet="Vitivation boots +1"})
    	sets.Midcast['Enfeebling Magic'].HighACC = set_combine(sets.Midcast['Enfeebling Magic'].MidACC,{
    						body="Ischemia Chasuble",
    						Back="Ghostfyre Cape"})
    
    	-- Impact --
    	sets.Midcast.Impact = {
    			main="Twebuliij",
                            sub="Mephitis Grip",
                            neck="Eddy Necklace",
                            ear1="Lifestorm Earring",
    						ammo="Kalboron Stone",
                            ear2="Psystorm Earring",
                            body="Twilight Cloak",
                            hands="Lurid Mitts",
                            ring1="Archon Ring",
                            ring2="Sangoma Ring",
                            back="Refraction Cape",
                            waist="Wanion belt",
                            legs="Hagondes pants +1",
                            feet="Vitivation boots +1"}
    
    	-- Elemental Obi/Twilight Cape --
    	sets.Obi = {}
    	sets.Obi.Thunder = {back="Twilight Cape",}
    	sets.Obi.Water = {back="Twilight Cape",}
    	sets.Obi.Fire = {back="Twilight Cape",}
    	sets.Obi.Ice = {back="Twilight Cape",waist='Hyorin Obi'}
    	sets.Obi.Wind = {back="Twilight Cape",}
    	sets.Obi.Earth = {back="Twilight Cape",}
    	sets.Obi.Light = {back="Twilight Cape",}
    	sets.Obi.Dark = {back="Twilight Cape",}
    
    	-- JA Sets --
    	sets.JA = {}
    	sets.JA.Chainspell = {body="Vitivation Tabard"}
    	sets.JA.Saboteur = {hands="Estq. Ganthrt. +2"}
    
    	-- Melee Set --
    	sets.Melee = set_combine(sets.Midcast.Haste,{main="Buramenk'ah",
    						sub="Genbu's Shield",
                            ammo="Ginsen",
                            head="Taeon chapeau",
                            neck="Asperity Necklace",
                            ear1="Heartseeker Earring",
                            ear2="Dudgeon Earring",
                            body="Ischemia Chasuble",
                            hands="Taeon Gloves",
                            ring1="Ramuh Ring +1",
                            ring2="Ramuh Ring +1",
                            back="Letalis Mantle",
                            waist="Shetal Stone",
                            legs="Taeon Tights",
                            feet="Taeon Boots"})
    
    	-- WS Base Set --
    	sets.WS = {main="Buramenk'ah",
    						sub="Genbu's Shield",
                            ammo="Ginsen",
                            head="Lithelimb cap",
                            neck="Asperity Necklace",
                            ear1="Steelflash Earring",
                            ear2="Bladeborn Earring",
                            body="Ischemia Chasuble",
                            hands="Umuthi Gloves",
                            ring1="Rajas Ring",
                            ring2="Ramuh Ring +1",
                            back="Letalis Mantle",
                            waist="Dynamic belt +1",
                            legs="Osmium cuisses",
                            feet="Battlecast Gaiters"}
    	sets.WS["Chant du Cygne"] = {
                            ammo="Yetshila",
                            head="Lithelimb cap",
                            neck="Fotia Gorget",
                            ear1="Brutal Earring",
                            ear2="Moonshade Earring",
                            body="Ischemia Chasuble",
                            hands="Umuthi Gloves",
                            ring1="Ramuh Ring +1",
                            ring2="Ramuh Ring +1",
                            back="Letalis Mantle",
                            waist="Fotia belt",
                            legs="Osmium cuisses",
                            feet="Battlecast Gaiters"}
    	sets.WS.Requiescat = {main="Buramenk'ah",
    						sub="Genbu's Shield",
                            ammo="Ginsen",
                            head="Lithelimb cap",
                            neck="Shadow Gorget",
                            ear1="Steelflash Earring",
                            ear2="Bladeborn Earring",
                            body="Ischemia Chasuble",
                            hands="Umuthi Gloves",
                            ring1="Rajas Ring",
                            ring2="Globidonta Ring",
                            back="Letalis Mantle",
                            waist="Shadow Gorget",
                            legs="Osmium cuisses",
                           feet="Battlecast Gaiters"}
    	sets.WS["Knights of Round"] = {}
    	sets.WS.Exenterator = {}
    	sets.WS.Evisceration = {ammo="Yetshila",
                            head="Lithelimb cap",
                            neck="Fotia Gorget",
                            ear1="Brutal Earring",
                            ear2="Moonshade Earring",
                            body="Ischemia Chasuble",
                            hands="Umuthi Gloves",
                            ring1="Ramuh Ring +1",
                            ring2="Ramuh Ring +1",
                            back="Letalis Mantle",
                            waist="Fotia belt",
                            legs="Osmium cuisses",
                            feet="Battlecast Gaiters"}
    						
    						sets.WS["Aeolian Edge"] = {neck="Eddy Necklace",
    						head="Buremte Hat",
    						ammo="Witchstone",
                            ear1="Hecate's Earring",
                            ear2="Crematio Earring",
                            body="Hagondes Coat +1",
                            hands="Otomi Gloves",
                            ring1="Strendu Ring",
                            ring2="Acumen Ring",
                            back="Toro Cape",
                            waist="Sekhmet Corset",
                            legs="Hagondes Pants +1",
                            feet="Umbani Boots"}
    						
    						
    	
    end
    
    function pretarget(spell,action)
    	if (spell.type:endswith('Magic') or spell.type == "Ninjutsu") and buffactive.silence then -- Auto Use Echo Drops If You Are Silenced --
    		cancel_spell()
    		send_command('input /item "Echo Drops" <me>')
    	elseif spell.english:ifind("Cure") and player.mp<actualCost(spell.mp_cost) then
    		degrade_spell(spell,Cure_Spells)
    	elseif spell.english:ifind("Curaga") and player.mp<actualCost(spell.mp_cost) then
    		degrade_spell(spell,Curaga_Spells)
    	elseif buffactive['Light Arts'] or buffactive['Addendum: White'] then
    		if spell.english == "Light Arts" and not buffactive['Addendum: White'] then
    			cancel_spell()
    			send_command('input /ja Addendum: White <me>')
    		elseif spell.english == "Manifestation" then
    			cancel_spell()
    			send_command('input /ja Accession <me>')
    		elseif spell.english == "Alacrity" then
    			cancel_spell()
    			send_command('input /ja Celerity <me>')
    		elseif spell.english == "Parsimony" then
    			cancel_spell()
    			send_command('input /ja Penury <me>')
    		end
    	elseif buffactive['Dark Arts'] or buffactive['Addendum: Black'] then
    		if spell.english == "Dark Arts" and not buffactive['Addendum: Black'] then
    			cancel_spell()
    			send_command('input /ja Addendum: Black <me>')
    		elseif spell.english == "Accession" then
    			cancel_spell()
    			send_command('input /ja Manifestation <me>')
    		elseif spell.english == "Celerity" then
    			cancel_spell()
    			send_command('input /ja Alacrity <me>')
    		elseif spell.english == "Penury" then
    			cancel_spell()
    			send_command('input /ja Parsimony <me>')
    		end
    	end
    end
    
    function precast(spell,action)
    	if spell.type:endswith('Magic') or spell.type == "Ninjutsu" then
    		if buffactive.silence or spell.target.distance > 16+target_distance then -- Cancel Magic or Ninjutsu If You Are Silenced or Out of Range --
    			cancel_spell()
    			add_to_chat(123, spell.name..' Canceled: [Silenced or Out of Casting Range]')
    			return
    		else
    			if string.find(spell.english,'Cur') and spell.english ~= "Cursna" then
    				equip(sets.Precast.Cure)
    			elseif spell.english == "Stun" then
    				if buffactive.Composure then -- Cancel Composure When You Cast Stun --
    					cast_delay(0.2)
    					send_command('cancel Composure')
    				end
    				equip(sets.Precast.FastCast)
    			elseif spell.english == "Impact" then
    				equip(set_combine(sets.Precast.FastCast,{body="Twilight Cloak"}))
    			elseif string.find(spell.english,'Utsusemi') then
    				if buffactive['Copy Image (3)'] or buffactive['Copy Image (4)'] then
    					cancel_spell()
    					add_to_chat(123, spell.english .. ' Canceled: [3+ Images]')
    					return
    				else
    					equip(sets.Precast.FastCast)
    				end
    			elseif sets.Precast[spell.skill] then
    				equip(sets.Precast[spell.skill])
    			else
    				equip(sets.Precast.FastCast)
    			end
    		end
    	elseif spell.type == "WeaponSkill" then
    		if player.status ~= 'Engaged' then -- Cancel WS If You Are Not Engaged. Can Delete It If You Don't Need It --
    			cancel_spell()
    			add_to_chat(123,'Unable To Use WeaponSkill: [Disengaged]')
    			return
    		else
    			if sets.WS[spell.english] then
    				equip(sets.WS[spell.english])
    			end
    		end
    	elseif spell.type == "JobAbility" then
    		if sets.JA[spell.english] then
    			equip(sets.JA[spell.english])
    		end
    	elseif spell.english == 'Spectral Jig' and buffactive.Sneak then
    		cast_delay(0.2)
    		send_command('cancel Sneak')
    	end
    	if sets.Precast[spell.element] then
    		equip(sets.Precast[spell.element])
    	end
    	if StunIndex == 1 then
    		equip(sets.Midcast.Stun)
    	end
    end
    
    function midcast(spell,action)
    	equipSet = {}
    	if spell.type:endswith('Magic') or spell.type == 'Ninjutsu' then
    		equipSet = sets.Midcast
    		if string.find(spell.english,'Cure') then
    			equipSet = equipSet.Cure
    		elseif string.find(spell.english,'Cura') then
    			equipSet = equipSet.Curaga
    		elseif string.find(spell.english,'Refresh') then
    			equipSet = equipSet.Refresh
    		elseif spell.english == "Stoneskin" then
    			if buffactive.Stoneskin then
    				send_command('@wait 2.8;cancel stoneskin')
    			end
    			equipSet = equipSet.Stoneskin
    		elseif spell.english == "Sneak" then
    			if spell.target.name == player.name and buffactive['Sneak'] then
    				send_command('cancel sneak')
    			end
    			equipSet = equipSet.Haste
    		elseif spell.english == "Phalanx II" then -- Aug'd Dls. Gloves +2 For Phalanx II --
    			equipSet = set_combine(equipSet,{hands="Vitivation Gloves"})
    		elseif spell.english == "Dia III" or spell.english == "Slow II" then -- Aug'd Dls. Chapeau +2 For Dia III or Slow II --
    			equipSet = set_combine(equipSet,{head="Vitivation Chapeau +1"})
    		elseif spell.english == "Paralyze II" then -- Aug'd Dls. Boots +2 For Paralyze II --
    			equipSet = set_combine(equipSet,{feet="Vitivation boots +1"})
    		elseif spell.english == "Blind II" or spell.english == "Bio III" then -- Aug'd Dls. Tights +2 For Blind II or Bio III --
    			equipSet = set_combine(equipSet,{legs="Dls. Tights +2"})
    		elseif string.find(spell.english,'Banish') then
    			equipSet = set_combine(equipSet.Haste,{})
    		elseif string.find(spell.english,'Utsusemi') then
    			if spell.english == 'Utsusemi: Ichi' and (buffactive['Copy Image'] or buffactive['Copy Image (2)']) then
    				send_command('@wait 1.7; cancel Copy Image*')
    			end
    			equipSet = equipSet.Haste
    		elseif spell.english == 'Monomi: Ichi' then
    			if buffactive['Sneak'] then
    				send_command('@wait 1.7;cancel sneak')
    			end
    			equipSet = equipSet.Haste
    		else
    			if equipSet[spell.english] then
    				equipSet = equipSet[spell.english]
    			end
    			if equipSet[spell.skill] then
    				equipSet = equipSet[spell.skill]
    			end
    			if equipSet[AccArray[AccIndex]] then
    				equipSet = equipSet[AccArray[AccIndex]]
    			end
    			if equipSet[spell.type] then
    				equipSet = equipSet[spell.type]
    			end
    			if (spell.skill == 'Elemental Magic' or string.find(spell.english,'Cur') or string.find(spell.english,'Bio') or string.find(spell.english,'Dia')) and not Non_Obi_Spells:contains(spell.english) and (world.day_element == spell.element or world.weather_element == spell.element) and sets.Obi[spell.element] and Obi == 'ON' then -- Use Obi Toggle To Equip Normal Waist Gear --
    				equipSet = set_combine(equipSet,sets.Obi[spell.element])
    			end
    		end
    	elseif equipSet[spell.english] then
    		equipSet = equipSet[spell.english]
    	end
    	equip(equipSet)
    	if StunIndex == 1 then
    		equip(sets.Midcast.Stun)
    	end
    end
    
    
    
    function aftercast(spell,action)
    	if not spell.interrupted then
    		if spell.english == "Sleep II" then -- Sleep II Countdown --
    			send_command('wait 60;input /echo Sleep Effect: [WEARING OFF IN 30 SEC.];wait 15;input /echo Sleep Effect: [WEARING OFF IN 15 SEC.];wait 10;input /echo Sleep Effect: [WEARING OFF IN 5 SEC.]')
    		elseif spell.english == "Sleep" or spell.english == "Sleepga" then -- Sleep & Sleepga Countdown --
    			send_command('wait 30;input /echo Sleep Effect: [WEARING OFF IN 30 SEC.];wait 15;input /echo Sleep Effect: [WEARING OFF IN 15 SEC.];wait 10;input /echo Sleep Effect: [WEARING OFF IN 5 SEC.]')
    		elseif spell.english == "Banish II" then -- Banish II Countdown --
    			send_command('wait 20;input /echo Banish Effect: [WEARING OFF IN 10 SEC.]')
    		end
    	end
    	status_change(player.status)
    end
    
    function status_change(new,old)
    	if Armor == 'PDT' then
    		equip(sets.PDT)
    	elseif buffactive["Sublimation: Activated"] then
    		equip(sets.Sublimation)
    	elseif new == 'Engaged' then
    		equip(sets.Melee)
    	elseif new == 'Idle' then
    		equip(sets.Idle[IdleArray[IdleIndex]])
    	elseif new == 'Resting' then
    		equip(sets.Resting)
    	end
    	if StunIndex == 1 then
    		equip(sets.Midcast.Stun)
    	end
    end
    
    function buff_change(buff,gain)
    	buff = string.lower(buff)
    	if buff == "aftermath: lv.3" then -- AM3 Timer/Countdown --
    		if gain then
    			send_command('timers create "Aftermath: Lv.3" 180 down;wait 120;input /echo Aftermath: Lv.3 [WEARING OFF IN 60 SEC.];wait 30;input /echo Aftermath: Lv.3 [WEARING OFF IN 30 SEC.];wait 20;input /echo Aftermath: Lv.3 [WEARING OFF IN 10 SEC.]')
    		else
    			send_command('timers delete "Aftermath: Lv.3"')
    			add_to_chat(123,'AM3: [OFF]')
    		end
    	elseif buff == 'weakness' then -- Weakness Timer --
    		if gain then
    			send_command('timers create "Weakness" 300 up')
    		else
    			send_command('timers delete "Weakness"')
    		end
    	end
    	if not midaction() then
    		status_change(player.status)
    	end
    end
    
    -- In Game: //gs c (command), Macro: /console gs c (command), Bind: gs c (command) --
    function self_command(command)
    	if command == 'C1' then -- Magic Accuracy Toggle --
    		AccIndex = (AccIndex % #AccArray) + 1
    		add_to_chat(158,'Magic Accuracy Level: ' .. AccArray[AccIndex])
    		status_change(player.status)
    	elseif command == 'C5' then -- Auto Update Gear Toggle --
    		status_change(player.status)
    		add_to_chat(158,'Auto Update Gear')
    	elseif command == 'C2' then -- Stun Toggle --
    		if StunIndex == 1 then
    			StunIndex = 0
    			add_to_chat(123,'Stun Set: [Unlocked]')
    		else
    			StunIndex = 1
    			add_to_chat(158,'Stun Set: [Locked]')
    		end
    		status_change(player.status)
    	elseif command == 'C3' then -- Obi Toggle --
    		if Obi == 'ON' then
    			Obi = 'OFF'
    			add_to_chat(123,'Obi: [OFF]')
    		else
    			Obi = 'ON'
    			add_to_chat(158,'Obi: [ON]')
    		end
    		status_change(player.status)
    	elseif command == 'C7' then -- PDT Toggle --
    		if Armor == 'PDT' then
    			Armor = 'None'
    			add_to_chat(123,'PDT Set: [Unlocked]')
    		else
    			Armor = 'PDT'
    			add_to_chat(158,'PDT Set: [Locked]')
    		end
    		status_change(player.status)
    	elseif command == 'C8' then -- Distance Toggle --
    		if player.target.distance then
    			target_distance = math.floor(player.target.distance*10)/10
    			add_to_chat(158,'Distance: '..target_distance)
    		else
    			add_to_chat(123,'No Target Selected')
    		end
    	elseif command == 'C6' then -- Idle Toggle --
    		IdleIndex = (IdleIndex % #IdleArray) + 1
    		add_to_chat(158,'Idle Set: '..IdleArray[IdleIndex])
    		status_change(player.status)
    	elseif command:match('^SC%d$') then
    		send_command('//' .. sc_map[command])
    	end
    end
    
    function actualCost(originalCost)
    	if buffactive["Penury"] then
    		return originalCost*.5
    	elseif buffactive["Light Arts"] then
    		return originalCost*.9
    	else
    		return originalCost
    	end
    end
    
    function degrade_spell(spell,degrade_array)
    	spell_index = table.find(degrade_array,spell.name)
    	if spell_index > 1 then
    		new_spell = degrade_array[spell_index - 1]
    		change_spell(new_spell,spell.target.raw)
    		add_to_chat(8,spell.name..' Canceled: [Current MP = ' .. player.mp .. ' | ' .. player.mpp .. '%] Using '..new_spell..' instead.')
    	end
    end
    
    function change_spell(spell_name,target)
    	cancel_spell()
    	send_command('//'..spell_name..' '..target)
    end
    
    function sub_job_change(newSubjob, oldSubjob)
    	select_default_macro_book()
    end
    
    function set_macro_page(set,book)
    	if not tonumber(set) then
    		add_to_chat(123,'Error setting macro page: Set is not a valid number ('..tostring(set)..').')
    		return
    	end
    	if set < 1 or set > 10 then
    		add_to_chat(123,'Error setting macro page: Macro set ('..tostring(set)..') must be between 1 and 10.')
    		return
    	end
    
    	if book then
    		if not tonumber(book) then
    			add_to_chat(123,'Error setting macro page: book is not a valid number ('..tostring(book)..').')
    			return
    		end
    		if book < 1 or book > 20 then
    			add_to_chat(123,'Error setting macro page: Macro book ('..tostring(book)..') must be between 1 and 20.')
    			return
    		end
    		send_command('@input /macro book '..tostring(book)..';wait .1;input /macro set '..tostring(set))
    	else
    		send_command('@input /macro set '..tostring(set))
    	end
    end
    
    function select_default_macro_book()
    	-- Default macro set/book
    	if player.sub_job == 'WHM' then
    		set_macro_page(1, 5)
    	elseif player.sub_job == 'BLM' then
    		set_macro_page(1, 5)
    	elseif player.sub_job == 'SCH' then
    		set_macro_page(1, 5)
    	elseif player.sub_job == 'DNC' then
    		set_macro_page(1, 5)
    	elseif player.sub_job == 'WAR' then
    		set_macro_page(5, 1)
    	elseif player.sub_job == 'NIN' then
    		set_macro_page(1, 5)
    	else
    		set_macro_page(1, 5)
    	end
    end
    I have a decent idea about gearswap but adding code to a existing gs sometimes loses me. How would i got about adding a code to this to make it use 5/5 reforge empy gear for composure buffs to others? I tried copy/pasting motes over and changing stuff around, but i couldnt get it to work. I like motes also but couldnt figure out how to make higher teirs of macc/mab sets for resistant stuff. ANy help would be appreciated.

  11. #3971
    Sea Torques
    Join Date
    May 2010
    Posts
    718
    BG Level
    5
    FFXI Server
    Ragnarok

    Quote Originally Posted by Quixacotl View Post
    Spoiler: show
    Code:
    send_command('bind f9 gs c cycle')
    
    function get_sets()
        Idle_Set_Names = {'Normal', 'PDT', 'MDT'}
    
        sets.idle = {}
        sets.idle.Normal = {}
        sets.idle.PDT = {}
        sets.idle.MDT = {}
    
        TP_Set_Names = {'Normal', 'PDT', 'MDT'}
    
        sets.engaged = {}
        sets.engaged.Normal = {}
        sets.engaged.PDT = {}
        sets.engaged.MDT = {}
    
        sets.Resting = {}
    
        Mode_Index = 1
    end
    
    function aftercast(spell,action)
        update_gear()
    end
    
    function status_change(new,action)
        update_gear()
    end
    
    function self_command(command)
        if command:lower() == 'cycle' then
            Mode_Index = Mode_Index +1
            if Mode_Index > #Idle_Set_Names then
                Mode_Index = 1
            end
            add_to_chat(8,'----- DefenseMode changed to ' .. Idle_Set_Names[Mode_Index] .. ' -----')
    
            update_gear()
        end
    end
    
    function update_gear()
        if player.status == 'Engaged' then
            equip(sets.engaged[TP_Set_Names[Mode_Index]])
        elseif player.status == 'Idle' then
            equip(sets.idle[Idle_Set_Names[Mode_Index]])
        else
            equip(sets.Resting)
        end
    end
    I put that into my file but not sure what I need to put into a marco to make it change sets. I thought it was //gs c cycle but that's not working. It also breaks my current gearswap.


    Spoiler: show

    function get_sets()
    TP_Index = 1
    Idle_Index = 1

    sets.weapons = {}
    sets.weapons[1] = {main="Izhiikoh"}
    sets.weapons[2]={main="Twashtar"}
    sets.weapons[3]={main="Thief's Knife"}
    sets.weapons[4]={main="Mandau"}
    sets.weapons[5]={main="Atoyac"}

    sets.JA = {}
    -- sets.JA.Conspirator = {body="Raider's Vest +2"}
    -- sets.JA.Accomplice = {head="Raider's Bonnet +2"}
    -- sets.JA.Collaborator = {head="Raider's Bonnet +2"}
    sets.JA['Perfect Dodge'] = {hands="Plun. Armlets"}
    sets.JA.Steal = {neck="Rabbit Charm",hands="Thief's Kote",
    waist="Key Ring Belt",feet="Pillager's Poulaines +1"}
    sets.JA.Flee = {feet="Pillager's Poulaines +1"}
    -- sets.JA.Despoil = {legs="Raider's Culottes +2",feet="Raider's Poulaines +2"}
    -- sets.JA.Mug = {head="Assassin's Bonnet +2"}
    sets.JA.Waltz = {head="Anwig Salade",neck="Dualism Collar +1",body="Iuitl Vest",hands="Slither Gloves +1",ring1="Valseur's Ring",ring2="Asklepain ring",
    waist="Aristo Belt",legs="Desultor Tassets",feet="Dance Shoes"}

    sets.WS = {}
    sets.WS.SA = {}
    sets.WS.TA = {}
    sets.WS.SATA = {}

    sets.WS.Evisceration = {head="Whirlpool mask",neck="Shadow gorget",ear1="Jupiter's pearl",ear2="Brutal Earring",
    body="Manibozho jerkin",hands="Raider's armlets +2",ring1="Rajas Ring",ring2="Epona's ring",
    back="Atheling mantle",waist="Anguinus belt",legs="Manibozho brais",feet="Manibozho boots"}

    sets.WS.SA.Evisceration = set_combine(sets.WS.Evisceration,{head="Whirlpool mask",neck="Shadow gorget",ear1="Jupiter's pearl",ear2="Brutal Earring",
    body="Manibozho jerkin",ring1="Rajas Ring",ring2="Epona's ring",
    back="Atheling mantle",waist="Anguinus belt",legs="Manibozho brais",feet="Manibozho boots",hands="Raider's Armlets +2"})

    sets.WS["Rudra's Storm"] = {head="Whirlpool mask",neck="Shadow gorget",ear1="Jupiter's pearl",ear2="Brutal Earring",
    body="Manibozho jerkin",hands="Raider's armlets +2",ring1="Rajas Ring",ring2="Epona's ring",
    back="Atheling mantle",waist="Anguinus belt",legs="Manibozho brais",feet="Manibozho boots"}

    sets.WS.SA["Rudra's Storm"] = set_combine(sets.WS["Rudra's Storm"],{hands="Raider's Armlets +2",legs="Pillager's Culottes +1", feet="Plunderer's Poulaines +1"})



    sets.WS["Mandalic Stab"] = {head="Whirlpool mask",neck="Shadow gorget",ear1="Jupiter's pearl",ear2="Brutal Earring",
    body="Manibozho jerkin",hands="Raider's armlets +2",ring1="Rajas Ring",ring2="Epona's ring",
    back="Atheling mantle",waist="Anguinus belt",legs="Manibozho brais",feet="Manibozho boots"}

    sets.WS.SA["Mandalic Stab"] = set_combine(sets.WS["Mandalic Stab"],{hands="Raider's Armlets +2",legs="Pillager's Culottes +1", feet="Plunderer's Poulaines +1"})



    sets.WS.Exenterator ={head="Whirlpool mask",neck="Shadow gorget",ear1="Jupiter's pearl",ear2="Brutal Earring",
    body="Manibozho jerkin",hands="Raider's armlets +2",ring1="Rajas Ring",ring2="Epona's ring",
    back="Atheling mantle",waist="Anguinus belt",legs="Manibozho brais",feet="Manibozho boots"}

    sets.WS.TA.Exenterator = {head="Whirlpool mask",neck="Shadow gorget",ear1="Jupiter's pearl",ear2="Brutal Earring",
    body="Manibozho jerkin",hands="Raider's armlets +2",ring1="Rajas Ring",ring2="Epona's ring",
    back="Atheling mantle",waist="Anguinus belt",legs="Manibozho brais",feet="Manibozho boots"}

    sets.WS.SATA.Exenterator = sets.WS.TA.Exenterator

    sets.WS['Mercy Stroke'] = {head="Whirlpool Mask",neck="Lacono Necklace +1",ear1="Steelflash Earring",ear2="Bladeborn Earring",
    body="Pillager's vest +1",hands="Umuthi Gloves",ring1="Rajas Ring",ring2="Ifrit Ring +1",
    back="Buquwik Cape",waist="Metalsinger Belt",legs="Quiahuiz Trousers",feet="Qaaxo Leggings"}

    sets.WS.SA['Mercy Stroke'] = set_combine(sets.WS["Mercy Stroke"],{hands="Raider's Armlets +2",legs="Pillager's Culottes +1"})

    sets.WS.TA['Mercy Stroke'] = set_combine(sets.WS["Mercy Stroke"],{hands="Pillager's Armlets +1",legs="Pillager's Culottes +1"})

    TP_Set_Names = {"Low Man","TH", "Evasion"}
    sets.TP = {}
    sets.TP['Low Man'] = {range="Raider's Bmrng.",
    head="Iuitl headgear",neck="Asperity necklace",ear1="Suppanomimi",ear2="Brutal Earring",
    body="Thaumas coat",hands="Plun. Armlets",ring1="Rajas Ring",ring2="Epona's Ring",
    back="Atheling mantle",waist="Windbuffet belt",legs="Manibozho brais",feet="Plunderer's Poulaines"}

    sets.TP['TH'] = {range="Raider's Bmrng.",
    head="Iuitl headgear",neck="Asperity Necklace",ear1="Suppanomimi",ear2="Brutal Earring",
    body="Thaumas coat",hands="Plun. Armlets",ring1="Rajas Ring",ring2="Epona's Ring",
    back="Atheling mantle",waist="Phasmida belt",legs="Manibozho brais",feet="Raider's Poulaines +2"}

    sets.TP['Acc'] = {range="Raider's Bmrng.",
    head="Whirlpool Mask",neck="Asperity Necklace",ear1="Suppanomimi",ear2="Brutal Earring",
    body="Manibozho Jerkin",hands="Plun. Armlets",ring1="Rajas Ring",ring2="Epona's Ring",
    back="Atheling mantle",waist="Anguinus belt",legs="Manibozho brais",feet="Manibozho boots"}


    sets.TP.Evasion = {
    head="Whirlpool Mask",neck="Torero torque",ear1="Suppanomimi",ear2="Brutal Earring",
    body="Plunderer's vest",hands="Plun. Armlets",ring1="Rajas Ring",ring2="Epona's Ring",
    back="Boxer's Mantle",waist="Phasmida belt",legs="Manibozho brais",feet="Plunderer's Poulaines"}



    Defense_Set_Names = {'PDT' , 'MDT' }
    sets.engaged = {}
    sets.engaged.PDT = {head="Whirlpool Mask",neck="Wiglen Gorget",ear1="Suppanomimi",ear2="Brutal Earring",
    body="Plunderer's vest",hands="Plun. Armlets",ring1="Dark ring",ring2="Dark ring",
    back="Boxer's Mantle",waist="Phasmida belt",legs="Manibozho brais",feet="Plunderer's Poulaines"}

    sets.engaged.MDT = {head="Whirlpool Mask",neck="Twilight torque",ear1="Suppanomimi",ear2="Brutal Earring",
    body="Plunderer's vest",hands="Plun. Armlets",ring1="Dark ring",ring2="Dark ring",
    back="Boxer's Mantle",waist="Phasmida belt",legs="Manibozho brais",feet="Plunderer's Poulaines"}

    Idle_Set_Names = {'Normal','MDT'}
    sets.Idle = {}
    sets.Idle.Normal = {head="Ocelomeh headpiece +1",neck="Wiglen Gorget",ear1="Merman's Earring",ear2="Bladeborn Earring",
    body="Manibozho jerkin",hands="Iuitl Wristbands +1",ring1="Paguroidea Ring",ring2="Sheltered Ring",
    back="Boxer's Mantle",waist="Muscle belt +1",legs="Nahtirah Trousers",feet="Fajin boots"}

    sets.Idle.MDT = {head="Uk'uxkaj Cap",neck="Twilight Torque",ear1="Merman's Earring",ear2="Bladeborn Earring",
    body="Avalon Breastplate",hands="Iuitl Wristbands +1",ring1="Defending Ring",ring2="Dark Ring",
    back="Mollusca Mantle",waist="Wanion Belt",legs="Nahtirah Trousers",feet="Skadi's Jambeaux +1"}


    end


    function precast(spell)
    if sets.JA[spell.english] then
    equip(sets.JA[spell.english])
    elseif spell.type=="WeaponSkill" then
    if sets.WS[spell.english] then equip(sets.WS[spell.english]) end
    if buffactive['sneak attack'] and buffactive['trick attack'] and sets.WS.SATA[spell.english] then equip(sets.WS.SATA[spell.english])
    elseif buffactive['sneak attack'] and sets.WS.SA[spell.english] then equip(sets.WS.SA[spell.english])
    elseif buffactive['trick attack'] and sets.WS.TA[spell.english] then equip(sets.WS.TA[spell.english]) end
    elseif string.find(spell.english,'Waltz') then
    equip(sets.JA.Waltz)
    end
    end

    function aftercast(spell)
    if player.status=='Engaged' then
    equip(sets.TP[TP_Set_Names[TP_Index]])
    else
    equip(sets.Idle[Idle_Set_Names[Idle_Index]])
    end
    end

    function status_change(new,old)
    if T{'Idle','Resting'}:contains(new) then
    equip(sets.Idle[Idle_Set_Names[Idle_Index]])
    elseif new == 'Engaged' then
    equip(sets.TP[TP_Set_Names[TP_Index]])
    end
    end

    function buff_change(buff,gain_or_loss)
    if buff=="Sneak Attack" then
    soloSA = gain_or_loss
    elseif buff=="Trick Attack" then
    soloTA = gain_or_loss
    end
    end

    function self_command(command)
    if command == 'toggle TP set' then
    TP_Index = TP_Index +1
    if TP_Index > #TP_Set_Names then TP_Index = 1 end
    send_command('@input /echo ----- TP Set changed to '..TP_Set_Names[TP_Index]..' -----')
    equip(sets.TP[TP_Set_Names[TP_Index]])
    elseif command == 'toggle Idle set' then
    Idle_Index = Idle_Index +1
    if Idle_Index > #Idle_Set_Names then Idle_Index = 1 end
    send_command('@input /echo ----- Idle Set changed to '..Idle_Set_Names[Idle_Index]..' -----')
    equip(sets.Idle[Idle_Set_Names[Idle_Index]])
    end
    end

  12. #3972
    Banned.

    Join Date
    Mar 2015
    Posts
    68
    BG Level
    2

    Does anybody have an actual working PLD gearswap? The one i downloaded and filled out sucks or I don't know how to use it or something.

  13. #3973
    Smells like Onions
    Join Date
    Apr 2015
    Posts
    1
    BG Level
    0

    Spoiler: show
    function get_sets()
    -- Normal TP Sets --
    sets.Engaged = {}
    sets.Engaged = {head="Raider's bonnet +2",
    neck="Nefarious collar",
    ear1="Brutal earring",
    ear2="Suppanomimi",
    body="Thaumas coat",
    hands="Plunderer's armlets",
    ring1="Rajas ring",
    ring2="Epona's ring",
    back="Atheling mantle",
    waist="Twilight belt",
    legs="Thaumas kecks",
    feet="Raider's poulaines +2"}
    -- Normal Idle Sets --
    sets.Idle = {}
    sets.Idle = {ammo="",
    head="Raider's bonnet +2",
    neck="Nefarious collar",
    ear1="Brutal earring",
    ear2="Suppanomimi",
    body="Thaumas coat",
    hands="Plunderer's armlets",
    ring1="Rajas ring",
    ring2="Epona's ring",
    back="Atheling mantle",
    waist="Twilight belt",
    legs="Thaumas kecks",
    feet="Fajin boots"}
    -- JA Sets --
    sets.precast = {}
    sets.precast.JA['Flee'] = {feet=""}
    sets.precast.JA['Perfect Dodge'] = {hands="Plunderer's armlets"}
    -- Normal WS Sets ---
    sets.WS = {}
    sets.WS = {head="Thaumas hat",
    neck="Houyi's gorget",
    ear1="Merman's earring",
    ear2="Suppanomimi",
    body="Thaumas coat",
    hands="Thaumas gloves",
    ring1="Rajas ring",
    ring2="Spiral ring",
    back="Atheling mantle",
    waist="Anguinus belt",
    legs="Thaumas kecks",
    feet="Thaumas nails"}
    end

    function aftercast(spell)
    if player.status=='Engaged' then
    equip(sets.Engaged)
    else
    equip(sets.Idle)
    end
    end

    function status_change(new,old)
    if T{'Idle','Resting'}:contains(new) then
    equip(sets.Idle)
    elseif new == 'Engaged' then
    equip(sets.TP)
    end
    end

    function precast(spell,action)
    if spell.type == "WeaponSkill" then
    if player.status ~= 'Engaged' then
    equip(sets.WS)
    else
    equip(sets.Idle)
    end
    end

    72: 'end' expected (to close 'function' at line 65) near '<eof>' is the error

    n ot sure what todo at this point , plz help

  14. #3974
    Melee Summoner
    Join Date
    Apr 2010
    Posts
    28
    BG Level
    1
    FFXIV Character
    Fae Lindae
    FFXIV Server
    Excalibur
    FFXI Server
    Leviathan
    WoW Realm
    Magtheridon

    Trying to use Skillup script in shop thread. I keep getting this error.
    Code:
    23:11:25 > User file problem: D:\Windower4\/addons/GearSwap/data/Faelindae/skillup.lua:533: '}' expected near '='
    The lua for the script http://pastebin.com/Wm4VGXrY

  15. #3975
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    Quote Originally Posted by Faelindae View Post
    Trying to use Skillup script in shop thread. I keep getting this error.
    Code:
    23:11:25 > User file problem: D:\Windower4\/addons/GearSwap/data/Faelindae/skillup.lua:533: '}' expected near '='
    The lua for the script http://pastebin.com/Wm4VGXrY
    thanks ill have it fixed in a few mins

    edit uploading now

  16. #3976
    Melee Summoner
    Join Date
    Apr 2010
    Posts
    28
    BG Level
    1
    FFXIV Character
    Fae Lindae
    FFXIV Server
    Excalibur
    FFXI Server
    Leviathan
    WoW Realm
    Magtheridon

    Quote Originally Posted by dlsmd View Post
    thanks ill have it fixed in a few mins

    edit uploading now
    Fixed it but i found another thing when using skill up item option.
    Code:
    00:19:28 > ...indower4\/addons/gearswap/data/Faelindae/skillup.lua:162: bad argument #1 to 'ipairs' (table expected, got nil)

  17. #3977
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    Quote Originally Posted by Faelindae View Post
    Fixed it but i found another thing when using skill up item option.
    Code:
    00:19:28 > ...indower4\/addons/gearswap/data/Faelindae/skillup.lua:162: bad argument #1 to 'ipairs' (table expected, got nil)
    fixed and updated

  18. #3978
    Banned.

    Join Date
    Mar 2015
    Posts
    68
    BG Level
    2

    The function for the kinematics PLD lua is really strange to me. The change between mdt and pdt sets work fine at all times. They throw the proper gear on when pressed. Press f10 for pdt, press f11 for mdt. Now when I want to change back to my TP set I have to press F9 then press alt+f12 to unload the mdt or pdt shit to get the TP gear to pop up. Is there a way to make this function differently? I would really like it if I could just press f9 to call my TP gear in one key stroke rather than having to press f9 and then alt f12 every time I want to go back to my tp set.

    Also, there doesn't seem to be a cure cheat programmed into this thing and that really sucks because my old spellcast did. Is there a way to do this as well? I really have no idea what I'm doing.

  19. #3979
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    Quote Originally Posted by ColenzoRidesAgain View Post
    Also, there doesn't seem to be a cure cheat programmed into this thing and that really sucks because my old spellcast did. Is there a way to do this as well? I really have no idea what I'm doing.
    that depends on what you mean but cheat

  20. #3980
    Sea Torques
    Join Date
    Aug 2008
    Posts
    699
    BG Level
    5
    FFXI Server
    Odin

    When you put on HP down gear in precast then put on HP+ gear on midcast so you can cure yourself for hate even when you are capped hp is what they mean by "Cheat"

Page 199 of 302 FirstFirst ... 149 189 197 198 199 200 201 209 249 ... LastLast

Similar Threads

  1. Replies: 6547
    Last Post: 2014-07-08, 22:45