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
phenrol
post Feb 2 2014, 03:56 PM
Post #2


Newbie
*

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



Ted, thank you for taking a look at the code. I appreciate it.

I just downloaded the new file from: The existing link (which then has a link to google docs)

I definitely see that you made a different file because the old one was 4,789,219 bytes and the new one is 4,928,688 bytes

I put it on my linux DOD:S dedicated server and restarted it, then tried "rcbotd addbot" and it loaded a bot:

QUOTE
[RCBot] bot added
L 02/02/2014 - 08:43:06: "Bot01<2><BOT><>" connected, address "none"
L 02/02/2014 - 08:43:06: "Bot01<2><BOT><>" entered the game
[RCBot] Bot Command 'rcbot_defrate 0.19
' executed
L 02/02/2014 - 08:43:06: "Bot01<2><BOT><Unassigned>" joined team "Allies"
L 02/02/2014 - 08:43:06: "Bot01<2><BOT><Allies>" changed role to "#class_allied_garand"


However, this time it did not change the bots name to "RCBot", nor did it change its name to any of those in the profiles files. So...no joy.

So, I simply have a bot called "Bot01" at this point. When I add more bots, it simply adds to the number at the end of the bot name, so Bot02, Bot03, Bot04, etc...

Any thoughts?

madmax2, thank you for the clarification on the "bot" command.

genmac, with this new version, it is easier to do an sm_rename, because now the bots are all named "Bot##" where as with the previous version all were named "RCBot" which meant I had to rename using the ID# (i.e. sm_rename #2 botzilla). I am unsure how to auto-execute a cfg file that has the sm_rename command in it upon a bot being spawned.
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: 16th July 2025 - 03:14 AM