Cobra
11-16-2003, 09:41 PM
Server Watch Setup Guide for CoD server. By ShadowBee
ServerWatch
After having downloaded and installed the ServerWatch program go to Extras menu and hit Check For Updates and install the updates. Next go through the Setup and Advanced Setup under File Menu and uncheck EVERYTHING. (You don’t want it to affect the players on your server unless you are familiar with the commands being run by the program. Unnecessary kicks and bans aren’t good while you are testing setup of ServerWatch.) Be sure to click on “save and activate Config” after making these changes in Setup and then Advanced Setup.
Close ServerWatch and re-open it.
Now open up Setup and select the Connections tab.
First select Call of Duty under the Game section.
Under the Rcon Setup section enter your server IP for “Host” and the port number for “Port” (28960 for CoD servers). Then put your rcon password under “Password”.
Under Log File Setup you will notice 4 options for connection to the log file. If there is SSH server (Linux) setup on the same server as your CoD server choose this option. If ServerWatch is on the same server as your CoD server choose “direct File Access”.
If ServerWatch isn’t on the same server as your CoD server and you don’t have a SSH server running on your CoD server then choose “FTP” but this will only work if you have FTP access on your server. If you don’t have any of these options available select “no Qconsole LogFile”
For “SSH Connection” enter your server IP into “Host”, then the port for your SSH server. Then enter your login name and password. Then enter a command that will bring up the log file. The typical command is “tail –f/fullpath/to/games_mp.log”.
For “direct File Access” enter the file path of the file “games_mp.log on your server (i.e.. C:\Program Files\ServerWatch\Logs\games_mp.log)
For “FTP” enter your Server IP and the port (Default[21] should work). Enter the file path of the log file (This should be the path required from your initial ftp access folder. If FTP access takes you directly into the Call of Duty folder then all you should have is “/main/games_mp.log”). Be sure to have “use passive mode” unchecked. Refresh rate of 1000 is fine for now and you can change that later if you want. You may need to set your proxy settings if you are connecting through a proxy to your server.
For “no Qconsole LogFile”… no options available
Close ServerWatch.
Now that that is all setup you need to go into your ServerWatch folder and open up the “ServerWatch.ini” file. You will need to find and set the following variables:
LogFileSSHTimeOut=0
LogFileFTPTimeOut=0
LogFileDirectTimeOut=0
Save and close the file (This is done so you do not receive errors due to log connection failures which will be explained later).
Re-open ServerWatch.
Now click on “Start ServerWatch” under the File menu.
Wait about 15-30 seconds and if your rcon is correctly set you should see the name and ping of your server pop up on the “Users Playing” tab.
To test your connections further click on the File menu and select debug. Should bring up a window with several tabs on it that include: Rcon, Log File, EventList, Eventlist Highlight. Clicking on the Rcon tag you should get something that resembles this:
CODE
print
map: mp_carentan
num score ping name lastmsg address qport rate
--- ----- ---- --------------- ------- --------------------- ----- -----
If you do not see this within a minute your rcon access isn’t working (Go through your settings and make sure you have the correct IP and password). You can adjust the “MaxLines” as you see fit.
Now click on the Log File tab. This is where the changes in the log file appear as they happen on the server. There is a few seconds of delay based on the Refresh rate setting on the connections tab in “Setup”. Don’t be alarmed if you don’t see anything here. Read Below.
Note: The CoD server automatically logs everything to the log file other than rcon commands. The CoD server only writes to the log file when there is activity on the server. Since ServerWatch looks for changes in the log file, if there are no changes to the log file ServerWatch will report an error. This is why we edited the “ServerWatch.ini” file above. You will however get what CoD considers activity if you change the map and will show this change on the “Log File” tab on the Debug window.
If you don’t plan on having ServerWatch-Client connect to your ServerWatch go to Setup under the File menu and click on the “ServerWatch-Server Setup” and check the box for disable.
Play around with the other settings at your leisure. There are a lot of options for administrating CoD servers so enjoy.
ServerWatch-Client
COMING SOON
PS. If you have any questions or comments please PM them to me and I'll be happy to respond and adjust this guide.
This is a great help file he has taken the time to make.
Visit him in his forume to see if ha has added any more.
ShadowBee`s Help file for ServerWatch setup (http://forums.wwadmins.com/index.php?showtopic=15)
ServerWatch
After having downloaded and installed the ServerWatch program go to Extras menu and hit Check For Updates and install the updates. Next go through the Setup and Advanced Setup under File Menu and uncheck EVERYTHING. (You don’t want it to affect the players on your server unless you are familiar with the commands being run by the program. Unnecessary kicks and bans aren’t good while you are testing setup of ServerWatch.) Be sure to click on “save and activate Config” after making these changes in Setup and then Advanced Setup.
Close ServerWatch and re-open it.
Now open up Setup and select the Connections tab.
First select Call of Duty under the Game section.
Under the Rcon Setup section enter your server IP for “Host” and the port number for “Port” (28960 for CoD servers). Then put your rcon password under “Password”.
Under Log File Setup you will notice 4 options for connection to the log file. If there is SSH server (Linux) setup on the same server as your CoD server choose this option. If ServerWatch is on the same server as your CoD server choose “direct File Access”.
If ServerWatch isn’t on the same server as your CoD server and you don’t have a SSH server running on your CoD server then choose “FTP” but this will only work if you have FTP access on your server. If you don’t have any of these options available select “no Qconsole LogFile”
For “SSH Connection” enter your server IP into “Host”, then the port for your SSH server. Then enter your login name and password. Then enter a command that will bring up the log file. The typical command is “tail –f/fullpath/to/games_mp.log”.
For “direct File Access” enter the file path of the file “games_mp.log on your server (i.e.. C:\Program Files\ServerWatch\Logs\games_mp.log)
For “FTP” enter your Server IP and the port (Default[21] should work). Enter the file path of the log file (This should be the path required from your initial ftp access folder. If FTP access takes you directly into the Call of Duty folder then all you should have is “/main/games_mp.log”). Be sure to have “use passive mode” unchecked. Refresh rate of 1000 is fine for now and you can change that later if you want. You may need to set your proxy settings if you are connecting through a proxy to your server.
For “no Qconsole LogFile”… no options available
Close ServerWatch.
Now that that is all setup you need to go into your ServerWatch folder and open up the “ServerWatch.ini” file. You will need to find and set the following variables:
LogFileSSHTimeOut=0
LogFileFTPTimeOut=0
LogFileDirectTimeOut=0
Save and close the file (This is done so you do not receive errors due to log connection failures which will be explained later).
Re-open ServerWatch.
Now click on “Start ServerWatch” under the File menu.
Wait about 15-30 seconds and if your rcon is correctly set you should see the name and ping of your server pop up on the “Users Playing” tab.
To test your connections further click on the File menu and select debug. Should bring up a window with several tabs on it that include: Rcon, Log File, EventList, Eventlist Highlight. Clicking on the Rcon tag you should get something that resembles this:
CODE
map: mp_carentan
num score ping name lastmsg address qport rate
--- ----- ---- --------------- ------- --------------------- ----- -----
If you do not see this within a minute your rcon access isn’t working (Go through your settings and make sure you have the correct IP and password). You can adjust the “MaxLines” as you see fit.
Now click on the Log File tab. This is where the changes in the log file appear as they happen on the server. There is a few seconds of delay based on the Refresh rate setting on the connections tab in “Setup”. Don’t be alarmed if you don’t see anything here. Read Below.
Note: The CoD server automatically logs everything to the log file other than rcon commands. The CoD server only writes to the log file when there is activity on the server. Since ServerWatch looks for changes in the log file, if there are no changes to the log file ServerWatch will report an error. This is why we edited the “ServerWatch.ini” file above. You will however get what CoD considers activity if you change the map and will show this change on the “Log File” tab on the Debug window.
If you don’t plan on having ServerWatch-Client connect to your ServerWatch go to Setup under the File menu and click on the “ServerWatch-Server Setup” and check the box for disable.
Play around with the other settings at your leisure. There are a lot of options for administrating CoD servers so enjoy.
ServerWatch-Client
COMING SOON
PS. If you have any questions or comments please PM them to me and I'll be happy to respond and adjust this guide.
This is a great help file he has taken the time to make.
Visit him in his forume to see if ha has added any more.
ShadowBee`s Help file for ServerWatch setup (http://forums.wwadmins.com/index.php?showtopic=15)