Code
GearSwap: Lua runtime error: GearSwap/flow.lua:102:
User Event Error: ...XIWindower4/addons/GearSwap/libs/organizer-lib.lua:101: attempt to get length of field '?' (a nil value)
those are the lines it points to:
flow.lua
Code
function equip_sets(swap_type,ts,...)
.
.
.
if type(swap_type) == 'function' then
results = { pcall(swap_type,...) }
if not table.remove(results,1) then error('\nUser Event Error: '..results[1]) end <-- this one
elseif swap_type == 'equip_command' then
equip(val1)
else
user_pcall(swap_type,...)
end
end
organizer-lib.lua
Code
function org.export_set()
.
.
.
for id=1,4 do
if #inv > inventory_max and #ward[id] + (#inv-inventory_max) < wardrobes[id].max then <-- this one
local available = wardrobes[id].max - #ward[id]
local length = math.min(#inv-80,available)
ward:extend(inv:slice(1-length))
end
end
end
Is that organizers way of saying "your bags are finaly too frikken full, gobby style - I'm tired of this, screw off!"?
Only happens on one job, the other two switch fine.
*edit* I'd like to add at the time I was receiving this error I didn't have one of the new items from the cloud of darkness htbf yet.