IPB

Welcome Guest ( Log In | Register )

> All bots are named RCBot, How can I rename my bots?
phenrol
post Jan 28 2014, 03:18 AM
Post #1


Newbie
*

Group: Members
Posts: 8
Joined: 28-January 14
Member No.: 2,322



Hello,

I have RCbot2 working on my DOD:S linux server and I can spawn functioning bots, however, all of them are named "RCBot", which is rather annoying.

I have tried messing with the profiles, and the server reads them in just fine as indicated by the startup output when the plugin is loading, however, anything I do with these does not seem to change anything.

I can individually set their name using sm_rename, but that is a pain.

can anyone help me with this issue?

Thanks
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
madmax2
post Jan 29 2014, 10:19 PM
Post #2


RCBot Guru
*****

Group: Waypointers
Posts: 957
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



Seems to me this was posted someplace before, so I did some searching, couldn't find exactly what I was looking for, but I found this for TF2. Have you tried this? "rcbotd control" may help?

http://rcbot.bots-united.com/forums/index....post&p=8878

Maybe change blue/red to axis/allies

I'm not sure if this will work for dod:s, as "rcbot help control" returns no help info in the console, guess I should just try it & see what happens... I can't find any specifics on this command in the forums yet? unsure.gif

So if I understand correctly, the server output/console shows the correct bot names from the profiles? Does it show which bot ini's are loading, cause mine doesn't...

dedi may be different, but on listen, my console only shows this for bots joining:

when using min/max bots, I only get this info for bots joining...
#Game_connected
#Game_connected
#Game_connected
#Game_connected

when using rcbot addbot from the config.ini, i get this info...
[RCBot] Bot Command 'rcbot addbot 0 2
' executed
[RCBot] bot added
#Game_connected
[RCBot] Bot Command 'rcbot addbot 0 3
' executed
[RCBot] bot added
[RCBot] Bot Command 'rcbot addbot 1 2
' executed
#Game_connected
[RCBot] bot added
#Game_connected

No bot names in either case. but on my screen i get something like this...

player bot01 has joined the game
player bot01 changed name to joe

player bot02 has joined the game
player bot02 changed name to jeff

and so on, bot01 thru bot12, no connection to which bot ini is loading...


I'm not sure if this would make a difference, have you tried Ted's new .76 linux build?

http://rcbot.bots-united.com/forums/index....ost&p=12552

Yeah, genmac could be right, might be a bug in the linux build, and cheeseh depends on feedback from the community for dedi bugs...

Hope this helps,
max
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
phenrol
post Jan 31 2014, 04:48 AM
Post #3


Newbie
*

Group: Members
Posts: 8
Joined: 28-January 14
Member No.: 2,322



I have indeed tried Ted's new .76 linux build as you suggested. This was where I originally found the latest build out there, and I just downloaded it again to be sure (even though the size was exactly the same) with the same results.

Interestingly enough, with your advice about the "bot" command using arguments "-team" and "-name" to add the bot and then the "rcbot control [bot name]" command, I discovered that the "-name" argument is ignored (or at least I believe it is).

When I run "bot -team 3 -class 2 -name test1" (according to the manual - team 3 = axis; team 2 = allies | class 2 is assault) I get the following output:

QUOTE
L 01/30/2014 - 21:40:19: "Bot22<23><BOT><>" connected, address "none"
L 01/30/2014 - 21:40:19: "Bot22<23><BOT><>" entered the game
L 01/30/2014 - 21:40:19: "Bot22<23><BOT><Unassigned>" joined team "Axis"
L 01/30/2014 - 21:40:19: "Bot22<23><BOT><Axis>" changed role to "#class_axis_mp44


The "-class" and "-team" arguments are adhered to, however, the -name argument does not seem to do anything.

I get the same results when I use the "rcbotd" equivalent arguments.

So, is this indeed a bug with the linux build of the source dedicated server?


For grins, here is the output pertaining to [RCBOT] in the console output as the server loads up:
QUOTE

[RCBOT] Found interface INTERFACEVERSION_PLAYERINFOMANAGER IPlayerInfoManager pl
ayerinfomanager
[RCBOT] Found interface INTERFACEVERSION_VENGINESERVER IVEngineServer engine
Trying... VFileSystem022
[RCBOT] Found interface "VFileSystem" IFileSystem filesystem, ver = 022
[RCBot] Training DOD:S capture decision 'NN' ... hold on...
[RCBot] ... done!
[RCBOT] Found interface INTERFACEVERSION_ISERVERPLUGINHELPERS IServerPluginHelpe
rs helpers
[RCBOT] Found interface INTERFACEVERSION_ENGINETRACE_SERVER IEngineTrace enginet
race
[RCBOT] Found interface INTERFACEVERSION_SERVERGAMEENTS IServerGameEnts serverga
meents
[RCBOT] Found interface IEFFECTS_INTERFACE_VERSION IEffects g_pEffects
[RCBOT] Found interface INTERFACEVERSION_PLAYERBOTMANAGER IBotManager g_pBotMana
ger
[RCBOT] Found interface INTERFACEVERSION_GAMEEVENTSMANAGER2 IGameEventManager2 gameeventmanager
[RCBOT] Found interface INTERFACEVERSION_GAMEEVENTSMANAGER IGameEventManager gameeventmanager1
Trying... ServerGameDLL008
[RCBOT] Found interface "ServerGameDLL" IServerGameDLL servergamedll, ver = 008
Trying... ServerGameClients004
[RCBOT] Found interface "ServerGameClients" IServerGameClients gameclients, ver = 004
[RCBot] Reading bot profile "../rcbot2/profiles/1.ini"
[RCBot] Reading bot profile "../rcbot2/profiles/2.ini"
[RCBot] Reading bot profile "../rcbot2/profiles/3.ini"
[RCBot] Reading bot profile "../rcbot2/profiles/4.ini"
[RCBot] Reading bot profile "../rcbot2/profiles/5.ini"
[RCBot] Reading bot profile "../rcbot2/profiles/6.ini"
[RCBot] Reading bot profile "../rcbot2/profiles/7.ini"
[RCBot] Reading bot profile "../rcbot2/profiles/8.ini"
[RCBot] file not found/opening error '../rcbot2/profiles/9.ini' mode r
[RCBot] Trying to create folder '../' failed
[RCBot] Trying to create folder '../rcbot2/' failed
[RCBot] Trying to create folder '../rcbot2/profiles/' failed
[RCBot] failed to make folders for ../rcbot2/profiles/9.ini
[RCBot] Bot profile "../rcbot2/profiles/9.ini" not found
-----------------------------------------------------------------
RCBOT LICENSE
-----------------------------------------------------------------
RCBot by Paul Murphy adapted from Botman's HPB Bot 2 template.

RCBot is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at
your option) any later version.

RCBot is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with RCBot; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

In addition, as a special exception, the author gives permission to
link the code of this program with the Half-Life Game Engine ("HL"
Engine") and Modified Game Libraries ("MODs") developed by Valve,
L.L.C ("Valve"). You must obey the GNU General Public License in all
respects for all of the code used other than the HL Engine and MODs
from Valve. If you modify this file, you may extend this exception
to your version of the file, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from your
version.
-----------------------------------------------------------------


Note that I only have 8 profile files (I removed a bunch of the original 32), so I assume this output looks ok.

After I enter the "rcbotd addbot" command, I get this output (I get this same output if I use the rcbot command in-game as well):

QUOTE

[RCBot] bot added
L 01/30/2014 - 20:42:51: "Bot01<2><BOT><>" connected, address "none"
L 01/30/2014 - 20:42:51: "Bot01<2><BOT><>" entered the game
[RCBot] Bot Command 'rcbot_defrate 0.19
' executed
L 01/30/2014 - 20:42:51: "Bot01<2><BOT><Unassigned>" changed name to "RCBot"
L 01/30/2014 - 20:42:51: "RCBot<2><BOT><Unassigned>" joined team "Allies"
L 01/30/2014 - 20:42:51: "RCBot<2><BOT><Allies>" changed role to "#class_allied_garand"
[RCBot] Bot Command 'rcbot_skill 0.60
' executed
[RCBot] Bot Command 'rcbot_anglespeed 0.25
' executed
[RCBot] Bot Command 'rcbot_avoid_radius 80
' executed
[RCBot] Bot Command 'rcbot_avoid_strength 100
' executed
[RCBot] Bot Command 'rcbot_aimsmooting 1
' executed
[RCBot] Bot Command 'rcbot_change_classes 1
' executed
[RCBot] Bot Command 'sv_cheats 1
' executed
[RCBot] Bot Command 'rcbot_sv_cheats_auto 1
' executed
[RCBot] Bot Command 'rcbot_taunt 1
' executed
[RCBot] Bot Command 'rcbot_messaround 1
' executed
[RCBot] Bot Command 'rcbot_meleeonly 0
' executed
Unknown command "rcbot_meleeonly"
[RCBot] Bot Command 'rcbot_move_obj 1
' executed
[RCBot] Bot Command 'rcbot_min_cc_time 60
' executed
[RCBot] Bot Command 'rcbot_max_cc_time 240
' executed
[RCBot] Bot Command 'rcbot_runplayer_hookonce 1
' executed
[RCBot] Bot Command 'rcbot_runplayer_cmd_dods 417
' executed
[RCBot] Bot Command 'rcbot_runplayer_cmd_tf2 417
' executed
[RCBot] Bot Command 'rcbot_scoutdj 0.5
' executed
[RCBot] Bot Command 'rcbot_voice_cmds 1
' executed
[RCBot] Bot Command 'rcbot_heavyaimoffset 0.1
' executed
[RCBot] Bot Command 'rcbot_move_sentry_time 120
' executed
[RCBot] Bot Command 'rcbot_move_sentry_kpm 1
' executed
[RCBot] Bot Command 'rcbot_move_disp_time 120
' executed
[RCBot] Bot Command 'rcbot_move_disp_healamount 100
' executed
[RCBot] Bot Command 'rcbot_move_tele_time 120
' executed
[RCBot] Bot Command 'rcbot_move_tele_tpm 1
' executed
[RCBot] Bot Command 'rcbot_move_dist 800
' executed


I think its interesting that rcbot2 changes the bots name to "RCBot". This implies (by the fact that it did successfully change its name) that rcbot2 has the ability to alter the name of the bot it just added. So, even if the source dedicated server itself has a bug with the "-name" argument, shouldn't rcbot2 be using its ability to alter the bots name?

Or...is there just some part of my config that is incorrectly setup perhaps?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
phenrol   All bots are named RCBot   Jan 28 2014, 03:18 AM
madmax2   Welcome to the RCbot forums... When I rename my p...   Jan 28 2014, 09:40 AM
genmac   probably a bug on the linux compile.   Jan 28 2014, 09:43 AM
phenrol   Thanks for the replies. The profiles do in fact...   Jan 29 2014, 05:28 AM
madmax2   Seems to me this was posted someplace before, so I...   Jan 29 2014, 10:19 PM
phenrol   I have indeed tried Ted's new .76 linux build ...   Jan 31 2014, 04:48 AM
Ted   I've updated the build with the fix for this i...   Feb 2 2014, 03:09 AM
madmax2   I'm trying this on winXP listen server, to see...   Jan 31 2014, 07:47 PM
phenrol   Ultimately, I would like custom names for the spaw...   Feb 1 2014, 12:41 AM
genmac   Looks like a bug and the bot01 are the default dum...   Feb 1 2014, 11:29 AM
phenrol   Do you believe it is a bug with the linux RCBot2 c...   Feb 1 2014, 05:35 PM
phenrol   FYI, I answered my own questions about the windows...   Feb 1 2014, 08:30 PM
genmac   Rcbot2 currently is more for client/listenserver u...   Feb 2 2014, 02:56 AM
madmax2   Ted to the rescue... That was fast... Thanks... :)...   Feb 2 2014, 06:31 AM
phenrol   Ted, thank you for taking a look at the code. I a...   Feb 2 2014, 03:56 PM
phenrol   Here is an update on this. I looked around for a ...   Feb 2 2014, 08:04 PM
genmac   glad you got the bot names taken cared of. as for ...   Feb 3 2014, 02:07 PM
n0nnie   I am aware, this is from February, but it is exact...   Oct 27 2014, 10:24 AM
n0nnie   Sorry for Doublepost but I think, this deserves an...   Oct 29 2014, 06:54 AM
d3m0n   Sorry for Doublepost but I think, this deserves a...   Nov 15 2014, 06:06 AM
n0nnie   I tried the plugin. It changes the name from Bot...   Nov 19 2014, 01:04 PM
d3m0n   That is strange oO Works very fine for me. I do n...   Nov 21 2014, 09:59 AM
n0nnie   Are you using the latest Linux release from Chees...   Nov 23 2014, 03:08 PM
n0nnie   Yes, this one: http://rcbot.bots-united.com/forum...   Dec 11 2014, 03:12 PM
d3m0n   Another Idea: Did you use the webcompiler of sour...   Dec 12 2014, 12:17 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 14th July 2025 - 07:53 PM