Item Search
     
BG-Wiki Search
Page 179 of 302 FirstFirst ... 129 169 177 178 179 180 181 189 229 ... LastLast
Results 3561 to 3580 of 6036

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

  1. #3561
    Campaign
    Join Date
    Jul 2007
    Posts
    6,633
    BG Level
    8

    Quote Originally Posted by Byrthnoth View Post
    Make sure you print out spell.name
    I used spell.english, should work the same? It's what I normally use when I need it.

  2. #3562
    Puppetmaster
    Join Date
    Jul 2008
    Posts
    58
    BG Level
    2
    FFXI Server
    Valefor

    Hello! I've been a GS user for a while, loving the program. However, my GEO lua are slightly out of date. I've tried my best to update, grabbing the newest version from github, then adding my settings to the files. However, now whenever I load GS I get console errors telling me there's problems in everything from flow.lua to Mote-SelfCommands.lua whenever I try to switch my offense/defense modes, etc.

    I'm not sure what I'm doing wrong. So I've made a pastebin of both my geo.lua, my geo_gear.lua, and my console log when I try to use any of my mode swapping keys (offensemode, etc.) If you need me to pastebin my current working (but slightly out of date) lua, then I can, for comparison.

    Any help is appreciated, because I have absolutely no idea where I'm going wrong. Thank you!

    geo.lua: http://pastebin.com/MCWuZKNN
    geo_gear.lua: http://pastebin.com/jBJFgVSB
    Windower Console Log: http://pastebin.com/4wb24bKk

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

    Quote Originally Posted by KLoOoSH View Post
    no am not talking about Cursna am talking about WHM Job Ability 'Divine Caress', cursna problem already solved
    when i do JA 'Divine Caress' it should swap to -- Divine Caress Set -- But its not swapping.

    -- Divine Caress Set --
    sets['Divine Caress'] = {
    main="Yagrush",
    hands="Orison Mitts +2",
    back="Mending Cape"}


    http://pastebin.com/v1FgQ7fn
    change line 641 to elseif buff == 'Divine Caress' then

  4. #3564
    Campaign
    Join Date
    Jul 2007
    Posts
    6,633
    BG Level
    8

    Ok Byrth, added even a fourth check, I managed to find what happens and I have to correct myself:

    1) I'm left in my BP gear, not in my idle gear
    2) pet_aftercast doesn't get called at all (none of the 3 messages pop up in my chat line, and no timer gets created since the timer creating function is called from the pet_aftercast)

    So, for some reason, pet_aftercast doesn't get called.
    Could it be a gearswap bug? Or is it a packet-loss issue and there's nothing we can do about it?



    Edit:
    LSmate with a completely different lua but with similar functions, noticed the problem too. Sometimes he's left in BP gear and no timer gets created. Probably the same issue with pet_aftercast not getting executed.

  5. #3565
    Old Merits
    Join Date
    Sep 2010
    Posts
    1,094
    BG Level
    6
    FFXI Server
    Ragnarok

    Quote Originally Posted by dlsmd View Post
    change line 641 to elseif buff == 'Divine Caress' then
    line 633, buff = string.lower(buff) , converts the incoming buff name to all lowercase.

    There shouldn't be any need to capitalize the buff name.

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

    Quote Originally Posted by Martel View Post
    line 633, buff = string.lower(buff) , converts the incoming buff name to all lowercase.

    There shouldn't be any need to capitalize the buff name.
    there is one caveat for that then if i understand it correctly local variables have a higher priority then global variables

    so
    buff = string.lower(buff) is a global variable
    while the buff from the function is local there for it would need to be
    local buff = string.lower(buff)

  7. #3567
    Old Merits
    Join Date
    Sep 2010
    Posts
    1,094
    BG Level
    6
    FFXI Server
    Ragnarok

    Well, I have numerous buff change rules, all buff names written in lowercase. resources are capitalized... but all my rules work. /shrug.

  8. #3568
    RIDE ARMOR
    Join Date
    Dec 2014
    Posts
    12
    BG Level
    1

    Problem solved by doing this
    -- Na Set --
    sets.Midcast.Na = set_combine(sets.Midcast.Haste,{main="Yagrush",leg s="Orsn. Pantaln. +2",hands="Orison Mitts +2",
    back="Mending Cape"})
    thanks dlsmd, Martel for help ^^

  9. #3569
    Hydra
    Join Date
    Feb 2014
    Posts
    131
    BG Level
    3
    FFXI Server
    Quetzalcoatl

    Mote, if you happen to still browse this thread, I'm having a few issues with set conventions.

    I've noticed that sets.midcast['Dark Magic'] takes precedence over sets.midcast.Absorb. Placement doesn't matter inside my lua. sets.midcast[spell.type] is always used over the spellMap variant.

    The only way I can get absorbs 'midcast' to work is to make sets for all of them. Absorb-TP, etc.

    Anyone else -

    I'm also having issues with Fast Cast. Can anyone else using Mote's includes confirm/deny this? showswaps and debugmode confirm sets.precast.FC is working, but the bar goes all the way to 100% before spells go off. Randomly I'll see a spell go off around 60% like it should.

    Thanks

    edit: Does anyone know if there's a way to time how long casting a spell takes? I'm wondering if it's actually working, but the graphical progress bar is messing up.

    I'm testing with endark and dread spikes. Both relatively long casting spells.

  10. #3570
    trv
    trv is offline
    Melee Summoner
    Join Date
    Oct 2014
    Posts
    48
    BG Level
    1

    Quote Originally Posted by dlsmd View Post
    there is one caveat for that then if i understand it correctly local variables have a higher priority then global variables

    so
    buff = string.lower(buff) is a global variable
    while the buff from the function is local there for it would need to be
    local buff = string.lower(buff)
    Local variables are checked before global variables, giving them precedence. In that function, buff is a parameter, though, and parameters are treated like local variables (they may be local variables after all -- I'm not really sure).
    Code:
    var = 109
    
    function stuff (var)
        var = var * 2
        print(var)
    end
    Code:
    stuff(4) -- 8
    print(var) -- 108
    The global variable var remains unaffected.

  11. #3571
    Relic Shield
    Join Date
    Jan 2013
    Posts
    1,868
    BG Level
    6

    Couldnt you include a rule like

    if spell.name:startswith('Absorb-') then

    instead of making a set for all of them?

  12. #3572
    RIDE ARMOR
    Join Date
    Apr 2014
    Posts
    22
    BG Level
    1

    where are the mythic auto-weaponskill; 'if AM3 down hold tp and use X at 3k, if AM3 up, use tp at 1k with this ws'; Gearswap files at?

    gawd we need our own sub forum for gearswap officially now don't you guys think? how can you find anything about gearswap like this

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

    Quote Originally Posted by Trumpy View Post
    Couldnt you include a rule like

    if spell.name:startswith('Absorb-') then

    instead of making a set for all of them?
    Indeed I could. I'm pointing out a possible error, be it with my file, or Mote's includes; in regards to spellMap. (He would probably know) i.e. https://github.com/Kinematics/Mote-l...e-Mappings.lua

    It's basically a lookup table with key:value pairs. It allows you to create sets like sets.midcast.Cure for all single target cure spells. The same can be said for Absorbs.

    My issue is with precedence. Usually a more specific set will be selected over a more general set. For example, sets.midcast['Absorb-STR'] should take precedence over sets.midcast.Absorb over sets.midcast['Dark Magic'] and this isn't working in practice.

  14. #3574
    Relic Shield
    Join Date
    Jan 2013
    Posts
    1,868
    BG Level
    6

    Yea i got that part that stuff isnt working. I had just read your post as "Well I guess I am going to have to make a set for each spell." Like that was what you were going to do as a solution and I figured my idea would have been the better option. Guess I misintirpreted (sp) your meaning. His files are way to crazy for me.

    @Jackx
    Well, you would think if we maintained a real gearswap forum it would be at the windower forum, no? But hardly anyone posts there it seems when I check it. I have been kinda surprised over the years that this has been pretty much the go to place for windower/gearswap problems/discussions and not there.

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

    ok so im still having the same problem apart form ive fixed the missing init.txt file so im not getting that error anymore.
    I thought that the other errro i was gettign may have been due to a windower update or sumit, so i delted the updated folder and made it update again but this hasn't fixed the problems. im still getting error messages when gearswap is loaded
    Gearswap: lua runtime error: gearswap/helper_function.lua:680: "spell" is not defined for number
    it error im getting this morning when ive logged on.
    this is really bothering me i thought it may off been one of those things that u leave over night and it fixes it self but seems that is not the case this time , any help is appreciated im kinda hopeless with this stuff

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

    You're on -dev. The libs were updated in a way that broke some of the stuff I was doing. Try re-running launcher. Arcon said he reverted the changes a few hours ago.

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

    ok ill try now thx for the replies, when u say re-running the launcher do u mean re-installing or Starting it up again because not so long ago i logged out and deleted the updated folder so that some files were forced to update. Im gonna try restarting now hope it works thx again, If it doesnt work by restarting the launcher would it be a good idea for me to use the normal Version instead of the def version?
    I don't know what the difference is but i re,ebr a while bk i coulnd get teh normal version to work and that why im using the dev version

  18. #3578
    BG Content
    Join Date
    Jul 2007
    Posts
    22,387
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    Yeah, normal version and dev version should both work. Normal version currently doesn't have that problem

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

    OK seems im still getting the error messages with the def version im in the process of setting up the normal version now hopefully this works

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

    Ok thanks alot Byrth the Normal Version seems to have laded up fine and no Erros when loading my brd lua. So looking good ty for the help once again

Page 179 of 302 FirstFirst ... 129 169 177 178 179 180 181 189 229 ... LastLast

Similar Threads

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