is flash almost ready to cast??
if so there is nothing i can do about it
its because of the way lua calculates numbers
do you have the spell flash?? or is your pld at a high enuf lvl to use flash??
if not then the reason is because the info for flash is being sent to the filtered_action function not pretarget/precast
if you put your rule in pretarget it will only go to pretarget if you use a macro or if you typein the command /ma "Flash" <t>
in other words if your trying to use the command from the menu it wont go off
any rule that involves cancel_spell() will only work from
pretarget/precast/filtered_action
attempt to compare number to nil.
oops my bad it should be this
i keep getting thoes mixed upCode:elseif spell.english == "Flash" and (windower.ffxi.get_spell_recasts()[spell.recast_id] > 0) then cancel_spell() if (windower.ffxi.get_spell_recasts()[679] > 0) then send_command('input /ma "Blank Gaze" <t>') end
just cheked and only files i have in my Dtat folder are my lua's for each job.
the mote include files are in the libs folder
This is really bugging me happend on cor only and with any cor lua i try to add which is really Strange.
The error you mentioned suggests that gearswap is unable to find Mote's includes, or that your includes are outdated.
"M" is defined in libs/Modes.luaCode:attempt to call global 'M' ( a nil value)
Do you have this file?
Otherwise, copy your Cor lua to pastebin and share the URL. If you have it split into a sidecar, include that as well.
If you play multiple characters, make sure your job luas are named correctly, and make sure you don't have more than one cor lua in the data folder. (unless one is a sidecar)
sorry it took so long to get back to you try this
Code:elseif spell.name == "Flash" and (windower.ffxi.get_spell_recasts()[spell.recast_id] > 0) then cancel_spell() add_to_chat(7,"Cancelling ="..tostring(spell.name)) if (windower.ffxi.get_spell_recasts()[679] > 0) then send_command('input /ma "Blank Gaze" <t>') add_to_chat(7,"Swithch to Blank Gaze") end
nothing until i deleted windower.ffxi.get lines lol its not reading me res files or something..
today yes but not since the last line you gave me
there is a weird thing that happens when you reload any lua addon it will sometimes not work properly after reloading it several times
the ways you can fix it are
in windower console
reload luacore
or in chat
//reload luacore
if that does not work you can always try restarting ffxi
if that does not work then there is a bug in windower