View Full Version : Safe Mode?
Is there a way to bypass the safemode prompt? I have our server setup as a service and when I shutdown the service and then start it back up I get the prompt.
imported_IW-Inherent
11-02-2003, 01:57 PM
Delete the __CoDMP file in the game folder and it won't ask you.
imported_antstrength
11-04-2003, 03:22 PM
I am having the same problem.
imported_antstrength
11-04-2003, 03:22 PM
Delete the __CoDMP file in the game folder and it won't ask you.
What is the full path and filename for this file?
Dave
imported_IW-Inherent
11-04-2003, 04:22 PM
Thats the file name, and its with the exes wherever you installed it.
imported_antstrength
11-04-2003, 05:13 PM
Thats the file name, and its with the exes wherever you installed it.
So, in other words...there would be a file called:
c:\cod\_codmp
With no file extension, including an underscore prefix?
The only file I have resembling this is my codmp.exe, and this file cannot be deleted, as it is the server binary.
Please help.
Dave
imported_IW-Inherent
11-04-2003, 06:20 PM
The file only exists while the exe is running. If it quits gracefully it will delete that file. So that file will only exist if your game crashed.
So every time we start our server we have to delete this file?
imported_IW-Inherent
11-04-2003, 06:33 PM
Actually if your strictly running a dedicated server I don't think that file will be there unless you crash before a map loads.
imported_antstrength
11-04-2003, 07:47 PM
I haven't seen this phantom file you guys are talking about, but i have a much better solution. I modified my command line parameters so now it starts fine as a service. Here they are:
+set dedicated 2 +set developer 2 +set logfile 3 +set g_logsync 1 +set ui_console 1 +set net_ip x.x.x.x +exec dedicated.cfg +map_rotate
imported_IW-Inherent
11-04-2003, 08:12 PM
You want to leave developer on 0 or you will get script errors on your server.
I can't find the file either.
Can someone explain the following commands.
+set logfile 3 +set g_logsync 1 +set ui_console 1
imported_antstrength
11-06-2003, 12:15 AM
Here's something else that i did that worked well. I created a small batch file to run before the service starts. The batch file does this:
del /a:h __codmp
It works now. I have noticed, however, that i can't get it to run as a service on a windows2000 box...only works on a server2k3 box. Anyone else find the same?
Dave
I found the phantom file! ;)
It is only in the directory when the safe mode prompt is up.
Isn't there a command line switch to bypass this?
imported_IW-Inherent
11-07-2003, 12:57 PM
Just delete it if it exists before you start.
I don't know I must be missing somthing.
The file does not exist prior to starting the server nor while the server is running. It only exists when the safe mode prompt is up.
Can't seem to figure this one out.
Isn't their a command line switch I can use to bypass this prompt?
imported_IW-Inherent
11-12-2003, 12:32 PM
If you solely run a dedicated server I don't think you have to worry about the safemode prompt.
imported_antstrength
11-12-2003, 01:24 PM
I will sum things up....If the server crashes, or is exited abnormally, then a file will be present, which will cause the safe mode prompt the next time the server is started. This scenario applies to when starting/stopping the server with Firedaemon.
The way to fix this is to delete the file before the server is started. The name of the file is "__codmp". With firedaemon, you can specify a batch file to be executed before the service starts. Create a batch file, it's contents:
del /A:H __codmp
That's it....it works great for me on my windows server2k3 boxes. I have not, however, been able to get it to run successfully on a windows 2000 box. Perhaps i gave up too quickly, or maybe there were other problems with that box. The above method has worked for 8 servers on 3 different machines.
Dave
I don't have the issue on my 2003 boxes only my single 2000 box.
Druid
11-19-2003, 10:48 AM
Has anyone came up with a fix for this problem?
I would prefer to run COD as a service but can't right now.
There seems to be a problem with running this as a service that only effects Win2000 machines.
If I start the server from a shortcut. The _CoDMP file is created and deleted by game. Then the game continues to load normally without the "Start in safe mode" prompt.
If I start the server as a service. The _CoDMP file is created and the server hangs and never starts.
I'm using the exact same commands to start it as a service as I do on the shortcut. The shortcut works but the service doesn't, Why?
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.