Item Search
     
BG-Wiki Search
Page 119 of 302 FirstFirst ... 69 109 117 118 119 120 121 129 169 ... LastLast
Results 2361 to 2380 of 6036

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

  1. #2361
    Old Merits
    Join Date
    Sep 2008
    Posts
    1,125
    BG Level
    6
    FFXI Server
    Leviathan

    can someone please provide an example of locking a weapon based on having tp > x? using motenten's files on whm, want to disable weapon swap while meleeing so i can skill up and do ws quests, etc.

    thank you.

  2. #2362
    Chram
    Join Date
    Sep 2007
    Posts
    2,526
    BG Level
    7
    FFXI Server
    Fenrir

    If you're using mine, just hit F9 to change OffenseMode from 'None' to 'Normal', and it will lock weapons.

  3. #2363
    RIDE ARMOR
    Join Date
    May 2014
    Posts
    12
    BG Level
    1

    Hi, I was looking for some help with my drk.lua (Mote's gearswap file) and differentiating gear with the same name but different augments. What I want to do is equip Xaddi Boots Path A for Apocalypse, and Xaddi Boots Path C for Ragnarok. I tried following the augment instructions but at the moment my boots are not swapping to either and just stay in my idle boots. Here is what I put near the top of my .lua:

    xaadiA = {name="Xaddi boots",augments={"Attack+15","Accuracy+10","Store TP+3"}}
    xaadiC = {name="Xaddi boots",augments={"Attack+15","STR+7","Double Attack+2"}}

    and then in my actual sets it looks like this:

    sets.engaged.Apocalypse = {ammo="Hagneia Stone",
    head="Otomi Helm",neck="Ganesha's Mala",ear1="Brutal Earring",ear2="Tripudio Earring",
    body="Mes'yohi Haubergeon",hands="Cizin Mufflers +1",ring1="Rajas Ring",ring2="K'ayres Ring",
    back="Atheling Mantle",waist="Windbuffet Belt",legs="Cizin Breeches +1",feet=xaddiA}

    sets.engaged['Ragnarok'] = {ammo="Yetshila",
    head="Otomi Helm",neck="Ganesha's Mala",ear1="Brutal Earring",ear2="Trux Earring",
    body="Mes'yohi Haubergeon",hands="Cizin Mufflers +1",ring1="Rajas Ring",ring2="K'ayres Ring",
    back="Atheling Mantle",waist="Windbuffet Belt",legs="Cizin Breeches +1",feet=xaddiC}

    What am I doing wrong?

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

    Quote Originally Posted by Legendarycloud View Post
    Hi, I was looking for some help with my drk.lua (Mote's gearswap file) and differentiating gear with the same name but different augments. What I want to do is equip Xaddi Boots Path A for Apocalypse, and Xaddi Boots Path C for Ragnarok. I tried following the augment instructions but at the moment my boots are not swapping to either and just stay in my idle boots. Here is what I put near the top of my .lua:

    xaadiA = {name="Xaddi boots",augments={"Attack+15","Accuracy+10","Store TP+3"}}
    xaadiC = {name="Xaddi boots",augments={"Attack+15","STR+7","Double Attack+2"}}

    and then in my actual sets it looks like this:

    sets.engaged.Apocalypse = {ammo="Hagneia Stone",
    head="Otomi Helm",neck="Ganesha's Mala",ear1="Brutal Earring",ear2="Tripudio Earring",
    body="Mes'yohi Haubergeon",hands="Cizin Mufflers +1",ring1="Rajas Ring",ring2="K'ayres Ring",
    back="Atheling Mantle",waist="Windbuffet Belt",legs="Cizin Breeches +1",feet=xaddiA}

    sets.engaged['Ragnarok'] = {ammo="Yetshila",
    head="Otomi Helm",neck="Ganesha's Mala",ear1="Brutal Earring",ear2="Trux Earring",
    body="Mes'yohi Haubergeon",hands="Cizin Mufflers +1",ring1="Rajas Ring",ring2="K'ayres Ring",
    back="Atheling Mantle",waist="Windbuffet Belt",legs="Cizin Breeches +1",feet=xaddiC}

    What am I doing wrong?
    first of all you named the items xaadiA and xaadiC then you call them with xaddiA and xaddiC thay have to be named the same
    so eather change
    xaadiA to xaddiA
    xaadiC to xaddiC
    or
    xaddiA to xaadiA
    xaddiC to xaadiC

    after that i can see no issues

  5. #2365
    RIDE ARMOR
    Join Date
    May 2014
    Posts
    12
    BG Level
    1

    LOL wow... such an obvious error, thank you! Sometimes that extra set of eyes really makes all the difference!

  6. #2366
    Old Merits
    Join Date
    Sep 2008
    Posts
    1,125
    BG Level
    6
    FFXI Server
    Leviathan

    Quote Originally Posted by Motenten View Post
    If you're using mine, just hit F9 to change OffenseMode from 'None' to 'Normal', and it will lock weapons.
    thank you, one more question if i may: it looks like there's a function to automatically use light arts and afflatus solace when entering a field area, but it isn't working. does that rely on another addon or plugin?

  7. #2367
    Chram
    Join Date
    Sep 2007
    Posts
    2,526
    BG Level
    7
    FFXI Server
    Fenrir

    It gets run when you hit the update key (F12).

  8. #2368
    Melee Summoner
    Join Date
    Apr 2008
    Posts
    46
    BG Level
    1
    FFXI Server
    Shiva

    Code:
    function midcast(spell,action)
        equipSet = {}
        if spell.type:endswith('Magic') or spell.type == 'Ninjutsu' then
            equipSet = sets.Midcast
            if string.find(spell.english,'Cure') and Enmity == 'ON' then
                equipSet = equipSet.Cure.Enmity
            elseif string.find(spell.english,'Cure') and Enmity == 'OFF' then
                equipSet = equipSet.Cure
            elseif string.find(spell.english,'Cura') then
                equipSet = equipSet.Curaga
      -- Duration and Potency for Regen --
            elseif string.find(spell.english,'Regen') then
                if buffactive["Composure"] then
                    if spell.target.type == 'SELF' then
                        equipSet = equipSet.Regen_Self
                    else
                        equipSet = equipSet.Regen_Others
                    end
                elseif not buffactive["Composure"] then
                    equipSet = equipSet.Regen_Self
                end
            -- Duration for Buffs --
            elseif string.find(spell.english,'Haste') or string.find(spell.english,'Flurry') or string.find(spell.english,'Sneak') or string.find(spell.english,'Invisible') or string.find(spell.english,'Deodorize') then
                if buffactive.Composure then
                    if spell.target.type == 'SELF' then
                        equipSet = equipSet.Duration_Self
                    else
                        equipSet = equipSet.Duration_Others
                    end
                elseif not buffactive.Composure then
                    equipSet = equipSet.Duration_Self
                end
            -- Duration for Refresh --
            elseif string.find(spell.english,'Refresh') then
                if buffactive.Composure then
                    if spell.target.type == 'SELF' then
                        equipSet = equipSet.Refresh_Self
                    else
                        equipSet = equipSet.Refresh_Others
                    end
                elseif not buffactive.Composure then
                    equipSet = equipSet.Refresh_Self
                end
            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.skill == "Enfeebling Magic" then
                if spell.type == "WhiteMagic" then
                    if AccIndex == 1 then
                        equipSet = equipSet.MND
                    elseif AccIndex == 2 then
                        equipSet = equipSet.MND_MidACC
                    elseif AccIndex == 3 then
                        equipSet = equipSet.MND_MidACC
                    end
                else
                    if AccIndex == 1 then
                        equipSet = equipSet.INT
                    elseif AccIndex == 2 then
                        equipSet = equipSet.INT_MidACC
                    elseif AccIndex == 3 then
                        equipSet = equipSet.INT_MidACC
                    end
                end
            elseif spell.english == "Phalanx II" then -- Aug'd Dls. Gloves +2 For Phalanx II --
                equipSet = set_combine(equipSet,{hands="Viti. Gloves +1"})
            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="Viti. 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="Viti. Tights +1"})
            elseif spell.skill == "Enfeebling Magic" and buffactive.Saboteur then -- Wear Estoqueur's Gantherots +2 for Saboteur enfeebles --
                equipSet = set_combine(equipSet,{hands="Estq. Ganthrt. +2"})
            elseif string.find(spell.english,'Banish') then
                equipSet = set_combine(equipSet.Haste,{ring1="Fenian Ring"})
            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') or spell.english == 'Aspir' or spell.english == 'Drain') 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' and spell.english ~= "Cursna" 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)
    end
    Above is midcast function for rdm. I am having an issue where only elemental magic will equip very quickly after precast and then immediately go into idle/aftercast gear. It's equipping the correct gear and every other type of magic is working just fine, but I thought Gearswap was supposed to always have the correct midcast time? I have bolded things that I have added to the midcast function. These sections are all working as intended, but I think I am overlooking something in regards to the elemental magic. Thanks for any help. For reference and if it helps, my aftercast function below

    Code:
    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
    link to the whole thing (modified Bokura lua): http://pastebin.com/sWPw5H89

    edit: I fixed it for anyone that cares, thanks anyways though!

    Spoiler: show

    I literally just added the below to bypass the original handling for that set, and it works fine.
    Code:
            elseif spell.skill == "Elemental Magic" then
                if AccIndex == 1 then
                    equipSet = equipSet['Elemental Magic']
                elseif AccIndex == 2 then
                    equipSet = equipSet['Elemental Magic'].MidACC
                elseif AccIndex == 3 then
                    equipSet = equipSet['Elemental Magic'].HighACC
                end
    If anyone has any input on a cleaner way of doing this, I'd greatly appreciate.


  9. #2369
    Puppetmaster
    Join Date
    Apr 2013
    Posts
    63
    BG Level
    2
    FFXI Server
    Asura

    Question, working with motes mnk.lua, where and how would the rule look to put tantra cylas +2 body on top of my current vs set when impetus is up? i figure its a buff active rule but not sure if i need to make new ws sets. thx

  10. #2370
    Chram
    Join Date
    Sep 2007
    Posts
    2,526
    BG Level
    7
    FFXI Server
    Fenrir

    Quote Originally Posted by Yamoman View Post
    Question, working with motes mnk.lua, where and how would the rule look to put tantra cylas +2 body on top of my current vs set when impetus is up? i figure its a buff active rule but not sure if i need to make new ws sets. thx
    Look at lines 301 to 305 of mnk.lua.

  11. #2371
    Puppetmaster
    Join Date
    Apr 2013
    Posts
    63
    BG Level
    2
    FFXI Server
    Asura

    Thx alot, just noticed using an older version of mnk.lua, gonna update should play smoother now, thx again.

  12. #2372
    Sea Torques
    Join Date
    Jul 2010
    Posts
    516
    BG Level
    5
    FFXI Server
    Bahamut

    I was considering adding
    Code:
     	if midaction() then
    		cancel_spell()
    		return
    	end
    to the precast functions in a few of my files. If I were to use a blood pact (which take a fairly long amount of time to go from precast->aftercast) would I be unable to cure myself, etc. until the ability had finished?

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

    Quote Originally Posted by TSFFXI View Post
    I was considering adding
    Code:
     	if midaction() then
    		cancel_spell()
    		return
    	end
    to the precast functions in a few of my files. If I were to use a blood pact (which take a fairly long amount of time to go from precast->aftercast) would I be unable to cure myself, etc. until the ability had finished?
    only if you use this
    Code:
    	if midaction() or pet_midaction() then
    		cancel_spell()
    		return
    	end
    midaction() is when your casting
    pet_midaction() is when your pet is casting

  14. #2374
    Sea Torques
    Join Date
    Jul 2010
    Posts
    516
    BG Level
    5
    FFXI Server
    Bahamut

    Thanks!

  15. #2375
    Melee Summoner
    Join Date
    Jul 2014
    Posts
    44
    BG Level
    1
    FFXI Server
    Phoenix

    currently im using motentens geo lua. And i have a question on how to add elemental obis, twilight cape and zodiac ring for it.
    It can be found on pastebin gargs geo
    HXqt0J5w

  16. #2376
    Chram
    Join Date
    Sep 2007
    Posts
    2,526
    BG Level
    7
    FFXI Server
    Fenrir

    Quote Originally Posted by gargurty View Post
    currently im using motentens geo lua. And i have a question on how to add elemental obis, twilight cape and zodiac ring for it.
    It can be found on pastebin gargs geo
    HXqt0J5w
    Use these vars in place of explicit gear in any gear sets where you want to use the relevant items:

    Code:
    gear.ElementalGorget
    gear.ElementalBelt
    gear.ElementalObi
    gear.ElementalCape
    gear.ElementalRing
    In the event that either you don't have the gear to match, of the element/day/weather doesn't sync up for use, it will instead use 'default' gear specified in these variables:

    Code:
    gear.default.weaponskill_neck = "Asperity Necklace"
    gear.default.weaponskill_waist = "Caudata Belt"
    gear.default.obi_waist = "Cognition Belt"
    gear.default.obi_back = "Toro Cape"
    gear.default.obi_ring = "Strendu Ring"
    Feel free to change the values of those variables to match the gear you have, or is appropriate for the action being performed. The above values are the defaults in Mote-Globals. You can override them in a global manner in User-Globals.

  17. #2377
    Melee Summoner
    Join Date
    Jul 2014
    Posts
    44
    BG Level
    1
    FFXI Server
    Phoenix

    cool ill try it out. Im a bit of a lua noob, but i'll see how to get it in

  18. #2378
    Melee Summoner
    Join Date
    Jul 2014
    Posts
    44
    BG Level
    1
    FFXI Server
    Phoenix

    Added the files and its working like a charm thanks motenten for the quick reply

  19. #2379
    Melee Summoner
    Join Date
    Apr 2014
    Posts
    28
    BG Level
    1

    Can GS tell the difference between Haste and Haste II? I'm trying to add it to this code:

    Code:
    classes.CustomMeleeGroups:clear()
    
    	if buffactive.embrava and (buffactive.march == 2 or (buffactive.march and buffactive.haste)) then
    		classes.CustomMeleeGroups:append('MaxHaste')
    	elseif buffactive.march == 2 and buffactive.haste then
    		classes.CustomMeleeGroups:append('MaxHaste')
    	elseif buffactive.embrava and (buffactive.haste or buffactive.march) then
    		classes.CustomMeleeGroups:append('EmbravaHaste')
    	elseif buffactive.march == 1 and buffactive.haste and buffactive['haste samba'] then
    		classes.CustomMeleeGroups:append('HighHaste')
    	elseif buffactive.march == 2 then
    		classes.CustomMeleeGroups:append('HighHaste')
    	end
    end

  20. #2380
    Chram
    Join Date
    Sep 2007
    Posts
    2,526
    BG Level
    7
    FFXI Server
    Fenrir

    Unfortunately, probably not. buffactive only looks at the buff name/id, and those are the same for both versions of Haste. (ID 33, 'Haste')

    It -may- be possible to get around that, but it would take some fiddly work to see if it could actually work out.

Page 119 of 302 FirstFirst ... 69 109 117 118 119 120 121 129 169 ... LastLast

Similar Threads

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