Error Messages When Fritzbot-ET Reads The Aiscript
From Bots-United Wiki
Contents[hide] |
Error Messages: When Fritzbot ET Reads The Aiscript
Normal Messages
When ET loads the mod and the map, messages start appearing in the console,
related to the map script and then for the Fritzbot ET mod;
====================== |
When Fritzbot ET runs and is about to begin the warmup it searches the |
Reading bots/scripts/mapname.aiscript (length: .... ) |
The AI script file must be located in the directory;
bots/scripts/
and be of filetype;
.aiscript
Aiscript Generated Error Messages
Should there be a error in the aiscript file or the file be corrupt or missing
then some of the following messages will appear...
CONSOLE MESSAGE:1 |
POSSIBLE CAUSES: |
Error! Script file is empty!! |
- Syntax error that aborts the aiscript being read. |
Error (line #): expected 'bot_SightDist' found "text"> |
- line with bot_sightdist is missing from the aiscript file. |
Error (line #): expected 'spawnflag_is_priority' found "text" |
- line with spawnflag_is_priority is missing from the aiscript file. |
Error (line #): the value for 'spawnflag_is_priority' is invalid! |
- Value is missing after spawnflag_is_priority. |
Error (line #): expected 'cmdpost_is_priority' found "text" |
- Line with cmdpost_is_priority is missing from the aiscript file. |
Error (line #): the value for 'cmdpost_is_priority' is invalid! |
- Value is missing after cmdpost_is_priority. |
Error (line #): expected 'construct_is_priority' found "text" |
- line with construct_is_priority is missing from the aiscript file. |
Error (line #): the value for 'construct_is_priority' is invalid! |
- Value is missing after construct_is_priority. |
Error (line #): expected 'map_has_vehicle' found "text" |
- line with map_has_vehicle is missing from the aiscript file. |
Error (line #): the value for 'map_has_vehicle' is invalid! |
- Value is missing after map_has_vehicle. |
Error (line #): expected 'vehicle_entity_number' found "text" |
- line with vehicle_entity_number is missing from the aiscript file. |
Error (line #): the value for 'vehicle_entity_number' is invalid! |
- Value is missing after vehicle_entity_number. |
Error (line #): expected 'vehicle_team_owner' found "text" |
- vehicle_team_owner is not the first executable line after vehicle_entity_number and map_has_vehicle 1. |
Error (line #): the value for 'vehicle_team_owner' is invalid! |
- Value is out of range for the script_mover entity number. |
Error: no '#EOF' command found or file too long!!! |
- #EOF must be on a newline by itself at the end of the file. |
Error: found more then 1 "DEFAULT" command in the aiscript! |
- The default action test must be the first action test block after the 5 or 7 line |
Error (line #): ACTION # does not exist on this map!! |
- Verify number after keyword action in aiscript exists in waypoints (nav). |
Error (line #): expected '{' found "text" |
- Action tests must start with an open brace after the line with action N,
(where N is the number of the action triggering this code block). Even
if only one line of code is required it must be after the opening brace
and before the closing brace of the action test. |
Error: no closing brace in script file for ACTION # or file too long!!! |
- Verify that the brace at the end of the block is a closing brace } not a opening one {. |
Error (line #): too many conditional tests on same line! Only 2 allowed! |
- conditional statements may use a single conditional keyword, or 2 conditional keywords separated by a and or a or. Conditional statements can not be cascaded or nested. |
Error (line #): conditional action value N isn't a valid action!! |
- Nummeric value following one of the conditional keywords is not a
script-able type of action or does not correspond to the type needed by
the condition. |
Error (line #): conditional action value N isn't a ACTION_STEAL!! |
- Message applies to the following keywords; |
Error (line #): conditional action value N isn't a ACTION_CONSTRUCT!! |
- The error occurs because value N links to an action that is
neither action_construct_major (19) nor action_construct_major (2) type. |
Error (line #): conditional action value N isn't a ACTION_CMDPOST!! |
- The error occurs because value N links to an action that is not an action_cmdpost (22) type. |
Error (line #): WAIT value N isn't a valid wait value. Must be between 1 and 500 seconds! |
- Value is out of range 1..500. |
Error (line #): node value N for node_connect not valid, or missing! |
- Statement should be of the form node_connect N1 N2 true/false. N1
and N2 must be numeric values matching one of the nodes respectively in
the .nav file. |
Error (line #): node_connect is missing a trailing 'true' or 'false' statement! |
- Statement should be of the form node_connect N1 N2 true/false. The word following the N1, N2 values is misspelled or missing. |
Error (line #): node value N for node_disconnect not valid, or missing! |
- Statement should be of the form node_disconnect N1 N2 true/false.
N1 and N2 must be numeric values matching one of the nodes respectively
in the .nav file. |
Error (line #): node_disconnect is missing a trailing 'true' or 'false' statement! |
- Statement should be of the form node_disconnect N1 N2 true/false.
N1 and N2 must be numeric values matching one of the nodes respectively
in the .nav file. |
Error (line #): value N for openNodeGrpToTeam isn't a valid node group! |
- Statement should be of the form openNodeGrpToTeam NG NT true/false. NG must be a numeric value matching one of the nodes groups in the .nav file. NT must be equal to 0, 1 or 2. |
Error (line #): openNodeGrpToTeam is missing a team parameter! |
- The second value after "opennodegrptoteam" is out of the range of 0..2 for node teams. |
Error (line #): set_vehicle_owner has an invalid string for the value "team"! |
- The word following "set_vehicle_owner" is misspelled or wrong. |
Error (line #): set_map_has_vehicle has an invalid string for it's value! |
- The word following "set_map_has_vehicle" is misspelled or wrong. |
Error (line #): value N for set_vehicle_number isn't valid! |
- The value after "set_vehicle_number" does not refer to an entity of a script mover. |
Error (line #): value N for kill_action isn't valid! |
- The value after "kill_action" is out of range for the action IDs in the nav. |
Error (line #): value N for resetnodeflag isn't a valid node group! |
- The value after "resetnodeflag" is out of range for node IDs. |
Error (line #): value N for activateAction isn't a valid action! |
- The value after "activateaction" is out of range for action IDs. |
Error (line #): value N for deactivateAction isn't a valid action! |
- The value after "deactivateaction" is out of range for action IDs. |
Error (line #): value N for activateAction_Group isn't a valid action! |
- The value after "activateaction_group" is out of range for action groups. |
Error (line #): expected a valid keyword, found "text" |
- A keyword is misspelled. |
WARNING: No script file found for this map! |
- Aiscript file is missing. |
1(where # is replaced by the line number in the aiscript,
N is replaced by a numeric value and "text" by some text in the aiscript.)
No specific error messages for the following keywords;
if_obj_captured
and
or
deactivateaction_group
Other Errors Not Due To The Aiscript
- Errors can also be generated when loading the .bots file (see Error_Messages__When_Fritzbot_ET_Reads_The_Bots_File).
- Or when reading the .nav file (see Error_Messages__When_Fritzbot_ET_Reads_The_Nav_File).
- Errors that occur during the game related to actions are listed in Error_Messages__When_Fritzbot_ET_Actions_Trigger.