![]() |
![]() ![]() |
![]() |
Salvax |
![]()
Post
#21
|
![]() Advanced Member ![]() ![]() ![]() Group: Members Posts: 75 Joined: 14-February 07 Member No.: 1,034 ![]() |
hope so:)
and if we use command to launch a server, only one bot can be added ?! (not tested in Dedicated Server) |
Mladen |
![]() ![]()
Post
#22
|
Member ![]() ![]() Group: Members Posts: 31 Joined: 7-February 07 Member No.: 1,026 ![]() |
hope so:) and if we use command to launch a server, only one bot can be added ?! (not tested in Dedicated Server) I add bot automaticly ..whith my server.cfg .......when my server start 10 bot joint ...and when i human joint one bot is kick automaticely.... ![]() ![]() ![]() put thath in your server.cfg rcbotd config max_bots 10 rcbotd config min_bots 0 |
MistaP |
![]()
Post
#23
|
Newbie ![]() Group: Members Posts: 4 Joined: 24-February 07 Member No.: 1,051 ![]() |
Cheeseh,
I am getting a persistent crash on my dedicated hl2dm server. I notice in the server console right bfore the crash there's a bunch of real players being dropped by the server. Message is "Dropped <player name> from server (ERROR! Reliable snapshot oveflow.)" When the server crashes, an Engine Error window pops up that says "Ed_Alloc: no free edicts". When I close the window, I get the typical scrds.exe crash error window. Last time, it read: The instructions at "0x00e22c1a" referenced memory at "0x3cbf00d8". The memory could not be "read". I have he latest build, I believe, file dated Feb. 16, 2007. I set max_bots at 6 and min_bots at 0. Crash seems to happen if map has waypoints or not. I can post up the error dump if that will help. Thanks |
Mladen |
![]()
Post
#24
|
Member ![]() ![]() Group: Members Posts: 31 Joined: 7-February 07 Member No.: 1,026 ![]() |
Preview Release 16h feb: http://filebase.bots-united.com/index.php?...file&id=260
Try this up and replace the dll..... ![]() you dont have the good version ![]() ![]() Enjoy!!! ![]() |
MistaP |
![]()
Post
#25
|
Newbie ![]() Group: Members Posts: 4 Joined: 24-February 07 Member No.: 1,051 ![]() |
|
Cheeseh |
![]()
Post
#26
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
I don't know about the crash. I've tested it myself without finding any. However I don't run servers. The source code is available so I encourage anyone who are running servers with Rcbot2 and that are experiencing problems to try running a server with their own compiled bot in debug mode and if it crashes ... *boom* ... theres the spot where it crashed right there.
If you don't have a debugger, MS visual Studio 2005 Express: http://msdn.microsoft.com/vstudio/express/downloads/ it's free! If you don't have the Steam SDK, it's free (if logged into steam) ! If you don't have RCBot source, it's free. http://filebase.bots-united.com/index.php?...file&id=259, That's the way to go ![]() However it seems more like a HL Engine crash hence the "no free edicts" trademark HL 'sys error'. More like a problem with Valve's weapon spawning code that the bots use (I can't change this because it's all VALVe has offered us poor third party developers here right now, we are just left high and dry as usual....) |
MarD |
![]()
Post
#27
|
![]() RCBot Fan ![]() ![]() ![]() ![]() Group: Waypointers Posts: 139 Joined: 30-September 04 From: Canada EH? Member No.: 419 ![]() |
Heyyo,
I have a request Cheeseh if I may.. can you lower the auto pathwaypoint calculation radius by half or give us a cvar to do it? the default one for RCBot2 is really long, and makes it annoying in harder to navigate areas when I have to delete a lot of pathwaypoints. I'm currently revising my waypoints with your drawtype change (personally I LOVE the new style with just small lines tbh, hurts my eyes less than the big blurry beams), and I've done a lot of maps and I'm deleting pathwaypoints up the ying-yang... like, at least 100-300 per map, lol.. Some spots I didn't bother fixing overlapping pathwaypoints cause there was just too many. ![]() |
Watch_Your_6 |
![]()
Post
#28
|
Newbie ![]() Group: Members Posts: 1 Joined: 20-April 07 Member No.: 1,096 ![]() |
Hello,
My name is Richard, nice work on the bot code. Yes was getting the crash also with error "no free edicts".... Lots of fun.. ![]() Did you notice I mentioned "WAS" getting the error..... My quick solution - no coding involved. It appears to me that you have to find a balance between the amount of bots your server can handle and the time limit set per map. After the bots run for about 45 minutes the CPU spikes up from 50% usage to around 90% and never comes down until the crash. This senario was achieved with max_bots=6 min_bots=0 on a machine with 1gig of RAM single CPU. Key thing to note here is that I had the server map time limit set to 0. Meaning never leave the map. I had it set this way to test ladders. To fix this issue I reduced the max_bots to 5 and min_bots to 0. Also made the server change maps every 45 minutes. This is now running on 2 of my servers of HL2DM trouble free for 2 days. Opps not trouble free.... I can not get the ladders to work. Yes displaying the rcbot waypoint info does show the point as being a LADDER (yellow). They only have one path to the LADDER and one dismount point. Is there a quick solution or am I missing something here? ![]() Enjoy bot killing, Richard Demers Watch_Your_6 Server: "A Canadian Server in Toronto" |
Loki |
![]()
Post
#29
|
Newbie ![]() Group: Members Posts: 6 Joined: 9-March 07 Member No.: 1,070 ![]() |
QUOTE It appears to me that you have to find a balance between the amount of bots your server can handle and the time limit set per map. After the bots run for about 45 minutes the CPU spikes up from 50% usage to around 90% and never comes down until the crash. This senario was achieved with max_bots=6 min_bots=0 on a machine with 1gig of RAM single CPU. Key thing to note here is that I had the server map time limit set to 0. Meaning never leave the map. I had it set this way to test ladders. To fix this issue I reduced the max_bots to 5 and min_bots to 0. Also made the server change maps every 45 minutes. This is now running on 2 of my servers of HL2DM trouble free for 2 days I have run my deathmatch server maps for 60 minutes / 100 frags, max 5 BOTs and have never seen these CPU spikes you encounter after 45 mins? having said that it rarely goes above 25% let alone 50%. I do get the ocassional Engine Error "Ed_Alloc: no free edicts" - I simply accept that as Cheeseh has already suggested "its a problem with Valve's weapon spawning code" - so I anticipate no fix, a small price to pay IMHO. |
Loki |
![]()
Post
#30
|
Newbie ![]() Group: Members Posts: 6 Joined: 9-March 07 Member No.: 1,070 ![]() |
Since the last Source engine updates 12th - 14th June...No Free Edicts crashes have increased ten fold for me. CPU spikes above 50% are still rare....I will try to pinpoint when these crashes occur but it seems very random...at this stage I just wondered if anyone else has noticed this too since the last updates?
|
Electric Warrior |
![]()
Post
#31
|
Newbie ![]() Group: Members Posts: 3 Joined: 23-February 07 Member No.: 1,048 ![]() |
Hi Loki,
I have bots running on two servers, one has 11 bots and the other has 6, both servers have a 60 minute timelimit and no frag limit. I've not had any crashes since the 12-14th June Source Engine updates. Only thing I have found since installing the bots, (and this has been going on for some time now) is that my PageFile usage increases over a period of about 12 -14 hours, causing strange things to occur in the maps, such as jerky animations to doors etc. and to get round this I completely re-boot my server machine every 12 hours. Without the bots installed this does not happen. I'm running an AMD dual processor (not dual core) Windows Server 2003 set-up running 3 HL2DM (2 with bots) servers, 1 HL2DM Pro server, Teamspeak (20 slots) and and FTP server. |
Loki |
![]()
Post
#32
|
Newbie ![]() Group: Members Posts: 6 Joined: 9-March 07 Member No.: 1,070 ![]() |
Thanks Electric Warrior thats very helpfull. On the basis of your findings it's likely the updates are not linked.
I am getting these no free edicts crashes all too often now - the situation is proving unworkable. I find myself doing forced reboots at intervals of less than 12 hours so I'm rarely in a position to measure the page file usage. The BOTs ran fine for quite some months, maybe one crash every ten days or so. I will retrace things I may have changed ..the only specific change I can think of was bot chat related - linking some chat triggers to specific weapons...? I may be on the wrong track here but I think these crashes are occuring when BOTs enter or leave. At least the few times I have witnessed a crash from HLSW a player had just connected - no other players were on the server at the time only BOTs. The player connected then immediately disconnected. Bang Crash - no free edicts. ? It's a shame these BOTs are very popular and provide a lot of newbie players (in particular) with hours of fun....but at this rate I may have to remove them. ![]() |
Cheeseh |
![]()
Post
#33
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
loki try editing all the bot profile (.inis) and give each bot "default" weapon, that will stop them spawning weapons everytime
|
Loki |
![]()
Post
#34
|
Newbie ![]() Group: Members Posts: 6 Joined: 9-March 07 Member No.: 1,070 ![]() |
Hi Cheeseh - okay will do!! and a valid point.... I have set most of the BOTs (over 250 bot profiles) to spawn with either a 357 or crossbow - because BOTs using those weapons present more of a challenge. I find that when they use smg, shotgun and pistol they are frankly lame and people get bored with them very quickly. But...in an effort to cut down crashes I will glady do as you suggest - thanks.
|
SuperHebbe |
![]()
Post
#35
|
Member ![]() ![]() Group: Members Posts: 23 Joined: 18-February 07 From: Norway Member No.: 1,040 ![]() |
Hi
I have never had any crashes with the bots on my server... But I know from another admin that the bots could do strange things if the config is wrong... If you set weapon to closbou_bjolt in one profile and when that bots is joining the server it might do strange things.. So be sure you have all the profiles right... My server can run for a week in one go without any crashes or memory bugs or CPU peeks and my bots are using a lot of different weapons ![]() |
Loki |
![]()
Post
#36
|
Newbie ![]() Group: Members Posts: 6 Joined: 9-March 07 Member No.: 1,070 ![]() |
Hello Superhebbe,
Yes a very good point and for those reading this thread one to watch out for for sure! It's something I did encounter when I first went balistic adding hundreds of new bot profiles...in my haste to set them up I sometimes got a weapon name wrong - simple typo. However I found that rather than say crash the server outright I simply got a nice prompt in my console (change of map) reporting weapon not found etc. but I checked them all carefully after that....it's of course possible I missed one..? I do think that Cheeseh may have a point though..and as you know my BOT profiles specified magnum and xbow or a specific weapon at least, whereas I think I'm right saying you use mostly default weapons? I had none like that "at all". I say "had" because...I'm currently testing an alternative BOT for HL2DM, some features are better, some not so - but zero crashes too date.... and in this respect I note ...the new BOTs only use default weapons - (including secondary fire) It is entirely feasible then I would have found the fix doing what Cheeseh suggested and what I think you do anyway - use default and not just specific weapons. Still a very good post SuperHebbe - and something for people to bear in mind! Regards!! Loki |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 21st July 2025 - 09:54 AM |