.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   E[POD]bot (http://forums.bots-united.com/forumdisplay.php?f=12)
-   -   Welcome Message (http://forums.bots-united.com/showthread.php?t=5448)

knightmike 29-06-2006 03:30

Welcome Message
 
I'd like to add the bots skill level to the welcome message. I tried changing it in EPODbot\src\dll.cpp, but it didn't work. Here's what it looks like:
char szWelcomeMessage[] =
"E[POD]bot (Version " VERSION_MAJOR "." VERSION_MINOR VERSION_REVISION ") by LightNinja, The Storm and Markus Heiden\n"
"(Started from POD-Bot v2.6 by Count Floyd)\n"
"Visit http://epodbot.bots-united.com\n"
"Skill level of bots set to 60\n";

People keep asking what skill level I have the bots set to so I just want to make it part of the welcome message so I don't have to answer every single person that asks. Am I doing something wrong? Thanks again.

The Storm 29-06-2006 10:09

Re: Welcome Message
 
You can enable the skill tags and the skill of every bot will be showed in to the bot name.

knightmike 29-06-2006 10:23

Re: Welcome Message
 
Yeah, I thought about that, but my girlfriend thought of the names and wants to leave them the way they are if at all possible.

The Storm 29-06-2006 10:57

Re: Welcome Message
 
pBot->bot_skill have the skill number for every bot. You can use it in to the welcome message.

knightmike 29-06-2006 14:51

Re: Welcome Message
 
I tried adding to the welcome message in EPODbot\src\dll.ccp, but it didn't work. Do I need to change it someplace else? Grrr-I'm half-tempted to enable the skill tags, but I don't want to hear it from my gf who was nice enough to think of 40 names. I have every bot set to 40. Speaking of skill level, is 40 avg? Thanks again.

The Storm 30-06-2006 18:39

Re: Welcome Message
 
I don't think that the welcome message is good for this stuff.
Anyway still is possible. As I told you "pBot->bot_still" have the info that you want. Just use it, make a loop via all the bots the put its "bot_skill" values in to the message.


All times are GMT +2. The time now is 07:47.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.