Page 1 of 1
problems with lups
Posted: 20 Nov 2012, 22:36
by Erik
1. when lups effect start there seems to be a delay(for a frame or so) before the actual image is loaded(black square), is that normal?
2. I'm also im getting this
Code: Select all
Error: LuaRules::RunCallIn: error = 2, RecvFromSynced, [string "lups/lups.lua"]:227: attempt to call field 'ActivateMaterial' (a nil value)
whenever a unit enters stealth for the first time
the orange effect doesn't show up until the unit decloaks and cloaks again
which isn't the case in ZeroK for example
Re: problems with lups
Posted: 21 Nov 2012, 02:13
by jK
Erik wrote:1. when lups effect start there seems to be a delay(for a frame or so) before the actual image is loaded(black square), is that normal?
no
Erik wrote:2. I'm also im getting this
Code: Select all
Error: LuaRules::RunCallIn: error = 2, RecvFromSynced, [string "lups/lups.lua"]:227: attempt to call field 'ActivateMaterial' (a nil value)
whenever a unit enters stealth for the first time
the orange effect doesn't show up until the unit decloaks and cloaks again
which isn't the case in ZeroK for example
you need LuaRules/Utilities/*.lua (and its loading code in gadgets.lua) for the cloaking effect.
Re: problems with lups
Posted: 21 Nov 2012, 14:16
by Erik
okay the 2nd problem is fixed now, thanks.
Re: problems with lups
Posted: 25 Feb 2015, 16:42
by Jools
I also have problems with this:
Error: LuaRules::RunCallIn: error = 2, UnitCloaked, [Internal Lua error: Call failure] [string "lups/lups.lua"]:190: attempt to call field 'ActivateMaterial' (a nil value)
The older version of lups.lua doesn't mention ActivateMaterial at all. What utilities are needed in LuaRules/Utilities? Lups only comes with tablefunctions.lua in that folder and loading it does not help wrt this problem.