Xonotic Forums
[SOLVED] Bots not added - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16)
+--- Thread: [SOLVED] Bots not added (/showthread.php?tid=9648)



Bots not added - topas-rec - 03-30-2023

Hello everyone,

I have a hard time setting up CTF servers for a LAN session next week with bots for practicing.

I can setup a server with
- a proper name
- a fixed game mode (CTF in my case)
- a maximum of players (like 8 - just for testing)
- a log file (which is getting filled)
 that is all working and should indicate that I have the files at the correct place.
I can also join this server - no problem.

What I cannot get done is bots that join this server.
To achieve bots in here I set

Code:
minplayers 2    // add bots if less then that number of players playing

for example. I got this from the readme.txt in the server directory which was suggested here in the wiki.
When I start this server and join and play there is no bot joining.

Can someone help me finding the cause for it?


RE: Bots not added - terencehill - 03-30-2023

In team games you should set minplayers_per_team instead, I updated the wiki with this information.


RE: Bots not added - topas-rec - 03-31-2023

Thanks for your quick reply.
Right after my post yesterday my favorite search engine found the release notes from version 0.85. They state what you've already mentioned and I tried that this morning and it works. Bots are added now. (Don't know why my previous searches didn't bring this up)

Even without knowing this: I tried setting minplayers_per_team before of course. The reason why I thought it doesn't work was that I didn't know that at least one player has to be connected to make bots join. Since I didn't join, that test failed.

I saw that not only instructions for setting up a server with team game modes (minplayers_per_team) are in the wiki now, but it it's also mentioned that one player has to join a server to make bots come around which is great to see (I think this is new and I hope I didn't miss it there in the past). Thanks for that!

I think it would be good to update the server readme with these two pieces of information (minplayers_per_team in team based game modes and at least one player connected to make bots join)


RE: Bots not added - topas-rec - 03-31-2023

(03-31-2023, 01:57 AM)topas-rec Wrote: I think it would be good to update the server readme with these two pieces of information (minplayers_per_team in team based game modes and at least one player connected to make bots join)

And maybe that's too much.
The wiki describes things in detail and the server config file just has some predefined values and their. descriptions.