Item Search
     
BG-Wiki Search
Page 160 of 302 FirstFirst ... 110 150 158 159 160 161 162 170 210 ... LastLast
Results 3181 to 3200 of 6036

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

  1. #3181
    Hydra
    Join Date
    Feb 2014
    Posts
    131
    BG Level
    3
    FFXI Server
    Quetzalcoatl

    Quote Originally Posted by stokeydan View Post
    hello,
    im getting some errro messages when i load my cor lua, last time i played cor it was working fine it was working and i dontthink i changed anything .

    gearswap loaded your cor lua file!
    Gearswap: lua error (runtime )windower/addons/gearswap/flow.lua:301
    gearswap has detected an erroer in the user function get_sets:
    windower/addons/gearswap/data/cor.lua:19 attemtp to call golab 'M' ( a nil value)

    the lua im using is from Allen Warren, ive tried getting the latest copy and still get an error when loading


    ive also tried getting the latest copy of the lau and this doesn't fix it also tried getting a lua from kinematic and im still getting an error
    all other jobs seem fine.

    hopefully some one can help me out with this
    thanks
    Did you download Mote's includes, and place them in your data folder? If so, don't do that. Remove them, and reload.

    Otherwise, if that isn't it, then I'm not sure. My cor lua is working for me.

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

    Quote Originally Posted by Anadrag View Post
    i know its probably been asked a million times... but i cant find it with searching ><

    I have this in function pretarget

    elseif spell.english == "Flash" and windower.ffxi.get_spell_recasts()[48] > 0 then
    cancel_spell()
    send_command('Blank Gaze')

    but no luck... how can i do this properly
    whats your job set-up

  3. #3183
    Melee Summoner
    Join Date
    Feb 2014
    Posts
    48
    BG Level
    1

    Quote Originally Posted by dlsmd View Post
    whats your job set-up
    PLD/BLU

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

    Quote Originally Posted by Anadrag View Post
    PLD/BLU
    ok you should try to change
    send_command('Blank Gaze')
    to
    send_command('/ma "Blank Gaze" <t>')

  5. #3185
    Melee Summoner
    Join Date
    Feb 2014
    Posts
    48
    BG Level
    1

    Quote Originally Posted by dlsmd View Post
    ok you should try to change
    send_command('Blank Gaze')
    to
    send_command('/ma "Blank Gaze" <t>')
    tried that.. still says "Unable to cast spell at this time."

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

    Quote Originally Posted by Anadrag View Post
    tried that.. still says "Unable to cast spell at this time."
    is flash almost ready to cast??
    if so there is nothing i can do about it
    its because of the way lua calculates numbers

    do you have the spell flash?? or is your pld at a high enuf lvl to use flash??
    if not then the reason is because the info for flash is being sent to the filtered_action function not pretarget/precast

    if you put your rule in pretarget it will only go to pretarget if you use a macro or if you typein the command /ma "Flash" <t>
    in other words if your trying to use the command from the menu it wont go off

    any rule that involves cancel_spell() will only work from
    pretarget/precast/filtered_action

  7. #3187
    Melee Summoner
    Join Date
    Feb 2014
    Posts
    48
    BG Level
    1

    Quote Originally Posted by dlsmd View Post
    is flash almost ready to cast??
    if so there is nothing i can do about it
    its because of the way lua calculates numbers

    do you have the spell flash?? or is your pld at a high enuf lvl to use flash??
    if not then the reason is because the info for flash is being sent to the filtered_action function not pretarget/precast

    any rule that involves cancel_spell() will only work from
    pretarget/precast/filtered_action
    flash has lots of time on recast.. i have flash yes... but ok ty

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

    Quote Originally Posted by Anadrag View Post
    flash has lots of time on recast.. i have flash yes... but ok ty
    ok try changing your rule to this
    Code:
    elseif spell.english == "Flash" and (windower.ffxi.get_ability_recasts()[spell.recast_id] > 0) then
        cancel_spell()
        if (windower.ffxi.get_ability_recasts()[679] < 1) then
            send_command('input /ma "Blank Gaze" <t>')
        end

  9. #3189
    Melee Summoner
    Join Date
    Feb 2014
    Posts
    48
    BG Level
    1

    attempt to compare number to nil.

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

    Quote Originally Posted by Anadrag View Post
    attempt to compare number to nil.
    oops my bad it should be this
    Code:
    elseif spell.english == "Flash" and (windower.ffxi.get_spell_recasts()[spell.recast_id] > 0) then
        cancel_spell()
        if (windower.ffxi.get_spell_recasts()[679] > 0) then
            send_command('input /ma "Blank Gaze" <t>')
        end
    i keep getting thoes mixed up

  11. #3191
    Melee Summoner
    Join Date
    Feb 2014
    Posts
    48
    BG Level
    1

    Quote Originally Posted by dlsmd View Post
    oops my bad it should be this
    Code:
    elseif spell.english == "Flash" and (windower.ffxi.get_spell_recasts()[spell.recast_id] > 0) then
        cancel_spell()
        if (windower.ffxi.get_spell_recasts()[679] > 0) then
            send_command('input /ma "Blank Gaze" <t>')
        end
    i keep getting thoes mixed up
    Unable to cast spells at this time. /cry

  12. #3192
    RIDE ARMOR
    Join Date
    Oct 2014
    Posts
    24
    BG Level
    1
    FFXI Server
    Phoenix

    just cheked and only files i have in my Dtat folder are my lua's for each job.
    the mote include files are in the libs folder
    This is really bugging me happend on cor only and with any cor lua i try to add which is really Strange.

  13. #3193
    Hydra
    Join Date
    Feb 2014
    Posts
    131
    BG Level
    3
    FFXI Server
    Quetzalcoatl

    Quote Originally Posted by stokeydan View Post
    just cheked and only files i have in my Dtat folder are my lua's for each job.
    the mote include files are in the libs folder
    This is really bugging me happend on cor only and with any cor lua i try to add which is really Strange.
    The error you mentioned suggests that gearswap is unable to find Mote's includes, or that your includes are outdated.
    Code:
    attempt to call global 'M' ( a nil value)
    "M" is defined in libs/Modes.lua

    Do you have this file?

    Otherwise, copy your Cor lua to pastebin and share the URL. If you have it split into a sidecar, include that as well.

    If you play multiple characters, make sure your job luas are named correctly, and make sure you don't have more than one cor lua in the data folder. (unless one is a sidecar)

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

    Quote Originally Posted by Anadrag View Post
    Unable to cast spells at this time. /cry
    sorry it took so long to get back to you try this
    Code:
    elseif spell.name == "Flash" and (windower.ffxi.get_spell_recasts()[spell.recast_id] > 0) then
        cancel_spell()
        add_to_chat(7,"Cancelling ="..tostring(spell.name))
        if (windower.ffxi.get_spell_recasts()[679] > 0) then
            send_command('input /ma "Blank Gaze" <t>')
            add_to_chat(7,"Swithch to Blank Gaze")
        end

  15. #3195
    Melee Summoner
    Join Date
    Feb 2014
    Posts
    48
    BG Level
    1

    Quote Originally Posted by dlsmd View Post
    sorry it took so long to get back to you try this
    Code:
    elseif spell.name == "Flash" and (windower.ffxi.get_spell_recasts()[spell.recast_id] > 0) then
        cancel_spell()
        add_to_chat(7,"Cancelling ="..tostring(spell.name))
        if (windower.ffxi.get_spell_recasts()[679] > 0) then
            send_command('input /ma "Blank Gaze" <t>')
            add_to_chat(7,"Swithch to Blank Gaze")
        end
    Unable to cast spell at this time... i feel bad we can just give up lol

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

    Quote Originally Posted by Anadrag View Post
    Unable to cast spell at this time... i feel bad we can just give up lol
    did any thing show in chat??

    the only other thing i could do is ask to have you post your whole code to pastbin then post the link here

  17. #3197
    Melee Summoner
    Join Date
    Feb 2014
    Posts
    48
    BG Level
    1

    nothing until i deleted windower.ffxi.get lines lol its not reading me res files or something..

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

    Quote Originally Posted by Anadrag View Post
    nothing until i deleted windower.ffxi.get lines lol its not reading me res files or something..
    ok did you try reloading ffxi?? and make sure that there are not updates to windower

  19. #3199
    Melee Summoner
    Join Date
    Feb 2014
    Posts
    48
    BG Level
    1

    today yes but not since the last line you gave me

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

    there is a weird thing that happens when you reload any lua addon it will sometimes not work properly after reloading it several times
    the ways you can fix it are
    in windower console
    reload luacore
    or in chat
    //reload luacore

    if that does not work you can always try restarting ffxi

    if that does not work then there is a bug in windower

Page 160 of 302 FirstFirst ... 110 150 158 159 160 161 162 170 210 ... LastLast

Similar Threads

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