Item Search
     
BG-Wiki Search
Page 169 of 302 FirstFirst ... 119 159 167 168 169 170 171 179 219 ... LastLast
Results 3361 to 3380 of 6036

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

  1. #3361
    E. Body
    Join Date
    Sep 2008
    Posts
    2,055
    BG Level
    7

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

    @ Karizo
    here is a better example
    http://pastebin.com/UGhM0PQc
    in the dynamic setup it can cause issues ware you can equip gear you realy dont want to but if you code it correctly you wont see this issue at all

    in the GS Default equip you will notice that the error can occur but again if codded correctly you will have no error but in this one you can also have another issue ware gs is equiping your set and because you have gs starting another equip cycle it can miss some gear and no amount of debugging can fix this error

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

    Quote Originally Posted by Kincard View Post
    im not varry well virsed in mots includes but are you using a side car file??

  4. #3364
    E. Body
    Join Date
    Sep 2008
    Posts
    2,055
    BG Level
    7

    Nope, I just have all the "Mote-" files plus luas for jobs.

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

    Quote Originally Posted by Kincard View Post
    Nope, I just have all the "Mote-" files plus luas for jobs.
    are you using any other plugins or addons?? because your code cant and wont try to recast any spells
    and as far as i can tell neather does motes includes
    also motes includes are part of gs you do not need them to be in your files anymore

  6. #3366
    E. Body
    Join Date
    Sep 2008
    Posts
    2,055
    BG Level
    7

    None that I can imagine would do something like this

    Addons
    Distance
    GearSwap
    Itemizer
    porter
    Timestamp
    Treasury

    Plugins
    ConsoleBG
    DrawDistance
    FishingCrashFix
    GearCollector
    GuildWork
    Timers

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

    ok try this get Monomi to auto recast as you did before and unload each plugin/addon untill it stops because if gs was causing it then when you unlode it it will automatically stop trying to recast same goes for the other plugins/addons

    if that does not work then it can only mean that eather luacore is messed up or your macro auto retries over and over
    or your using a bot thats trying to cast said spell and it recast timer is messed up

  8. #3368
    E. Body
    Join Date
    Sep 2008
    Posts
    2,055
    BG Level
    7

    It stops doing it when I unload Gearswap, but it will start doing it again as soon as I load Gearswap unless I log out first.

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

    are you on dev or live??

  10. #3370
    E. Body
    Join Date
    Sep 2008
    Posts
    2,055
    BG Level
    7

    live

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

    do you have mots includes in gearswap/data ware you job files are?? if so remove them you dont need them there thay should only be in gearswap/libs

  12. #3372
    Sea Torques
    Join Date
    Sep 2012
    Posts
    736
    BG Level
    5
    FFXI Server
    Leviathan

    I haven't looked at the file yet, so this is not targeted advice, but one thing to debug this is to simply clear your user-file completely, then see if it still happens. Then add your code bits, piece by piece (for example, start with the precast, then midcast, then aftercast, then buff/status change, etc.) and see at which point it breaks. That way you can pin-point the error pretty easily usually.

  13. #3373
    CoP Dynamis
    Join Date
    Mar 2013
    Posts
    275
    BG Level
    4
    FFXI Server
    Odin

    I have actually heard of this happening to someone, never experienced it, except he was having problems with RNG I think. It would spam /ra non-stop, even though he had disabled auto-range which some GS templates have.

  14. #3374
    Melee Summoner
    Join Date
    Jan 2010
    Posts
    29
    BG Level
    1
    FFXI Server
    Caitsith

    I have been trying to get BLU UL to work but cant seem to find any insight on a solution, if anyone can help it would be much appreciated.

    function job_precast(spell, action, spellMap, eventArgs)
    if unbridled_spells:contains(spell.english) and not state.Buff['Unbridled Learning'] then
    eventArgs.cancel = true
    windower.send_command('@input /ja "Unbridled Learning" <me>; wait 1.5; input /ma "'..spell.name..'" '..spell.target.name)
    end
    end

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

    Quote Originally Posted by worldslost View Post
    I have been trying to get BLU UL to work but cant seem to find any insight on a solution, if anyone can help it would be much appreciated.

    function job_precast(spell, action, spellMap, eventArgs)
    if unbridled_spells:contains(spell.english) and not state.Buff['Unbridled Learning'] then
    eventArgs.cancel = true
    windower.send_command('@input /ja "Unbridled Learning" <me>; wait 1.5; input /ma "'..spell.name..'" '..spell.target.name)
    end
    end
    that rule should be in the filtered_action function
    any spell/ability that you cant cast because of main_job/main_job_lvl/sub_job/sub_job_lvl/buff/item(i.e. nin tools, etc.) gets sent to filtered_action

    !!you should always read any documentation on the addons/plugins before you use it!!

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

    does this look correct
    Code:
    local status = {end_event=false,end_spell=false,
        lock={main=false,sub=false,range=false,ammo=false,head=false,body=false,hands=false,legs=false,feet=false,
        neck=false,waist=false,left_ear=false,right_ear=false,left_ring=false,right_ring=false,back=false,},
        }
        
        for i, v in ipairs(status.lock) do
            if v then
                disable(tostring(i))
            elseif not v then
                enable(tostring(i))
            end
        end
    this is supost to allow me to lock gear while building sets dynamically
    like this
    status.lock.head = true

  17. #3377
    Melee Summoner
    Join Date
    Jan 2010
    Posts
    29
    BG Level
    1
    FFXI Server
    Caitsith

    Quote Originally Posted by dlsmd View Post
    that rule should be in the filtered_action function
    any spell/ability that you cant cast because of main_job/main_job_lvl/sub_job/sub_job_lvl/buff/item(i.e. nin tools, etc.) gets sent to filtered_action

    !!you should always read any documentation on the addons/plugins before you use it!!
    Thats the way it came from Mote i only added my gear sets, now where should it go exactly there is no filtered_action section in any of my mote GS.lua files.

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

    Quote Originally Posted by worldslost View Post
    Thats the way it came from Mote i only added my gear sets, now where should it go exactly there is no filtered_action section in any of my mote GS.lua files.
    thats because mote did not include it in his setup but it is apart of gearswap
    just put this at the bottom of your file
    Code:
    function filtered_action(spell)
        if unbridled_spells:contains(spell.english) then
            cancel_spell()
            windower.send_command('@input /ja "Unbridled Learning" <me>; wait 1.5; input /ma "'..spell.name..'" '..spell.target.name)
        end
    end
    as long as you have unbridled_spells built it will work

  19. #3379
    Hydra
    Join Date
    Feb 2014
    Posts
    131
    BG Level
    3
    FFXI Server
    Quetzalcoatl

    Quote Originally Posted by dlsmd View Post
    does this look correct
    Code:
    local status = {end_event=false,end_spell=false,
        lock={main=false,sub=false,range=false,ammo=false,head=false,body=false,hands=false,legs=false,feet=false,
        neck=false,waist=false,left_ear=false,right_ear=false,left_ring=false,right_ring=false,back=false,},
        }
        
        for i, v in ipairs(status.lock) do
            if v then
                disable(tostring(i))
            elseif not v then
                enable(tostring(i))
            end
        end
    this is supost to allow me to lock gear while building sets dynamically
    like this
    status.lock.head = true
    Not quite, ipairs() requires index keys. Try using pairs() in your loop, and you should be all set.

  20. #3380
    Hydra
    Join Date
    Apr 2011
    Posts
    106
    BG Level
    3
    FFXI Server
    Sylph

    Logged on today to randomly get a runtime error. I haven't touched anything and not really sure what the problem is. I can see only parts of the error as it cuts off in windower: gearswap/equip_processing.lua.43: attempt to compare (cut off). Looked at line 43 and this is what I have:

    function check_wearable(item_id)
    if not item_id or item_id == 0 then -- 0 codes for an empty slot, but Arcon will probably make it nil at some point
    elseif not res.items[item_id] then
    debug_mode_chat("Item "..item_id.." has not been added to resources yet.")
    elseif not res.items[item_id].jobs then -- Make sure item can be equipped by specific jobs (unlike pearlsacks).
    --debug_mode_chat('GearSwap (Debug Mode): Item '..(res.items[item_id][language] or item_id)..' does not have a jobs field in the resources.')
    else
    return (res.items[item_id].jobs[player.main_job_id]) and (res.items[item_id].level<=player.jobs[res.jobs[player.main_job_id].ens]) and (res.items[item_id].races[player.race_id])
    end
    return false
    end
    -------------

    Any ideas?

Page 169 of 302 FirstFirst ... 119 159 167 168 169 170 171 179 219 ... LastLast

Similar Threads

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