COD4CC Daemon Setup v1.4
[http://www.cod4cc.com]


1º - How to Setup:


1.1 - CONFIGS.INI
Open Configs.ini with notepad and edit it: (Red NOT TO EDIT , Green EDIT, Gray Not in file just an explanation)

[COD4CC]
GameServerIP=
127.0.0.1 <-Add here your Game Server IP
GameServerPort=28960 <-Add here your Game Server Port
RCONPassword=rconpassword <-Add here your RCON Password
DaemonPortz=1001 <-Add here your daemon (*)
Argumentsz=+set dedicated 2 +set sv_punkbuster 1 +exec mp-server.cfg +map_rotate <-Add here the game arguments
(*)
AutoQuit=1 <-Sets using 1 or 0 if you want the daemon to close the server when daemon is terminated(*)
Heartbeat=1 <-Sets using 1 or 0 if you want the daemon should send heartbeats to the server and if no response close daemon (*)

(*) -> Let your Game Server Provider set it up for you.

->TO SETUP RCON PASSWORD
Edit the file Configs.ini
Or add it using the console, for that just type:

CHANGERCON password

Where password is your RCON password

After the installation is complete you will able be change RCON password using the COD4CC Client with power admin level.

->TO SETUP USERS
Edit the Users.cfg file
Or add then on Daemon, just type:
ADDUSER username:password-level

The first user should have the poweradmin level so he can setup other accounts

Levels are: 
-> mp
-> admin 
-> poweradmin

Example (editing file):
JohnDoe:JohnsPassword-poweradmin

Example (on console):
ADDUSER JohnDoe:JohnsPassword-poweradmin

JohnDoe <- USERNAME
: <- DIVIDER
JohnsPassword <-PASSWORD
- <- DIVIDER
poweradmin <- LEVEL


So its Username:Password-LEVEL for each user.

For several users make it a user for line
JohnDoe:JohnsPassword-poweradmin
JaneDoe:JanePassword-admin
JoeDoe:JoePassword-mp


->TO SETUP GAME SERVER IP
Edit Configs.ini
Since version 0.2.13, closing the daemon will also close the game server (requested by GSPs)
To do this when being closed the daemon quickly connects to RCON and sends the command "Quit",
witch closes the game server to!




2º - Using
Just open DaemonServer.exe and for commands type "help"

3º - Arguments
Version 0.2 now supports the Start Server argument.
To use it just start the Daemon with "+startserver" (without the "")
If you create a shortcut just add this on the target.. Example: Target: "C:\Activision\Call of Duty 4 - Modern Warfare\DaemonServer.exe" +startserver
if you have problems starting the server with this try make (using notepad) a .BAT file with this on it:

DaemonServer.exe +startserver

Be aware that from version 0.2.13 ending the Daemon will also end the game server!

From version 0.3 the daemon closes if the server is not running.
(The Daemon sends heartbeats to the server if no response is retrieved it closes.)


4º - Troubleshooting

In case of MSWINSCK.OCX error:
1º Copy the file present on the zip to C:\WINDOWS\SYSTEM32\
2º Go to Start->Run: and type
regsvr32 C:\WINDOWS\SYSTEM32\MSWINSCK.OCX
A restart may be necessary but it should fix the problem.

In case of communication failure make sure you have the port defined by your GSP is open

Any other problems don't hesitate to contact us on the forum [http://www.cod4cc.com]