PDA

View Full Version : Not having any luck with a dedicated server bat file


Shadowhaxor
10-28-2008, 05:38 PM
So I'm trying to get my servers configured, of course it seems to be rather difficult, but I would assume the syntax is the same as it is for Cod4 servers.

So, am I to believe that this would work;

C:\Program Files (x86)\Activision\Call of Duty - World at War Beta CoDWaWbeta.exe +set dedicated 2 +set sv_punkbuster 1 +exec betaconfig1.cfg +map_rotate?

Shadowhaxor
10-28-2008, 05:46 PM
Nvm, I got it. Looks like we can use the cfg's we had for Cod4 as well, esspecially for multihomed servers.

bullet-worm
10-28-2008, 05:51 PM
Umm... As a general rule of thumb for me, spaces just cause nothing but trouble in bat files, especially in directory structures.

But, the problem MAY simply be that you are showing a space where a backslash should be (between "World at War Beta" and "CoDWaWbeta.exe"):

C:\Program Files (x86)\Activision\Call of Duty - World at War Beta\CoDWaWbeta.exe +set dedicated 2 +set sv_punkbuster 1 +exec betaconfig1.cfg +map_rotate

edit: DOH! Already solved.

worm

HIS-MOTHER
10-28-2008, 06:26 PM
Just for future info... Directories with spaces can be done but as Worm said its a PIA. Just enclose the path in quotes ""

"C:\Program Files (x86)\Activision\Call of Duty - World at War Beta\CoDWaWbeta.exe"

like that and it should work as well.

GrossKopf
10-28-2008, 08:07 PM
I tried that command line you guys are giving, but I am getting this:

"Error during initialization:
No IWD files found in /main"

in the console window and I have to use task manager to shut it down.

Ok, got it to run when I put the bat in the game directory, but I get this in the console now:

"Failed to retreive session create status".

This is with Vista 64 Ultimate.. just trying it out on my PC to see if I can get it to work.