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, 08:04 PM
Post #2


Newbie
*

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



Here is an update on this.

I looked around for a sourcemod plugin that might be able to help out and I found Execute Configs 1.0 (Updated 08/12/09)

This plugin allowed me to execute a cfg file when someone connects to the server and when a player connects (event:player_connect).

I put a bunch of sm_rename commands into a cfg file for 75 potential bots (i.e. sm_rename Bot01 george; sm_rename Bot02 harry; sm_renam Bot03 larry; etc...).

So, essentially what happens is that when someone joins the server, bots connect automatically (due to rcbotd config max_bots) and when each bot connects, it executes the cfg file with the sm_rename commands in it.

I had to learn a bit about events at the valve events wiki. The console throws a ton of messages, but it works!

Just so you know, this would not have been possible without Ted's updated code that does NOT rename the bots to "RCBot". So...thank you Ted!

I do think there is more work to be done here to make this plugin a bit better, but this work around functions on my linux server, so I am content (for now).

smile.gif
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: 13th July 2025 - 06:11 AM