@ Karizo
here is a better example
http://pastebin.com/UGhM0PQc
in the dynamic setup it can cause issues ware you can equip gear you realy dont want to but if you code it correctly you wont see this issue at all
in the GS Default equip you will notice that the error can occur but again if codded correctly you will have no error but in this one you can also have another issue ware gs is equiping your set and because you have gs starting another equip cycle it can miss some gear and no amount of debugging can fix this error
Nope, I just have all the "Mote-" files plus luas for jobs.
None that I can imagine would do something like this
Addons
Distance
GearSwap
Itemizer
porter
Timestamp
Treasury
Plugins
ConsoleBG
DrawDistance
FishingCrashFix
GearCollector
GuildWork
Timers
ok try this get Monomi to auto recast as you did before and unload each plugin/addon untill it stops because if gs was causing it then when you unlode it it will automatically stop trying to recast same goes for the other plugins/addons
if that does not work then it can only mean that eather luacore is messed up or your macro auto retries over and over
or your using a bot thats trying to cast said spell and it recast timer is messed up
It stops doing it when I unload Gearswap, but it will start doing it again as soon as I load Gearswap unless I log out first.
are you on dev or live??
live
do you have mots includes in gearswap/data ware you job files are?? if so remove them you dont need them there thay should only be in gearswap/libs
I haven't looked at the file yet, so this is not targeted advice, but one thing to debug this is to simply clear your user-file completely, then see if it still happens. Then add your code bits, piece by piece (for example, start with the precast, then midcast, then aftercast, then buff/status change, etc.) and see at which point it breaks. That way you can pin-point the error pretty easily usually.
I have actually heard of this happening to someone, never experienced it, except he was having problems with RNG I think. It would spam /ra non-stop, even though he had disabled auto-range which some GS templates have.
I have been trying to get BLU UL to work but cant seem to find any insight on a solution, if anyone can help it would be much appreciated.
function job_precast(spell, action, spellMap, eventArgs)
if unbridled_spells:contains(spell.english) and not state.Buff['Unbridled Learning'] then
eventArgs.cancel = true
windower.send_command('@input /ja "Unbridled Learning" <me>; wait 1.5; input /ma "'..spell.name..'" '..spell.target.name)
end
end
that rule should be in the filtered_action function
any spell/ability that you cant cast because of main_job/main_job_lvl/sub_job/sub_job_lvl/buff/item(i.e. nin tools, etc.) gets sent to filtered_action
!!you should always read any documentation on the addons/plugins before you use it!!
does this look correct
this is supost to allow me to lock gear while building sets dynamicallyCode:local status = {end_event=false,end_spell=false, lock={main=false,sub=false,range=false,ammo=false,head=false,body=false,hands=false,legs=false,feet=false, neck=false,waist=false,left_ear=false,right_ear=false,left_ring=false,right_ring=false,back=false,}, } for i, v in ipairs(status.lock) do if v then disable(tostring(i)) elseif not v then enable(tostring(i)) end end
like this
status.lock.head = true
thats because mote did not include it in his setup but it is apart of gearswap
just put this at the bottom of your file
as long as you have unbridled_spells built it will workCode:function filtered_action(spell) if unbridled_spells:contains(spell.english) then cancel_spell() windower.send_command('@input /ja "Unbridled Learning" <me>; wait 1.5; input /ma "'..spell.name..'" '..spell.target.name) end end
Logged on today to randomly get a runtime error. I haven't touched anything and not really sure what the problem is. I can see only parts of the error as it cuts off in windower: gearswap/equip_processing.lua.43: attempt to compare (cut off). Looked at line 43 and this is what I have:
function check_wearable(item_id)
if not item_id or item_id == 0 then -- 0 codes for an empty slot, but Arcon will probably make it nil at some point
elseif not res.items[item_id] then
debug_mode_chat("Item "..item_id.." has not been added to resources yet.")
elseif not res.items[item_id].jobs then -- Make sure item can be equipped by specific jobs (unlike pearlsacks).
--debug_mode_chat('GearSwap (Debug Mode): Item '..(res.items[item_id][language] or item_id)..' does not have a jobs field in the resources.')
else
return (res.items[item_id].jobs[player.main_job_id]) and (res.items[item_id].level<=player.jobs[res.jobs[player.main_job_id].ens]) and (res.items[item_id].races[player.race_id])
end
return false
end
-------------
Any ideas?![]()