PDA

View Full Version : Need help with my server!!!


SteveWhite
11-18-2003, 03:23 PM
Hello,

I just recently bought a new dedi server and i'm stuck.

I have never used a server like this before and dont know any commands for the server or know how to use it.

Can anyone help me?

I need to know how to rename the server, log in as admin for the server, show the message of the day, kick players, ban players and other stuff that will help me,

remember i'm a noob to this.

Thanks
Steve White

Tighten
11-18-2003, 06:00 PM
I have never used a server like this before and dont know any commands for the server or know how to use it

Is it your own server? Do you log in through terminal services, or VNC/PcAnywhere? How is the dedicated server installed - console or service?

Kicking players and other "admin" features can be done either through RCON or making changes in your <server.cfg> (should be called anything but server.cfg)

imported_tsr3
11-18-2003, 06:44 PM
lemme try to noob write this for ya ;)

after the installation is complete, and your shortcut is created, right click on it (the cod multiplayer shortcut)and go to properties.


under where it says target shouldhave something like this "c:\Program Files\Call of Duty\CoDMP.exe"

or d,e, depending on the installation drive
replace whats in the target line with this:

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

this essentially executes the dedicated server and points it to a configuration file to run by.

2. After doing the shortcut go to your C:\Program Files\Call of Duty\Main folder and create a file called dedicated.cfg

You can do this by right clicking in the Main folder and going to New > text document, then once the file is created, erase the new text document.txt within and replace with dedicated.cfg, and say yes to any prompts there after.

Once created, double click it and when asked what program you would like to open up with , specify wordpad or notepad (for these purposes notepad works fine for me)

Within the file, paste the following text:

// Hostname and Message of the Day
set sv_hostname "server name here"
set scr_motd "message sent to clients when they join goes here"

set developer 0

// max players
seta sv_maxclients "1"
// how many private clients i.e. friends who can join no matter how manyplayers
seta sv_privateclients "4"
// the private password to let in friends
seta sv_privatepassword "private password here"

// Team Icons
set scr_drawfriend "1"
// Forced Respawn
set scr_forcerespawn "0"

// Friendly Fire
set scr_friendlyfire "0"

// Allow Voting
// It is recommended if you have friendly fire on
// that you also enable voting so that players can kick team-killers.
set scr_allow_vote "1"

// Rconpassword
set rconpassword "your remote console password here"

// Weapons Allowed
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "1"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"

// Search and Destroy Settings
set scr_sd_graceperiod "20"
set scr_sd_roundlength "3"
set scr_sd_roundlimit "7"
set scr_sd_scorelimit "5"
set scr_sd_timelimit "0"

// Behind Enemy Lines Settings
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "50"
set scr_bel_timelimit "20"

// Retrieval Settings
set scr_re_graceperiod "20"
set scr_re_roundlength "3"
set scr_re_roundlimit "7"
set scr_re_scorelimit "5"
set scr_re_showcarrier "0"
set scr_re_timelimit "0"

// Team Deathmatch
set scr_tdm_scorelimit "350"
set scr_tdm_timelimit "25"

// Deathmatch
set scr_dm_scorelimit "80"
set scr_dm_timelimit "20"

// The rotation.
set sv_mapRotation "gametype tdm map mp_brecourt gametype tdm map mp_carentan gametype tdm map mp_dawnville gametype tdm map mp_depot gametype tdm map mp_harbor gametype tdm map mp_hurtgen gametype tdm map mp_pavlov gametype tdm map mp_railyard gametype tdm map mp_rocket gametype tdm map mp_chateau gametype tdm map mp_powcamp"


DO NOT COPY BEYOND THIS LINE

-- This a generic config previously posted on the boards and works fine. The options mainly at top of the pasted config can be changed to any users liking, and have comments and text to help out.

CONCERNING GAMETYPES
tdm = team deathmatch
dm = deathmatch
sd - search and destroy
re = retrieval
bel = behind enemy lines

Youll notice at the end of the pasted config, there is a line at the beginning of the map rotation that says :

set sv_mapRotation "gametype tdm map mp_brecourt

the "tdm" specifies the game type, this config is set up for team deathmatch (tdm), to change the gametype to stay static (always on) on the server you would need to replace the corresponding "tdm" with , re, bel,dm depending on which gametype you want to play. So essentially the search and destroy config file will look like this at the end instead:

// The rotation.
set sv_mapRotation "gametype sd map mp_brecourt gametype sd map mp_carentan gametype sd map mp_dawnville gametype sd map mp_depot gametype sd map mp_harbor gametype sd map mp_hurtgen gametype sd map mp_pavlov gametype sd map mp_railyard gametype sd map mp_rocket gametype sd map mp_chateau gametype sd map mp_powcamp"

Specific settings concerning the gametypes can be found in the middle of the pasted config file, looks like:

// Search and Destroy Settings
set scr_sd_graceperiod "20"
set scr_sd_roundlength "3"
set scr_sd_roundlimit "7"
set scr_sd_scorelimit "5"
set scr_sd_timelimit "0"

// Behind Enemy Lines Settings
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "50"
set scr_bel_timelimit "20"

these settings "should" be self explainatory, post here if any further instructions concerning is required.

3. After the dedicated.cfg that YOU have created (with the pasted config above) is set up how you like it, close and save.

At this point your dedicated server is pretty much set up, if you were to run the codmp.exe it would launch the dedicated server and load your settings from dedicated.cfg.

remote console commands can be found by searching the forums, which of course will allow to adjust game settings remotely within the server.

CONCERNING FIREWALLS AND PORTS

These ports need to opened:

20500
20510
28960

hope this helps some, post if any questions comments.

SteveWhite
11-19-2003, 12:06 AM
ok,

server config is on, when i try to execute it, it says couldnt load <filename> i know i did the comand correct as i found the command list somewhere and printed it off.

Also when I try and log in as admin (/rconpassword <password>) it goes to the next line and when i try and test it (/rcon test) it keeps saying bad password

first of all,

How do i log in as admin via rcon?

How do i know i logged in?

Tighten
11-19-2003, 12:11 AM
First you need to get your server.cfg file working - RCON is set through that. In your server.cfg (rename to anything but = server.cfg / example: use codserver.cfg)

In your server.cfg make sure this line is in there >?

set or seta (i like seta)

seta rconpassword <yourpassword>

Then assuming the server is using that .cfg you can go into "your" server hit the ~ on the left of keyboard to bring down the console,
type in - /seta rconpassword <yourpassword> with out the signs. This will save to your cod_mp.cfg in your personal game so you don't have to re-type it again.

Then type
/rcon <command>

/rcon map_restart

etc...

SteveWhite
11-19-2003, 10:10 AM
Is there anyway that I can change the time limit and round length via rcon? or do i have to do it via the .cfg file?

Tighten
11-19-2003, 10:53 AM
I believe you can -

This is better done IMHO through a .cfg though.

Make a different .cfg for every type of game variant that you want to play.

For example, if you had three types of games / game types with different map rotations and settings - you could do the following.

codtdm.cfg - for TDM types
codsd.cfg - for SD types
codre.cfg - for RE types

etc...

Then while in game simply exec that .cfg same principal the leagues use for match play.

twl_comp.cfg
cal_comp.cfg

etc...

SteveWhite
11-19-2003, 12:27 PM
I tried setting up different .cfg files for different game types, but when i tried to change the .cfg (executing it) to the different game type nothing happens

Why?

Tighten
11-19-2003, 01:44 PM
Is your RCON working?

SteveWhite
11-19-2003, 02:08 PM
well i ran the /rcon exec command and it ran the .cfg script but it keeps coming out with the same map and gametype.

Heres the scripts:

This is the DM Script

// General Settings
set scr_friendlyfire "0"
set sv_maxClients "20"
set sv_privateClients "4"
set sv_maxRate "20000"
set sv_minPing "0"
set sv_maxPing "300"
set sv_pure "1"
set logfile "1"
set g_log "games_mp.log"
set g_allowVote "1"
set scr_allow_vote "1"
set sv_allowAnonymous "0"
set sv_allowDownload "1"
set sv_cheats "0"
set sv_fps "20"
set sv_master1 "codmaster.activision.com"
set sv_master2 ""
set sv_master3 ""
set sv_master4 ""
set sv_master5 ""

// Weapons
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "0"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "0"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"

// DM
set scr_friendlyfire "1"
set scr_tdm_scorelimit "0"
set scr_tdm_timelimit "20"
set scr_allow_vote "0"
set scr_drawfriend "0"
set sv_minPing "0"
set sv_maxPing "0"
set sv_pure "1"
set sv_cheats "0"
set g_allowVote "0"
set g_iokillcam "0"
set g_ioteamspec "1"
set logfile "1"

This is the TDM script:

// General Settings
set scr_friendlyfire "0"
set sv_maxClients "20"
set sv_privateClients "4"
set sv_maxRate "20000"
set sv_minPing "0"
set sv_maxPing "300"
set sv_pure "1"
set logfile "1"
set g_log "games_mp.log"
set g_allowVote "1"
set scr_allow_vote "1"
set sv_allowAnonymous "0"
set sv_allowDownload "1"
set sv_cheats "0"
set sv_fps "20"
set sv_master1 "codmaster.activision.com"
set sv_master2 ""
set sv_master3 ""
set sv_master4 ""
set sv_master5 ""

// Weapons
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "0"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "0"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"

// TDM
set scr_tdm_scorelimit "100"
scr_tdm_timelimit "25"


This is the BEL script:

// General Settings
set scr_friendlyfire "0"
set sv_maxClients "20"
set sv_privateClients "4"
set sv_maxRate "20000"
set sv_minPing "0"
set sv_maxPing "300"
set sv_pure "1"
set logfile "1"
set g_log "games_mp.log"
set g_allowVote "1"
set scr_allow_vote "1"
set sv_allowAnonymous "0"
set sv_allowDownload "1"
set sv_cheats "0"
set sv_fps "20"
set sv_master1 "codmaster.activision.com"
set sv_master2 ""
set sv_master3 ""
set sv_master4 ""
set sv_master5 ""

// Weapons
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "0"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "0"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"

// BEL
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "50"
set scr_bel_timelimit "30"


This is the RE script:

// General Settings
set scr_friendlyfire "0"
set sv_maxClients "20"
set sv_privateClients "4"
set sv_maxRate "20000"
set sv_minPing "0"
set sv_maxPing "300"
set sv_pure "1"
set logfile "1"
set g_log "games_mp.log"
set g_allowVote "1"
set scr_allow_vote "1"
set sv_allowAnonymous "0"
set sv_allowDownload "1"
set sv_cheats "0"
set sv_fps "20"
set sv_master1 "codmaster.activision.com"
set sv_master2 ""
set sv_master3 ""
set sv_master4 ""
set sv_master5 ""

// Weapons
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "0"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "0"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"

// RE
set scr_re_roundlimit "10"
set scr_re_roundlength "4"
set scr_re_graceperiod "15"
set scr_re_timelimit "0"
set scr_re_showcarrier "0"
set scr_friendlyfire "1"
set scr_allow_vote "0"
set scr_drawfriend "1"
set sv_minPing "0"
set sv_maxPing "0"
set sv_pure "1"
set sv_cheats "0"
set g_allowVote "0"
set g_iokillcam "0"
set g_ioteamspec "1"
set logfile "1"

This is the S&D script:

// General Settings
set scr_friendlyfire "0"
set sv_maxClients "20"
set sv_privateClients "4"
set sv_maxRate "20000"
set sv_minPing "0"
set sv_maxPing "300"
set sv_pure "1"
set logfile "1"
set g_log "games_mp.log"
set g_allowVote "1"
set scr_allow_vote "1"
set sv_allowAnonymous "0"
set sv_allowDownload "1"
set sv_cheats "0"
set sv_fps "20"
set sv_master1 "codmaster.activision.com"
set sv_master2 ""
set sv_master3 ""
set sv_master4 ""
set sv_master5 ""

// Weapons
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "0"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "0"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"

// SD
set scr_sd_roundlimit "10"
set scr_sd_roundlength "4"
set scr_sd_graceperiod "15"
set scr_sd_timelimit "0"
set scr_friendlyfire "1"
set scr_allow_vote "0"
set scr_drawfriend "1"
set sv_minPing "0"
set sv_maxPing "0"
set sv_pure "1"
set sv_cheats "0"
set g_allowVote "0"
set g_iokillcam "0"
set g_ioteamspec "1"
set logfile "1"

Tighten
11-19-2003, 04:29 PM
I did not see a map rotation in any of those .cfg set ups?

SteveWhite
11-19-2003, 05:01 PM
I have put the map rotations in......and nothing happens.

The option that i picked doesnt changed, it always stay at 4 mins and not 10 mins.......I change the .cfg file to TDM.cfg and it stays on search and destroy.cfg

Nothing works!

Can anyone send me there .cfg file as i'm getting pretty pissed with this server cfg shite!

Tighten
11-19-2003, 05:15 PM
If you would like, you can "im" me on ICQ 199383684 and give m access to your server - I will set it up for you. Too many post about the same thing - I am sure it something small over-looked

Or call 1888-348-GAME