![]() |
![]() |
Benie |
![]() ![]()
Post
#1
|
Member ![]() ![]() Group: Members Posts: 13 Joined: 28-August 09 Member No.: 1,677 ![]() |
Ok, playing TF2, I auto-add 15 bots though a cfg file. The last bot auto-added moves. The other bots stay in place.
This doesn't happen when the bots are manually added, and they walk around/kill just fine. But why is this happening? It happens on all maps, and I got the thing correctly installed. I have the Steam version. RCBot2 0.51. I got the rcbot2 folder installed in it's correct location; Steam\steamapps\my Steam account name\rcbot2. It seems like the waypoints are working, but not fully. ![]() |
![]() ![]() |
Cheeseh |
![]()
Post
#2
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
Ok, playing TF2, I auto-add 15 bots though a cfg file. The last bot auto-added moves. The other bots stay in place. This doesn't happen when the bots are manually added, and they walk around/kill just fine. But why is this happening? It happens on all maps, and I got the thing correctly installed. I have the Steam version. RCBot2 0.51. I got the rcbot2 folder installed in it's correct location; Steam\steamapps\my Steam account name\rcbot2. It seems like the waypoints are working, but not fully. ![]() Check that the bots names you give them do not have spaces in them, this may cause problems. The bots work by controlling the next bot that joins with the name that you give them, however if it cannot find the correct name it might decide not to control it. Also if you are using min_bots/ max_bots you do not need to add bots manually, and this might cause problems |
Benie |
![]()
Post
#3
|
Member ![]() ![]() Group: Members Posts: 13 Joined: 28-August 09 Member No.: 1,677 ![]() |
Check that the bots names you give them do not have spaces in them, this may cause problems. The bots work by controlling the next bot that joins with the name that you give them, however if it cannot find the correct name it might decide not to control it. Also if you are using min_bots/ max_bots you do not need to add bots manually, and this might cause problems The bot names do not have spaces in them. I basically got them setup as "Bot1" through "Bot15", and Bot15 is the only one that moves. As for min_bots/max_bots, I'm not using that either. All I have is the following in autoexec.cfg. I want a private server of 15 bots + me. // Server Stuff sv_lan 1 sv_password *hidden* sv_hostname Benie's Bot Server (not sure if this still works. It did in TFC with the HPB_bot) sv_region -1 sv_contact null@/dev/null // Cheat Me! sv_cheats 1 // Put bots in server rcbot addbot 2 0 Bot1 rcbot addbot 3 0 Bot2 rcbot addbot 2 0 Bot3 rcbot addbot 3 0 Bot4 rcbot addbot 2 0 Bot5 rcbot addbot 3 0 Bot6 rcbot addbot 2 0 Bot7 rcbot addbot 3 0 Bot8 rcbot addbot 2 0 Bot9 rcbot addbot 3 0 Bot10 rcbot addbot 2 0 Bot11 rcbot addbot 3 0 Bot12 rcbot addbot 2 0 Bot13 rcbot addbot 3 0 Bot14 rcbot addbot 2 0 Bot15 I played around by just doing "rcbot addbot", putting bots 1 through 7 on RED and bots 8 through 15 on BLU, and setting the classes from 1 to 9 instead of random pick. Nothing works. The only bot that moves is Bot15, as it's the last bot added. Also, wait commands do not work. All the bots get added at once. Apparently it doesn't like this. It doesn't matter if I got +plugin_load ../bin/HPB_Bot2 set in TF2's Steam Launch Options or not. |
Cheeseh |
![]()
Post
#4
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
The bot names do not have spaces in them. I basically got them setup as "Bot1" through "Bot15", and Bot15 is the only one that moves. As for min_bots/max_bots, I'm not using that either. All I have is the following in autoexec.cfg. I want a private server of 15 bots + me. // Server Stuff sv_lan 1 sv_password *hidden* sv_hostname Benie's Bot Server (not sure if this still works. It did in TFC with the HPB_bot) sv_region -1 sv_contact null@/dev/null // Cheat Me! sv_cheats 1 // Put bots in server rcbot addbot 2 0 Bot1 rcbot addbot 3 0 Bot2 rcbot addbot 2 0 Bot3 rcbot addbot 3 0 Bot4 rcbot addbot 2 0 Bot5 rcbot addbot 3 0 Bot6 rcbot addbot 2 0 Bot7 rcbot addbot 3 0 Bot8 rcbot addbot 2 0 Bot9 rcbot addbot 3 0 Bot10 rcbot addbot 2 0 Bot11 rcbot addbot 3 0 Bot12 rcbot addbot 2 0 Bot13 rcbot addbot 3 0 Bot14 rcbot addbot 2 0 Bot15 I played around by just doing "rcbot addbot", putting bots 1 through 7 on RED and bots 8 through 15 on BLU, and setting the classes from 1 to 9 instead of random pick. Nothing works. The only bot that moves is Bot15, as it's the last bot added. Also, wait commands do not work. All the bots get added at once. Apparently it doesn't like this. It doesn't matter if I got +plugin_load ../bin/HPB_Bot2 set in TF2's Steam Launch Options or not. The rcbot addbot command works like this: rcbot addbot <CLASS> <TEAM> <NAME> it looks like you are using rcbot addbot <TEAM> <?> <NAME> this will definitely confuse things, give the bots a proper class number and put them in the correct order and try again ps: What are your wait commands looking like ?? One wait should be one frame i.e. about 1/60th of a sec if running at 60 FPS. therefore you need 60 wait commands to wait one second! |
Benie |
![]()
Post
#5
|
Member ![]() ![]() Group: Members Posts: 13 Joined: 28-August 09 Member No.: 1,677 ![]() |
As I stated, I tried just having "rcbot addbot" only, and that didn't work.
Also I should state that I chose 0 for them to be a random class. As for the wait commands, my friend told me to add ten waits between each bot add. Didn't work. But to be honest, I shouldn't even have to add a wait command, as the readme never stated this. But it also never stated how to automatically add bots using a .cfg file. |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 27th June 2025 - 10:43 PM |