PDA

View Full Version : Dedicated Server


Juice
10-31-2003, 12:09 PM
Hello,

We have a dedicated server and want to set up a second COD server. For some reason when I log on to a different IP it still runs the server on the same as our first one. Of course this causes problems. Is there a command that I can put in the config or shortcut to make it start on a different IP.

Thanks,
Juice

sphinx175
10-31-2003, 12:44 PM
Does your server have two Network cards in it? If so, you're talking about a multi-homed system in which case you need to specify the IP and port number in your configs for both copies of CoD you have running.

If you need technical specifics someone else might be able to help or go to www.gameadmins.com and read up. I'd suggest reading about the server config of an RtCW server since RtCW and CoD both run the Q3 engine so basic parameters such as what you're asking about are the same

bullet-worm
10-31-2003, 12:51 PM
I have never seen a Q3 engine game where you could change the IP anywhere except in the command line. This would, obviously, mean two seperate shortcuts. One for each IP.

Just add

"+set net_ip xxx.xxx.xxx.xxx"

(without the quotes, and placing your two IPs where the xxx's are)

Same holds true for ports. If you want to specify a SPECIFIC port, it must be done in the command line, otherwise it will generate ports on its own and you can't change it.

Works for me! 8-)

worm

HankScorpio
10-31-2003, 12:58 PM
It might be noted that if you want to run two servers from the same box, you don't need two IP's, just run on two ports as explained above.

You can also run multiple servers from the same set of files. You can use the fs_homepath variable on the command line to specify different directories for config files and log files.

Juice
10-31-2003, 01:46 PM
Thanks guys the net_ip command worked.

Juice