Community Forum

LUA errors??

Forum Overview >> Scripting

CategoryScripting
Created14.01.2017 18:09


Jason Mcgee (Unknown) 14.01.2017 18:09
Warning (LUA): 'setVisibility': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (630): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/effects/Effect.lua (139) : setVisibility
dataS/scripts/effects/CutterEffect.lua (73) : transformEffectNode
dataS/scripts/effects/Effect.lua (49) : transformEffectNode
dataS/scripts/effects/CutterEffect.lua (21) : load
dataS/scripts/vehicles/specializations/Cutter.lua (272) : load
dataS/scripts/vehicles/Vehicle.lua (622)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Warning (LUA): 'setVisibility': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (630): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/effects/CutterEffect.lua (74) : setVisibility
dataS/scripts/effects/Effect.lua (49) : transformEffectNode
dataS/scripts/effects/CutterEffect.lua (21) : load
dataS/scripts/vehicles/specializations/Cutter.lua (272) : load
dataS/scripts/vehicles/Vehicle.lua (622)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Warning (LUA): 'setVisibility': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (630): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/effects/Effect.lua (139) : setVisibility
dataS/scripts/effects/CutterEffect.lua (73) : transformEffectNode
dataS/scripts/effects/Effect.lua (49) : transformEffectNode
dataS/scripts/effects/CutterEffect.lua (21) : load
dataS/scripts/vehicles/specializations/Cutter.lua (272) : load
dataS/scripts/vehicles/Vehicle.lua (622)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Warning (LUA): 'setVisibility': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (630): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/effects/CutterEffect.lua (74) : setVisibility
dataS/scripts/effects/Effect.lua (49) : transformEffectNode
dataS/scripts/effects/CutterEffect.lua (21) : load
dataS/scripts/vehicles/specializations/Cutter.lua (272) : load
dataS/scripts/vehicles/Vehicle.lua (622)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Warning (LUA): 'setVisibility': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (630): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/effects/Effect.lua (139) : setVisibility
dataS/scripts/effects/CutterEffect.lua (73) : transformEffectNode
dataS/scripts/effects/Effect.lua (49) : transformEffectNode
dataS/scripts/effects/CutterEffect.lua (21) : load
dataS/scripts/vehicles/specializations/Cutter.lua (272) : load
dataS/scripts/vehicles/Vehicle.lua (622)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Warning (LUA): 'setVisibility': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (630): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/effects/CutterEffect.lua (74) : setVisibility
dataS/scripts/effects/Effect.lua (49) : transformEffectNode
dataS/scripts/effects/CutterEffect.lua (21) : load
dataS/scripts/vehicles/specializations/Cutter.lua (272) : load
dataS/scripts/vehicles/Vehicle.lua (622)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Warning (LUA): 'setVisibility': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (630): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/effects/Effect.lua (139) : setVisibility
dataS/scripts/effects/CutterEffect.lua (73) : transformEffectNode
dataS/scripts/effects/Effect.lua (49) : transformEffectNode
dataS/scripts/effects/CutterEffect.lua (21) : load
dataS/scripts/vehicles/specializations/Cutter.lua (272) : load
dataS/scripts/vehicles/Vehicle.lua (622)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Warning (LUA): 'setVisibility': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (630): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/effects/CutterEffect.lua (74) : setVisibility
dataS/scripts/effects/Effect.lua (49) : transformEffectNode
dataS/scripts/effects/CutterEffect.lua (21) : load
dataS/scripts/vehicles/specializations/Cutter.lua (272) : load
dataS/scripts/vehicles/Vehicle.lua (622)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Warning (LUA): 'setVisibility': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (630): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/effects/Effect.lua (139) : setVisibility
dataS/scripts/effects/CutterEffect.lua (73) : transformEffectNode
dataS/scripts/effects/Effect.lua (49) : transformEffectNode
dataS/scripts/effects/CutterEffect.lua (21) : load
dataS/scripts/vehicles/specializations/Cutter.lua (272) : load
dataS/scripts/vehicles/Vehicle.lua (622)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Warning (LUA): 'setVisibility': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (630): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/effects/CutterEffect.lua (74) : setVisibility
dataS/scripts/effects/Effect.lua (49) : transformEffectNode
dataS/scripts/effects/CutterEffect.lua (21) : load
dataS/scripts/vehicles/specializations/Cutter.lua (272) : load
dataS/scripts/vehicles/Vehicle.lua (622)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Warning (LUA): 'setVisibility': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (630): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/effects/Effect.lua (139) : setVisibility
dataS/scripts/effects/CutterEffect.lua (73) : transformEffectNode
dataS/scripts/effects/Effect.lua (49) : transformEffectNode
dataS/scripts/effects/CutterEffect.lua (21) : load
dataS/scripts/vehicles/specializations/Cutter.lua (272) : load
dataS/scripts/vehicles/Vehicle.lua (622)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Warning (LUA): 'setVisibility': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (630): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/effects/CutterEffect.lua (74) : setVisibility
dataS/scripts/effects/Effect.lua (49) : transformEffectNode
dataS/scripts/effects/CutterEffect.lua (21) : load
dataS/scripts/vehicles/specializations/Cutter.lua (272) : load
dataS/scripts/vehicles/Vehicle.lua (622)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction

Jason Mcgee (Unknown) 14.01.2017 18:12
Sorry if posted in wrong spot, 1st time posting. The game and everything runs fine and I have some where around 150 mods in. I did not mod any of them and they were just DL'ed and installed. I checked my log today and noticed all these in there (^^ABOVE^^). Can anyone tell me what they are and what is creating them? if they are not good or if they are fine? Thank you in advance.

Roy Vlasuk (lionheart6) 29.04.2017 07:23
Warning (LUA): 'setVisibility': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (640): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/effects/Effect.lua (139) : setVisibility
dataS/scripts/effects/CutterEffect.lua (73) : transformEffectNode
dataS/scripts/effects/Effect.lua (49) : transformEffectNode
dataS/scripts/effects/CutterEffect.lua (21) : load
dataS/scripts/vehicles/specializations/Cutter.lua (272) : load
dataS/scripts/vehicles/Vehicle.lua (627)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction

This is my log...and i have NO mods due to testing a map (you never want to run any mods while testing the initial map state) I can not for the life of me figure out where this is going wrong. Everything works on the map perfectly.

Emil Drefers (Unknown) 02.05.2017 06:50
Hi,

@Roy: does this error also appear if you start a default map?
Does your new map have any new fruit types?

Cheers,
Emil

Johny De Hondt (Killerclown74) 03.07.2017 13:48
Warning (LUA): 'setVisibility': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (640): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/effects/Effect.lua (139) : setVisibility
dataS/scripts/effects/CutterEffect.lua (73) : transformEffectNode
dataS/scripts/effects/Effect.lua (49) : transformEffectNode
dataS/scripts/effects/CutterEffect.lua (21) : load
dataS/scripts/vehicles/specializations/Cutter.lua (272) : load
dataS/scripts/vehicles/Vehicle.lua (627)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction

i have this same error, after adding new fruits into a map.



Note: Log in to post. Create a new account here.