Lan Server with modified XP

Hi everyone,

I want to do a oldschool lan-party and i want to play cod4 with my friends.
Because of we are bored of instantly using all weapons we want to play from lvl 1.
But under normal circumstances it is not possible to level up far in one day in order to unlock other weapons in the course of the game.
Therefore, I would like to make a lan-server where modified XP rates can be applied.
Unfortunately, I don’t know much about materia and can only just get a dedicated server up and running.
How can I adjust the XP rates?

thank you all!

I wanted to do the same thing so I could play alone with a bot mod and I got told that I am lame and to fuck off, don’t expect any help from these people lol. I still haven’t found a way, I asked one modder and he told me to edit some file with this


but then when I asked him how to actually compile it he told me to find it myself so another dead end :stuck_out_tongue:

1 Like

Hi protter, the New Experience mod has an xp multiplier in the config it is set to 1 as default but you can set it to a maximum of 100 which will give you 1000 xp per kill.

GitHub - leiizko/cod4_new_experience

@Rathard The only post you did on here: Any way to instantly level up on a CoD4X mod? - CoD4x Client - CoD4X Mod

Myself and others tried to help you and I see no evidence of what you claim here in your post

Hi MAD-DAD,

thanks for your answer.
I have two big issues:
1.when I use the cod4x_server-windows_21.2, I can`t find the server in my local network. How to fix it? Even connecting with /connect 192.168.0… does not work
2. is it right that i have to use a shortcut of the cod4x18_dedrun.exe, where I have to write this:
C:\Program Files (x86)\Call of Duty 4 - Server\cod4x18_dedrun.exe" +exec config.cfg +set fs_game “mods/cod4_new_experience-master”
to load the mod?

Im very sorry for my newbish questions, but I dont have a clue of stuff like this and I only want to play with some guys at a lanparty.

The questions you are asking is not noobish. If you don’t know something, the community here can assist. My advice would be to read the docs to it’s entirety. That is exactly how the experienced ones here have learned what they know. New experience is not a mod, it is a set of scripts that change the core game. All you need to do is follow the installation instructions: https://github.com/leiizko/cod4_new_experience#installation .

thanks for your answer.

I used as in the installationguide. I miss out the optinial things, because I dont need them.
But I still do not understand this one:
“place both code and maps folders into your /main_shared/ folder”
I don`t have a main-shared folder.

And there is still the problem that I cant find the server in lokal.

If I start a server mit my CoD client, I can find it with other PC`s, but not if i use the cod4x18_dedrun.

“New experience is not a mod”
I only called it a mod in the general sense that it does modify cod4x in changing certain aspect and it is additional code. But yes it is not a mod in the sense of using fs_game command.

:grin:

Create folder main_shared in your root of your game folder.
Remove +set fs_game “mods/cod4_new_experience-master”

Point your sever command line to the new experience config file and at the bottom of that config file type exec config.cfg

For example in command line have +exec newexperience.cfg

And at the bottom of newexperience.cfg file type exec config.cfg(or whatever your original server cfg was called)

I´m sorry, but I still got problems.

I think I have done everything as you told me, but it doesn`t work.

My folder looks like that:

the server console looks like this:
CoD4 X - win_mingw-x86 build 1153 May 1 2022
— Crypto Initializing —
Testing sha1 hash function - positive.
Testing sha256 hash function - positive.
Testing tiger hash function - positive.
— Crypto Initialization Complete —
Winsock Initialized
Hostname: DESKTOP-HUAGVOF
IP6: fe80::fee2:df5:466f:f321%8
IP6: 2a02:908:e31:cf60:c116:5b9a:69fc:25c7
IP6: 2a02:908:e31:cf60:bd05:387f:e9a3:30d4
IP: 192.168.0.101
IP: 127.0.0.1
IP6: ::1
Opening IP6 socket: [::]:28960 UDP
Opening IP6 socket: [::]:28960 TCP
Opening IP socket: 0.0.0.0:28960 UDP
Opening IP socket: 0.0.0.0:28960 TCP


CoD4X Auto Update
Current version: 1.8
Current subversion: 21.2
Current build: 1153

New subversion 21.2
Update not needed. All files are equal.
----- FS_Startup -----
e:\call of duty 4 - server\main\localized_german_iw00.iwd: 1812272767
e:\call of duty 4 - server\main\localized_german_iw01.iwd: -2029990542
e:\call of duty 4 - server\main\localized_german_iw02.iwd: 1765273397
e:\call of duty 4 - server\main\localized_german_iw03.iwd: -1495991264
e:\call of duty 4 - server\main\localized_german_iw04.iwd: -1496898392
e:\call of duty 4 - server\main\localized_german_iw05.iwd: 1726798886
e:\call of duty 4 - server\main\localized_german_iw06.iwd: -36132527
e:\call of duty 4 - server\main\iw_00.iwd: -1190209610
e:\call of duty 4 - server\main\iw_01.iwd: 648005745
e:\call of duty 4 - server\main\iw_02.iwd: -165391090
e:\call of duty 4 - server\main\iw_03.iwd: 309900900
e:\call of duty 4 - server\main\iw_04.iwd: 499941093
e:\call of duty 4 - server\main\iw_05.iwd: 489843315
e:\call of duty 4 - server\main\iw_06.iwd: -715502781
e:\call of duty 4 - server\main\iw_07.iwd: -1041447890
e:\call of duty 4 - server\main\iw_08.iwd: -1079795827
e:\call of duty 4 - server\main\iw_09.iwd: -1846635013
e:\call of duty 4 - server\main\iw_10.iwd: 173489706
e:\call of duty 4 - server\main\iw_11.iwd: -292863836
e:\call of duty 4 - server\main\iw_12.iwd: 1043426064
e:\call of duty 4 - server\main\iw_13.iwd: 2115322797
e:\call of duty 4 - server\main\jcod4x_00.iwd: 94291723
e:\call of duty 4 - server\main\xbase_00.iwd: -978930286
Current language: german
Current fs_basepath: e:/call of duty 4 - server
Current fs_homepath: e:/call of duty 4 - server
Current search path:
e:\call of duty 4 - server\main\xbase_00.iwd (115 files)
e:\call of duty 4 - server\main\jcod4x_00.iwd (67 files)
e:\call of duty 4 - server\main\iw_13.iwd (265 files)
e:\call of duty 4 - server\main\iw_12.iwd (33 files)
e:\call of duty 4 - server\main\iw_11.iwd (448 files)
e:\call of duty 4 - server\main\iw_10.iwd (230 files)
e:\call of duty 4 - server\main\iw_09.iwd (447 files)
e:\call of duty 4 - server\main\iw_08.iwd (66 files)
e:\call of duty 4 - server\main\iw_07.iwd (34 files)
e:\call of duty 4 - server\main\iw_06.iwd (416 files)
e:\call of duty 4 - server\main\iw_05.iwd (716 files)
e:\call of duty 4 - server\main\iw_04.iwd (765 files)
e:\call of duty 4 - server\main\iw_03.iwd (670 files)
e:\call of duty 4 - server\main\iw_02.iwd (1296 files)
e:\call of duty 4 - server\main\iw_01.iwd (1456 files)
e:\call of duty 4 - server\main\iw_00.iwd (1054 files)
e:/call of duty 4 - server/main
e:/call of duty 4 - server/main_shared
e:/call of duty 4 - server/players
e:\call of duty 4 - server\main\localized_german_iw06.iwd (512 files)
localized assets iwd file for german
e:\call of duty 4 - server\main\localized_german_iw05.iwd (1152 files)
localized assets iwd file for german
e:\call of duty 4 - server\main\localized_german_iw04.iwd (1965 files)
localized assets iwd file for german
e:\call of duty 4 - server\main\localized_german_iw03.iwd (3496 files)
localized assets iwd file for german
e:\call of duty 4 - server\main\localized_german_iw02.iwd (3201 files)
localized assets iwd file for german
e:\call of duty 4 - server\main\localized_german_iw01.iwd (3117 files)
localized assets iwd file for german
e:\call of duty 4 - server\main\localized_german_iw00.iwd (2903 files)
localized assets iwd file for german

File Handles:

24424 files in iwd files
execing default_mp.cfg
execing default_mp_controls.cfg
execing default_mp_gamesettings.cfg
execing server_map.cfg
-------- Plugins initialization completed --------
QUERY LIMIT: Querylimiting is enabled
Master0: cod4master.cod4x.ovh
Resolving cod4master.cod4x.ovh
cod4master.cod4x.ovh resolved to 188.165.57.239:20810
cod4master.cod4x.ovh resolved to [2001:41d0:a:37ad::17]:20810
Master1: cod4master.ax-servers.hu
Resolving cod4master.ax-servers.hu
cod4master.ax-servers.hu resolved to 84.21.7.14:20810
cod4master.ax-servers.hu resolved to [2a02:730:1220::187]:20810
[S_API] Initialization completed
begin $init
end $init 1 ms
Adding fastfile ‘code_post_gfx_mp’ to queue
Adding fastfile ‘localized_code_post_gfx_mp’ to queue
Adding fastfile ‘common_mp’ to queue
Adding fastfile ‘cod4x_patchv2’ to queue
— Common Initialization Complete —
Hunk available: 10, Hunk total: 10
Hitch warning: 14663 msec frame time
execing new_exp_config.cfg
Loading fastfile ‘code_post_gfx_mp’
execing q3config_server
used 0.47 MB memory in DB alloc
sv_steamgroup will be changed upon restarting.
Loaded fastfile ‘code_post_gfx_mp’ in 22ms (10ms waiting)
sv_queryIgnoreMegs is write protected.
loc_forceEnglish will be changed upon restarting.
loc_language will be changed upon restarting.
net_mcast6iface will be changed upon restarting.
Loading fastfile ‘localized_code_post_gfx_mp’
used 0.71 MB memory in DB alloc
net_mcast6addr will be changed upon restarting.
net_enabled will be changed upon restarting.
com_zoneMegs will be changed upon restarting.
Loaded fastfile ‘localized_code_post_gfx_mp’ in 23ms (9ms waiting)
Loading fastfile ‘common_mp’
used 39.00 MB memory in DB alloc
Loaded fastfile ‘common_mp’ in 780ms (560ms waiting)
Loading fastfile ‘cod4x_patchv2’
used 3.08 MB memory in DB alloc
Loaded fastfile ‘cod4x_patchv2’ in 25ms (8ms waiting)

and this are the configs

  1. new_exp_config.cfg

// XP multiplier - 1 normal XP, max multiplier 100
// Do not forget to change score limit when using this!
set xp_multi “10”

// Steady sniper score ( 1-yes ; 0-no )
set promod_sniper “0”

// Enable faster movement speed and longer sprint times ( 1-yes ; 0-no )
set fast_paced “0”

// More realistic gun positions on screen ( 1-yes ; 0-no )
set gun_position “0”

// Enable spawn protection ( 1-yes ; 0-no )
set spawn_protection “0”

// Spawn protection time ( 1 - 10 secs )
set prot_time “0”

// Allow players to change r_fullbright, cg_fovscale and promod vision setting with script command or via rcon interface ( 1-yes ; 0-no )
set cmd_fov “0”
set cmd_fps “0”
set cmd_promod “0”

// If above CMD_XYZ settings are set to 0 it will default to these ( force players to play at that vision settings )
// If you want to force either FPS or PROMOD it is recommended that you disable both FPS and PROMOD command
// if fs_players / mysql is set to 1, players will start with these settings
set default_fov “2” // 0-2, 2- fovscale 1.25, 1- fovscale 1.125, 0- fovscale 1.0
set default_fps “0” // 1-enable, 0-disable
set default_promod “1” // 1-enable, 0-disable

// Enable rcon commands to change vision settings ( for B3 and other 3rd party admin tools ) ( 1-yes ; 0-no )
set rcon_interface “0”

// Hardpoints based off killstreak ( 1-yes ; 0-no )
set old_hardpoints “0”

// Killstreak needed for the hardpoint - used when old_hardpoints is 1
// DO NOT set identical values to 2 or more hardpoints
set radar “3”
set airstrike “5”
set artillery “7”
set agm “10”
set asf “12”
set helicopter “15”
set predator “20”
set ac130 “28”
set mannedheli “35”
set nuke “45”

// Count hardpoint kills toward kill streak ( 1-yes ; 0-no )
set hardpoint_streak “0”

// Credits needed for the hardpoint - used when old_hardpoints is 0
// Can be set to identical values for two or more hardpoints
// Range: 1 - 9999
set radar_shop “20”
set airstrike_shop “70”
set artillery_shop “70”
set agm_shop “100”
set asf_shop “100”
set helicopter_shop “180”
set predator_shop “280”
set ac130_shop “380”
set mannedheli_shop “500”
set nuke_shop “600”

// Shows to player when he joins
set intro_text “Sauerländer Ballerbude”

// Your server website, will show under intro text
set website “—”

// How long should the intro stay on screen ( 1 - 20 seconds )
set intro_time “0”

// Will show up when playing end game credits
set credit_text “—”

// Disable perks / attachements ( 1-yes ; 0-no )
set disable_gl “0”
set disable_rpg “0”
set disable_c4 “0”
set disable_claymore “0”
set disable_tripplefrag “0”
set disable_jugger “0”
set disable_laststand “0”
set disable_marty “0”

// Amount of artillery shells ( 10 - 100 shells )
set arty_shell_num “35”

// When to show hitmarker on player hits
// 0 - Never
// 1 - Always
// 2 - Show if it isn’t wallbang
set hitmarker “1”

// Enable final killcam ( 1-yes ; 0-no )
set final_killcam “0”

// Enable regular killcam
set scr_game_allowkillcam “0”

// Mapvote
set mapvote “1” // Enable map vote ( 1-enable ; 0-disable )
set mapvote_mapnum “5” // Number of maps to vote ( 3 - 8 )
set mapvote_norepeat “3” // For how many rounds the same map can’t be voted for ( 0 - 10 )
set mapvote_time “15” // Mapvote timer ( 5 - 40 seconds )

// Gametype vote
set gametypeVote “0” // Enable gametype vote ( 1-enable ; 0-disable )
set vote_gametypes “war dm sd sab koth dom” // Gametype pool to vote from separated by space

// Filesystem
// Adds extra functionalities but it will create a lot of files, however size shouldn’t be an issue.
// fs_players may cause brief server lag on full server on slower hard drives
set fs_ending “1” // Use filesystem to save map specific settings ( 1-enable ; 0-disable )
set fs_players “1” // Use filesystem to save player specific settings ( 1-enable ; 0-disable )

// 0 - USE / MELEE buttons
// 1 - MOVE FORWARD / MOVE BACKWARD buttons
set shopbuttons_allowchange “0” // Let the player decide which buttons he wants to use to navigate hardpoint shop ( 1-enable ; 0-disable )
set shopbuttons_default “0” // if shopbuttons_allowchange is set to 0, players will be forced to use this buttons ( 1-W/S ; 0-F/V )

set showXP “1” // Show score XP on player kills
set shopXP “1” // Show $ gain instead of kill XP

set cmd_stats “1” // Allow players to see trueskill rating ( 1-enable ; 0-disable )

// Trueskill
set trueskill “0” // Use trueskill ( 1-enable ; 0-disable )
set trueskill_punish “1” // Punish players who leave early by giving them a loss ( 1-enable ; 0-disable ) - works only in FS_Players / mysql mode

set welcome “1” // Enable welcome message on player connection - if GeoIP data is available it will also include players country ( 1-enable ; 0-disable )

set kct_default “Owned?” // Default text shown in killcam if client didn’t change it
set kcemblem “1” // Allow player specified killcam text when fs_players / mysql is set to 1 ( 1-enable ; 0-disable )

set strat “0” // Enable strat - Spawn protection MUST BE DISABLED if strat is enabled ( 1-enable ; 0-disable )
set strat_text “Strat time:” // Strat text
set strat_time “5” // Strat time

set cmd_spec_keys “0” // Allow changing setting to see spectators pressed keys ( 1-enable ; 0-disable )
set spec_keys_default “0” // Default cmd_spec_keys value, if == 0 then this is forced value ( 1-enable ; 0-disable )

set force_autoassign “1” // Force players to always autoassign to keep teams balanced ( 1-enable ; 0-disable )

set realReload “0” // Drops all ammo left in clip when reloading ( 1-enable ; 0-disable )
set reloadFix “1” // Prevents rapid fire and stop reload binds ( 1-enable ; 0-disable )

// Allow 2 ( non-manned ) choppers to be on the map ( 1-enable ; 0-disable )
// Manned heli can still be only one in the skies!
set doubleHeli “1”

set end_scoreboard “0” // Show scoreboard on game end ( 1-enable ; 0-disable )
set end_scoreboard_time “5” // Duration of scoreboard when enabled in seconds ( 1 - 30 seconds )

set vip_anyteam “0” // Allow VIP to join any team if force_autoassign is enabled ( 1-yes ; 0-no )
set vip_balance “1” // Can VIP be team balanced ( 1-yes ; 0-no )
set vip_streak “1” // VIPs need 1 kill less for hardpoint, killstreak based ( 1-yes ; 0-no )

set wallbang “1” // Enable wall peneteration ( 1-yes ; 0-no )

// ID of a VIP player
// You can add up to 100 VIPS, just change the number.
// Numbers MUST be in order, you cannot jump from vip_0 to vip_2
set vip_0 “0000000000”

/////////////////////
// MYSQL
set mysql “0” // Enable mysql functionality ( 1-yes ; 0-no )
set mysql_host “localhost” // Mysql host
set mysql_user “user” // Mysql user
set mysql_pw “123456789” // Mysql password
set mysql_db “db_name” // Mysql database name
set mysql_port “3306” // Mysql port 0 - 65535
set mysql_trueskill_table “trueskill” // Mysql trueskill table name ( only if trueskill is enabled ) - usable for cross server database
set mysql_mapstats_table “mapstats” // Mysql mapstats table name - cross server

set dynamic_rotation_enable “0” // Enable dynamic map rotation ( 1-yes ; 0-no )
set dynamic_med “6” // if number of players is below this number dynamic_low_maps will play
set dynamic_high “14” // if number of players is below this number and above/equals dynamic_med number dynamic_med_maps will play
// if number of players equals or is above this number dynamic_high_maps will play
set dynamic_low_maps “map mp_shipment map mp_killhouse”
set dynamic_med_maps “map mp_backlot map mp_strike”
set dynamic_high_maps “map mp_pipeline map mp_crossfire”

set remove_turrets “1” // Removes stationary MGs from the maps

exec q3config_server

  1. q3config_server.cfg

// generated by quake, do not modify
seta sys_shutdowntimeout “60”
seta sv_steamgroup “”
seta sv_steamforce “None (optional)”
seta sv_usesteam64id “1”
seta sv_disablechat “0”
seta sv_legacyguidmode “0”
seta sv_updatebackendname “cod4update.cod4x.ovh”
seta sv_floodprotect “4”
seta sv_maxRate “100000”
seta sv_contellname “^5Server^7->^5PM: ^7”
seta sv_consayname “^2Server: ^7”
seta g_motd “”
seta g_password “”
seta sv_statusfilename “serverstatus.xml”
seta sv_authorizemode “1”
seta sv_randomMapRotation “0”
seta sv_reconnectlimit “5”
seta sv_voice “0”
seta sv_wwwDlDisconnected “0”
seta sv_wwwBaseURL “”
seta sv_wwwDownload “0”
seta sv_allowDownload “1”
seta sv_queryIgnoreTime “2000”
seta sv_queryIgnoreMegs “1”
seta sv_maxPing “0”
seta sv_minPing “0”
seta sv_hostname “^5CoD4Host”
seta loc_forceEnglish “0”
seta loc_language “2”
seta net_mcast6iface “0”
seta net_mcast6addr “ff08::696f:7175:616b:6533”
seta net_enabled “3”
seta com_zoneMegs “16”

can you help me?

Your command line is not right. I am not at my PC so can’t send details. But it needs things like ip and port

Like this:

+set dedicated 2 +set net_ip 000.000.000.000 +set net_port xxxxx +set sv_showasranked 1 +set modstats 0 +set sv_maxclients 24 +set rcon_password “password” +exec new_exp_config.cfg

000.000.000.000 - change to your server IP
xxxxx - change to your server port
“password” - change to your rcon password

Don’t link to q3config_server this is not your server config file

Standard server Config file

////////////////////////////////////////////////////////////
///      Call of Duty 4 X Standard Configuration         ///
////////////////////////////////////////////////////////////
// Colors Codes:
// ^0 = Black
// ^1 = Red
// ^2 = Green
// ^3 = Yellow
// ^4 = Navy Blue
// ^5 = Light Blue
// ^6 = Purple
// ^7 = White
// ^8 = Gray

set sv_authtoken ""

//////////////////////////////////
// Master servers
//////////////////////////////////
set sv_masterservers "cod4master.doszgep.cloud"
//set sv_master1 "cod2master.activision.com"
//set sv_master2 "cod2authorize.activision.com"
//set sv_master3 "cod2master.infinityward.com"
//set sv_master3 "cod2update.activision.com"
//set sv_master4 "master.gamespy.com:28960"
//set sv_master5 "master0.gamespy.com"
//set sv_master6 "master1.gamespy.com"
//set sv_master7 "clanservers.net"

//////////////////////////////////
// Meta Information
//////////////////////////////////
sets _Owner ""
sets _Email ""
sets _Website ""
sets _Host ""
sets _Location ""
sets _Maps ""
sets _Gametype ""

//////////////////////////////////
// Basics
//////////////////////////////////
set sv_hostname "CoD4x"
//set g_motd "Welcome to Here" // Message of the day, which getting shown to every player on his 1st spawn
//set dedicated "2" 	// 0 = Listen, 1 = LAN, 2 = Internet ( you probably want 2 )
//set rcon_password "password"  // password for remote access, leave empty to deactivate, min 8 characters
set g_password ""     // join password, leave empty to deactivate
//set sv_privateClients "2" //Private Clients, number of slots that can only be changed with a password
//set sv_privatePassword "mypassword"  // the password to join private slots
//set sv_authorizemode "0" // cdkey validation
//set sv_showasranked 0 // 0 = show modded server as not ranked, 1 = shows server as ranked altough it is modded

//////////////////////////////////
// Log File
//////////////////////////////////
set g_logsync "1" // 0=no log, 1=buffered, 2=continuous, 3=append
set logfile "1" // 0 = NO log, 1 = log file enabled
set g_log "games_tdm.log" // Name of log file, default is games_mp.log
set sv_log_damage "1"
set sv_statusfile "" // writes an xml serverstatus to disc, leave empty to disable (serverstatus.xml)

//////////////////////////////////
// Networking
//////////////////////////////////
// set net_ip "0.0.0.0" // not necessary to be set
// set net_port 28960 // network port
//set sv_maxRate 2500
set sv_minPing "0" // minimal ping [ms] for a player to join the server
set sv_maxPing "350" // maximal ping [ms] for a player to join the server
set sv_timeout 60 // Seconds to keep a client on server without a new clientmessage
set sv_connectTimeout 120 // Seconds to wait for a client which is loading a map without a new clientmessage
set sv_zombieTime 2 // Seconds to keep a disconnected client on server to transmit the last message
set sv_reconnectlimit 5 // Seconds to disallow a prior connected client to reconnect to the server
// Floodprotection is enabled by default!
// sv_floodProtect, sv_maxRate, 

//////////////////////////////////
// Variables you should not touch :)
//////////////////////////////////
// set sv_fps "20" //Server-FPS (do not change!)
// set sv_punkbuster "0" //Punkbuster, PB is not supported on CoD4x
// set sv_pure "0" //check IWD-data 0 = off, 1 = on
// set g_antilag "1" //0 = off, 1 = on // Anti lag checks for weapon hits
// set ModStats 1 // 1 = use player stats file for mods (normal behaviours), 0 = use player stats file of basegame (DANGEROUS!!! as it can overwrite your stats)
set sv_kickBanTime "3600"

//////////////////////////////////
// Gameplay
//////////////////////////////////
set scr_drawfriend "1" //show team mates //0 = off, 1 = on
set scr_enable_scoretext "1" //hit-message //0 = no, 1 = yes
set scr_game_allowkillcam "0" //Killcam //0 = no, 1 = yes // Allow to play killcam after you got killed
set scr_game_deathpointloss "1" //points-distraction when hit //0 = no, 1 = yes
set scr_game_suicidepointloss "1" //points-distraction suicide //0 = no, 1 = yes
set scr_game_matchstarttime "15" //time until match starts
set scr_game_playerwaittime "5" //respawn-delay
set scr_player_forcerespawn "1" //force respawn //0 = no, 1 = yes // forgot what -1 did but i believe it was different xD
set scr_player_healthregentime "5" //health regeneration (in seconds)
set scr_player_maxhealth "100" //Max health
set scr_player_sprinttime "4" //Sprint-time
set scr_game_onlyheadshots "0" //headshots only //0 = no, 1 = yes
set scr_teamKillPunishCount "3" //Teamkiller kick after x Teamkills
set scr_team_teamkillspawndelay "20" //teamkill spawn delay (in seconds)
set scr_team_teamkillpointloss "1" //pointloss after Teamkill //0 = no, 1 = yes
set scr_enable_hiticon "1" //Hit-Symbol //0 = off, 1 = on
set sv_allowAnonymous "0" // Anonymous //0 = off 1 = on
//set g_deadChat "1" // dead can chat // 0 = off, 1 = on
//set voice_deadChat "0" // dead can use voicechat //0 = off, 1 = on
//set sv_disableClientConsole "0" //deactivate console for clients //0 = no, 1 = yes
set scr_teambalance "0" //auto-teambalance //0 = no, 1 = yes
set scr_team_fftype "0" //friendly-fire //0 = off, 1 = on, //2 = reflect damage, 3 = shared damage
set scr_game_spectatetype "2" // spectator // 0 = off, 1 = only Team/player, 2 = free
set scr_hardcore 1 //Hardcore Mode //0 = off 1 = on
set scr_oldschool "0" //Oldschool Mode //0 = off, 1 = on
set g_friendlyPlayerCanBlock 0 // 1 = player collision between friendly players, 0 = collision between friendly players is disabled
set g_FFAPlayerCanBlock 0 // same for FFA (non team based) gamemode
set g_allowvote 0

///////////////////////////
// Setup for custom maps when running a mod
//////////////////////////////////
set sv_wwwDownload "0" // enable download redirection
set sv_wwwBaseURL "" // defines url to download from
set sv_wwwDlDisconnected "0" // disconnect clients while downloading

//////////////////////////////////
// Misc
//////////////////////////////////
//set sv_autodemorecord 1 // Records demos of players on the serverside, demos are stored in "demos" folder
//set sv_demoCompletedCmd "" // program to execute when a demo has been saved
//set sv_screenshotArrivedCmd "" // program to execute when a screenshot was taken
//set sv_legacyguidmode 0 // 1 = old 32 character guids are used, 0 = new cod4x guid format is used ( like steamids )
set sv_nosteamnames 0 // 1 = Use names from steam if steam is available
seta sv_contellname "console[^5PM^7]: "
seta sv_consayname "console: "

//////////////////////////////////
//Game-Modes
//////////////////////////////////

//Death Match (dm)
set scr_dm_scorelimit "0"
set scr_dm_timelimit "10"
set scr_dm_roundlimit "1"
set scr_dm_numlives "0"
set scr_dm_playerrespawndelay "-1"
set scr_dm_waverespawndelay "0"

//Team Death Match (war)
set scr_war_scorelimit "0"
set scr_war_timelimit "10"
set scr_war_roundlimit "1"
set scr_war_numlives "0"
set scr_war_playerrespawndelay "-1"
set scr_war_waverespawndelay "0"

//Domination (dom)
set scr_dom_scorelimit "0"
set scr_dom_timelimit "10"
set scr_dom_numlives "0"
set scr_dom_playerrespawndelay "-1"
set scr_dom_roundlimit "1"
set scr_dom_waverespawndelay "0"

//HQ (koth)
set scr_koth_scorelimit "250"
set scr_koth_timelimit "15"
set koth_kothmode "0" //Classic HQ-Mode 0 = off, 1 = on
set koth_capturetime "20"
set koth_spawntime "3" //0 = immediately, x = time in seconds
set scr_koth_numlives "0"
set scr_koth_playerrespawndelay "3"
set scr_koth_roundlimit "1"
set scr_koth_roundswitch "1"
set scr_koth_waverespawndelay "0"
set koth_autodestroytime "60"
set koth_delayPlayer "3"
set koth_destroytime "10"
set koth_spawnDelay "3"

//Sabotage (sab)
set scr_sab_scorelimit "2"
set scr_sab_timelimit "10"
set scr_sab_roundswitch "1"
set scr_sab_bombtimer "30"
set scr_sab_planttime "2.5"
set scr_sab_defusetime "5"
set scr_sab_hotpotato "0"
set scr_sab_numlives "0"
set scr_sab_playerrespawndelay "5"
set scr_sab_roundlimit "0"
set scr_sab_waverespawndelay "0"

//Search and destroy (sd)
set scr_sd_scorelimit "9"
set scr_sd_timelimit "2.5"
set scr_sd_roundswitch "4"
set scr_sd_bombtimer "45"
set scr_sd_planttime "5"
set scr_sd_defusetime "7"
set scr_sd_multibomb "0"
set scr_sd_numlives "1"
set scr_sd_playerrespawndelay "0"
set scr_sd_roundlimit "0"
set scr_sd_waverespawndelay "0"

set g_gametype "war" // gamemode, one of [war, dm, sd, sab, koth]


//////////////////////////////////
// Map Rotation
//////////////////////////////////

set sv_mapRotation "gametype war map mp_convoy gametype war map mp_backlot gametype war map mp_bloc gametype war map mp_broadcast gametype war map mp_carentan gametype war map mp_crash gametype war map mp_crossfire gametype war map mp_citystreets gametype war map mp_overgrown gametype war map mp_pipeline gametype war map mp_showdown gametype war map mp_strike gametype war map mp_vacant gametype war map mp_cargoship"

set sv_randomMapRotation 0 // 1 = sv_mapRotation is randomized, 0 = sequential order of sv_mapRotation
map_rotate

thank you very much!
I will try it. I got one additional question about the server config you postet:

in many lines there is this //. If I know it right, this means that this line is ignored. Is it right that all these lines are ignored?

awesome, server is running!
Thank you all

Unfortunately, there is something else that bothers me quite a bit.
If you look at the graphics in the original game and compare it with the one on the server I created, a lot of atmosphere is lost on my server because it looks way too bright and friendly. It reminds me graphically of the old CounterStrike variants (CS1.5/CS1.6). In addition, the optical depth of the room is greatly changed.

How can I bring this to the default settings?

What I also just noticed is that when I overwrite the server config with your config content, it works until I start the server. If I look at the server config again afterwards, the old content is there. What could be the reason for this?

Also, I just noticed that the XP-rate adjustment is not working yet.
MAD_DAD, do you have the time to support me via remote?

For vision check the dvars in your config:
// Allow players to change r_fullbright, cg_fovscale and promod vision setting with script command or via rcon interface ( 1-yes ; 0-no )
set cmd_fov “0”
set cmd_fps “0”
set cmd_promod “0”

// If above CMD_XYZ settings are set to 0 it will default to these ( force players to play at that vision settings )
// If you want to force either FPS or PROMOD it is recommended that you disable both FPS and PROMOD command
// if fs_players / mysql is set to 1, players will start with these settings
set default_fov “2” // 0-2, 2- fovscale 1.25, 1- fovscale 1.125, 0- fovscale 1.0
set default_fps “0” // 1-enable, 0-disable
set default_promod “1” // 1-enable, 0-disable

For xp change: set xp_multi “10”

Once changed wait for map rotate for changes to take effect or restart server

Also your server config should not be overwritten. Are both your configs in the “main” folder

You did put the command exec config.cfg (or whatever you called the server config) at the bottom of your new experience config file

Yes line with // are ignored and their default values will be used or those that are set in the shortcut command line

There are different config files… now I got absolutly confuesd of what has to be in which config.

I got in this directory:
E:\Call of Duty 4 - Server
the “globalconfig.cfg” which contains:
image

then I got in this directory:
E:\Call of Duty 4 - Server\main
the “new_exp_config.cfg”, “q3config_server.cfg” and “server_config.cfg”

in the “new_exp_config.cfg” is untouched, but the I set the line "set xp_multi “10"”
also I added the last line, which says: “exec server_config.cfg”

The “server_config.cfg” contains the “Standard server Config file” you wrote me + the lines:
set cmd_fov “0”
set cmd_fps “0”
set cmd_promod “0”
but it already looks the same wrong way as I show you.

and the “q3config_server.cfg” contains only things I cant change, because this config always gets reset.

Forget about q3config_server.cfg and globalconfig.cfg these are irrelevant

Your 2 controlling configs are new_exp_ config.cfg and server_config.cfg

new_exp_ config.cfg show be the one that came with the New Experience files and should be loaded first within the shortcut command line

server_config.cfg is the one that should be loaded by the new_exp_config.cfg file and has the details that I posted above in Call of Duty 4 X Standard Configuration

ok, I understand.

thats means the lines
set cmd_fov “0”
set cmd_fps “0”
set cmd_promod “0”
are right positioned in server_config.cfg
but why they do not work?
The increased XP rate does not work either.

These should be in the new experience config file not in the server config file