Item Search
     
BG-Wiki Search
Page 77 of 302 FirstFirst ... 27 67 75 76 77 78 79 87 127 ... LastLast
Results 1521 to 1540 of 6036

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

  1. #1521
    Lyramion's better half
    Join Date
    Sep 2006
    Posts
    522
    BG Level
    5
    FFXIV Character
    Hopefulki Nozomi
    FFXIV Server
    Hyperion
    FFXI Server
    Asura

    So this is a bit strange, but when I logged in today, I got the following error:

    GearSwap: Lua error (unknown: 1) - ..Windower/Windower4.1//addons/gearswap/statics.lua:61: bad argument #1 to 'pairs' (table expected, got nil). I haven't edited statics, and i re-downloaded GS just to make sure it wasn't me.

    I saw resources get updated today, not sure if that has something to do with it, but I would think so, since no error before the update.

    Resources are actually re-downloading/updating anytime you open the launcher today, strange.

    *EDIT* definitely resources, battlemod went bonkers too with abilities

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

    Quote Originally Posted by JSHidaka View Post
    afaik, is not working again
    Anything else on this? Also is this something being fixed if it is broken? (gearswap augments)

  3. #1523
    New Merits
    Join Date
    Apr 2010
    Posts
    228
    BG Level
    4

    Quote Originally Posted by pcdavid52a View Post
    Thank you. The LUA is actually Sithel's from the gearswap shop thread, I see he is active in this thread so maybe he would know what's wrong.

    So I'm assuming the way I tested is at least legitimate? Sithel do you know if your snapshot set is still being swapped in?
    I just double checked mine to be sure, preshot is working fine for me. Is all you did it change gear or did you change some functions around? I'll reup my rng profile to pastebin but everything working just fine for me.
    http://pastebin.com/tK6fKPZ2

  4. #1524
    Puppetmaster
    Join Date
    Apr 2013
    Posts
    63
    BG Level
    2
    FFXI Server
    Asura

    I noticed updated lua for brd and cor that added wardrobe support, is this something that has to be done at a lua by lua process, or can be added to the includes?. If has to be done manually what would be the code to add? IE using the blu lua http://pastebin.com/NjH4ZWsL

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

    Quote Originally Posted by Yamoman View Post
    I noticed updated lua for brd and cor that added wardrobe support, is this something that has to be done at a lua by lua process, or can be added to the includes?. If has to be done manually what would be the code to add? IE using the blu lua http://pastebin.com/NjH4ZWsL
    what hes doing with that code is make sure you have the gear by checking both locations(normal inventory,mog wardrobe) for the gear and it would require him to reorganize his info to do as you ask

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

    Quote Originally Posted by Yamoman View Post
    I noticed updated lua for brd and cor that added wardrobe support, is this something that has to be done at a lua by lua process, or can be added to the includes?. If has to be done manually what would be the code to add? IE using the blu lua http://pastebin.com/NjH4ZWsL
    If, in your lua, you have any reason to check player.inventory, it's probably a good idea to also check player.wardrobe for the same thing. If you do not have reason to check player.inventory (for example, the blu lua doesn't ever check for anything), then you don't have to do anything to update the file.

    The brd lua, for example, is checking that you have a Daurdabla (or Terpander) available before allowing you to change the songcasting mode, since that affects the gear set chosen. That's also something very specific to the brd file, so isn't something to be put in any of the includes.

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

    Quote Originally Posted by Sithel View Post
    Thanks! Works like a charm.

    Also unrelated to mnk. I made a rng profile months ago and since the update I can now do a Weaponskill while standing idle and never engaging the mob. For ranger I love this, but I know it can't be correct. I have 3 LS people using my rng profile and can do the same thing, but I know a few others using GearSwap for RNG and using someone else profile and cannot do this. So was thinking it has to either be in my GS file or I need to log out for updates? I really like WS'ing while idle but outside of LS people, I may look suspicious.

    Here's my rng file for reference if there's something in there causing it.
    http://pastebin.com/tK6fKPZ2
    That's a known issue with GearSwap itself, and has been the case for pretty much as long as GearSwap has been functional. Byrth has decided that he doesn't intend to fix it. The other lua files you refer to probably explicitly prevent that from being done for the very reason you mention -- it could look suspicious. Since you made yours yourself, you obviously didn't put in any controls for that issue.

    To block it, add something like this:

    Code:
    function precast(spell)
        if spell.action_type == 'WeaponSkill' and player.status ~= 'Engaged' then
            cancel_spell()
            add_to_chat(123, 'Cannot weaponskill while not engaged.')
        end
    end

  8. #1528
    Puppetmaster
    Join Date
    Apr 2013
    Posts
    63
    BG Level
    2
    FFXI Server
    Asura

    Ah, i assumed any gear in wardrode would be ignored, but i see that is not the case, thank you. On a side note, any reason why i get the notice in chat that step is ready but not for violent flourish? Here is the section of code.


    function job_aftercast(spell, action, spellMap, eventArgs)

    if spell.type == 'Step' and not spell.interrupted then
    send_command("wait 15;input /echo -- STEP READY! ---")
    end

    if spell.type == 'Flourish' and not spell.interrupted then
    send_command("wait 20;input /echo -- FLOURISH READY! ---")
    end

    if not spell.interrupted then
    if state.Buff[spell.english] ~= nil then
    state.Buff[spell.english] = true
    end
    end
    end

  9. #1529
    RIDE ARMOR
    Join Date
    May 2014
    Posts
    14
    BG Level
    1
    FFXI Server
    Fenrir
    WoW Realm
    Antonidas

    command help

    instead of doing a toggle command and skipping through them like this
    Spoiler: show
    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


    would i be correct to do this

    Spoiler: show
    function self_command(command)
    if command == 'TH' then
    send_command('@input /echo ----- changed to TH -----')
    equip(sets.TP.TH])
    end
    elseif command == 'toggle Idle set' then
    send_command('@input /echo ----- changed to DD -----')
    equip(sets.TP.DD])
    end
    end

    instead of it having to toggle threw an index of things?
    if not what would be the best way of doing so

  10. #1530
    RIDE ARMOR
    Join Date
    May 2014
    Posts
    14
    BG Level
    1
    FFXI Server
    Fenrir
    WoW Realm
    Antonidas

    oh and i was also checking to see if i weapon skill if it would return back to lets say i had acc set before tping if not then what could i do to change so that it will come back to gear set i changed too

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

    Quote Originally Posted by dv8nxs View Post
    instead of doing a toggle command and skipping through them like this
    Spoiler: show
    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


    would i be correct to do this

    Spoiler: show
    function self_command(command)
    if command == 'TH' then
    send_command('@input /echo ----- changed to TH -----')
    equip(sets.TP.TH])
    end
    elseif command == 'toggle Idle set' then
    send_command('@input /echo ----- changed to DD -----')
    equip(sets.TP.DD])
    end
    end

    instead of it having to toggle threw an index of things?
    if not what would be the best way of doing so
    the problem w/ this is, that you will equip the gear, but after any action it will go back to the "aftercast" you have.

    a toggle is just a command that increment index by 1, but you can do a command that directly set the index to the number you want. (need to see what each number is for a better example).

    lets say index #3 is TH

    you can make a command like this
    Code:
    if command == 'TH' then
       TP_Index = 3
       equip(sets.TP[TP_Set_Names[TP_Index]])
       send_command('@input /echo ----- changed to TH -----')
    end
    and in your second "spoiler/code" you have an END before the elseif that shouldn't go there.

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

    Quote Originally Posted by Yamoman View Post
    Ah, i assumed any gear in wardrode would be ignored, but i see that is not the case, thank you. On a side note, any reason why i get the notice in chat that step is ready but not for violent flourish? Here is the section of code.


    function job_aftercast(spell, action, spellMap, eventArgs)

    if spell.type == 'Step' and not spell.interrupted then
    send_command("wait 15;input /echo -- STEP READY! ---")
    end

    if spell.type == 'Flourish' and not spell.interrupted then
    send_command("wait 20;input /echo -- FLOURISH READY! ---")
    end
    its because there are 3 Flourish types
    Flourish1
    Flourish2
    Flourish3

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

    Quote Originally Posted by Yamoman View Post
    Ah, i assumed any gear in wardrode would be ignored, but i see that is not the case, thank you. On a side note, any reason why i get the notice in chat that step is ready but not for violent flourish? Here is the section of code.


    function job_aftercast(spell, action, spellMap, eventArgs)

    if spell.type == 'Step' and not spell.interrupted then
    send_command("wait 15;input /echo -- STEP READY! ---")
    end

    if spell.type == 'Flourish' and not spell.interrupted then
    send_command("wait 20;input /echo -- FLOURISH READY! ---")
    end

    if not spell.interrupted then
    if state.Buff[spell.english] ~= nil then
    state.Buff[spell.english] = true
    end
    end
    end
    spell.type for Flourish like Violent F. is Flourish1, for reverse is Flourish2

  14. #1534
    RIDE ARMOR
    Join Date
    May 2014
    Posts
    14
    BG Level
    1
    FFXI Server
    Fenrir
    WoW Realm
    Antonidas

    Quote Originally Posted by JSHidaka View Post
    the problem w/ this is, that you will equip the gear, but after any action it will go back to the "aftercast" you have.

    a toggle is just a command that increment index by 1, but you can do a command that directly set the index to the number you want. (need to see what each number is for a better example).

    lets say index #3 is TH

    you can make a command like this
    Code:
    if command == 'TH' then
       TP_Index = 3
       equip(sets.TP[TP_Set_Names[TP_Index]])
       send_command('@input /echo ----- changed to TH -----')
    end
    and in your second "spoiler/code" you have an END before the elseif that shouldn't go there.
    okay thank you and what about switching back after a weapon skill would it switch back to index 1 or would it return to index 3 sorry just trying to learn

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

    that way I posted, after any action (JA, WS, while engaged) will go back to Index 3

  16. #1536
    RIDE ARMOR
    Join Date
    May 2014
    Posts
    14
    BG Level
    1
    FFXI Server
    Fenrir
    WoW Realm
    Antonidas

    Thanks so much JSHidaka

  17. #1537
    Salvage Bans
    Join Date
    Oct 2010
    Posts
    948
    BG Level
    5
    FFXI Server
    Valefor

    Edit: Nevermind, figured it out! Also thanks to those who helped with my DRG one, works like a charm now.

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

    Are spell.target.hp and spell.target.hpp broken? Mote used both of them in his waltz optimizer, but I can't get either to work when trying to write my own, even cribbing the alliance target finding function.

  19. #1539
    BG Content
    Join Date
    Jul 2007
    Posts
    22,363
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    If spell.target exists, then spell.target.hpp should exist. spell.target.hp should not exist except in rare cases, I think.

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

    Quote Originally Posted by Raelia View Post
    Are spell.target.hp and spell.target.hpp broken? Mote used both of them in his waltz optimizer, but I can't get either to work when trying to write my own, even cribbing the alliance target finding function.
    how are you using it
    it should be
    spell.target.hpp == 19
    for when your spell target hpp is 19%

Page 77 of 302 FirstFirst ... 27 67 75 76 77 78 79 87 127 ... LastLast

Similar Threads

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