Item Search
     
BG-Wiki Search
Page 208 of 302 FirstFirst ... 158 198 206 207 208 209 210 218 258 ... LastLast
Results 4141 to 4160 of 6036

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

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

    Quote Originally Posted by Ithorien View Post
    Thanks. It seems like I need to use Byrth's sheets to start as Monte's are little bit over my head complicated as a first time user.
    i dont understand motes at all thts why i made my own include

  2. #4142
    Hydra
    Join Date
    Feb 2005
    Posts
    141
    BG Level
    3
    FFXI Server
    Shiva

    Quote Originally Posted by dlsmd View Post
    i dont understand motes at all thts why i made my own include
    Well it's not even include that's the problem; the function for checking time and swapping feet is there, but it simply doesn't work in the sheet.

    Code:
    function select_movement_feet()
        if world.time >= 17*60 or world.time < 7*60 then
            gear.MovementFeet.name = gear.NightFeet
        else
            gear.MovementFeet.name = gear.DayFeet
        end
    end
    Only posted that excerpt as it's literally using his default files. It looks like all other swaps work, just this doesn't; looks like the sheet/addon doesn't actually check the time and do the swap.

  3. #4143
    Salvage Bans
    Join Date
    Oct 2010
    Posts
    792
    BG Level
    5
    FFXI Server
    Sylph

    Anyone have any suggestions for mug not going into aftercast when the gil steal fails?

  4. #4144
    Hydra
    Join Date
    Jul 2010
    Posts
    119
    BG Level
    3
    FFXI Server
    Asura

    It'll take me forever to figure out something that should probably take 15 seconds.

    I'm looking to add some lines into mote's SCH.lua to automatically use the Accession JA to aoe whenever I try to cast Regen V. I imagine it's something along these lines, but I'm probably missing a few things:

    Code:
    if spell == "Regen V" then
        cancel_spell()
            send_command('input /ja "Accession" <me>')
            send_command('input /ma "Regen V" <me>')
        end
    Help would be greatly appreciated.

  5. #4145
    BG Content
    Join Date
    Jul 2007
    Posts
    22,379
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    Code:
    send_command('input /ja "Accession" <me>;wait 1.1;input /ma "Regen V" <me>')
    you also need to change the first line to something more like:
    Code:
    if spell == "Regen V" and not buffactive['Accession'] then
    You may still have problems because SE is slow to update the buff line for some reason, so you might have to set a flag in accession's aftercast that you remove when the buff wears off.

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

    Quote Originally Posted by Byrthnoth View Post
    ...
    Code:
    if spell == "Regen V" and not buffactive['Accession'] then
    You may still have problems because SE is slow to update the buff line for some reason, so you might have to set a flag in accession's aftercast that you remove when the buff wears off.
    this would actualy be better if only to make sure that Accession is not on recast
    Code:
    if spell == "Regen V" and windower.ffxi.get_ability_recasts()[231] == 0 and not buffactive['Accession'] then

  7. #4147
    RIDE ARMOR
    Join Date
    May 2015
    Posts
    17
    BG Level
    1

    How do I handle healing breath?

    For example, I use Restoring breath (JA) (so I equip BREATH set)

    few seconds later my wyvern casts Healing breath

    When is the healing breath amount calculated

    also I cast stone (Premagic or midmagic?? to equip BREATH set)

    few seconds later wyvern casts Healing breath

    What do I do here? Do I manually make a command to equip a set for like 5 seconds in my macro?

  8. #4148
    Relic Shield
    Join Date
    Jan 2013
    Posts
    1,868
    BG Level
    6

    you could possibly lock the peices for healin breath. and have them unlock when it goes off or whatevs.

  9. #4149
    Puppetmaster
    Join Date
    May 2010
    Posts
    52
    BG Level
    2
    FFXI Server
    Asura
    WoW Realm
    Cenarius

    Quote Originally Posted by Ithorien View Post
    Well it's not even include that's the problem; the function for checking time and swapping feet is there, but it simply doesn't work in the sheet.

    Code:
    function select_movement_feet()
        if world.time >= 17*60 or world.time < 7*60 then
            gear.MovementFeet.name = gear.NightFeet
        else
            gear.MovementFeet.name = gear.DayFeet
        end
    end
    Only posted that excerpt as it's literally using his default files. It looks like all other swaps work, just this doesn't; looks like the sheet/addon doesn't actually check the time and do the swap.
    Make sure select_idle_feet() is and gear.NightFeet/gear.DayFeet are defined in user_setup().

    I ended up needing to add

    Code:
    -- Called by the default 'update' self-command.
    function job_update(cmdParams, eventArgs)
        select_movement_feet()
    end
    in my sidecar file as well to get it working.

    I ended up extending that for Serpentes sets on my BLU (as when I played it was mostly on that) and it ended up looking like:

    Spoiler: show
    Code:
    	gear.IdleFeet = {name="Assimilator's Charuqs +1"}
    	gear.DayFeet = "Serpentes Sabots"
    	gear.NightFeet = "Assimilator's Charuqs +1"
    	gear.IdleHands = {name="Serpentes Cuffs"}
    	gear.DayHands = "Garden Bangles"
    	gear.NightHands = "Serpentes Cuffs"
    
    	select_idle_feet()
    	select_idle_hands()
    in user_setup() and
    Code:
    -- Modify the default idle set after it was constructed.
    function customize_idle_set(idleSet)
        if player.mpp <= 50 then
            idleSet = set_combine(idleSet, sets.latent_refresh)
        end
        return idleSet
    end
    
    
    function job_status_change(new_status, old_status)
        if new_status == 'Idle' then
            select_idle_hands()
    		select_idle_feet()
        end
    end
    
    
    -- Called by the default 'update' self-command.
    function job_update(cmdParams, eventArgs)
        select_idle_hands()
        select_idle_feet()
    end
    
    
    function select_idle_feet()
    	if world.time >= 17*60 or world.time < 7*60 then
    		gear.IdleFeet.name = gear.NightFeet
    	else
    		gear.IdleFeet.name = gear.DayFeet
    	end
    end
    
    
    function select_idle_hands()
    	if world.time >= 17*60 or world.time < 7*60 then
    		gear.IdleHands.name = gear.NightHands
    	else
    		gear.IdleHands.name = gear.DayHands
    	end
    end
    to get it all working (latent refresh was for the obi).

    Hope it helps.

  10. #4150
    New Merits
    Join Date
    Jul 2011
    Posts
    245
    BG Level
    4
    FFXIV Character
    Already Banned
    FFXIV Server
    Hyperion
    FFXI Server
    Quetzalcoatl

    How do I lock a specific gearslot while a certain buff is active?

  11. #4151
    First invited, last in the zone.
    Join Date
    Sep 2008
    Posts
    1,448
    BG Level
    6
    FFXI Server
    Lakshmi

    Quote Originally Posted by Landsoul View Post
    How do I lock a specific gearslot while a certain buff is active?
    Here's my manawall code.

    Code:
    function buff_change(buff,gain_or_loss)
    	if buff=='Mana Wall' then
    		if gain_or_loss then
    			equip(sets.ManaWall)
    			disable('feet')
    		else
    			enable('feet')
    		end
    	end
    end

  12. #4152
    Hydra
    Join Date
    Feb 2014
    Posts
    131
    BG Level
    3
    FFXI Server
    Quetzalcoatl

    Quote Originally Posted by Ithorien View Post
    Well it's not even include that's the problem; the function for checking time and swapping feet is there, but it simply doesn't work in the sheet.

    Code:
    function select_movement_feet()
        if world.time >= 17*60 or world.time < 7*60 then
            gear.MovementFeet.name = gear.NightFeet
        else
            gear.MovementFeet.name = gear.DayFeet
        end
    end
    Only posted that excerpt as it's literally using his default files. It looks like all other swaps work, just this doesn't; looks like the sheet/addon doesn't actually check the time and do the swap.
    This is how I modified Mote's NIN.lua, and mine works fine. You'll have to create two sets for day/night feet.

    Code:
        sets.DayMovement = {feet="Danzo sune-ate"}
        sets.NightMovement = {feet="Hachiya Kyahan +1"}
    Change the select_movement_feet() function to look like this.

    Code:
    function select_movement_feet()
        if world.time >= (17*60) or world.time <= (7*60) then
            return sets.NightMovement
        else
            return sets.DayMovement
        end
    end

    Find customize_idle_sets() function, and make it look like this.

    Code:
    function customize_idle_set(idleSet)
        if state.Buff.Migawari then
            idleSet = set_combine(idleSet, sets.buff.Migawari)
        end
        if state.Buff.Doom then
            idleSet = set_combine(idleSet, sets.buff.Doom)
        end
        idleSet = set_combine(idleSet, select_movement_feet())
        return idleSet
    end

    Gearswap won't automatically swap your boots when you're running around town, doing nothing, etc. You have to perform an action, gain/lose a buff, or change your status from engaged to idle. Alternatively, you can press F12 to force an update, and you don't need to add select_movement_feet() to the job_update() function in order for that to work.

    HTH

  13. #4153
    Hydra
    Join Date
    Feb 2005
    Posts
    141
    BG Level
    3
    FFXI Server
    Shiva

    Quote Originally Posted by Viertel View Post
    Hope it helps.[/spoiler]
    Thank you, I'll give that a shot in a bit.

    Quote Originally Posted by Orestes View Post
    Gearswap won't automatically swap your boots when you're running around town, doing nothing, etc. You have to perform an action, gain/lose a buff, or change your status from engaged to idle. Alternatively, you can press F12 to force an update, and you don't need to add select_movement_feet() to the job_update() function in order for that to work.

    HTH
    That seems like a huge oversight in the addon ; ; Byrth are you swayable by donation.

  14. #4154
    Hydra
    Join Date
    Feb 2014
    Posts
    131
    BG Level
    3
    FFXI Server
    Quetzalcoatl

    Quote Originally Posted by Ithorien View Post
    Thank you, I'll give that a shot in a bit.



    That seems like a huge oversight in the addon ; ; Byrth are you swayable by donation.
    IIRC, you used to be able to accomplish something like this with autoexec + spellcast together. I haven't messed with this in a while, and I'm not at home so I can't test, but this autoexec rule may work.

    Code:
    <register event="time_6.00|time_7.00|time_17.00|time_18.00" silent="true">gs c update user</register>

  15. #4155
    BG Content
    Join Date
    Jul 2007
    Posts
    22,379
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    Or you could use raw_register_event in gearswap with the time change function and not rely on autoexec. I didn't add that kind of functionality explicitly because it's so easy to add it yourself.

  16. #4156
    New Merits
    Join Date
    Jul 2011
    Posts
    245
    BG Level
    4
    FFXIV Character
    Already Banned
    FFXIV Server
    Hyperion
    FFXI Server
    Quetzalcoatl

    Quote Originally Posted by Foldypaws View Post
    Here's my manawall code.

    Code:
    function buff_change(buff,gain_or_loss)
    	if buff=='Mana Wall' then
    		if gain_or_loss then
    			equip(sets.ManaWall)
    			disable('feet')
    		else
    			enable('feet')
    		end
    	end
    end


    Tried it but won't work for me. It just keeps switching gear when I engage or cast spells.

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

    Quote Originally Posted by Orestes View Post
    ...
    Gearswap won't automatically swap your boots when you're running around town, doing nothing, etc. You have to perform an action, gain/lose a buff, or change your status from engaged to idle. Alternatively, you can press F12 to force an update, and you don't need to add select_movement_feet() to the job_update() function in order for that to work.

    HTH
    hear is my zone change code
    Code:
    function reg_event.zone_change(new_id,old_id) --zone change event
        local zones = res.zones
        local new = zones[new_id].name
        local old = zones[old_id].name
        coroutine.sleep(4)
        --run code
    end
    windower.raw_register_event('zone change', .zone_change)

  18. #4158
    First invited, last in the zone.
    Join Date
    Sep 2008
    Posts
    1,448
    BG Level
    6
    FFXI Server
    Lakshmi

    Quote Originally Posted by Landsoul View Post
    Tried it but won't work for me. It just keeps switching gear when I engage or cast spells.
    Are you actually trying to use it for Mana Wall? If not, can you post how you modified it?

  19. #4159
    Hydra
    Join Date
    Feb 2005
    Posts
    141
    BG Level
    3
    FFXI Server
    Shiva

    Quote Originally Posted by Byrthnoth View Post
    Or you could use raw_register_event in gearswap with the time change function and not rely on autoexec. I didn't add that kind of functionality explicitly because it's so easy to add it yourself.
    That was enough to dig it out of Mote's sheets, thank you; since maintenance is still going can't test but I have faith it will work.

  20. #4160
    Salvage Bans
    Join Date
    Jun 2007
    Posts
    771
    BG Level
    5

    I'm running with an outdated (and modified) mote's smn script and the recent update has re-introduced the smn midcast set issue. it seems the midcast set is swapping out to idle before/as the pact lands. making most pacts land in the wrong outfit and cratering my damage output noticeably.
    Any ETA on fixing this or anything specific i can do to correct it? i'm not the only one in my LS with this issue.

Page 208 of 302 FirstFirst ... 158 198 206 207 208 209 210 218 258 ... LastLast

Similar Threads

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