Gearswap Support Thread |
||
Gearswap Support Thread
I'm having an issue with my BLU spells not switching to Fast Cast gear if there's supposed to be a midcast swap as well.
Code function precast(spell) if spell.action_type == 'Magic' then equip(sets.precast.FC.Standard) if spell.skill == 'Blue Magic' then equip(sets.precast.FC.Blue) end end Code function midcast(spell,act) if spell.english == 'Spectral Floe' or spell.english == 'Subduction' then equip(sets.BlueMagic.INT) if buffactive['Burst Affinity'] then equip(sets.JA.BurstAffinity) end So example: If I have a fast cast earring, but no nuking earring, it'll switch to the fast cast piece correctly. However, if I have a fast cast belt and a nuking belt, it will not bother to switch to the fast cast belt, and go straight to the nuking belt. You can normally not see the transition from precast to midcast, you can use //gs showswaps to confirm it's working but I'm sure it is.
Bismarck.Inference said: » You can normally not see the transition from precast to midcast, you can use //gs showswaps to confirm it's working but I'm sure it is. Much obliged, you are correct. I thought I'd at least see the gear flicker, but I guess I was wrong! somehow I am getting
libs/tables.lua: 172 bad argument #1 to "pairs" (table expected, got nil) and also gearswap/refresh.lua:230 attempt to index field '?' (a nil value) Asura.Omnijuggernaut said: » somehow I am getting libs/tables.lua: 172 bad argument #1 to "pairs" (table expected, got nil) and also gearswap/refresh.lua:230 attempt to index field '?' (a nil value) literally I load a gearswap seems fine, then no matter what the next action is i get spammed with the gearswap/refresh error then as soon as that stops it starts spamming the libs/tables error
edit: doesn't matter which file I use and what job I am on, they all react the same. Asura.Omnijuggernaut said: » literally I load a gearswap seems fine, then no matter what the next action is i get spammed with the gearswap/refresh error then as soon as that stops it starts spamming the libs/tables error edit: doesn't matter which file I use and what job I am on, they all react the same. Asura.Vafruvant said: » Asura.Omnijuggernaut said: » literally I load a gearswap seems fine, then no matter what the next action is i get spammed with the gearswap/refresh error then as soon as that stops it starts spamming the libs/tables error edit: doesn't matter which file I use and what job I am on, they all react the same. Wasn't an update (at least of what I saw), but does seem to be working again. I had both errors as well, and there was a little update this morning, but I'm still seeing the following error on any action.
gearswap/refresh.lua:230 attempt to index field '?' (a nil value) Ragnarok.Lukikii said: » I had both errors as well, and there was a little update this morning, but I'm still seeing the following error on any action. gearswap/refresh.lua:230 attempt to index field '?' (a nil value) That one showed up again for me happened both after trying to cast something and /heal I can only assume it has to do with a rule and refresh/idle gear, i could be wrong but that would me my first assumption. Offline
Posts: 155
Asura.Omnijuggernaut said: » somehow I am getting libs/tables.lua: 172 bad argument #1 to "pairs" (table expected, got nil) and also gearswap/refresh.lua:230 attempt to index field '?' (a nil value) I had these exact same errors. What fixed it for me, for whatever reason, was unloading and getting rid of BlinkMeNot. Ragnarok.Lukikii said: » I had both errors as well, and there was a little update this morning, but I'm still seeing the following error on any action. gearswap/refresh.lua:230 attempt to index field '?' (a nil value) Asura.Omnijuggernaut said: » Ragnarok.Lukikii said: » I had both errors as well, and there was a little update this morning, but I'm still seeing the following error on any action. gearswap/refresh.lua:230 attempt to index field '?' (a nil value) That one showed up again for me happened both after trying to cast something and /heal I can only assume it has to do with a rule and refresh/idle gear, i could be wrong but that would me my first assumption. Offline
Posts: 155
Beaztmaster said: » Asura.Omnijuggernaut said: » somehow I am getting libs/tables.lua: 172 bad argument #1 to "pairs" (table expected, got nil) and also gearswap/refresh.lua:230 attempt to index field '?' (a nil value) I had these exact same errors. What fixed it for me, for whatever reason, was unloading and getting rid of BlinkMeNot. Also, I found that for me, before unloading BMN, turning off lockstyle seemed to fix it too. But I luvz lockstyle too much. Asura.Vafruvant said: » Ragnarok.Lukikii said: » I had both errors as well, and there was a little update this morning, but I'm still seeing the following error on any action. gearswap/refresh.lua:230 attempt to index field '?' (a nil value) Asura.Omnijuggernaut said: » Ragnarok.Lukikii said: » I had both errors as well, and there was a little update this morning, but I'm still seeing the following error on any action. gearswap/refresh.lua:230 attempt to index field '?' (a nil value) That one showed up again for me happened both after trying to cast something and /heal I can only assume it has to do with a rule and refresh/idle gear, i could be wrong but that would me my first assumption. Mithra with face 6A, I was using blinkmenot, I will try without btw it turns me into a hume still Asura.Omnijuggernaut said: » Asura.Vafruvant said: » Ragnarok.Lukikii said: » I had both errors as well, and there was a little update this morning, but I'm still seeing the following error on any action. gearswap/refresh.lua:230 attempt to index field '?' (a nil value) Asura.Omnijuggernaut said: » Ragnarok.Lukikii said: » I had both errors as well, and there was a little update this morning, but I'm still seeing the following error on any action. gearswap/refresh.lua:230 attempt to index field '?' (a nil value) That one showed up again for me happened both after trying to cast something and /heal I can only assume it has to do with a rule and refresh/idle gear, i could be wrong but that would me my first assumption. Mithra with face 6A, I was using blinkmenot, I will try without btw it turns me into a hume still No to Plastic Surgeon & I'm a Taru. Getting changed into a male Hume also. That bug is blinkmenot related, not plastic surgeon.
If this is a Blinkmenot issue, I would suggest to anyone having said issue to refrain from using Blinkmenot on your character and rely on /lockstyle. They will effectively do the same thing for you. I would imagine that you will not have this issue using BMN only for party members.
I unloaded BMN & some others and now I'm fine. And since I'm a bean counter and not an IT person, I forgot to write down what I shut down. Battlemod & Ohshi- I recall, but not the rest.
Anyhoo, thanks for the help! Ragnarok.Lukikii said: » I unloaded BMN & some others and now I'm fine. And since I'm a bean counter and not an IT person, I forgot to write down what I shut down. Battlemod & Ohshi- I recall, but not the rest. Anyhoo, thanks for the help! Offline
Posts: 250
How do I get the augmented armor thing to work? I cant get my dark rings to equip in my pdt and mdt sets when I added augments to them in my sets. My lua is very bare bones, doesn't use any includes except the organizer-lib one. I tried using Mote-Include.lua and it basically breaks everything. Depending on where I put "end" for different functions, I either get errors saying the "init-gear-sets" is a nil value, or I get errors saying my indexes for different sets associated with the same action (like different default WS sets, different default tp sets, etc.) are nil values. Examples:
"attempted to index global 'TP_Sets' (a nil value)" "attempted to call global 'init_gear_sets' (a nil value)" I want to be able to equip different dark rings since I don't have perfect ones yet and can use more than two of the 4 I have atm. Is there some specific file I need to make the augmented gear syntax work? The syntax doesn't cause an error but the gear doesn't swap, and I know the names and everything are right in the sets. oyama said: » How do I get the augmented armor thing to work? I cant get my dark rings to equip in my pdt and mdt sets when I added augments to them in my sets. My lua is very bare bones, doesn't use any includes except the organizer-lib one. I tried using Mote-Include.lua and it basically breaks everything. Depending on where I put "end" for different functions, I either get errors saying the "init-gear-sets" is a nil value, or I get errors saying my indexes for different sets associated with the same action (like different default WS sets, different default tp sets, etc.) are nil values. Examples: "attempted to index global 'TP_Sets' (a nil value)" "attempted to call global 'init_gear_sets' (a nil value)" I want to be able to equip different dark rings since I don't have perfect ones yet and can use more than two of the 4 I have atm. Is there some specific file I need to make the augmented gear syntax work? The syntax doesn't cause an error but the gear doesn't swap, and I know the names and everything are right in the sets. Offline
Posts: 250
I'm having trouble where I'm unable to get my magic burst set to equip on the midcast when I have toggled it on. Also how would I go about writing a rule for fast cast in both light/dark arts and addendum white/black?
http://pastebin.com/RdSguQYb Offline
Posts: 397
So I'm using Prothescar's gearswap from the blue mage guide on this website, minus a few changes for my gear and added another couple lines for some spells, but it seems to equip my ws set no matter the spell I use. I'm wondering if someone could take a look at it and tell me where the problem lies. Thanks
http://pastebin.com/uCqH4vGC oyama said: » Instead of Code sets.precast.CDC = {} CDC_Sets = {"CDCAcc", "CDCDD"} Code sets.CDC = {} sets.CDC.index = {'CDCAcc','CDCDD'} sets.CDC.CDCAcc = {} sets.CDC.CDCDD = {} You're trying to combine the two different GearSwap styles of Motenten and the base version together, and it's throwing everything off. I would again use that file I linked as reference and write yours more along that style, or pick up a Mote (Kinematics) based file and use that. Odin.Zadora said: » I'm having trouble where I'm unable to get my magic burst set to equip on the midcast when I have toggled it on. Also how would I go about writing a rule for fast cast in both light/dark arts and addendum white/black? http://pastebin.com/RdSguQYb] Second, when using Mote-based files like this, never just use the default function pretarget or function precast, always use function job_pretarget or function job_precast. Many of his included files, as the include(Mote-Include.lua),have the default functions defined and then apply job_ functions for the users. Third, your command to equip sets,magic_burst looks to have a state.MagicBurst.value, for which you don't have a toggle. You have the coding for one in there, but it actually binds after you unload SCH, as coded here: Code function user_unload() send_command('unbind ^`') send_command('bind @` gs c toggle MagicBurst') end Code send_command('bind @` gs c toggle MagicBurst') Bongarippa said: » So I'm using Prothescar's gearswap from the blue mage guide on this website, minus a few changes for my gear and added another couple lines for some spells, but it seems to equip my ws set no matter the spell I use. I'm wondering if someone could take a look at it and tell me where the problem lies. Thanks http://pastebin.com/uCqH4vGC Code sets.WS.SanguineBlade = {} sets.WS.SanguineBlade = {ammo="Erlene's notebook", head="Hagondes hat +1",neck="Eddy necklace",ear1="Hecate's earring",ear2="Novio earring", body="Hagondes Coat +1",hands="Hagondes cuffs",ring1="Archon ring",ring2="Strendu ring", back="Cornflower cape",waist="Aswang sash",legs="Iuitl Tights",feet="Hagondes sabots"} Other than that, I'm not seeing anything that should be triggering a WS set on a spell. Have you verified this with //gs showswaps, not just eyeballing it? Also, a handy tool to see what set is being applied is to use //gs debugmode, as it will actually tell you which set is being called in what part of the casting. Offline
Posts: 250
EDIT: NVM I fixed the problem I had originally outlined in this post. However still haven't gotten augments to work, gonna keep working since I'm getting new errors now and gonna work on em until I hit a wall or I get it working. To reiterate though, the way I had it coded worked perfectly fine, did not throw any errors. The only time I got errors was when I put in Mote's includes to try and get GS to recognize different augmented gear. Without the includes it works fine other than not recognizing augs.
EDIT2: While I meticulously copied the augs word for word from the game and used the syntax exactly as I saw it in other files, I guess I was still making some kind of error. I manually put on all the gear from my pdt set, including the dark rings that started the problem, and then exported it and copied the set from the exported file into the set in my BLU file, and it worked. Thanks for the help, I feel dumb, but I really don't know what I was typing wrong. |
||
All FFXI content and images © 2002-2024 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|