.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > POD-Bot mm > Bug Reports
Bug Reports Post any bug you experience with the latest release of this bot here

Reply
 
Thread Tools
Server crashes on map change
Old
  (#1)
muadeeb
Guest
 
Status:
Posts: n/a
Default Server crashes on map change - 15-05-2004

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?

Last edited by muadeeb; 15-05-2004 at 20:26..
  
Reply With Quote
Re: Server crashes on map change
Old
  (#2)
Cooley
Guest
 
Status:
Posts: n/a
Default Re: Server crashes on map change - 16-05-2004

I have the same problem the linux server crashes with each map change.
  
Reply With Quote
Re: Server crashes on map change
Old
  (#3)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Server crashes on map change - 16-05-2004

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
  
Reply With Quote
Re: Server crashes on map change
Old
  (#4)
Cooley
Guest
 
Status:
Posts: n/a
Default Re: Server crashes on map change - 17-05-2004

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

Last edited by Cooley; 17-05-2004 at 16:58..
  
Reply With Quote
Re: Server crashes on map change
Old
  (#5)
>BKA< T Wrecks
Moderator [PBmm/Waypointing]& PODBot mm waypointer
 
>BKA< T Wrecks's Avatar
 
Status: Offline
Posts: 1,492
Join Date: Feb 2004
Location: C.C.A.A., Germania
Default Re: Server crashes on map change - 18-05-2004

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.



Roses are #FF0000, violets are #0000FF // all my base, are belong to you.

  
Reply With Quote
Re: Server crashes on map change
Old
  (#6)
SoUlFaThEr
Moderator
 
SoUlFaThEr's Avatar
 
Status: Offline
Posts: 860
Join Date: Mar 2004
Default Re: Server crashes on map change - 18-05-2004

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


  
Reply With Quote
Re: Server crashes on map change
Old
  (#7)
JayBaen
Member
 
Status: Offline
Posts: 25
Join Date: May 2004
Default Re: Server crashes on map change - 28-05-2004

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
  
Reply With Quote
Re: Server crashes on map change
Old
  (#8)
Cooley
Guest
 
Status:
Posts: n/a
Default Re: Server crashes on map change - 28-05-2004

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
  
Reply With Quote
Re: Server crashes on map change
Old
  (#9)
JayBaen
Member
 
Status: Offline
Posts: 25
Join Date: May 2004
Default Re: Server crashes on map change - 28-05-2004

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
  
Reply With Quote
Re: Server crashes on map change
Old
  (#10)
Cooley
Guest
 
Status:
Posts: n/a
Default Re: Server crashes on map change - 29-05-2004

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
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com