Skip to content

BOTS are named bot1, bot2... despite g_bot1_name settings #891

@krovakXixao

Description

@krovakXixao

Describe the bug
BOTS are named bot1, bot2... despite g_bot1_name settings

To Reproduce
Steps to reproduce the behavior:

  1. Edit 'server_opm.cfg' file on server side
  2. Code seta g_bot1_name "Some random name" and sv_numBots 1
  3. Start the server
  4. You can see there is no named bot, just the one with bot1 name

Expected behavior
The bot1 should be named "Some random name" as stated in config

Logs

  • Paste the output of the console window in a text file, and attach the text file.
  • If applicable (logfile set to 2), attach the qconsole.log file. On Windows, it can be found in %APPDATA%...\qconsole.log and on Linux, it can be found on the home directory ~/.openmohaa/.../qconsole.log.

Version information (please complete the following information):

  • OS:Debian
  • OS Version 12
  • OpenMoHAA Version: openmohaa-v0.82.1-linux-i686

Additional context (OPTIONAL)
I use MOHAA only - just the basic game, no Spearhead or Breakthrough.
If I use addbot 1 "Some random name" through rcon it correctly adds one bot with the correct name. I have tried to workaround the names by coding the addbot command above in the server config but I had no luck with that.

Btw. the bots are really good even without the custom names. 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions