PDA

View Full Version : Reporting of Bugs and Errors for E[POD]bot


MarD
11-11-2004, 10:34
Heyyo,

Ok, since E[POD]bot is in full development again, and I can't always notice problems, and anyone of you guys notice errors with it, please post them here. Also, try to describe what exactly happened, and do you know how to make this bug reappear? Also, screenshots of these bugs in play will also help us discover the source of the problem.

Black_Hunter
10-12-2004, 02:48
your titles file in v4a is very buggy here is an example:


http://img55.exs.cx/img55/4773/dedust00002ca.jpg

MarD
10-12-2004, 03:21
Heyyo,

What you need to do is run the epbcfg executable file, and load the english.txt console and text, and then "save and exit" or "save file" then you should be fine. :)

Black_Hunter
10-12-2004, 04:44
and when i play in the internet without E[POD]bot????

Whistler
11-12-2004, 13:33
you need this file for CS 1.6:
http://filebase.bots-united.com/index.php?action=file&id=232

The Storm
11-12-2004, 13:45
you need this file for CS 1.6:
http://filebase.bots-united.com/index.php?action=file&id=232
Whistler if you configurate EPBcfg executable file and choose bots menu languarge and bot chat and after that save the file all will be OK.
Try;)!!!

Whistler
11-12-2004, 13:49
I don't think it will work with Steam.

The Storm
11-12-2004, 23:34
I don't think it will work with Steam.
It is fully tested by MarD and me and if you configurate the EPBcfg.exe file correct all will be OK.
And I use Steam.
If I don't use Steam I will not be able to play CS 1.6 :).

MarD
12-12-2004, 03:11
Heyyo,

hmm, THE_STORM, we should fix this an upload a fixed version. Just do our fix, and then put it in the installer, then send it to me or you can upload it.

Baddle_Bot
23-05-2005, 09:02
Hey I'm using CS retail 1.5 with the WON2 patch and also Extreme Edition (which is just an update to graphics so that shouldnt change much) and E[POD] Bot v4b. I've also read the read firsts and done the set language thingy in the epbcfg file.

I've tried with a base install of CS retail, with just the latest retail patch, with the EE and combinations of the three and I still get this menu bug.

Is there something I'm doing wrong?

Is there anything else I could do to fix it?

Another bug:

I'm using CS Revolution which is CS 1.5 stuck on steam with all the menus and stuff (http://www.csrev.com/) and when I try to run E[POD] Bot with it when I start a game it crashes straight to the desktop. Not a biggy coz if i want to play with bots I can just play normal 1.5 (or the EE)

MarD
25-05-2005, 02:03
Heyyo,

Ok, open up the liblist.gam file in your cstrike folder, and from there, look for this line:

gamedll "dlls\mp.dll"

and then change it to look like this:

//gamedll "dlls\mp.dll"
gamedll "epodbot\epb.dll"

that should help load it up. Check the same for this cs revolution.. I'm not sure if it'll work fine since it's not an official cs release, but you can try.

preztoo
31-10-2005, 09:14
I believe I have found a bug in the code. Not being a c++ freak, I have not pinpointed the exact location but there seems to be a programming error in the creation of bots.

First, the code in dll.cpp checks to see how many clients are on server and compares to max_bots:

// check if time to see if a bot needs to be created...
if (bot_check_time < gpGlobals->time)
{
int count = 0;
bot_check_time = gpGlobals->time + 0.5;
for (i = 0; i < 32; i++)
{
if (clients[i].pEntity != NULL)
count++;
}
// if there are currently less than the maximum number of "players"
// then add another bot using the default skill level...
//Bot auto-adding
if ((count < max_bots) && (max_bots != -1) && (g_bAutoFill))
{
BotCreate(NULL, NULL, NULL, NULL, NULL);
}
}

I believe the above code has some type of logic error. Maybe the check for clients doesn't include bots? Then it will never stop.... that's what happens on my dedicated server. The above code will then call the creation routine in bot.cpp, void BotCreate.

Here is another logical error. When trying to create a bot, but failing (probably because it has reached the maxuser limit, the code writes out the error code,

"Max. Players reached. Can't create bot!\n"

That is the message I get in my server console. It just creates this error in an ongoing process creating lagg and CPU consumption.

The code then does this:

max_bots = index; //Sets maxbots to the server limit.

That is an error, for now it sets max_bots to a number other than the one in epb.conf!!!

i.e. I have max_bots 4 in my config. I have maxusers 12
When I start server, this code adds 12 bots ignoring my config settings. Thats why I say there is a logical error in the first code. Then, when the code tries to create the 13th bot, it sets the max_bot from 4 to 12! Why??? Anyway, the code repeats itself. Fails to not create bot in dll.cpp, then tries to create a bot in bot.cpp

// This call creates the Fakeclient
BotEnt = g_engfuncs.pfnCreateFakeClient(c_name);

This code that creates a bot will fail when the number of bots have reached the maxusers thus envoking

// Did the Call succeed ?
if (FNullEnt(BotEnt))
{
if (pPlayer)
UTIL_HostPrint("#Bot_Create_ServerFull");
else if (IS_DEDICATED_SERVER())
printf("Max. Players reached. Can't create bot!\n");
botcreation_time = 0.0;
max_bots = index; //Sets maxbots to the server limit.
}

So, whoever is coding this stuff, please take a look and fix this.

I believe the error is here:

for (i = 0; i < 32; i++)
{
if (clients[i].pEntity != NULL)
count++;
}

First, we don't need to check for 32 but for maxbots
Second, I think that the array clients.pEntity doesn't include the amount of bots, does it? That would explain why the code tries to add more bots. I'm too tired now to go through the code and find oyut if it does or not....:-) Going to bed now...

The Storm
31-10-2005, 19:02
Thanks for this point man. =) I will take a look. ;)

preztoo
01-11-2005, 00:00
in bot.cpp

change

// Find a free slot in our Table of Bots
index = 0;
while ((bots[index].is_used) && (index < gpGlobals->maxClients))
index++;
// Too many existing Bots in Game
if (index == gpGlobals->maxClients)

to

// Find a free slot in our Table of Bots
index = 0;
while ((bots[index].is_used) && (index < max_bots))
index++;
// Too many existing Bots in Game
if (index == max_bots)

nadanetotz
30-12-2005, 16:36
When I create de_dust on CS w/ EPB :

I always had a message

SZ_GetSpace: Tried to write to an uninitialized sizebuf_t ???

How can i fix this problem so that i could run that map (de_dust) normally....

The Storm
30-12-2005, 22:44
I tryed and there is no such problem. Can you give me a screenshot?

Phorce_Phed
01-02-2006, 21:26
I loaded the latest EPD on my dedicated Linux CS 1.5 server (WON2) and while it basically works, there are a few issues:

1. I set "epb_max_bots 4" and left "epb_min_bots 0" in EPB.cfg which (according to the description) means that when I join the server one of the bots should leave. This doesn't happen. All four bots stay in the game when I join.

2. I replaced the names in EPBnames.txt with 15 names of my own (all of them fewer than 12 characters, all of them alphanumeric) however while two of the bots pick names from that file the other two are named "bot [number]" (where [number] is a two digit number)

3. The instructions in EPODbot/doc/manual.txt say to modify cstrike/titles.txt. I followed them, but when I type "epb_botmenu" at the in-game console I get something similar to what you see in the screenshot Black_Hunter posted earlier in this thread. Reading another thread on here (http://forums.bots-united.com/showthread.php?t=4871) I see there appears to be special modifications required for CS 1.5, however I can't download the file attached to THE_STORM's message (the forum just sends me a 1x1 GIF instead).

Versions:
CS 1.5
HLDS Linux 3.1.1.1e
Metamod 1.18 (I'm loading EPD with this)
AMX 0.9.9 Linux WON
HLGuard 1.8

If anyone wants to test this on their own I have a page with the files and instructions needed to set up a server like mine:

http://www.repeatoffender.net/~phorcephed/nowon/ (http://www.repeatoffender.net/%7Ephorcephed/nowon/)

The Storm
02-02-2006, 14:09
Here link (http://epodbot.bots-united.com/cs1.5/titles.zip) for CS 1.5 with E[POD]bot's titles file. Extract it in to the your cstrike/ dir. It will fix the menu problem.

wendi stone
12-05-2006, 04:14
Hey I'm using CS retail 1.5 with the WON2 patch and also Extreme Edition (which is just an update to graphics so that shouldnt change much) and E[POD] Bot v4b. I've also read the read firsts and done the set language thingy in the epbcfg file.

I've tried with a base install of CS retail, with just the latest retail patch, with the EE and combinations of the three and I still get this menu bug.

Is there something I'm doing wrong?

Is there anything else I could do to fix it?

Another bug:

I'm using CS Revolution which is CS 1.5 stuck on steam with all the menus and stuff (http://www.csrev.com/) and when I try to run E[POD] Bot with it when I start a game it crashes straight to the desktop. Not a biggy coz if i want to play with bots I can just play normal 1.5 (or the EE)

I've had exactly the same problem...can't play with bots... it crashes back to the desktop..
Please help.. what can i do for it to work (cs 1.6)

The Storm
12-05-2006, 13:53
Be sure that you have the latest version of CS 1.6 from Steam and the latest version of EPB - 5.2

Memorex1a
27-05-2006, 17:34
Hello at all!

I don't know is a bug, but when trying to start a game with the EPODBot 5.2 I'm always in spectator mode. The bots playing! I can't do anything. I play Counter-Strike 1.0.0.5 Retail with Metamod 1.19p28 and Adminmod 2.50.60.
Last but not least I found another bug. When I try to play EPODBot 5.2 without Metamod and Adminmod my pc crashs and reboot the whole system?

Whats wrong?0_o


Memorex1a

The Storm
27-05-2006, 18:22
Hmm you shoud not have such problems. Try to load only EPB with metamod without AMX and AdminMod.

wtpsidnaay
27-05-2006, 19:19
i just got epodbot and i duno how to use them liek i read i need to useEPBcfg.exe but i cant even find that unless thats the installer cuz thats all i have to epodbot =/ andddd epb_botmenu dont even work =/ !?

The Storm
27-05-2006, 19:35
This is not a bug so you post in wrong place. You had just insalled it in wrong place I guess. Try to reinstall it in to the main \couter-strike\ dir.

wtpsidnaay
27-05-2006, 23:23
hrm i thoought yu jsut install it and it works on its on to as were to put it ?!

The Storm
28-05-2006, 11:41
Beh, put it in to the your primary Couter-Strike dir
For WON version of CS 1.5
C:\Sierra\Half-Life\
For the Steam version - CS 1.6
C:\Steam\SteamApps\your_acc_name\counter-strike\
The directories can be differend for you.

Memorex1a
28-05-2006, 18:41
Thanks for the answer! :)

Without Adminmod and AMX, but with Metamod, the bot works fine. But I'm allways in spectator mode...no botmenu is aviable and I can't steering with mouse and keyboard. The Bot crashs if try to play without Metamod. Hmm..I try to find out the problem. Last but not least the bot is great, especially in aiming.:)

Memorex1a

The Storm
28-05-2006, 19:15
Press the "p" or the "=" buttons to bring up the menu. Btw it works only on Listen Servers.

Memorex1a
28-05-2006, 21:35
Yeah it works! But...(Why it crash if I try to play without Metamod:P) All the same thanks for the these tip.

Memorex1a:scooter:

The Storm
28-05-2006, 21:56
No idea why it crash. :)

MarD
29-05-2006, 04:30
Heyyo,

Hmm, I'll try some tinkering with Metamod and amx on cs1.5 if I can find my cs cd....

Anywho, Storm, I was testing epodbot dedicated server with metamod v1.19.0.0 and amx v0.9.9 and the bot loads, but the console commands don't. I tried epb_addbot many times, even with rcon, and nothing. No bots. So you should also check over that stuff too dude. The console commands work great when you create a server from within cs (aka listen server), but not dedicated.

The Storm
29-05-2006, 13:11
Try this
"epb addbot" without the quotes. :)

makedonija77
31-05-2006, 00:00
I also have the same problem.

I don't have AdminMod or AMX.

I have Metamod in the dlls folder in my Metamod dir in my csstrike dir.

I also have POD-Bot installed.

I put the Metamod line in the liblist file for the game dll.

I started CS 1.6, then I wanted to start a new game, but when I clicked start, the game crashed and I returned to my desktop.

Then I downloaded E Pod Bot as you said, and installed it, and I did the same routine again, and it crashed to the desktop.

I then added the E Pod Bot line in the liblist file for the game dll, but I earased the Metamod line.

I started CS 1.6, then I did the same routine for starting a new game, I clicked 'start' but the game went back to the CS menu, so I did the same thing again, the server started to load up, but crashed to the desktop.

I did this a second time to make sure, and the same things happened again.

Please help!

MarD
31-05-2006, 00:31
Heyyo,

Try this
"epb addbot" without the quotes. :)
That works, so for listenservers it's epb_addbot, and dedicatedservers it's "epb addbot". I think we should try n' keep it to 1 standard to lower confusion dude. :P

makedonjia77, your counterstrike install might be corrupted. You'll have to reinstall it. Just right click on it in the steam games menu, and select "delete local content..." and then double click it again to reinstall it. Then, install E[POD]Bot. Usually it does this when the liblist.gam file's screwed, or it can't find files needed on load.

markus_heiden
01-06-2006, 01:07
The dedicated server commands are like: epb "add_ct 1" (watch the quotes!). That there is no underscore, has technical reasons. Maybe we can change the listen server commands etc. to have no underscore? What do you think storm?

The Storm
01-06-2006, 21:03
I think that we must register them as server cvars. :) This can take time so don't expect that soon guys. After June over I get in Summer Vacantion so I will take more time in that, until then you will use this way. :P

makedonija77
12-06-2006, 22:53
Heyyo,


That works, so for listenservers it's epb_addbot, and dedicatedservers it's "epb addbot". I think we should try n' keep it to 1 standard to lower confusion dude. :P

makedonjia77, your counterstrike install might be corrupted. You'll have to reinstall it. Just right click on it in the steam games menu, and select "delete local content..." and then double click it again to reinstall it. Then, install E[POD]Bot. Usually it does this when the liblist.gam file's screwed, or it can't find files needed on load.

I did as you said. Deleted local content, uninstalled EPod Bot, reinstalled CS, and reinstalled EPod Bot. My pc crashed the first time I tried to open CS after those steps, which gave me a memory dump message on a blue screen, and the second time it gave me a OpenGL error, which said it failed to open the program in OpenGL mode and that it's going to open it in software mode but I cancalled that. The third time the screen went black and I just turned off my computer.

Help.

makedonija77
12-06-2006, 23:05
OK this time CS started. The menu showed and everything. I wanted to start a game. When I clicked on the 'start' button, the game crashed back to the desktop.

The same problem as before.

Help!

I also deleted this PodBot folder under myapps and my email, and I deleted the addons folder which contained another PodBot folder and the Metamod folder which only has a dll file in it. I don't know what else to do. The game crashes when I try to start a game.

Oh and I remember installing EPod Bot to my CS dir folder but when I saw it, there is an EPod Bot folder in my csstrike folder in the CS dir.

I'll reinstall EPod Bot and try this again...

But in the mean time, what's causing this problem and how can I fix it so I can play against the bots by myself in my own server?

Thanks!

MarD
13-06-2006, 08:17
Heyyo,

First thing's first. Make sure you're using metamod v1.19.0.0... E[POD]bot won't work with any version lower.

If try editing the liblist.gam... and setting the gamedll line to just this:

gamedll "dlls\mp.dll"

That's the default. So it won't load metamod or amx mod or EPB. THen try booting into cs. If it does? then one of the plugins are indeed causing the problem, and look for an error log of the crash if the game actually made one for ya. It is probably either that, or your amx mod or metamod is not linking up right. Then try just activating metamod, then adding in the bots through metamod, and then finally adding in amx mod. Ya gotta backtrack on this one to find the source.

knightmike
27-06-2006, 23:00
I changed the names and put 10 names in. When I start a LAN game with 8 players max, it uses some of the names I put in and the rest are "bot #" or "#unnamed" (which isn't even in the EPBnames.txt.) I have max bots set to 6 in the EPB.cfg if that means anything. Is this a bug or am I doing something wrong?

EPBnames.txt =

# This file contains all bot names which are used if you don't
# specify a name using "addbot".
# There must be at least 9 names in here and you're allowed a maximum
# of 20 chars for the name! Why? The "E[POD]" will be
# placed before the name and the skill may be appended...
# You can use 6 letters more if you turn off either SkillDisplay
# or ClanTags. If you turn off both you can use 32 letters for the
# name. Some characters, that normally are allowed for names in CS
# cannot be used here (e.g. "+") - The name will just stay unused.
#
# Line below contains 20+6+6 chars as a marker for you
#2345678901234567890+++++6+++++6
Michael
John
Melissa
Stephen
Jerry
Sheri
Jesika
Arnold
Christine
Jenny

The Storm
28-06-2006, 00:28
Its too low anyway. Put at last around 5 names or more and the problem will dissapear.

knightmike
28-06-2006, 03:30
I added more names. I added ten more for a total of 20. Same problem. Added 10 more for a total of 30. Same problem. Added 10 more for a total of 40. Problem appears to be solved. Thanks for your help :)

Boby
01-07-2006, 08:19
hey my bad.. i gotta post about an bug/error..

http://forums.bots-united.org/showthread.php?t=5457

hntaha
31-07-2006, 18:52
I have a question if u may allow.

I have half life 1.1.1.0 and cs 1.5. i downloaded the epodbot v5.2. However whenever i enter the game, the maps dont appear. It gives me: "map change failed. unknown not found on server".

What shall I do please help. And Thank You.

The Storm
31-07-2006, 19:21
This reply is not for Bug Reports, anyway search the topics here for "titles" and you will get the way to fix it. ;)

hntaha
31-07-2006, 20:07
Thank You very much "THE_STORM" :)

makedonija77
09-08-2006, 16:34
Ok I've installed EPod Bot to my counter-strike folder. Now how do I get the bot to work???

I start a non-deticated server, but the bot commands don't work.

For epb_autofill on it said that epb_autofill was an unknown command.

For epb autofill on it said tat epb was an unknown command.

I also tried this with epb_botmenu but I got the same response and no menu...

How do I add bots?

I need help with this, thanks!

makedonija77
09-08-2006, 16:40
Oh and another thing while you're at it, another problem...:P

Ok in DoD and CS, when I click on Find Servers or Servers, the menu for that thing is oversized. I can't make it any smaller simply because I can't reach the ends of it. :yawn:

How do I fix this???:cursing:

Plzz don't tell me to go to Steam or whatever cause in the Sturmbot forum they told me the same thing and it got me pissed off even more plus I waited like a week for a response I didn't need...:glare:

Thanx!!!:clap:

The Storm
09-08-2006, 17:15
Huh EPB have nothing to do with the Steam menus... For the instalation you had installed it in wrong directory.
You must install them in to the main CS dir(where hl.exe is located).

makedonija77
09-08-2006, 18:33
Huh EPB have nothing to do with the Steam menus... For the instalation you had installed it in wrong directory.
You must install them in to the main CS dir(where hl.exe is located).

Whoops! Sorry I confused you a bit there...

My bad but the two posts I made were seperate...

For the first post I wanted to know how to properly use EPod Bot, aka get it started right.

For the second post I just wanted to save the irony and anger of going to another forum to search for answers of the question:

How to lower the size of the oversized search menu for the servers...

Ahh anyways, I installed EPod Bot to the type of path it's supposed to be installed to:

steamapps/myaccount/counter-strike/

Etc etc etc...

Was that the right directory cause in another thread you said to install it in that dir, not the csstrike dir...

I need further help, please and thanx!

The Storm
09-08-2006, 18:37
Yep this is the right one.

kisr10
12-09-2006, 13:57
sometimes when I'm playing epb my computer crashes when the round starts, it already happened trice to me

I'm using CS 1.5

Mordekay
08-10-2006, 10:46
Is there an ETA for the fixed version?
I want to run the bots all the time, but after a mapchange and some connections of human playes the config messed up and i get the join/kick loop again and the server crashes after a few minutes :(

Lloydning
22-12-2006, 14:20
Okay, I encountered a couple of bots with the current version of EPB (v.5.3). I tried them both with CS 1.5 and 1.6.

(CS 1.5 only) with autofill there will be added 1 bot less than it should, there will be a number of bots, which is not odd, but it should, because the team where the (human) player isn't in should have 1 bot more.
For example: You set maxplayers to 14 on a map and join the CT team. Then there will be 6 CT-Bots and 6 T-Bots. But there should be 7 T-Bots.
This bug was also in EPB v.5.2.
(CS 1.5 only) sometimes the game crashes at the start of a new round. HL/CS freezes completely and can only closed by the Task-Manager. This does not happen too often, but it's still annoying. I think, if it happens, then in one of the first few rounds, if you already played, say, 5 rounds or more and it still did not crash, it's unlikely, that it will crash later.
The crash happens in the moment of your respawn. Strangely sometimes you seem to respawn at a different place (perhaps (0,0,0) ?) before/when this crash happens.
This bug was also in EPB v.5.2.
The bots often walk very slowly. This alone is no bug, because you could say, they're just careful... But when they do, they also shoot very slowly and if they jump, it looks very weird, as they even jump more slowly (especially fall down slower than usual). It appears as if they are in "slow-motion" completely.
This bug was not in EPB v.5.2 and it appears on both CS 1.5 and CS 1.6. However, it happens on CS 1.5 much more often than in 1.6. (To compare: Out of 10 bots will 7 be in "slow-motion" on 1.5, on 1.6 only 2. That's just average and one bot can be in slow-motion in one moment and normal in another and vice versa).
The new BotAim2 seems to need some tweaks, as it looks nice in First-Person Spectator Mode, but the Bots appear quite weak compared to 5.2. They often do longer bursts without compensating, so their shoots are too high.
Perhaps is not a real bug, but in ver. 5.2 the bots were much stronger. It's said it's "best aiming ever" but that's obviously not true. However, if you spectate them in First-Person it's just amazing, how nice it looks, how human and smooth they aim.
(CS 1.5 only (?)) When I installed some custom sprites (a zoom-in crosshair for Aug/Sig), the bots stopped buying weapons (but still bought grenades), so they only fight with pistols and grenades. However, if I died, they picked up my weapon and used it.
This bug was also in version 5.2. I do not know, if it also appears on CS 1.6, because I did not try to install custom sprites there yet.
It appears like a miracle to me, how installing another crosshair and the behaviour of the bots could be related, but obviously somehow it affects the bots.

Lloydning
25-12-2006, 01:16
no comment?

BMaster
31-12-2006, 12:47
I'm using cs 1.6 i think is v6 and when I load the game i crashes.What is the problem how can fix it?I don't have steam and my installation folder is c:\program files\valve


Here is the screenshot:

http://s11.imagehosting.us/uploadpoint/imagehosting_upload_storage/nouser_1850/T0_-1_1850484.JPG

The Storm
01-01-2007, 03:13
Here we don't support illegal version of CS!

kel2505
02-11-2007, 13:29
i installed into x:\Steam\steamapps\userid\counter-strike but when i start cs, there isn't any menu for it...

any advice on what might be wrong?

MarD
02-11-2007, 15:52
Heyyo,

i installed into x:\Steam\steamapps\userid\counter-strike but when i start cs, there isn't any menu for it...

any advice on what might be wrong?
first thing I say is go into your cstrike folder, and see if there's a folder called "epodbot" in there. If so it installed right, if not and you see a second cstrike folder in there, take the epodbot folder from it and the liblist.gam, and paste that into the first cstrike folder.

The Storm
03-11-2007, 14:55
Version 5.3 installer isn't modiffing liblist.gam anymore, checkout the installation sticked Tread in to the forum. :)