![]() |
custom bots with map change
I searched the threads but could not find any info on the following.
I've got podbot up and running and even added custom bot names using the addbot command (very cool). It works perfectly on startup...however anytime I initiate a map change the minimum number of bots get added to the game correctly but not using my custom names...it pulls names from the botnames.txt. Did I miss something in the podbot.cfg where it can keep my custom names on a map change? 9_9 |
Re: custom bots with map change
It's known issue with the changelevel command and bots not the same on the new map. Only when timelimit is expired (or maxround or winlimit) - the bots go to the next map exactly the same like they were on the map just finishing. It's due some part of bot code should work this way, otherwise it might be unsafe and might've server crashes. Because changelevel command is unsafe at all (but it works), some part of code should've been to rewrite to make it more safe, to give you more chances play withot crashes and even using very often the changelevel command. If You want more explanation about changelevel - read what PMB wrote in this topic more than one year ago. At begining - when that part of code has been rewritten - You couln't to have bots at all after changelevel (all got kicked and tehy didn't join the server at new map start), but after some my protests it has been changed, so be happy it works at least so... ;)
|
Re: custom bots with map change
great info...thank you!
|
Re: custom bots with map change
You could simply alter the botnames.txt with your own names. You can also use AMXX to custom add your bots with names too.
pb addbot 95 1 2 1 "Marylin Monrobot" //ct As it reads the AMXX.cfg at every map change, its an easy way to keep bots with the same name in. |
Re: custom bots with map change
Yeah, but doing it so You have to disable auto add/kick bots function (by writting in Your podbot.cfg max_bots=0) and if player joins no one bots is kicked and when player leaves the server - no one bot is automatically added then (the most funny function podbot has and it is frequently used on servers with bots). ;)
|
Re: custom bots with map change
As its a home server, it's bandwidth limited so having a fixed number of bots is ideal for me - just thought I would throw that in as an option but by far the easiest way is to actually edit the botnames.txt with your own names!
I just set the max/min to the same number - that works too. |
All times are GMT +2. The time now is 23:42. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.