only half of my commands are working but thay were working yesterday
these are the ones that do not work anymore each of these should add to chat but neither will do even that and yes stepsmax = 1 and Usestaff = 'Atk' are in getsets you can look at my magestaves include to see it
there are only 3 things that i can think of that could be the issueCode:if command == 'stepcount' then if stepmax <= 4 then stepmax = stepmax +1 else stepmax = 1 end add_to_chat(123, 'Max step = ' ..Stepmax) end if command == 'tstavetouse' then if Usestaff == 'Atk' then Usestaff = 'Acc' add_to_chat(123, '----- STAVES SET TO ACC -----') elseif Usestaff == 'Acc' then Usestaff = 'Atk' add_to_chat(123, '----- STAVES SET TO ATK -----') end end
1. your forcing motes include
2. a major error in the function self_command(command)
3. a bug in include function
When loggin in i get error:
Gearswap Lua error (runtime) blehblah/gearswap/helper_functions.lua:236: attempt to index field '?' (a nil value)
is there any way to "print" using add_to_chat what piece is in a set? like I have set.idle, If I would like to print that feets it have there?
edit: nvm.. figure it out... trial/error ftw ~.~
Update your code?
the sub_job_change function now seems to be working.
I cannot reproduce any of the random gearswap.lua errors I was getting yesterday.
Only one that's left is on gameload and on the helper_functions.lua file (line 236)
Good job guys!
Okay, I think I just fixed the nil error in helper functions. I also fixed some tomfoolery with <st> targets. As far as I know, all errors should be solved in the current version.
Also, some recent change has caused LuaCore not to free up memory when it reloads, which makes processes get huge if you re-run launcher a lot and get updates. We're trying to figure out what it is.
I'm working my third SAM.lua, the two previous worked great after some Frankenstein'n but I had some minor issues and decided to work off Mote's SAM.lua (literally a copy/paste, the additions I made didn't change any of the functions) since it seems like it'll stay functional through updates.
I was able to add in some things such as a Snapshot set w/ np and its working real nice but something I was able to do with the others is toggle through Offensive modes that would then be locked in. With this .lua I'm having an issue in getting sets to stick. If I need my Acc set for example, I can call it in but with every Aftercast its going back to sets.engaged as default as opposed to going back to sets.engaged.Acc, etc. I'm fairly confident this has been spelled out somewhere, I read through the SelfCommands and other files and can see the info is there I'm just not sure how to execute it.
Basically my question is: How can I turn something like //gs sets.egaged.Acc into a Macro that will then keep me TP'n in that State/Mode?
I am also unable to get my Twilight set to lock in while weakened, which I'm sure is the same or similar step that I'm missing from above. It was done 2 different ways in the other .luas. I tried incorporating:
if state.Buff['Weakness'] then
equip(sets.Reraise)
Which matched the syntax of the other state.Buff gear locks but to no avail.
I'm still getting my feet wet with GS and have KO'd myself a ton of times trying to figure this out... Thanks and appreciation for any help you can give.
If you are having compatibility issues and want to just use your old version of Mote-Include, rename it and the associated files (and change the file names inside Mote-Include). Then include your new file name and you'll have that version forever.
did the equipment description for ring2= change?
gearswap refuses to change any kind of ring on ring2, but everythign on ring1 works fine
ring1 and ring2 swapping fine for me, as far as I could see on BRD.
I'm still getting the random error on line 407 of Gearswap.lua when I engage/disengage though =/
And a random error 294 (inventory 0) when zoning.
disregard what I said, foudn the mistake
Had an issue where luzaf's ring toggle wasn't working with Mote's COR GS and since I found the problem thought I'd share the fix:
Inside the COR.lua file the job_toggle(field) function needs to be renamed to job_toggle_state(field). That should fix the problem for anyone else who was experiencing it (probably in other job files too that haven't been updated yet).
I am using Moten's THF lua and am having issues with these error messages: Lua error .... gearswap.lua: lines 294, 273 and 407 - attempt to index field ? (a nil value)
I have rerun the launcher a few times so I know that is up to date. I know some people in earlier posts have had the same error messages, is there something i need to do or is there a fix in progress ?
These errors have only appeared today, before that everything was working perfectly. Thanks in advance for your help![]()