I know what spells to set. I just need help with my settings so it switches my spell sets when I tell it to.

Edit: This is my settings file currently. The bluwar set works fine, but the blurdm set does nothing when I try to load it. Honestly I have no idea how to write code so I may entirely be my fault here.

Ok tonight I got the //aset save macro to work and save my sets from the game instead of notepad++. Seems it was a mistake with my editing somewhere. This is an awesome addon for blu though. Makes changing spells so much easier.

ah.. i missed this post sorry. I don't keep up with ffxiah forums that often. Yea, the slot syntax is very important.. slot01 instead of slot1 because of the way i made them load in. Again i apologize i did not see this sooner. I suggest in the future to make an issue here https://github.com/nitrous24/Lua/issues or message me directly if you're having issues with one of my addons.

Can someone teach me how to use this? Specifically, I want to know if there is a command that allows you to switch through sets. I know you can switch based on sub jobs but are there any other options? I am asking this because I want to switch my spells during salvage while I am fighting the boss and not fighting the boss. Any help is appreciated. Thanks!

I have spell slots in azure sets set a certain way and want to have azure sets set the spells in the actual order listed. I see that there is this line added in most recent update:
<setmode>PreserveTraits</setmode>

I want wondering if there is a setting to allow for sets to be set by the slot they are listen in only and not in this order.

I am now using yours and I did delete a few things from the main lua, namely the vw1 vw2 and default sets. Dont think that will effect the over all stability?

Anyway my actual question now, it seems that with yours I can set it to ClearFirst and then it will keep the order and does seem to set the spells in a timely manner, I am not sure why the main addon doesnt?

Also curious what the lowest safe set speed would be? Currently set at the default of 0.65.

I have the worst memory, so I wouldn't be able to recall what I changed without comparing the two files. I don't remember changing anything explicitly in regards to ClearFirst, but I did fix a couple logical errors, so maybe something related to that.

And I don't use the plugin myself, so I'm not sure what speed to recommend. Sorry x:

I have 2 sets Mab set and melee set, but when i logout the sets dont save which im saving an it will work when im logged on, but i have 2 accounts an they both have blus. Not sure why it isnt saving :/

Is there any way to make this work when the main job id is not BLU? I would like to store my RUN/BLU hate spells as a set, but I get a scripting error. I took a look at the code and it seems that main job id needs to be changed, but I don't know if that is the only thing.

It turns out that ASets was coded to only use the get_mjob_data() function. That only has the ability to get spells associated with the main job. So the errors would cease with the fixes above. However, it wouldn't save or set spells for when blu is sub. If you replace the get_current_spellset() function with the code below it will allow you to set spells no matter the setup. It will test if blu is main or if blu is sub. The same issue holds as before, cannot be sure what would happen if you requested to set a spell that you technically cannot. So use carefully. Just wanted to post incase someone wanted this for the future as I found nothing on the subject.

function get_current_spellset()
if windower.ffxi.get_player()['main_job_id'] ~= 16 and windower.ffxi.get_player()['sub_job_id'] ~= 16 then return nil end
local spellTable = T{}
local tmpTable = T{}
if windower.ffxi.get_player()['main_job_id'] == 16 then
local tmpTable = T(windower.ffxi.get_mjob_data()['spells'])
local i,id
for i = 1, #tmpTable do
local t = ''
if tonumber(tmpTable) ~= 512 then
for spell in spells:it() do
if tonumber(tmpTable) == tonumber(spell['id']) then
if i < 10 then t = '0' end
spellTable['slot'..t..i] = spell['english']:lower()
break
end
end
end
end
end
if windower.ffxi.get_player()['main_job_id'] ~= 16 then
local tmpTable = T(windower.ffxi.get_sjob_data()['spells'])
local i,id
for i = 1, #tmpTable do
local t = ''
if tonumber(tmpTable) ~= 512 then
for spell in spells:it() do
if tonumber(tmpTable) == tonumber(spell['id']) then
if i < 10 then t = '0' end
spellTable['slot'..t..i] = spell['english']:lower()
break
end
end
end
end
end
return spellTable
end

If you truly wanted to do the addon justice, you would make a list of blu spells that are 49 and below and then run a check when setting the spells to see if the requested spell to be set is in said list or not if main job is not blu. That's a good deal of work though.