Item Search
     
BG-Wiki Search
Page 93 of 302 FirstFirst ... 43 83 91 92 93 94 95 103 143 ... LastLast
Results 1841 to 1860 of 6036

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

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

    I had edited my post that i figured out the command thing. The commands are apparently case sensitive to what you put in your lua, aka I was typing "/con gs c toggle Melee set" in chatline and it worked but in the macro version i had "/con gs c toggle Melee Set" and it wasnt working. Everything was looking the same to me and I posted about it thinking i must be doin something wrong I dont see, and bout 15 minutes later I caught the word "set" was capitalized and i changed it to see if that was it, and it was the problem. Also solved my other issue 10 minutes after that. I dunno it was like i was being retarded and then shit just hit me in a moment of clarity lol.

  2. #1842
    Melee Summoner
    Join Date
    Jun 2008
    Posts
    24
    BG Level
    1
    FFXI Server
    Ramuh

    Quote Originally Posted by dlsmd View Post
    yes
    Code:
    if spell.element == world.weather_element then
      equip()
    else
      equip()
    end
    Is this for actual game weather or weather buff?

  3. #1843
    BG Content
    Join Date
    Jul 2007
    Posts
    22,375
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    Both.

  4. #1844
    Melee Summoner
    Join Date
    May 2014
    Posts
    38
    BG Level
    1
    FFXI Server
    Bismarck

    Preshot no longer equipping, any help is appreciated

    pastebin.com/CseqChkH

  5. #1845
    Melee Summoner
    Join Date
    Jun 2008
    Posts
    24
    BG Level
    1
    FFXI Server
    Ramuh

    On another note, anyone know how to go back to idle set on Motentens SCH gearswap after you swapped to PDT? I can't do it without reloading GS...

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

    Quote Originally Posted by Speedy View Post
    Preshot no longer equipping, any help is appreciated

    pastebin.com/CseqChkH
    wondering having problems w/ preshot is becoming a normal issue lol..

    either way you sure isnt equipping it? type in chat //gs showswaps and try to /ra <t> (can try in town w/ some1 as target)

  7. #1847
    Melee Summoner
    Join Date
    Jan 2014
    Posts
    36
    BG Level
    1

    Quote Originally Posted by Drizzt View Post
    Again my apologies, I'm at work...when I get home I'll post my RNG LUA to paste bin and provide a link.
    Ok, I figured it out...sort of, I got it working just not sure why it got broke.

    I checked an old LUA file I saved (habit, I work for Intel and I'm always saving backups).

    Here's the section in the Mote-Include that I noticed was different and I changed (line 124, 125, 126, and 127):

    -- Subtables within the sets table that we expect to exist, and are annoying to have to
    -- define within each individual job file. We can define them here to make sure we don't
    -- have to check for existence. The job file should be including this before defining
    -- any sets, so any changes it makes will override these anyway.
    sets.precast = {}
    sets.precast.FC = {}
    sets.precast.JA = {}
    sets.precast.WS = {}
    sets.precast.RangedAttack = {}
    sets.precast.RangedAttack.Overkill = {}
    sets.midcast = {}
    sets.midcast.RangedAttack = {}
    sets.midcast.Pet = {}
    sets.idle = {}
    sets.resting = {}
    sets.engaged = {}
    sets.defense = {}
    sets.buff = {}

    These were all changed to .RA instead of .RangedAttack. I changed them back to .RangedAttack and my RNG GS worked just as before. I also added my Overkill set back in.

    Thank you for your time, I wanted to post in case anyone else was having issue, and to maybe get an explanation as to why it broke.

  8. #1848
    Melee Summoner
    Join Date
    May 2014
    Posts
    38
    BG Level
    1
    FFXI Server
    Bismarck

    Quote Originally Posted by JSHidaka View Post
    wondering having problems w/ preshot is becoming a normal issue lol..

    either way you sure isnt equipping it? type in chat //gs showswaps and try to /ra <t> (can try in town w/ some1 as target)
    Appears that it is equipping it, rather fast(er than usual) I might say. I've usually been able to see the gear swap when checking my equipment menu.

    Thanks JSH!

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

    Quote Originally Posted by Speedy View Post
    Appears that it is equipping it, rather fast(er than usual) I might say. I've usually been able to see the gear swap when checking my equipment menu.

    Thanks JSH!
    yea, for some reason after the last update.. is "faster"...

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

    Had the same problem with a bro setting up a RNG lua. Kept telling me it wasn't equipping snapshot gear, had him disable all swaps but preshot and it was working fine.

    So yes, it's crazy fast. Perhaps too fast?

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

    Last night i had put in to use thf af feet for flee adn use my trotters for the duration of it. and i wasnt seein the af get put on. but later with show swaps it most definately was. was hella fast

  12. #1852
    Sea Torques
    Join Date
    Aug 2008
    Posts
    699
    BG Level
    5
    FFXI Server
    Odin

    Keep getting this error, have to unload and reload to stop it, but then it comes back shortly after. Gearswap/Targets.lua:95: attempt to index field '?' (a nil value)

    Tried uninstalling and reinstalling. Something known? Thanks

  13. #1853
    Melee Summoner
    Join Date
    Jan 2008
    Posts
    31
    BG Level
    1

    Quote Originally Posted by Skeelo View Post
    Keep getting this error, have to unload and reload to stop it, but then it comes back shortly after. Gearswap/Targets.lua:95: attempt to index field '?' (a nil value)

    Tried uninstalling and reinstalling. Something known? Thanks

    Same issue here, running mote's THF GS file.

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

    Quote Originally Posted by Skeelo View Post
    Keep getting this error, have to unload and reload to stop it, but then it comes back shortly after. Gearswap/Targets.lua:95: attempt to index field '?' (a nil value)

    Tried uninstalling and reinstalling. Something known? Thanks
    Quote Originally Posted by Astaro View Post
    Same issue here, running mote's THF GS file.
    it seams to be tied to one of these
    player.target.mob_type
    player.target.race
    player.target.race_id
    player.last_subtarget.mob_type
    player.last_subtarget.race
    player.last_subtarget.race_id
    player.subtarget.mob_type
    player.subtarget.race
    player.subtarget.race_id

  15. #1855
    Melee Summoner
    Join Date
    Jan 2008
    Posts
    31
    BG Level
    1

    Quote Originally Posted by dlsmd View Post
    it seams to be tied to one of these
    player.target.mob_type
    player.target.race
    player.target.race_id
    player.last_subtarget.mob_type
    player.last_subtarget.race
    player.last_subtarget.race_id
    player.subtarget.mob_type
    player.subtarget.race
    player.subtarget.race_id
    It also appears to be happening more often when zoning/whilst things are loading fully.

  16. #1856
    Campaign
    Join Date
    Jul 2007
    Posts
    6,633
    BG Level
    8

    Is there a way to run a line of code (or multiple) only once when a Lua gets first loaded?

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

    Quote Originally Posted by Thundro View Post
    On another note, anyone know how to go back to idle set on Motentens SCH gearswap after you swapped to PDT? I can't do it without reloading GS...
    Alt-F12

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

    Quote Originally Posted by Sechs View Post
    Is there a way to run a line of code (or multiple) only once when a Lua gets first loaded?
    Anything in the get_sets() function is only run once per load.

  19. #1859
    Campaign
    Join Date
    Jul 2007
    Posts
    6,633
    BG Level
    8

    Hmm, and I'm able to use an "IF" inside there too, right?
    So I could like:

    If condition1 or condition2 then
    var = X
    else
    var = Y
    end

    and it would get run only once, the time it gets loaded up, correct?
    This is nice.

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

    Quote Originally Posted by JSHidaka View Post
    ATM with the knowledge you got can practically do w/e you want...
    Not quite that far yet! But I've sure come a long way.
    And I have to thank you, dlsmd, motenten and everybody else being fantastic teachers in this thread


    Anyway, finished my BRD lua and I'm pretty happy but there's one thing that I'd like to improve, the function midcast part for buff songs.
    I could only think of 2 different methods to do this, but maybe there's a third that I couldn't think of

    1. Single lines while defining midcast sets, multiple lines into the function midcast (see spoiler1 for example)
    2. Slightly more Dynamic system: single line into function midcast, multiple lines while defining midcast sets (see spoiler2 for example)


    Spoiler: show

    Code:
    	sets.midcast.buff = {...}
    	sets.midcast.debuff = {...}
    	sets.midcast.debuffstring = set_combine(sets.midcast.debuff, {range="Daurdabla", feet="Bihu Slippers +1"})
    	sets.midcast.scherzo = set_combine(sets.midcast.buff, {feet="Aoidos' Cothurnes +2"})
    	sets.midcast.minuet = set_combine(sets.midcast.buff, {body="Aoidos' Hongreline +2"})
    	sets.midcast.march = set_combine(sets.midcast.buff, {hands="Aoidos' manchettes +2"})
    	sets.midcast.ballad = set_combine(sets.midcast.buff, {legs="Aoidos' Rhingrave +2"})
    	sets.midcast.paeon = set_combine(sets.midcast.buff, {head="Brioso Roundlet +1"})
    	sets.midcast.madrigal = set_combine(sets.midcast.buff, {head="Aoidos' Calot +2"})
    	sets.midcast.sirvente = set_combine(sets.midcast.buff, {head="Bihu Roundlet +1"})
    	sets.midcast.dirge = set_combine(sets.midcast.buff, {})
    
    ...
    
    	elseif spell.type == "BardSong" then
    		if debuff:contains(spell.name) then
    			equip(sets.midcast.debuff)
    		elseif spell.english:startswith('Horde') then
    			equip(sets.midcast.debuffstring)
    		elseif spell.english:startswith('Sentinel') then
    			equip(sets.midcast.scherzo)
    		elseif spell.english:startswith('Valor') then
    			equip(sets.midcast.minuet)
    		elseif spell.english:endswith('March') then
    			equip(sets.midcast.march)
    		elseif spell.english:startswith('Mage') then
    			equip(sets.midcast.ballad)
    		elseif spell.english:startswith('Army') then
    			equip(sets.midcast.paeon)
    		elseif spell.english:endswith('Madrigal') then
    			equip(sets.midcast.madrigal)
    		elseif spell.english:endswith('Sirvente') then
    			equip(sets.midcast.sirvente)
    		elseif spell.english:endswith('Dirge') then
    			equip(sets.midcast.dirge)
    		else
    			equip(sets.midcast.buff)
    		end


    Spoiler: show

    Code:
    	sets.midcast.buff = {...}
    	sets.midcast['Valor Minuet'] = set_combine(sets.midcast.buff, {body="Aoidos' Hongreline +2"})
    	sets.midcast['Valor Minuet II'] = set_combine(sets.midcast['Valor Minuet'], {})
    	sets.midcast['Valor Minuet III'] = set_combine(sets.midcast['Valor Minuet'], {})
    	...
    	sets.midcast["Mage's Ballad"] = set_combine(sets.midcast.buff, {legs="Aoidos' Rhingrave +2"})
    	sets.midcast["Mage's Ballad II"] = set_combine(sets.midcast["Mage's Ballad"], {})
    
    ...
    
    	elseif spell.type == "BardSong" then
    		if debuff:contains(spell.name) then
    			equip(sets.midcast.debuff)
    		elseif spell.english:startswith('Horde') then
    			equip(sets.midcast.debuffstring)
    		elseif spell.english[spell.english] then
    			equip(sets.midcast[spell.english])
    		else
    			equip(sets.midcast.buff)
    		end


    Now you see what I mean I hope.
    Between those two I like 1) more, but again, is there a third solution that puts together the pros of these 2 solutions without any of the cons?

Page 93 of 302 FirstFirst ... 43 83 91 92 93 94 95 103 143 ... LastLast

Similar Threads

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