Server does not start with mod!!!

My vps crashed when I went to start the COD4 server, it doesn’t start with a mod just like Cod4host. I’ve tried everything if anyone can help me I’d be grateful!!!

Does it start without the mod? You can check in mods\modname\qconsole.log for errors and address those errors.

Pls if anybody can help me to fix it, I would be very grateful

You are asking for help and ignoring questions toward getting help. You are providing zero details in which someone can use to help you… we aren’t psychics.

ok if you can’t help him maybe you can help me in my bat file to start server i have start "" "%~dp0cod4x18_dedrun.exe" +set fs_game mods/DRDR1 +set fs_basepath E:\SteamLibrary\steamapps\common\Call of Duty 4 +set fs_homepath E:\SteamLibrary\steamapps\common\Call of Duty 4 +set fs_savepath E:\SteamLibrary\steamapps\common\Call of Duty 4 +set dedicated "2" +set net_ip 10.0.0.92 +set net_port "28801" +set sv_punkbuster 0 +exec server.cfg +map_rotate

when i launch it i get

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: Trident
IP6: 2601:281:d880:2ea0::a32c
IP: 10.0.0.92
IP: 127.0.0.1
Opening IP6 socket: [::]:28801 UDP
Opening IP6 socket: [::]:28801 TCP
Opening IP socket: 10.0.0.92:28801 UDP
Opening IP socket: 10.0.0.92:28801 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 -----
fs_basepath is write protected.
fs_homepath is write protected.
fs_game is write protected.
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw00.iwd: 1718774667
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw01.iwd: -447146714
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw02.iwd: 492300637
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw03.iwd: -359731006
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw04.iwd: -174036185
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw05.iwd: -1248474720
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw06.iwd: -865200138
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_00.iwd: -1190209610
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_01.iwd: 648005745
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_02.iwd: -165391090
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_03.iwd: 309900900
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_04.iwd: 499941093
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_05.iwd: 489843315
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_06.iwd: -715502781
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_07.iwd: -1041447890
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_08.iwd: -1079795827
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_09.iwd: -1846635013
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_10.iwd: 173489706
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_11.iwd: -292863836
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_12.iwd: 1043426064
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_13.iwd: 2115322797
e:\steamlibrary\steamapps\common\call of duty 4\main\jcod4x_00.iwd: 94291723
e:\steamlibrary\steamapps\common\call of duty 4\main\xbase_00.iwd: -978930286
Warning: WARNING: Invalid IWD zzz_message_generator.iwd in \main.
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\dr.iwd: 1732410155
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\dre.iwd: -1300630700
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\drs.iwd: 1655409577
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\drw.iwd: 963056117
Current language: english
Current fs_basepath: e:/steamlibrary/steamapps/common/call of duty 4
Current fs_homepath: e:/steamlibrary/steamapps/common/call of duty 4
Current search path:
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\drw.iwd (45 files)
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\drs.iwd (73 files)
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\dre.iwd (125 files)
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\dr.iwd (187 files)
e:/steamlibrary/steamapps/common/call of duty 4/mods/DRDR1
e:\steamlibrary\steamapps\common\call of duty 4\main\xbase_00.iwd (115 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\jcod4x_00.iwd (67 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_13.iwd (265 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_12.iwd (33 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_11.iwd (448 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_10.iwd (230 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_09.iwd (447 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_08.iwd (66 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_07.iwd (34 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_06.iwd (416 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_05.iwd (716 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_04.iwd (765 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_03.iwd (670 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_02.iwd (1296 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_01.iwd (1456 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_00.iwd (1054 files)
e:/steamlibrary/steamapps/common/call of duty 4/main
e:/steamlibrary/steamapps/common/call of duty 4/main_shared
e:/steamlibrary/steamapps/common/call of duty 4/players
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw06.iwd (7 files)
    localized assets iwd file for english
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw05.iwd (1338 files)
    localized assets iwd file for english
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw04.iwd (1730 files)
    localized assets iwd file for english
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw03.iwd (3705 files)
    localized assets iwd file for english
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw02.iwd (3483 files)
    localized assets iwd file for english
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw01.iwd (3181 files)
    localized assets iwd file for english
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw00.iwd (2903 files)
    localized assets iwd file for english

File Handles:
----------------------
24855 files in iwd files
execing default_mp.cfg
execing default_mp_controls.cfg
execing default_mp_gamesettings.cfg
execing server_map.cfg
fs_game is write protected.
fs_basepath is write protected.
fs_homepath is write protected.
dedicated is write protected.
net_ip will be changed upon restarting.
net_port will be changed upon restarting.
-------- 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 0 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 'mod' to queue
--- Common Initialization Complete ---
Hunk available: 10, Hunk total: 10
Loading fastfile 'code_post_gfx_mp'
Hitch warning: 2111 msec frame time
used 0.47 MB memory in DB alloc
execing server.cfg
Loaded fastfile 'code_post_gfx_mp' in 13ms (1ms waiting)
Loading fastfile 'localized_code_post_gfx_mp'
used 0.69 MB memory in DB alloc
Loaded fastfile 'localized_code_post_gfx_mp' in 14ms (2ms waiting)
Plugin legacybanlist loaded successfully. Server is currently running 1 plugins.
Loading fastfile 'common_mp'
used 39.00 MB memory in DB alloc
Plugin simplebanlist loaded successfully. Server is currently running 2 plugins.
g_gametype will be changed upon restarting.
sv_maxclients is write protected.
sv_cheats is write protected.
execing dr.cfg
g_gametype will be changed upon restarting.
execing dynamic_rotations.cfg
map_rotate...
"sv_mapRotation" is: "gametype deathrun map mp_deathrun_crystal"

"sv_mapRotationCurrent" is: ""

Loaded fastfile 'common_mp' in 336ms (210ms waiting)
Loading fastfile 'mod'
used 12.98 MB memory in DB alloc
Loaded fastfile 'mod' in 131ms (60ms waiting)
------ Server Initialization ------
Server: mp_deathrun_crystal
SV_SpawnServer checksum feed: 0x31232357
----- FS_Startup -----
fs_basepath is write protected.
fs_homepath is write protected.
fs_game is write protected.
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw00.iwd: 1718774667
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw01.iwd: -447146714
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw02.iwd: 492300637
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw03.iwd: -359731006
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw04.iwd: -174036185
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw05.iwd: -1248474720
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw06.iwd: -865200138
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_00.iwd: -1190209610
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_01.iwd: 648005745
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_02.iwd: -165391090
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_03.iwd: 309900900
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_04.iwd: 499941093
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_05.iwd: 489843315
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_06.iwd: -715502781
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_07.iwd: -1041447890
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_08.iwd: -1079795827
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_09.iwd: -1846635013
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_10.iwd: 173489706
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_11.iwd: -292863836
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_12.iwd: 1043426064
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_13.iwd: 2115322797
e:\steamlibrary\steamapps\common\call of duty 4\main\jcod4x_00.iwd: 94291723
e:\steamlibrary\steamapps\common\call of duty 4\main\xbase_00.iwd: -978930286
Warning: WARNING: Invalid IWD zzz_message_generator.iwd in \main.
e:\steamlibrary\steamapps\common\call of duty 4\usermaps\mp_deathrun_crystal\mp_deathrun_crystal.iwd: 1885731242
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\dr.iwd: 1732410155
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\dre.iwd: -1300630700
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\drs.iwd: 1655409577
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\drw.iwd: 963056117
Current language: english
Current fs_basepath: e:/steamlibrary/steamapps/common/call of duty 4
Current fs_homepath: e:/steamlibrary/steamapps/common/call of duty 4
Current search path:
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\drw.iwd (45 files)
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\drs.iwd (73 files)
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\dre.iwd (125 files)
e:\steamlibrary\steamapps\common\call of duty 4\mods\DRDR1\dr.iwd (187 files)
e:/steamlibrary/steamapps/common/call of duty 4/mods/DRDR1
e:\steamlibrary\steamapps\common\call of duty 4\usermaps\mp_deathrun_crystal\mp_deathrun_crystal.iwd (19 files)
e:/steamlibrary/steamapps/common/call of duty 4/usermaps/mp_deathrun_crystal
e:\steamlibrary\steamapps\common\call of duty 4\main\xbase_00.iwd (115 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\jcod4x_00.iwd (67 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_13.iwd (265 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_12.iwd (33 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_11.iwd (448 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_10.iwd (230 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_09.iwd (447 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_08.iwd (66 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_07.iwd (34 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_06.iwd (416 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_05.iwd (716 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_04.iwd (765 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_03.iwd (670 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_02.iwd (1296 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_01.iwd (1456 files)
e:\steamlibrary\steamapps\common\call of duty 4\main\iw_00.iwd (1054 files)
e:/steamlibrary/steamapps/common/call of duty 4/main
e:/steamlibrary/steamapps/common/call of duty 4/main_shared
e:/steamlibrary/steamapps/common/call of duty 4/players
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw06.iwd (7 files)
    localized assets iwd file for english
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw05.iwd (1338 files)
    localized assets iwd file for english
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw04.iwd (1730 files)
    localized assets iwd file for english
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw03.iwd (3705 files)
    localized assets iwd file for english
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw02.iwd (3483 files)
    localized assets iwd file for english
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw01.iwd (3181 files)
    localized assets iwd file for english
e:\steamlibrary\steamapps\common\call of duty 4\main\localized_english_iw00.iwd (2903 files)
    localized assets iwd file for english

File Handles:
----------------------
24874 files in iwd files
Adding fastfile 'mp_deathrun_crystal' to queue
Loading fastfile 'mp_deathrun_crystal'
sed 23.32 MB memory in DB alloc
Waited 253 msec for asset 'maps/mp/mp_deathrun_crystal.d3dbsp' of type 'col_map_mp'.
------- Game Initialization -------
gamename: Call of Duty 4
gamedate: Feb 12 2009
fs_ignoreLocalized is cheat protected.
fs_ignoreLocalized is cheat protected.
Loaded fastfile 'mp_deathrun_crystal' in 274ms (158ms waiting)

after the log that it just shutdown for no reason i cant start the server fully. i’m not sure what to do. any help would be helpful

The log tells you what the issue is:

fs_basepath is write protected.
fs_homepath is write protected.
fs_game is write protected.

The game cannot create or write to logs, it will auto-kill itself for that.
Ensure that the user running the server has read/write access the above paths.

i tried everytihng including redownlloading cod4 on different harddrive and mods and files are still protected even going into security tab and chaning owner and permissions and changing it. but nothing works

If you try running the server without the bat file what happens?:

Use this in cmd:

cod4x18_dedrun.exe +set fs_game "mods/DRDR1" +set fs_basepath "E:\SteamLibrary\steamapps\common\Call of Duty 4" +set fs_homepath "E:\SteamLibrary\steamapps\common\Call of Duty 4" +set fs_savepath "E:\SteamLibrary\steamapps\common\Call of Duty 4" +set dedicated "2" +set net_ip "10.0.0.92" +set net_port "28801" +set sv_punkbuster "0" +exec server.cfg +map_rotate

Note: I added quotes in the paths intentionally to not confuse the binary, since there are spaces in the path.

the exact same thing happened opens does log then closes at same time.

That would mean your config is no good… make sure the config that came with the mod plus the server.cfg is where it needs to be and settings are not broken.