View Full Version : Server config...
imported_PV62Walle
11-03-2003, 09:04 AM
Hi....
This is my first post at this site.
Iīm looking for a server config set up guide.
Is ther one at this site??
Does the file look like the one for the MOHAA games?
Is there anything special i have to thing on when setting up a server?? All help wanted
Iīm planing a team death match server.
TheKomoman
11-03-2003, 09:50 AM
Here's what I'm using. You'll need to edit the rotation for TDM. Also notice that my maxclients = privateclients - this requires a password for everyone trying to connect. 0 to make it open, any number less than max to reserve X number of private slots, the rest open. The maxclients you can run depends on how much bandwidth you have available.
Use Notepad to edit and save under your own filename (do NOT use SERVER.CFG). Ex PV62Walle.cfg. Then EXEC that CFG on server startup.
// Hostname and Message of the Day
set sv_hostname "Server"
set scr_motd "Message of the Day"
// Maximum Clients
set sv_maxclients "16"
// Set Private Clients
set sv_privateclients "16"
// 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 ""
//Server Password
set sv_privatepassword ""
//Set Pure for checking
set sv_pure "1"
//Set Logging
set g_log "games_mp.log"
set g_logsync "0"
// 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 "150"
set scr_tdm_timelimit "20"
// Deathmatch
set scr_dm_scorelimit "80"
set scr_dm_timelimit "20"
// The rotation.
set sv_mapRotation "gametype tdm map mp_brecourt map mp_carentan map mp_chateau map mp_dawnville map mp_depot map mp_harbor map mp_hurtgen map mp_pavlov map mp_powcamp map mp_railyard map mp_rocket map mp_ship gametype sd map mp_brecourt map mp_carentan map mp_dawnville map mp_depot map mp_harbor map mp_hurtgen map mp_pavlov map mp_powcamp map mp_railyard map mp_rocket gametype dm map mp_brecourt map mp_carentan map mp_chateau map mp_dawnville map mp_depot map mp_harbor map mp_hurtgen map mp_pavlov map mp_powcamp map mp_railyard map mp_rocket map mp_ship gametype re map mp_brecourt map mp_carentan map mp_chateau map mp_dawnville map mp_depot map mp_harbor map mp_hurtgen map mp_pavlov map mp_powcamp map mp_railyard map mp_rocket map mp_ship gametype bel map mp_brecourt map mp_carentan map mp_chateau map mp_dawnville map mp_depot map mp_harbor map mp_hurtgen map mp_pavlov map mp_powcamp map mp_railyard map mp_rocket map mp_ship"
map mp_brecourt
imported_Xtinct
11-03-2003, 10:09 AM
Voting is kinda weird. There are two commands for it.
/rcon scr_allowvote 0
/rcon g_allowvote 0
Not sure what the scr one does cause even when I set it to "0", people can still vote. To turn off voting all together tho, use the g_allowvote one. BTW.....1=on, and 0=off. ;)
imported_PV62Walle
11-03-2003, 10:24 AM
Ok thanks for the fast reply.
But what do you mean by edit maps for TDM?
And do i have to have ..
// 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"
// Deathmatch
set scr_dm_scorelimit "80"
set scr_dm_timelimit "20"
In the config when i only want TDM?
And what do i put in the comand line from the short cut to start the server.
I run a MOHAA BT server now and this seams a little different.
The biggest problem is that the game is not out in sweden yet. :(
Itīs in my mail box on the 7th November....
And i really hope to have server up and running as soon as possible.
Do i need to put in some line for gamespy and maxrate.
TheKomoman
11-03-2003, 11:24 AM
Ok thanks for the fast reply.
But what do you mean by edit maps for TDM?
And do i have to have ..
In the config when i only want TDM?
And what do i put in the comand line from the short cut to start the server.
I run a MOHAA BT server now and this seams a little different.
The biggest problem is that the game is not out in sweden yet. :(
Itīs in my mail box on the 7th November....
And i really hope to have server up and running as soon as possible.
Do i need to put in some line for gamespy and maxrate.
I'd leave that stuff in there in case something else gets voted in. Having them won't hurt anything anyway.
Here's an example command line for your server shortcut:
"C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +exec PV62Walle.cfg +map_rotate
As far as editing the maps for TDM go, you just need to change the gametype to TDM in the rotation list. Edit the list to remove duplicate maps because my rotation is stolen from Hammer or somebody here and it rotates every possible game & map combo. :lol:
I think this will get it done for you:
set sv_mapRotation "gametype tdm map mp_brecourt map mp_carentan map mp_chateau map mp_dawnville map mp_depot map mp_harbor map mp_hurtgen map mp_pavlov map mp_powcamp map mp_railyard map mp_rocket map mp_ship"
imported_PV62Walle
11-03-2003, 01:07 PM
Ok so do you think this will work??
// Hostname and Message of the Day
set sv_hostname "=[PV62]="
set scr_motd "Hi And Welcome To =[PV62]="
// Maximum Clients
set sv_maxclients "12"
// Set Private Clients
set sv_privateclients "0"
// Team Icons
set scr_drawfriend "1"
// Forced Respawn
set scr_forcerespawn "0"
// Friendly Fire
set scr_friendlyfire "1"
// 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 "0"
// Rconpassword
set rconpassword "***"
//Server Password
set sv_privatepassword "***"
//Set Pure for checking
set sv_pure "1"
//Set Logging
set g_log "games_mp.log"
set g_logsync "0"
// 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 "75"
set scr_tdm_timelimit "15"
// Deathmatch
set scr_dm_scorelimit "80"
set scr_dm_timelimit "20"
// The rotation.
set sv_mapRotation"gametype tdm map mp_brecourt map mp_carentan map mp_chateau map mp_dawnville map mp_depot map mp_harbor map mp_hurtgen map mp_pavlov map mp_powcamp map mp_railyard map mp_rocket map mp_ship"
Donīt I have to put the starting map in the comand line on the shortcut?
"D:\Spel\Call Of Duty\CoDMP.exe" +set dedicated 1 +exec CODTDM.cfg +map_rotate
TheKomoman
11-03-2003, 01:22 PM
Ok so do you think this will work??
Donīt I have to put the starting map in the comand line on the shortcut?
"D:\Spel\Call Of Duty\CoDMP.exe" +set dedicated 1 +exec CODTDM.cfg +map_rotate
No, you don't have to put the map in the command line. As a hedge, I put this as the last line of my CFG:
map mp_brecourt
With +SET DEDICATED 1 it's my understanding that your server will not be listed in Gamespy (1 = "LAN" 2="Internet").
imported_PV62Walle
11-03-2003, 03:04 PM
Ok Super thanks....
Juice
11-03-2003, 03:32 PM
If you want voting turned off you should add this line:
set g_allowvote 0
If not make sure you keep the other options in for different map types and play or you could end up with the same map playing forever.
They like to vote for map changes :)
Has anyone got the kill warning and kill kick commands to work yet?
Juice
FragBoy69
11-03-2003, 10:20 PM
Where do you place that line for voting in the config file, or doesnt it matter where you put it?
Juice
11-03-2003, 10:51 PM
Don't quote me on it but I don't think it matters where you put it.
Juice
Tighten
11-03-2003, 11:07 PM
Doesn't matter, you can have anything placed in any order
FragBoy69
11-03-2003, 11:42 PM
Thanks for all the help guys, its much appreciated!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.