If i had to guess, youre not undefining something along the way when you unload your lua to change job.
If i had to guess, youre not undefining something along the way when you unload your lua to change job.
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?
Well, I just noticed that it happens on BLM when I change subjobs. Time to take a look at my sub_job change functions!
on sub job just do this if you need to
self_command('gs reload')
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
Edit
A friend fixed my lua for me :D
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.
its ammo=empty
Thanks!
You might still want to use priority code for swappin dunna and nuke ammos.
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.
thats because ffxi only auto removes sub and ammo when you change main and range respectivly
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="ダークマニューバ"},
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.