![]() |
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 |
All times are GMT +2. The time now is 19:13. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.