Error Messages When Fritzbot ET Reads The Bots File

From Bots-United Wiki

Jump to: navigation, search

Contents

[hide]

Normal Messages When .bots And .bot Files Are Read

There are 2 file types used to automatically add predefined bots in FritzBot ET. The individual bot definitions are stored in individual .bot files contained in the fritzbot/bots directory (Most are stored in that path inside the packed file fritz0.pk3). Individual bot files can be edited by a text editor. See Fritzbot-ET_Bot_File_Format for bot file details. The other file is the "mapname".bots that is loaded when FritzBot ET starts the single map or first map of a campaign ("mapname" being replaced by the actual filename of the bsp file) . When that happens the following messages are printed to the console:

Reading configs/"mapname".bots (length:N)
configs/"mapname".bots successfully parsed!

Where "mapname' is replaced by the actual filename and N by the actual file length.


But if either the .bots or associated .bot files have errors the following messages may be found in the console;

Error Messages

Console Messages:

Possible Reason:

Can't Add bot - Max # of bots reached!!
A maximum of 32 bots are allowed!

- Check/increase g_maxbots setting.
- Check/increase sv_maxclients setting.
- Are you adding bots by a mapname.cfg in a campaign
...and not doing an initial kick allbots
- Try running with fewer bots. Most waypoints are tested
...or designed for bot teams between 7vs7 and 12vs12
...and may not play well with more bots.

Can't Add bot - number of clients is already at g_maxBots value!

- Check/increase g_maxbots setting.
- Check/increase sv_maxclients setting.

Can't Add bot - no path file available!!

- Verify .nav file exists and not empty.
- Verify .nav is in correct directory (fritzbot/bots/maps).
- If using unpacked .nav files make sure /sv_pure is 0.

Unable to add bot = BOT FILE DOESN'T EXIST!!
Filename = "text"

- A .bot filename does not match the .bots entry or the /addbot parameter.
- A .bot filename has incorrect type (.bot).
- A .bot file is in wrong path (fritzbot\bots).
- You forgot to set sv_pure 0 to use a Bot file that is not packed in any of the pk3 files.
- Verify that the file is not locked preventing read access.

Error! Bots file is empty!!

- Bots filename does not match mapname.
- Bots filename has incorrect type (.bots).
- Bots file is in wrong path (fritzbot\configs).
- You forgot to set sv_pure 0 to use a Bots file that is not packed in any of the pk3 files.
- Verify that the file is not locked preventing read access.

Error: no closing brace in bot file or file too long!!!

- There must be only one opening { and one closing brace }
...in the file at either ends.
Check that you have not typed [ or ] or swapped the open for the closing brace by mistake.

Error (line #): class value not valid!!

- Verify digit following keyword class is between 0 and 4.
- Verify that you have not typed a letter O instead of a digit 0.

Error (line #): weapon value not valid!!

- Verify value following keyword weapon is between 0 and 11.
- Verify that you have not typed a letter O instead of a digit 0.

Error (line #): team value not valid!!

- Verify digit following keyword team is between 0 and 1.
- Verify that you have not typed a letter O instead of a digit 0.

WARNING: Unable to add bot. All player slots are in use.
WARNING: Start server with more 'open' slots (or check setting of sv_maxclients cvar).

- Check/increase sv_maxclients setting.


Note: Where # is the line number in the .bots file, and "text" some text

No specific errors are generated for;
Keywords:
MAL_AddBot
funname

Other Errors When Reading Other Files

More On .bot and .bots Files

For more on console commands for adding bots see FritzBot_ET#In-Game_Console_Commands.

Bots can also be added by a .cfg file. See FritzBot_ET#Custom_Bot_Configs for more info.

To find out how to use Hobbit's waypointing tool to make a .bots file see Bots files.

Permanent link to this page