Item Search
     
BG-Wiki Search
Page 273 of 302 FirstFirst ... 223 263 271 272 273 274 275 283 ... LastLast
Results 5441 to 5460 of 6036

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

  1. #5441
    HABS SUCK!!!!!
    Sepukku is my Hero
    Therrien's Cum Dumpster

    Join Date
    Mar 2005
    Posts
    37,884
    BG Level
    10
    FFXI Server
    Gilgamesh

    If i had to guess, youre not undefining something along the way when you unload your lua to change job.

  2. #5442
    Puppetmaster
    Join Date
    Sep 2015
    Posts
    73
    BG Level
    2

    Hrm... In what manner are you thinking of undefining variables? set all custom values to nil on unload? I don't see job.luas do that normally so I'm guessing I'm not thinking of what you're thinking. Don't all job.lua variables return to nil on file unload?

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

    Quote Originally Posted by Roland_J View Post
    Hrm... In what manner are you thinking of undefining variables? set all custom values to nil on unload? I don't see job.luas do that normally so I'm guessing I'm not thinking of what you're thinking. Don't all job.lua variables return to nil on file unload?
    Yes every time you change your main job all the variables/functions added by your job file get wiped out.
    Now if you change your sub job that might not be the case.(im not entirely sure)

  4. #5444
    Puppetmaster
    Join Date
    Sep 2015
    Posts
    73
    BG Level
    2

    Well, I just noticed that it happens on BLM when I change subjobs. Time to take a look at my sub_job change functions!

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

    on sub job just do this if you need to
    self_command('gs reload')

  6. #5446
    Relic Weapons
    Join Date
    May 2008
    Posts
    327
    BG Level
    4
    FFXI Server
    Bismarck

    Finally converting over to GS after BARELY learning how to cobble together a functioning spellcast, so forgive the most basic of basic questions. I've written a lua, saved it in my data folder, but when I reload gearswap it doesn't load the characters GS even though I am on the job. Any idea what might cause this?

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

    Quote Originally Posted by Bail View Post
    Finally converting over to GS after BARELY learning how to cobble together a functioning spellcast, so forgive the most basic of basic questions. I've written a lua, saved it in my data folder, but when I reload gearswap it doesn't load the characters GS even though I am on the job. Any idea what might cause this?
    what it named
    you can name it any of these
    <Char_name>-<mainjob_short>.lua --example Bail-WAR.lua
    <Char_name>_<mainjob_short>.lua --example Bail_WAR.lua
    <Char_name>-<mainjob_long>.lua --example Bail-Warrior.lua
    <Char_name>_<mainjob_long>.lua --example Bail_Warrior.lua
    <mainjob_short>.lua --example WAR.lua
    <mainjob_long>.lua --example Warrior.lua
    <Char_name>.lua --example Bail.lua
    default.lua

  8. #5448
    Relic Weapons
    Join Date
    May 2008
    Posts
    327
    BG Level
    4
    FFXI Server
    Bismarck

    Quote Originally Posted by dlsmd View Post
    what it named
    you can name it any of these
    <Char_name>-<mainjob_short>.lua --example Bail-WAR.lua
    <Char_name>_<mainjob_short>.lua --example Bail_WAR.lua
    <Char_name>-<mainjob_long>.lua --example Bail-Warrior.lua
    <Char_name>_<mainjob_long>.lua --example Bail_Warrior.lua
    <mainjob_short>.lua --example WAR.lua
    <mainjob_long>.lua --example Warrior.lua
    <Char_name>.lua --example Bail.lua
    default.lua
    Right now I have it named Bail_blu_lua

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

    Quote Originally Posted by Bail View Post
    Right now I have it named Bail_blu_lua
    it should be
    Bail_BLU.lua make sure that its not Bail_BLU.lua.lua
    you might need to unhide file extensions

  10. #5450
    Relic Weapons
    Join Date
    May 2008
    Posts
    327
    BG Level
    4
    FFXI Server
    Bismarck

    Quote Originally Posted by dlsmd View Post
    it should be
    Bail_BLU.lua make sure that its not Bail_BLU.lua.lua
    you might need to unhide file extensions
    That seemed to fix it ^^ Not autoloading after I reload GS, but I can load the lua. Thank you for the help, very happy to not have to hit a macro to change into movement speed again!

  11. #5451
    RIDE ARMOR
    Join Date
    Oct 2016
    Posts
    17
    BG Level
    1

    Edit
    A friend fixed my lua for me :D

  12. #5452
    New Spam Forum
    Join Date
    Nov 2009
    Posts
    190
    BG Level
    3
    FFXI Server
    Sylph

    What's the correct syntax for setting a slot to be empty? My searches have come up with ammo=none, ammo=empty, and ammo="none" (I suspect that last one is wrong). I want to make sure the ammo slot gets cleared when equipping Dunna; I read somewhere that if you use ammo for nukes and whatnot that swapping Dunna back in can be problematic sometimes.

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

    its ammo=empty

  14. #5454
    New Spam Forum
    Join Date
    Nov 2009
    Posts
    190
    BG Level
    3
    FFXI Server
    Sylph

    Thanks!

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

    You might still want to use priority code for swappin dunna and nuke ammos.

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

    Quote Originally Posted by Trumpy View Post
    You might still want to use priority code for swappin dunna and nuke ammos.
    that should not be an issue because ammo is auto unequipped when you change your range gear anyways as long as you dont have something that trys to equip ammo afterwords

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

    I dunno, same with Robes that also take the head slot i find that if i dont use priorities it will occasionally screw up. I also usually put empty in the slot that should be empty. You would think it would work appropriately, it just always cause more problems for me. Dont think using priority would hurt though as an extra level of security would it?



    Also is there a way to determine how many maneuvers I have on as PUP? besides maybe trying to keep track of a variable like +1 when you gain and -1 when you lose one ? Im not sure if you could jsut keep track of them otherwise since there are various elemental manuevers.

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

    Quote Originally Posted by Trumpy View Post
    I dunno, same with Robes that also take the head slot i find that if i dont use priorities it will occasionally screw up. I also usually put empty in the slot that should be empty. You would think it would work appropriately, it just always cause more problems for me. Dont think using priority would hurt though as an extra level of security would it?
    thats because ffxi only auto removes sub and ammo when you change main and range respectivly

    Quote Originally Posted by Trumpy View Post
    Also is there a way to determine how many maneuvers I have on as PUP? besides maybe trying to keep track of a variable like +1 when you gain and -1 when you lose one ? Im not sure if you could jsut keep track of them otherwise since there are various elemental manuevers.
    yes its buffactive[[buff_name_or_buff_id] and if you want to know how many oif them are up do this buffactive[buff_name_or_buff_id] == count_your_looking_for

    Code:
        [299] = {id=299,en="Overload",ja="オーバーロード",enl="overloaded",jal="オーバーロード"},
        [300] = {id=300,en="Fire Maneuver",ja="ファイアマニューバ",enl="Fire Maneuver",jal="ファイアマニューバ"},
        [301] = {id=301,en="Ice Maneuver",ja="アイスマニューバ",enl="Ice Maneuver",jal="アイスマニューバ"},
        [302] = {id=302,en="Wind Maneuver",ja="ウィンドマニューバ",enl="Wind Maneuver",jal="ウィンドマニューバ"},
        [303] = {id=303,en="Earth Maneuver",ja="アースマニューバ",enl="Earth Maneuver",jal="アースマニューバ"},
        [304] = {id=304,en="Thunder Maneuver",ja="サンダーマニューバ",enl="Thunder Maneuver",jal="サンダーマニューバ"},
        [305] = {id=305,en="Water Maneuver",ja="ウォータマニューバ",enl="Water Maneuver",jal="ウォータマニューバ"},
        [306] = {id=306,en="Light Maneuver",ja="ライトマニューバ",enl="Light Maneuver",jal="ライトマニューバ"},
        [307] = {id=307,en="Dark Maneuver",ja="ダークマニューバ",enl="Dark Maneuver",jal="ダークマニューバ"},

  19. #5459
    Relic Shield
    Join Date
    Mar 2007
    Posts
    1,789
    BG Level
    6
    FFXIV Character
    Rehn Valor
    FFXIV Server
    Sargatanas
    FFXI Server
    Ragnarok

    How do I check how much of an item is in my inventory? This is what I want to do:

    Am I silenced?
    >>> use echo drops
    no echo drops?
    >>> use remedy

    I have the echo drops part, but I don't know how to do a check within gearswap if I run out of drops.

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

    Quote Originally Posted by Rehn View Post
    How do I check how much of an item is in my inventory? This is what I want to do:

    Am I silenced?
    >>> use echo drops
    no echo drops?
    >>> use remedy

    I have the echo drops part, but I don't know how to do a check within gearswap if I run out of drops.
    player[bag_name][item_name].count
    example:
    Code:
    player.inventory['echo drops'].count
    also please read GearSwap\beta_examples_and_information\Variables.x lsx for more info on things built in to gearswap

Page 273 of 302 FirstFirst ... 223 263 271 272 273 274 275 283 ... LastLast

Similar Threads

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