Game server admin's helping the community setup and maintain great dedicated game servers.
----Home----Submit News ----Forum--------Guides----

Go Back > Call of Duty > Call of Duty 4 > CoD4 General server support

Thread Tools Display Modes
Old 03-18-2012, 08:15 AM
arachan arachan is offline
Junior Member
Join Date: Mar 2012
Posts: 2
Rep Power: 0
arachan is on a distinguished road
Mod confusion


I run a CoD4 server on a dedicated linux server box I have at home. It runs a normal, ranked server. I decided I wanted to try the mod ROTU2 (and possibly others). So I copied all the files from my main CoD4 server to another location, and put the mod in the Mods directory and some maps in the usermaps directory.

The command I use to start the server is:

screen -dmS mod ./cod4_lnxded +set dedicated 1 +set sv_punkbuster 0 +set net_port 28961 +set fs_game mods/rotu2beta +exec mods/rotu2beta/server.cfg +map_rotate
However this appears to fail to load the mod, and loads the map backlot instead. Some questions I have are:
  • Should "+set fs_game mods/rotu2beta" be "+set fs_game Mods/rotu2beta" because linux treats them as different characters?
  • Is the +exec part even right?
Overall I'm a bit confused about how to set up a server that runs mods and custom maps. If someone could clarify this that would be wonderful. If you need any logs etc just say so.

Reply With Quote
Old 03-18-2012, 01:04 PM
sgTsTuFz's Avatar
sgTsTuFz sgTsTuFz is offline
Senior Member
Join Date: Aug 2004
Location: Coralville, Iowa
Posts: 911
Rep Power: 14
sgTsTuFz is on a distinguished road
get rid of this part

+exec mods/rotu2beta/server.cfg +map_rotate
Reply With Quote
Old 03-18-2012, 08:05 PM
arachan arachan is offline
Junior Member
Join Date: Mar 2012
Posts: 2
Rep Power: 0
arachan is on a distinguished road
Okay, so I tried your suggestion, but it still won't seem to load the file. So to test it I copied Mods/rotu2beta/server.cfg to main/server.cfg and reran it, and this time i loaded the config. However, it gets to the end of loading the server and spits out the following errors:

File Handles:
48486 files in iwd files
Unloaded fastfile ui_mp
Loading fastfile mp_surv_bridge
Loaded zone 'mp_surv_bridge'
------- Game Initialization -------
gamename: Call of Duty 4
gamedate: Jun 28 2008
******* script compile error *******
Error: Could not find script 'maps/mp/_zombiescript'
ERROR: script compile error
Could not find script 'maps/mp/_zombiescript'

(see console for details)

----- Server Shutdown -----
Any other suggestions?

Reply With Quote


confused, linux, mod

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 04:56 AM.

Powered by: vBulletin Copyright ©2000, Jelsoft Enterprises Ltd.