Item Search
     
BG-Wiki Search
Page 59 of 302 FirstFirst ... 9 49 57 58 59 60 61 69 109 ... LastLast
Results 1161 to 1180 of 6036

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

  1. #1161
    Relic Weapons
    Join Date
    Aug 2010
    Posts
    335
    BG Level
    4
    FFXI Server
    Asura

    Quote Originally Posted by Byrthnoth View Post
    Questions!
    * Does it work if you don't have any FMs up?
    * Are you on -dev?

    Why I ask!
    The logic on the second line is a little flawed:
    Code:
    if (not buffactive['Finishing Move']) or buffactive['Finishing Move 2'] then
    It is probably meant to be:
    Code:
    if not (buffactive['Finishing Move 3'] or buffactive['Finishing Move 4'] or buffactive['Finishing Move 5']) then
    Looking at the non-dev resources, it appears that all FM buffs are currently named "Finishing Move," which is why your version should work without FMs. If you have no FMs on, buffactive['Finishing Move'] will be nil and your code would return true and cancel the spell/send Presto. If you have 1~5 FM on, buffactive['Finishing Move'] would be 1. With non-dev resources, buffactive['Finishing Move 1~5'] will always be nil. The -dev resources will be pushed live on Monday and should restore the numbers after FMs, though. After that, you can use the code I posted above and it'll work as you intended.
    It works without FMs up and I'm not using -dev.

    It was working fine until today then now it always wants to use Presto
    Code:
    (not buffactive['Finishing Move']) or buffactive['Finishing Move 2']
    I know this line is the perp but I didn't realize their was an issue until I was doing limbus lol so didn't get to sort it out properly.

    ---------------------------------------------------------------------

    Quote Originally Posted by dlsmd View Post
    try
    Code:
    	if spell.type == 'Step' and (not buffactive['Presto']) then
    		if (not buffactive['Finishing Move 1']) or buffactive['Finishing Move 2'] then
    			cancel_spell()			
    			send_command('input /ja "Presto" <me>;wait 2;input /ja "'..spell.name..'" <t>;')
    		end
    	end
    I'll try that and see if it works

    Update: Yeah this didn't work. Same result Presto always wants to active even with 3+ FMs

    ---------------------------------------------------------------------

    Update 2: Byrth it looks like your fix is making the code work again.

    Code:
    if not (buffactive['Finishing Move 3'] or buffactive['Finishing Move 4'] or buffactive['Finishing Move 5']) then
    Update 3: All is well for now thanks fore your help guys :D

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

    Quote Originally Posted by Yamoman View Post
    Question, have Terpander (Daurdabla -1) lol, what lines would i have to change in Monts brd.lua to have it act accordingly without breaking the lua, figure changing the word Terpander to Daurdabla?
    You mean Daurdabla to Terpander?

    In the dev version, you just change the lines for the variables info.DaurdablaInstrument and info.DaurdablaSongs. In the live version (current Master version branch on GitHub) you'll have to do some other tweaking. However dev should be pushed to live soon (tomorrow?), so I'd just wait for that.

    Quote Originally Posted by Yamoman View Post
    i tried replacing some lines and Made a macro /console gs c set Duardabla Daurdabla and it works fine, 3rd song goes up no problem but for some reason i occasionally get an "cannot cast fire spirit" message. adding Link to make it easier.https://github.com/Kinematics/GearSw...master/BRD.lua Thx in advance.
    Absolutely no clue why you'd get that "fire spirit" message. Possibly some other stuff still broken in live, like the pup thing, that will be fixed after the dev push.

  3. #1163
    D. Ring
    Join Date
    Jul 2008
    Posts
    4,529
    BG Level
    7
    FFXI Server
    Phoenix

    I'm guessing you have a Bokura spellcast or autoexec loaded, unload. The dummy spell used in all of his was firespirit, and if you left autoexec loaded without spellcast you'd just see firespirit spam.

  4. #1164
    Custom Title
    Join Date
    Nov 2008
    Posts
    1,065
    BG Level
    6
    FFXI Server
    Diabolos

    Day two of migrating to Gearswap, and I have just one question that's gonna sound like bitching but is honest and my major hangup so far:

    Bro, do you even documentation?

    Windower.net doesn't even mention the addon, it's not in Byrth's github. All I can ever find for how to do something is stale forum posts or snippets based on Mote's rather masturbatory includes.

    All-in-all though, really diggin' it just for the custom command side. I've already set up an intercept/fallback method on my macros and /lockstyle swag:

    Code:
    vars = {Rune = "Gelus", TP = "Std", intercept = "False"}
    Code:
    function self_command(command)
        if command == 'intercept' then
            vars.intercept = 'True'
        elseif command == 'Afterswag' then
            equip(sets.Idle.Move)
        end
    end
    Code:
    function aftercast(spell)
        if player.status == 'Engaged' then
            equip(sets.TP[vars.TP])
        else
            equip(sets.Idle.Swag)
            send_command('wait 1;input /lockstyle on;gs c Afterswag')
        end
    end
     
    function status_change(new,old)
        if new == 'Engaged' then
            equip(sets.TP[vars.TP])
        else
            equip(sets.Idle.Swag)
            send_command('wait 1;input /lockstyle on;gs c Afterswag')
        end
    end
    Code:
    if spell.english == 'Ignis' or spell.english == 'Gelus' or spell.english == 'Flabra' or spell.english == 'Tellus' or spell.english == 'Sulpor' or spell.english == 'Unda' or spell.english == 'Lux' or spell.english == 'Tenebrae' then
        if vars.intercept == 'True' then
            cancel_spell()
            vars.intercept = 'False'
            send_command('@input /ja '..vars.Rune..' <me>')
        else
            vars.Rune = spell.english
        end
    else
        vars.intercept = 'False'
    end
    (If anyone's got an alternative to the eight rune line, I'm all ears)

    A fallback capable macro is then just:

    /console gs c intercept
    /ja "Gelus" <me>

    Where it will repeat whichever rune was last used, and you can set a rune as simply as manually entering it with shortcuts or menu. Unlike the Spellcast version this will also /lockstyle swag on (un)resting or disengage too, so it's compatible with using an hMP staff for instance.

  5. #1165
    Custom Title
    Join Date
    Nov 2008
    Posts
    1,065
    BG Level
    6
    FFXI Server
    Diabolos

    As to what I'm really looking for documentation on, it's mostly stuff like area change, day/weather active, checking is spell or JA is still on recast.

  6. #1166
    BG Content
    Join Date
    Jul 2007
    Posts
    22,346
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    Did your copy of GearSwap download a documentation folder like everyone else's?

  7. #1167
    Custom Title
    Join Date
    Nov 2008
    Posts
    1,065
    BG Level
    6
    FFXI Server
    Diabolos

    Quote Originally Posted by Byrthnoth View Post
    Did your copy of GearSwap download a documentation folder like everyone else's?
    Neat. Unless you mean the excel file, because fuck that.

    Edit: GDocs mangles half of it, but I guess it's mostly readable.

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

    If anyone's got an alternative to the eight rune line, I'm all ears
    spell.type == 'Rune'

    Might need to wait for the dev push tomorrow for it to work, though.

    Also, I've been trying to put together a tutorial for GearSwap, going through things gradually from the ground up. Currently using nodes on FFXIAH:

    http://www.ffxiah.com/node/145
    http://www.ffxiah.com/node/146
    http://www.ffxiah.com/node/147
    http://www.ffxiah.com/node/148
    http://www.ffxiah.com/node/149
    http://www.ffxiah.com/node/150

    Currently trying to work out which direction to proceed from here.

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

    Thx, might have been the autoexec thing, seems to be working pretty well. And loving auto-piamisimo, makes casting 9+ songs lot easier

  10. #1170
    Sea Torques
    Join Date
    Jun 2012
    Posts
    570
    BG Level
    5
    FFXI Server
    Asura
    WoW Realm
    The Scryers

    Quote Originally Posted by Motenten View Post
    spell.type == 'Rune'

    Might need to wait for the dev push tomorrow for it to work, though.

    Also, I've been trying to put together a tutorial for GearSwap, going through things gradually from the ground up. Currently using nodes on FFXIAH:

    http://www.ffxiah.com/node/145
    http://www.ffxiah.com/node/146
    http://www.ffxiah.com/node/147
    http://www.ffxiah.com/node/148
    http://www.ffxiah.com/node/149
    http://www.ffxiah.com/node/150

    Currently trying to work out which direction to proceed from here.
    Hmmm what about something that explain/how/when to use commands like return(), Cancel_spell(), send_command(), add_to_chat(), etc...
    but so far It looks like really useful for new ppl.

    EDIT: the self commands and maybe some other part about the "index" things.. how/when to use it too...

  11. #1171
    Campaign
    Join Date
    Jul 2007
    Posts
    6,633
    BG Level
    8

    Nice links, got quite a lot to read now

    Question: how do you people handle "cancel" with gearswap? Examples: Cancelling sneak (if present) right before using Spectral Jig, cancelling Utsusemi: Ni before completing Utsusemi: Ichi etc.
    Atm I do it externally with the Cancel addon. How would you handle this within Gearswap and would you suggest to do so or to keep this stuff externally?

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

    Code:
    if spell.english == 'Spectral Jig' then
    	send_command('@cancel 71')
    end
    sorry i read it wrong

  13. #1173
    Old Merits
    Join Date
    Apr 2012
    Posts
    1,109
    BG Level
    6

    Is there a way to register x amount of time remaining or time passed since a buff was gained as an event?

  14. #1174
    BG Content
    Join Date
    Jul 2007
    Posts
    22,346
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    Well, not in the current Gearswap framework. You can, however, record the time when you gained a buff using os.time() and then use windower.register_event('time change', <stuff>) to run a function every time the time changes. Subtract the time in the time_change event from your recorded os.time() value and you will have the buff's current duration. If you do this from within a gearswap file, the equip command (and other commands) will work inside your registered function.

    Disclaimer: I've never used the time change event. I assume it passes UTC time, but it might be game time.

  15. #1175
    Old Merits
    Join Date
    Apr 2012
    Posts
    1,109
    BG Level
    6

    Is there no way to do it using the timers addon?

  16. #1176
    BG Content
    Join Date
    Jul 2007
    Posts
    22,346
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    Naw, Timers is a plugin and doesn't output any information. It would be possible to make a Timer library for gearswap that just calls an event when you hit a certain time, but it isn't made yet.

  17. #1177
    Smells like Onions
    Join Date
    Feb 2014
    Posts
    1
    BG Level
    0

    I've added these lines to my mule's lua file, and rewrote the Duardabla to Terpander, i've noticed that it doesn't fire off the duration gear when you use two songs back to back like Victory and Advanced Victory march. Going to test this a bit more to see if I missed something in the lua file.

    Quote Originally Posted by arshesney View Post
    Motenten's BRD is fine even for normal instruments, just add them at these lines:

    Code:
    -- Gear to enhance certain classes of songs. No instruments added here since Gjallarhorn is being used.
            --sets.midcast.Ballad = {ammo="Crooner's Cithara"}
            sets.midcast.March = {range="Iron Ram Horn"}
            sets.midcast.Minuet = {range="Cornette +1"}
            sets.midcast.Minne = {range="Syrinx"}
            sets.midcast.Carol = {range="Crumhorn +1",
                feet="Aoidos' Cothrn. +1"}
            sets.midcast.Madrigal = {ammo="Traversiere"}
            --sets.midcast.Paeon = {ammo="Oneiros Harp"}
            sets.midcast.Lullaby = {range="Mary's Horn"}
            sets.midcast.Threnody = {range="Piccolo +1"}
            sets.midcast['Carnage Elegy'] = {range="Syrinx"}
            sets.midcast['Chocobo Mazurka'] = {range="Vihuela"}
            sets.midcast['Magic Finale'] = {range="Ney"}

  18. #1178
    Campaign
    Join Date
    Jul 2007
    Posts
    6,633
    BG Level
    8

    Noticed an error in my DNC Lua yesterday, never noticed it before but I don't know if it's caused by the changes to the new version of GS released yesterday or if it was always there and I just never noticed it.
    If I use a WS for which I do not have a set I get an error in the flow.lua:261 and then in the line 129 of my lua.

    This is the line I use for WS
    Code:
    elseif spell.type == 'WeaponSkill' then
                                   equip(sets.precast.WS[spell.english][WeaponskillMode])
    The second line is actually n° 129

    So, supposing this is an error in the Lua and not in GS, how can I address it?
    Long and easy way: put a sets.precast.WS['wsname'].Normal, .Acc and .Mod (I only have these 3 WSmodes in my WeaponskillMode variable) for each of the WS I can possibly use, even if I leave the sets empty. (which would be fine, I don't really care to swap gear for these WS, actually I'd prefer to not swap at all tbh)
    Otherwise? What could I do?
    It's not a big deal, I don't see myself using any WS other than the 4 I defined, except maybe for stuff like Voidwatch, but I'm curious how to address this.

  19. #1179
    Custom Title
    Join Date
    Nov 2008
    Posts
    1,065
    BG Level
    6
    FFXI Server
    Diabolos

    Code:
    if sets.precast.WS[spell.english][WeaponskillMode]) then
        equip(sets.precast.WS[spell.english][WeaponskillMode])
    end


    You can be so fucking lazy with dynamic typed languages. It's kinda sickening.

  20. #1180
    Campaign
    Join Date
    Jul 2007
    Posts
    6,633
    BG Level
    8

    /highfive

    Neat :D

Page 59 of 302 FirstFirst ... 9 49 57 58 59 60 61 69 109 ... LastLast

Similar Threads

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