What does this error message mean?
Moderator: Forum Moderators
What does this error message mean?
This is a game-crashing error.
The game quits back to desktop.
I am on Windows 10, using BfW 1.13.6
The code of that scenario did work on BfW 1.12, but seems not to work on BfW 1.13
The game quits back to desktop.
Code: Select all
20161202 21:16:24 error scripting/lua: lua/wml-tags.lua:1027: bad argument #1 to 'create_unit' (WML table expected, got number)
stack traceback:
[C]: in field 'create_unit'
lua/wml-tags.lua:1027: in local 'cmd'
lua/wml-utils.lua:137: in field 'handle_event_commands'
lua/wml-flow.lua:6: in function <lua/wml-flow.lua:5>
20161202 21:16:29 warning engine: Could not find move_unit_fake route from 14,14 to 8,16: ignoring complexities
20161202 21:16:29 error scripting/lua: game_error: creating unit with an empty type field
stack traceback:
[C]: in field 'create_unit'
lua/wml-tags.lua:1027: in local 'cmd'
lua/wml-utils.lua:137: in field 'handle_event_commands'
lua/wml-flow.lua:6: in function <lua/wml-flow.lua:5>
20161202 21:30:11 error scripting/lua: lua/wml-tags.lua:1027: bad argument #1 to 'create_unit' (WML table expected, got number)
stack traceback:
[C]: in field 'create_unit'
lua/wml-tags.lua:1027: in local 'cmd'
lua/wml-utils.lua:137: in field 'handle_event_commands'
lua/wml-flow.lua:6: in function <lua/wml-flow.lua:5>
20161202 21:30:15 warning engine: Could not find move_unit_fake route from 14,14 to 8,16: ignoring complexities
20161202 21:30:16 error scripting/lua: game_error: creating unit with an empty type field
stack traceback:
[C]: in field 'create_unit'
lua/wml-tags.lua:1027: in local 'cmd'
lua/wml-utils.lua:137: in field 'handle_event_commands'
lua/wml-flow.lua:6: in function <lua/wml-flow.lua:5>
The code of that scenario did work on BfW 1.12, but seems not to work on BfW 1.13
Author of Antar, Son of Rheor ( SP Campaign) | Development Thread + Feedback Thread + Replays of ASoR
Re: What does this error message mean?
this error menas that an invalid variable= was given in [unstore_unit] (the variable= pointed to a number attribute instead of a wml node)
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.