PDA

View Full Version : Need help getting server to run via Terminal Services


df
11-13-2003, 09:04 PM
I have a server at a hosting facility and am not able to start a multiplayer game via terminal services. I get an error that my video driver doesn't support OpenGL. I know TS doesn't have a GL dirver but I don't need the damn thing since I'm trying to start a dedicated server. If I start from console, it gives me an error stating 163 sound files are missing. Ugh again who cares? I don't need sound for s dedicated server. MoH came out with a patch to run a dedicated server and it worked great. Is there anything like this for CoD or a work-around for the issues I'm having starting a server? Thanks in advance for any help you may offer.

Tighten
11-13-2003, 11:44 PM
How are you setting the server up?

Console application or is it installed as a service?

Terminal services, did you mean services? Or were you talking about the way you connect to the server (through "terminal services")?

Need some more info to be of some help.

df
11-14-2003, 12:18 AM
As far as setting up the server, I'm not. I can't get it to run due to the OpenGL error I get. Yes I am connecting to the server in administration mode through MS terminal services. As to the installation, I just popped in the CD's and selected my directory.

quon
11-14-2003, 12:49 AM
I have a server at a hosting facility and am not able to start a multiplayer game via terminal services. I get an error that my video driver doesn't support OpenGL. I know TS doesn't have a GL dirver but I don't need the damn thing since I'm trying to start a dedicated server. If I start from console, it gives me an error stating 163 sound files are missing. Ugh again who cares? I don't need sound for s dedicated server. MoH came out with a patch to run a dedicated server and it worked great. Is there anything like this for CoD or a work-around for the issues I'm having starting a server? Thanks in advance for any help you may offer.

You should be fine. Start it from console and make sure u add in something similar to this:

codmp.exe +set dedicated 2 +set net_ip <ipaddy> +set net_port &lt;port> +exec serverconfigfile +map_rotate

Something similiar to that, just make sure it's set to dedicated 2.

CFH666
11-14-2003, 03:13 AM
if you dont specify the "+set dedicated 2" in either the command line parameters, or the server config file, then it actually tried to play the game and not start a server.


6

Tighten
11-14-2003, 08:11 AM
As to the installation, I just popped in the CD's and selected my directory.

You don't need any CD's to run the dedicated server.

You cant keep the console running if you are starting it when you log on through terminal services, it will end when you log off or end your session.

If you get VNC or PcAnywhere, this will resolve your problem for running server via console. If you are not allowed to have remote access (You should if you have terminal access) then get a program that installs applications as a service (which is by far the best way to run a server).

df
11-14-2003, 09:28 AM
Tighten I don't need VNC or PcAnywhere. It will work through TS. I did it in MoH. You just don't log out. You disconnect instead and it keeps running.

My issue is I can't get it to start at all. The exe for multiplayer wants to take me to the start or join a game screen. It's checking to see if I have an OpenGL compatible card and failing as the TS video driver doesn't support OpenGL. If I try to launch from console, it bitches about my sound card and says I have missing sound files.

Obvioulsy I'm missing something pretty basic here. I'd assumed this would be like MoH but it isn't. Is there an .exe other than the two ( for single and multi ) in main dir that I should be using? Sounds like it but if so I don't see it anywhere.

imported_MaD-Ogre
11-14-2003, 09:36 AM
I use TS to run our server. Create a shortcut and modify the command-line to be:

"C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +map_rotate

This is assuming you've put your custom CVARS into autoexec_mp.cfg and don't have to specify them on the command line. I then execute the shortcut and the dedicated server comes up. Our server has a very basic video card that the game wouldn't support.

df
11-14-2003, 09:43 AM
Danke, sounds like that is what I was missing. When I get a moment, I'll connect to my server and see if that works. The posts above probably meant the same thing but I didn't understand that I need to make a shortcut with that in it. I recall doing that with MoH and now that I think about it, the server patch for MoH was just to get it to run without the CD. I took down my MoH server about 6 or 8 months ago so have forgotten a lot of this.

Tighten
11-14-2003, 10:06 AM
Tighten I don't need VNC or PcAnywhere. It will work through TS. I did it in MoH. You just don't log out. You disconnect instead and it keeps running.

That would work, but, it is a poor way of doing it. Any of those other programs described (one of which is free) will eliminate you needing to disconnect.

The shortcut mad-ogre made will work for running via a console
C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +map_rotate also exec the name of your server.cfg and anything else you want to set.

The DS does not need a special vid card to run, all of my servers have an 8mb generic card in them.

Also, just out of curiousity, did you actually install the game on the server? Or did you upload the contents of your home install into a directory?

df
11-14-2003, 10:13 AM
Kool that did it! Thanks for the replies guys. Is there comprehensive link to the config parameters around here somewhere? Also is it safe to assume that a command in MoH also works in CoD?

df
11-14-2003, 10:17 AM
I installed the game on the server. Is it less overhead to just copy the contents? Also can anybody tell me how CoD comparies to MoH as far as the number of users? I have an XP1800 and in MoH I could do TDM with 42 people with no problem. At about 46 the CPU starting maxing out. When SpearHead came out, I could only swing about 28 comfortably ( I think a lot of it was the 88's going off all over the place ). I'm adding an SNMP MIB to my server to track the CPU but was just curious what your experience has been as to the number of players.

imported_BipolarChucker
11-14-2003, 10:37 AM
Apparently a lot more than MOHAA could do. Start with the same figure as you used in MOHAA, I get the feeling you'll be able to get up to about 50 people... pure guesswork tho.

ClickBouyow
11-14-2003, 10:53 AM
Apparently a lot more than MOHAA could do. Start with the same figure as you used in MOHAA, I get the feeling you'll be able to get up to about 50 people... pure guesswork tho.

With Spearhead we ran a 22 slot server and when it was full we had lag issues. With CoD we are able to run a 32 slot server with little or no lag. I have been on 64 slot servers and there was a little lag, but it was playable.

Tighten
11-14-2003, 11:15 AM
I installed the game on the server. Is it less overhead to just copy the contents?

Not needed and this may be causing you problems.

Simply "copy" the CallOfDuty folder to a directory (your desktop is fine for now)- unistall the COD from the server(not the copied folder) just the install.

So from here you will have the entire COD game in a folder on your desktop.

Now put this in a directory of choice C; D: whatever. so now the path to the folder looks like this

C:/subdirectory/CALLOFDUTY
or - C:/CALLOFDUTY

You can rename the folder or keep it that way (if a service install is planned name it COD) otherwise just leave it.

Now make a shortcut from the CodMP.exe -> Shortcut to CoDMP.exe is now present in that folder.

Right click the shortcut and in the target line add these commands

+set net_ip "IP" +set net_port "port" +set dedicated 2 +exec codserver.cfg +set map_rotate +set sv_gamespy 1 (and any other SVars)

Assuming your config files are set properly, click the short cut and the server will fire up. If not I think you have other issues.

The commands for MOHAA and RTCW are similar, but you can not assume they are the same - (some - not all)

The engine uses comparable resources that MOHAA and RTCW used. Base your client number from your previous experience with either of those games.

df
11-14-2003, 01:58 PM
OK thanks. I'll try that and see if it helps any. Thanks for all the help guys.

sphinx175
11-14-2003, 03:24 PM
If you want to log onto your game server via Terminal Services from a remote location don't forget the Remote Desktop Connction tool from microsoft.com and also ensure you have TCP port 3789 open on your firewall and router.

df
11-14-2003, 04:16 PM
Thanks for the feedback but TS uses port 3389 ;).

Tighten
11-14-2003, 04:42 PM
Thanks for the feedback but TS uses port 3389 ;).He said TCP not TS. In any event the ports are way different.

If you want to log onto your game server via Terminal Services from a remote location don't forget the Remote Desktop Connction tool from microsoft.com and also ensure you have TCP port 3789 open on your firewall and router.

df
11-14-2003, 04:47 PM
If you want to log onto your game server via Terminal Services from a remote location don't forget the Remote Desktop Connction tool from microsoft.com and also ensure you have TCP port 3789 open on your firewall and router.


Uh to paraphrase he is saying I need to have TCP port 3789 open for Terminal Services. Please reread it. I put a smiley and everything not trying to be a smartass just pointing out he had the wrong port.

Tighten
11-14-2003, 05:03 PM
Blah Blah - may I never get between two posters again.

I was trying to clarify both points - :cry: never again.

I hope everything is working, and I did not think anyone was a smart ass. Everyone is trying to help, and sometimes the more help the worse it is -- my exit >>>>

df
11-14-2003, 05:07 PM
No problem. Just hard to tell on these boards sometime what somebody means since you can't hear a tone of voice or anything. I thought by you coming back you'd taken my comment as being a smartass. Just making sure it wasn't taken as such. As I said in my multithreading thread, so far this has been the most helpful of the CoD boards I've posted on.

Tighten
11-14-2003, 05:17 PM
&lt;&lt;&lt; Looks around --- good knobody here.

That is great, I hope all is well now.

&lt;&lt;&lt; Makes his exit >>>>>>>>>>>>>>>>>>>>>

sphinx175
11-15-2003, 12:53 PM
It's cool. Just a mix up on the numbers and the ports and every other point I was trying to help with.. d'oh