![]() |
Server crashes on map change
Ok, i have podbotR2.1 running on a linux dedicated (steam 1.6)server with metamod v1.17x3, amxX v0.16, sm v2.8.2, and Chicken v1.0.5.1. The bots are working great on server start up, but when a map change happens or is voted on the map changes and 1 bot gets added then the server crashes. I was able to change the map to de_dust2 from the default map de_dust once, but now only maps i can change to are ones that the bots do not have the waypoint files for. Any ideas?
|
Re: Server crashes on map change
I have the same problem the linux server crashes with each map change.
|
Re: Server crashes on map change
Don't delete the MOTD file and it should be okay.
At first I also have this problem , and I'm now checking the VGUImenu and ShowMenu instead of MOTD to see if the bot dll needs to recalculate the vistable. Whistler |
Re: Server crashes on map change
Here is the error that I get when the server changes maps on the linux version of R2.1 which results in a server crash.
Bot Logo spraying turned on Pathfinder danger factor set to 800 Waypoints created by Cooley Creating bot... L 05/17/2004 - 08:15:19: "Make my Day<13><0><>" entered the game L 05/17/2004 - 08:15:19: "Make my Day<13><0><>" joined team "CT" ./hlds_run: line 423: 6224 Segmentation fault $HL_CMD Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem Mon May 17 08:15:19 CDT 2004: Server restart in 10 seconds May be a waypoint problem. I will do some more investigating. (looks like it is a bad waypoint file for a custom map as I could reproduce it.) Cooley Ps I also just got the bad pointer crash (sorry I have not had time to read the forums and I have to go to work. L 05/17/2004 - 08:25:43: World triggered "Round_Start" L 05/17/2004 - 08:25:56: FATAL ERROR (shutting down): NUM_FOR_EDICT: bad pointer FATAL ERROR (shutting down): NUM_FOR_EDICT: bad pointer Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem |
Re: Server crashes on map change
Yes, test a bit more. This would be interesting, because one of my friends just mailed me that on his server, map changes work fine - he's running a Linux 1.6 DS, too. However, he only runs MetaMod 1.17sp and the bot.
Try if it's a waypoint problem, or if it just occurs with this map, or maybe deactivate all other plugins. And yes, the NUM_FOR_EDICT error is the biggest problem right now. It's pretty wide-spread and seems to occur on all OS'es, Dedi- and listenserver, 1.5 and 1.6 - you're not the only one... sPlOrYgOn is busy finding & fixing it, but this bug seems to be extremely hard to eliminate. |
Re: Server crashes on map change
i wish there was a find for the getspace error too.....i still get this error if i fall or die
so i cant even test anything or play the bot :( |
Re: Server crashes on map change
Does anyone know if there has been a solution to this yet?
Running Widows 2k3 MetamodX AMXX Mod Server crashes at the end of each 20 min. round (not between wins). JB |
Re: Server crashes on map change
I have virtually eliminated crashes by doing 2 things. First I got the latest dll (.so for linux as I am using linux) that fixes the NUM_FOR_EDICT error which will fix most problems with maps. You can get the beta all from sPlOrYgOn (many thanks) here:
http://forums.bots-united.com/showth...&page=11&pp=10 I have also removed the addbot lines from the podbot.cfg file and added pb addbot to my server.cfg. I dont know if this is required but it works for me. The bots will still crash with some maps. Make sure you use the waypoint files from Soulfather or make new ones with the release 2.1 biuld. Hopes this helps. If I have made any errors please correct me. Please note the dll is only a beta. Cooley |
Re: Server crashes on map change
Thx so much Cooley --
New .dll implemented. Removed the "addbot" lines from the podbot.cfg. Seems to have fixed the crashing issue, but now there's a secondary one. If I force a map cycle (even to the same map), the game comes right back up as normal (without crashing), WITH the podbot.dll loaded (as I get the message top of screen), BUT ... no bots enter the game (I suspect because the server.cfg - which is now where my pb addbot(s) are - is only read when the server first starts, unlike the podbot.cfg where I no longer have "addbot" included). How do we get around this, besides manually adding bots after a map change? JB |
Re: Server crashes on map change
I run a linux server but I think this applies to a windows server. At the following line to you command line:
+mapchangecfgfile "server.cfg" This will cause the server.cfg file to be read with each map change. The max-min bots command does not function fully this way as bots will not add back in after players leave. If anyone has a work around for this please post. Here is my command line: ./hlds_run -game cstrike +ip 69.93.97.59 -port 27015 +mapchangecfgfile "server.cfg" +maxplayers 24 +map de_aztec Hope this helps Cooley |
Re: Server crashes on map change
Thx again Cooley for your input -- an update:
Adding the +mapchangecfgfile did force it to read the server.cfg again, but also brought the crashes back. I'm at the point that, with pb addbot(s) in the server.cfg, I get bots at the beginning of the round. When the map changes, I lose the bots, though the .dll is still clearly loading (via the in game text overlays). If I'm in game and do a /rcon fillserver (or any other bot-adding command), the bots join the game, and the server immediately crashes. Thoughts? JB |
Re: Server crashes on map change
I'm starting to think that if bots are trying to be added while server is still just starting up or changing maps, it'll crash..
I'll look into it... |
Re: Server crashes on map change
Thx Splorygon ...
FYI, this last time I made sure to wait until after the map was completely up and running before doing any /rcon pb botstuff ... still brought it down. JB PS -- Win2k3, Metamod (x), Amx (x) -- they all exhibit the same thing. |
Re: Server crashes on map change
can you try not loading any other plugins but podbot and see if it still crashes?
|
Re: Server crashes on map change
Still crashes. :(
Loaded only MetaMod (x) and PodBot, same issue. With pb addbot(s) in the server.cfg, server starts fine, plays fine, map changes, no bots add ... add bots manually, server crashes. With addbot(s) in the podbot.cfg, server starts fine, plays fine, server goes to mapchange, server crashes upon next round (which the client never sees ... just a disconnect). JB |
Re: Server crashes on map change
1.5 or 1.6?
and maybe post your podbot.cfg here so I can see it. [edit] nm the first question.. you already stated that you were using 1.6 in the first post... 9_9 [/edit] [edit2] I'm an idiot... [/edit2] |
Re: Server crashes on map change
Dedicated Server:Steam version of CS (1.6).
Podbot.cfg is nearly default, here's a snippet: wptfolder wptdefault detailnames off pause 3 // note: I've tried having these (mas & min) entires commented in and out .. min_bots 0 max_bots 8 botchat off #jasonmode on minbotskill 60 maxbotskill 90 inhumanturns off botsfollowuser 3 maxweaponpickup 2 collectexperience off shootthruwalls on timer_sound 0.5 timer_pickup 0.3 timer_grenade 0.5 usespeech off botvotekick off botspray off danger_factor 800 // note: I've tried this both ways, uncommenting these and/or pb addbot (current) in the server.cfg # addbot # addbot # addbot # addbot # addbot # addbot # addbot # addbot // note: I have this commented out as it has not effect on a dedicated server (right?). # bind "=" "podbotmenu" Thx for hunting, JB |
Re: Server crashes on map change
so if you don't have the +mapchangecfgfile arguement when running the server the server doesn't crash?
|
Re: Server crashes on map change
Try to switch on the collectexperience.
Change this line: collectexperience off to this: collectexperience on And delete all *.pxp and *.pvi files form WPTDEFAULT directory. Maybe this can help.;) |
Re: Server crashes on map change
(sorry I didn't respond earlier -- I missed the email notification somehow)
If I do NOT have the +mapchangecfgfile argument set, (or anything else that would cause an "addbot" command to happen at a map change), the server does NOT crash. I will try to enable the "collectexperience" variable this afternoon. Thx gents. JB |
Re: Server crashes on map change
... and the winner is ...
KWo for turning on "collectexperience." I'll have to experiment now with where the 'addbot(s)' should go for me. Thx for all the help. JB (should it be possible to disable that without issue in the long run?) |
Re: Server crashes on map change
Either that (in this case, a new thread might be a good choice), or it should be forced to "on", as it is a really strong feature and prevents bot matches from getting stupid and monotonous, with bots rushing blindly forward.
|
Re: Server crashes on map change
Quote:
http://forums.bots-united.com/showthread.php?t=1695 But seems , only me, I remembered it... Here is something to do for sPlOrYgOn http://forums.bots-united.com/images/icons/icon10.gif |
Re: Server crashes on map change
Okay people...
I've decided that I might just remove the option to turn it off... It's so useful.. I don't know why anyone would want it off.. The reason to turn it off that is stated in podbot.cfg was to save cpu power.. but I don't think anyone runs a server on a comp THAT slow.. Even my 400Mhz computer can run a game at 30fps with that thing turn on.. who here runs a cs server with less than 400Mhz??? actually 30fps for listen.. 99fps for DS... Everyone PLEASE vote!!! Remove the option to turn collecting experience off?? YES or NO??? |
Re: Server crashes on map change
Quote:
|
Sure...
Sure...but I run it just fine with collecting experience ON 8) No crashes on map change yet.
Until next time Cheers! |
Re: Server crashes on map change
if it's off it crashes on map change..
and the poll asks if you want to remove this collectexperience command and have it on all the time? |
Re: Server crashes on map change
My vote is on: "Remove option to turn experience off".
Experience is a great feature, and I think it's ten times worth the CPU power it consumes. It prevents bots from ignoring new situations. If experience were set to off, bots would keep running into the crosshair of a human who has found a nice sniper spot. With experience on, however, after a few deaths they will choose a different path, and our camping friend will be forced to try something else. |
AH ok lol...
Ok that sounds good I just misunderstood the poll now I know:
Quote: if it's off it crashes on map change.. and the poll asks if you want to remove this collectexperience command and have it on all the time? It would be best to keep it on all the time since it has never crashed with it on. I guess that would answer the poll correctly :D |
Re: Server crashes on map change
so right now it's 4 to 0 to remove collectexperience command..
I guess it passes... unless someone can give a good reason to keep it.. |
Re: Server crashes on map change
Obviously,
I'm for it ... as the bots actually work with it on .. :) JB |
Re: Server crashes on map change
well the actual question is whether I have to do more work by actually fixing the bug or just take the bug completely out of question by taking out this option :D
I guess I don't have to do more work :D |
Re: Server crashes on map change
/starts chanting "remove the option","remove the option","remove the option"
|
Re: Server crashes on map change
I would take it out, too. Take it out man, not only it will solve the problem by putting the bug into a non-occurence situation, but even it will simplify the bot code. :)
|
Re: Server crashes on map change
read though the forums here tried some of the idels and yet i still am haveing server crashes
the server may run anywhere from and hour to 12 hours but it will crash on map change if i force a map change useing console changelevel map or via webmod the server crashes most everytime i get the error "num_for_edict:badpointer please help amd 550 mhz 256 ram windows xp pro |
Re: Server crashes on map change
Quote:
http://www.mapzap.org/podbot/podbotBETA.zip |
Re: Server crashes on map change
NUM_FOR_EDICT: bad pointer???? Hell, there used to be enormous problems with that error, but sPlOrYgOn found & fixed it some time ago. Are you 150% sure you're using the most up-to-date dll? Go download this one here:
http://www.mapzap.org/podbot/podbotBETA.zip Extract it into your PODBot folder and rename it to podbot_mm.dll - if you still get the NUM_FOR_EDICT error, somthing's terribly wrong. I haven't seen this error for ages... well, I hope this helps. :) EDIT Damn you, KWo - you were faster! :D /EDIT |
Re: Server crashes on map change
Quote:
|
All times are GMT +2. The time now is 02:36. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.