View Full Version : Unamed Bots
biohazerd87
27-04-2004, 03:34
Not sure if this is a bug or what but all the bots are no "Unamed" and it isn't my settings becuase i just copyed over my old files with the new ones.
Also waypoint commands are not working correctly
SoUlFaThEr
27-04-2004, 04:15
how are you gettin this????
i dont have ANY of those problems.......ive been testing it for 2 weeks and all functions work fine for me and my botnames.txt is used correctly...never had bots named "unnamed"
wierd :)
eCartman
27-04-2004, 04:21
Same thing is happening to me too.
I am running AMX mod and csstat that came with AMX. Could this be the cause of the problem?
SoUlFaThEr
27-04-2004, 04:23
i had amx in and didnt get the problem, had amxx modx in and didnt get this problem and took it all out now and still no problem :(
dang :(
Biohazerd87...what commands are not working correctly?? the point add/del?
if so go here:
http://forums.bots-united.com/showpost.php?p=13241&postcount=8
biohazerd87
27-04-2004, 04:33
The botnames.txt is there with names and NONE of the waypoint commands work if i type waypoint add it says invalid waypoint command use stats teleport and it says they for all the commands
SoUlFaThEr
27-04-2004, 04:37
heres the deal
make a textfile and save it as W.cfg
add this to it:
// Waypoint binds
mp_timelimit 0
mp_roundtime 10
mp_startmoney 16000
developer 1; echo Waypoint binds loaded!!; developer 0
name SoUlFaThEr
//Turn on Waypoint Editor
wpmenu;menuselect 9;menuselect 1
//G = Main Menu
bind "g" "wpmenu"
//O = Waypoint Add Menu
bind "o" "wpmenu;menuselect 1"
//P = Waypoint Delete, and answering YES to "Are you sure?"
bind "p" "wpmenu;menuselect 2;menuselect 1"
//Ü = Pathwaypoint Add
bind "[" "wpmenu;menuselect 5"
//* = Pathwaypoint Delete, and answering YES to "Are you sure?"
bind "]" "wpmenu;menuselect 6;menuselect 1"
//H = Flagmenu
bind "h" "wpmenu;menuselect 4"
//L = Waypoint Setradius Menu
bind "l" "wpmenu;menuselect 3"
//K = Auto Path Max Distance Menu
bind "k" "wpmenu;menuselect 9;menuselect 6"
sv_restartround 1
ok in-game you have to open the console and type
exec w.cfg
or bind that command to a key........
get used to your new binds by writing them down on paper........and begin waypointing......in a short amount of time.........you will get used to them :)
peace
biohazerd87
27-04-2004, 04:46
Just a quick question why the change in waypoint settings all of the sudden?
and did you not know what the deal is with my botnames?
SoUlFaThEr
27-04-2004, 04:50
well if you look at all the new options in the waypoint editor......it was absolutely necessary to completely rewrite it. leaving the type in commands out was PMB's descision i wanted them in for those who dont bind...but
as for the names.......like i said......i cant reproduce this error of yours so i dont know whats wrong. a coder wil have to look at that
sPlOrYgOn
27-04-2004, 04:54
did you check your podbot.cfg to make sure no one put "addbot 100 5 5 Unnamed"?
I had that happen to me..
dtwoiski
27-04-2004, 18:08
Same thing here, using fill server with bots from the menu and using addbot from the console gives a lot of unamed bots..
[]'s
DT
biohazerd87
28-04-2004, 00:48
Yeah using fill server with bots just make a lot of unamed bots
Huntkillaz
28-04-2004, 01:19
hmmm. try sf's wpt editor see if can use wpts..
if not try this
http://us.share.geocities.com/scarletspidernz/podbot2.6mm.zip
it's podbot+metamod just dump (back ur old cfg files n wptdefault folder)
it into the addons folder to overwrite ur install...
then try play....
if not back ur cstike cfg's add this line to the listen\server cfg's "exec wp.cfg"
download:
http://forums.bots-united.com/showpost.php?p=13228&postcount=2
drop to cstrike n rename the extension to .cfg from .txt
run a map n press "\" wp should turn on press again wp turn off bots get loaded....
if it still don't work it's porbably not a problem withthe bots but something else..coz those files are my working configurations..everythings works fine
Pierre-Marie Baty
28-04-2004, 01:49
About the "unnamed" bots problem.
If you get unnamed bots that's certainly because of a bad installation. Is the botnames.txt file correctly named ? Is it in the right directory ? Is it hidden or read-only ? Have you set the "hide file extensions" on and has the file been named "botnames.txt.txt" by mistake ?
dtwoiski
28-04-2004, 02:30
About the "unnamed" bots problem.
If you get unnamed bots that's certainly because of a bad installation. Is the botnames.txt file correctly named ? Is it in the right directory ? Is it hidden or read-only ? Have you set the "hide file extensions" on and has the file been named "botnames.txt.txt" by mistake ?
Sorry, not a newbie problem.. MAYBE its because im using cs 1.5?? Who had this problem was on 1.5?
[]'s
DT
Pierre-Marie Baty
28-04-2004, 03:03
I'm testing the bot on 1.5 and 1.6, and I don't have that bug.
Could you give me a step-by-step install procedure of the bot and of your eventual plugins, that I could reproduce at home, so that I can reproduce the bug ?
P.S: not that I want to fix it (I said I was finished with this bot), but I'm just curious to see it.
dtwoiski
28-04-2004, 04:34
I'm testing the bot on 1.5 and 1.6, and I don't have that bug.
Could you give me a step-by-step install procedure of the bot and of your eventual plugins, that I could reproduce at home, so that I can reproduce the bug ?
P.S: not that I want to fix it (I said I was finished with this bot), but I'm just curious to see it. Sure.. the bot is installed at addons\podbot this is the root, then all cfg files and botnames.txt are there..
the dll is at addons\podbot and also at addons\podbot\dlls\
Metamod is calling this second one (i never had problems with that in earlier versions)
Using metamod + statsme versionwhoknowswhich
Can it be that the path of botnames.txt is hardcoded to be inside same folder as the dll??
edit: wasn't that.. loaded the dll from addons\podbot\ and same problem..
I'll try with a different botnames.txt
[]'s
DT
sPlOrYgOn
28-04-2004, 04:43
i see...
podbot_mm.dll does not go in a dlls folder...
it only goes in to the addons\podbot folder
dtwoiski
28-04-2004, 04:44
Found the cause... PMB try detailnames off inside podbot.cfg
[]'s
DT
biohazerd87
28-04-2004, 04:52
About the "unnamed" bots problem.
If you get unnamed bots that's certainly because of a bad installation. Is the botnames.txt file correctly named ? Is it in the right directory ? Is it hidden or read-only ? Have you set the "hide file extensions" on and has the file been named "botnames.txt.txt" by mistake ?
NO! The installation is fine all the names are correct the write file type and properties are normal
look here tell me if this is wrong http://www.crimsonsunsetrock.com/screen.jpg
sPlOrYgOn
28-04-2004, 05:03
Found the cause... PMB try detailnames off inside podbot.cfg
[]'s
DT
Yes i believe he is right even tho i have not tested...
in the BotCreate function in bot.cpp
if (g_bDetailNames)
{
if (iPersonality == 0)
sprintf (c_name, "[POD]%s (%d)", szBotNames[name_index], skill);
else if (iPersonality == 1)
sprintf (c_name, "[P*D]%s (%d)", szBotNames[name_index], skill);
else
sprintf (c_name, "[P0D]%s (%d)", szBotNames[name_index], skill);
}
else
strncpy (c_name, bot_name, 32);
should probably be:
if (g_bDetailNames)
{
if (iPersonality == 0)
sprintf (c_name, "[POD]%s (%d)", szBotNames[name_index], skill);
else if (iPersonality == 1)
sprintf (c_name, "[P*D]%s (%d)", szBotNames[name_index], skill);
else
sprintf (c_name, "[P0D]%s (%d)", szBotNames[name_index], skill);
}
else
strncpy (c_name, szBotNames[name_index], 32);
btw biohazard...
what a f*ing mess your folder is :D
I will be supplying you guys with a windows and linux binary soon please wait
My Release HERE!! (http://www.mapzap.org/podbot.zip)
it is fixed in that one.. I tested it and it worked :D
I get the same problem. Everything seems normal until I turn off detailnames. Then every bot is [#]Unnamed. I turn it back on and it pulls names out of the txt file like it should.
One other thing I have noticed is that when the server cycles to a new map, the bots names will look like [POD] [POD] botname (67) (67). Everytime the map changes it adds another iteration of [POD] (skill) to the name. This may have been brought up before, but when I search for [POD][POD] I get nothing because of the braces.
sPlOrYgOn
28-04-2004, 05:58
please start a new thread for a new bug.
and the Unnamed problem is fixed..
I'ma test your bug but please start a new thread.
yes this does indeed happen :(
i'll see if i can find the problem
Pierre-Marie Baty
28-04-2004, 11:34
Oh I see. It occurs only when detailnames are off. I bet I know where this bug is, then.
Line 330 of bot.cpp
change
strncpy (c_name, bot_name, 32);
to
strncpy (c_name, szBotNames[name_index], 32);
My bad.
*edit* didn't see how late I was... sPlOrYgOn already fixed the bug. Congrats mate ;)
*EDIT 2*
While I'm here, I've just caught another one on the fly.
Would you mind changing:
// a name has been given
else
{
// If Detailnames are on, attach Clan Tag
if (g_bDetailNames)
{
if (iPersonality == 0)
sprintf (c_name, "[POD]%s (%d)", bot_name, skill);
else if (iPersonality == 1)
sprintf (c_name, "[P*D]%s (%d)", bot_name, skill);
else
sprintf (c_name, "[P0D]%s (%d)", bot_name, skill);
}
else
strncpy (c_name, bot_name, 32);
}
to
// a name has been given
else
{
// If Detailnames are on, see if we NEED to attach Clan Tag
if (g_bDetailNames)
{
if ((strstr (bot_name, "[POD]") != NULL)
|| (strstr (bot_name, "[P*D]") != NULL)
|| (strstr (bot_name, "[P0D]") != NULL))
{
strncpy (c_name, bot_name, 32);
if (iPersonality == 0)
c_name[2] = 'O';
else if (iPersonality == 1)
c_name[2] = '*';
else
c_name[2] = '0';
}
else
{
if (iPersonality == 0)
sprintf (c_name, "[POD]%s (%d)", bot_name, skill);
else if (iPersonality == 1)
sprintf (c_name, "[P*D]%s (%d)", bot_name, skill);
else
sprintf (c_name, "[P0D]%s (%d)", bot_name, skill);
}
}
else
strncpy (c_name, bot_name, 32);
}
this is to avoid bots called [POD][P0D][P*D]bot_name (80) (96) (77)" after several map changes.
*EDIT 3* ....and yet another one to display the new personality tags correctly. yee-haw.
*EDIT 4* I should test my bugfixes too before submitting them. :o This one compile correctly now.
It would probably be cleaner to set the clan tags directly in the BotCreateTab, BEFORE calling BotCreate(), and to define the bot personality there. I'll let this up to you :)
SoUlFaThEr
28-04-2004, 16:36
whos making an officials release of these fixes.......
and please put a date on it........the download is always named the same so who knows whats going on :)
T-anks :)
biohazerd87
29-04-2004, 00:47
well the only reason my folder is such a mess is cause i just draged all the files from the ZIP to the folder most of those files are WP that i already had and i didn't feel like deleting them lol yes i am lazy and is anyone going to realese a new release or is it already there
sPlOrYgOn
29-04-2004, 02:02
I already have the unnamed bot bug fixed in my release but not that multiple detail names thing...
I say we add a new arg to allow specifying what personality you want the bot
Pierre-Marie Baty
29-04-2004, 02:07
Are we waiting a few more bugfixes ? If you want to release new things every 2 days I'd rather give up my role of "committer" then...
Huntkillaz
29-04-2004, 02:11
new realease?
i don't think there's enuff new bugs for another one.....
need more bugs :P
sPlOrYgOn
29-04-2004, 02:12
well I release things to keep people happy so they have the fixes to the bugs they found. So they can start playing without the bug.
My releases should be called unstable :D
biohazerd87
29-04-2004, 04:01
no don't get me wrong i was just wondering if you guys where putting out a new version it is fine with me i just wanted to know. oh and by the way Soul your new waypoint manager kicks ass and i love the new flags they are sweet keep up the good work!
sPlOrYgOn
29-04-2004, 04:13
for those of you who can't wait to get this fix...
This is my "unstable" release (http://www.mapzap.org/podbot.zip") (It works absolutely fine for me)
and to those of you who don't trust me :D you'll just have to wait till we find enough bugs to have an "official" release from PMB.
and to those of you who don't trust me :D you'll just have to wait till we find enough bugs to have an "official" release from PMB.
So - maybe I can help to make closer to this time finding many bugs/isssues :D?
sPlOrYgOn,
I'm running your version of podbot2.6-mm and it seems to run fine except when the map changes. So far maps de_luxor & de_prodigy are crashing the server.
Here's the error:
L 04/29/2004 - 11:02:24: FATAL ERROR (shutting down): NUM_FOR_EDICT: bad pointer
FATAL ERROR (shutting down): NUM_FOR_EDICT: bad pointer
I hope this helps in development,
-Dethpod
Huntkillaz
30-04-2004, 01:31
thats a bug from pmb's version....i got that too once
but i wasn't sure coz my 'dumeter' crashed at the same time...
for those of you who can't wait to get this fix...
<A href="http://www.mapzap.org/podbot.zip"" target=_blank>This is my "unstable" release (It works absolutely fine for me)
and to those of you who don't trust me :D you'll just have to wait till we find enough bugs to have an "official" release from PMB.So this release will fix the problem where if you have detailednames off it will still display the names? If so can you host it again cuz ur link is broke?
Thanks a ton!
sPlOrYgOn
04-05-2004, 16:23
sorry my host is all screwed up right now..
they got bought by someone and they moved my site to a new server then the new server had some errors or something...
sPlOrYgOn
05-05-2004, 01:26
nah it's okay they've got great support It'll be up soon i hope they said they are working on it.
MusicMan
05-05-2004, 12:10
bad link. This link works:
www.mapzap.org/podbot.zip (http://www.mapzap.org/podbot.zip)
sPlOrYgOn
05-05-2004, 16:55
thats because my site is fixed...
thats the same link...
MusicMan
05-05-2004, 18:55
nope, your link still doesn't work, but the one I gave does because it does not end with a " ;)
sPlOrYgOn
06-05-2004, 02:04
not the first link i posted to it tho :D
sPlOrYgOn, can you put your version up again? the link isn't working for me...
sPlOrYgOn
19-05-2004, 03:49
maybe you should check the other threads...
my version already has an "official" release :D
the ones that were posted here were just betas
1639
oh wow i didnt even look in the coding forum, thanks!
vBulletin® v3.7.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.