This guide is intended for server admins wanting to set up a dedicated server at a remote datacenter. It is based on a Windows 2003 server setup, which is the only type of server I have. Hopefully someone knowledgeable about the Linux server setup (when it comes out) can add that information when it comes available.
CoD4 Windows Remote Dedicated Server Setup:
Part 1: Getting the files to the server
1. Buy and install the game on your home computer.
2. FTP the ENTIRE installed game to your remote dedicated server. Be certain to maintain the directory structure from the game's ROOT directory on. The game's root directory contains the iw3mp.exe file.
Note: Eventually we may find some files are unnecessary, but for now uploading them all is your safest bet.
Part 2: Creating a shortcut to run your server
1. On your dedicated server, RIGHT click on the iw3mp.exe file found in the CoD4 server's ROOT directory and DRAG it to the desktop. Have the server create a SHORTCUT. Be sure you only created a shortcut and did not actually MOVE the file.
2. Right click on the new shortcut you just created and go to its properties.
3. Find the TARGET field and add the following to the END of the existing target, do not DELETE any of the existing tartget!
Note: Make sure there is a SPACE between "iw3mp.exe" and "+set dedicated 2".
Note 2: I am not sure if the CoD4 server will run on Windows 2000, but if you are trying you will very likely need to enclose the part of your target line that existed BEFORE you changed it in quotation marks. I noticed my Windows 2003 server did not need this, but I always had to have it before when I ran a Windows 2000 server.
The above command line assumes you intend to use Punkbuster of course. If not, remove that part of the command line. Also, you can obviously change the name of your config file to what ever YOU want to call it.
没有评论:
发表评论