502 lines
No EOL
17 KiB
PHP
502 lines
No EOL
17 KiB
PHP
<?php
|
|
/**
|
|
* Call of Duty: World at War Server Documentation
|
|
*/
|
|
?>
|
|
<style>
|
|
.nav-menu {
|
|
background: #1a1a2e;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
margin-bottom: 25px;
|
|
}
|
|
.nav-menu a {
|
|
color: #4a9eff;
|
|
text-decoration: none;
|
|
margin-right: 15px;
|
|
font-size: 14px;
|
|
}
|
|
.nav-menu a:hover {
|
|
color: #6bb3ff;
|
|
text-decoration: underline;
|
|
}
|
|
.info-box {
|
|
background: #1e3a5f;
|
|
padding: 20px;
|
|
border-left: 4px solid #3b82f6;
|
|
margin: 20px 0;
|
|
border-radius: 4px;
|
|
}
|
|
.warning-box {
|
|
background: #78350f;
|
|
padding: 20px;
|
|
border-left: 4px solid #f59e0b;
|
|
margin: 20px 0;
|
|
border-radius: 4px;
|
|
}
|
|
.code-block {
|
|
background: #0f172a;
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
margin: 15px 0;
|
|
overflow-x: auto;
|
|
}
|
|
.code-block code {
|
|
color: #a5b4fc;
|
|
font-family: 'Courier New', monospace;
|
|
}
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 20px 0;
|
|
background: #1a1a2e;
|
|
}
|
|
table th {
|
|
background: #2a2a4e;
|
|
color: #ffffff;
|
|
padding: 12px;
|
|
text-align: left;
|
|
border: 1px solid #3a3a6e;
|
|
}
|
|
table td {
|
|
padding: 10px 12px;
|
|
border: 1px solid #3a3a6e;
|
|
color: #e5e7eb;
|
|
}
|
|
table tr:nth-child(even) {
|
|
background: #222244;
|
|
}
|
|
</style>
|
|
|
|
<div class="nav-menu">
|
|
<strong style="color: #ffffff;">Quick Navigation:</strong>
|
|
<a href="#quick-info">Quick Info</a> |
|
|
<a href="#ports">Ports</a> |
|
|
<a href="#installation">Installation</a> |
|
|
<a href="#configuration">Configuration</a> |
|
|
<a href="#parameters">Parameters</a> |
|
|
<a href="#troubleshooting">Troubleshooting</a> |
|
|
<a href="#game-types">Game Types</a> |
|
|
<a href="#maps">Maps</a> |
|
|
<a href="#related-mods">Mods</a>
|
|
</div>
|
|
|
|
<h1>Call of Duty: World at War Server Guide</h1>
|
|
|
|
<h2 id="quick-info">📋 Quick Info</h2>
|
|
<div class="info-box">
|
|
<h3 style="color: #ffffff; margin-top: 0;">Server Specifications</h3>
|
|
<ul style="color: #e5e7eb; line-height: 1.8;">
|
|
<li><strong style="color: #ffffff;">Game:</strong> Call of Duty: World at War (2008)</li>
|
|
<li><strong style="color: #ffffff;">Platform:</strong> Linux / Windows</li>
|
|
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">28960/UDP</code></li>
|
|
<li><strong style="color: #ffffff;">Max Players:</strong> 64 (typical: 18-24)</li>
|
|
<li><strong style="color: #ffffff;">Control Protocol:</strong> RCON</li>
|
|
<li><strong style="color: #ffffff;">Executable (Linux):</strong> codwaw_lnxded</li>
|
|
<li><strong style="color: #ffffff;">Executable (Windows):</strong> CoDWaWmp.exe</li>
|
|
<li><strong style="color: #ffffff;">Special Feature:</strong> Nazi Zombies co-op mode</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<h2 id="ports">🔌 Ports & Firewall Configuration</h2>
|
|
<p>Call of Duty: World at War servers require specific ports to be open for proper operation:</p>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Port</th>
|
|
<th>Protocol</th>
|
|
<th>Purpose</th>
|
|
<th>Required</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>28960</td>
|
|
<td>UDP</td>
|
|
<td>Game port (default, configurable)</td>
|
|
<td>Yes</td>
|
|
</tr>
|
|
<tr>
|
|
<td>28960</td>
|
|
<td>TCP</td>
|
|
<td>RCON remote control</td>
|
|
<td>Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td>20500-20510</td>
|
|
<td>UDP</td>
|
|
<td>PunkBuster (if enabled)</td>
|
|
<td>Optional</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<h3>Firewall Examples</h3>
|
|
|
|
<p><strong>UFW (Ubuntu/Debian):</strong></p>
|
|
<div class="code-block">
|
|
<code>sudo ufw allow 28960/udp comment 'CoDWaW Game Port'
|
|
sudo ufw allow 28960/tcp comment 'CoDWaW RCON'
|
|
sudo ufw allow 20500:20510/udp comment 'CoDWaW PunkBuster'</code>
|
|
</div>
|
|
|
|
<p><strong>FirewallD (CentOS/RHEL/Fedora):</strong></p>
|
|
<div class="code-block">
|
|
<code>sudo firewall-cmd --permanent --add-port=28960/udp
|
|
sudo firewall-cmd --permanent --add-port=28960/tcp
|
|
sudo firewall-cmd --permanent --add-port=20500-20510/udp
|
|
sudo firewall-cmd --reload</code>
|
|
</div>
|
|
|
|
<p><strong>iptables:</strong></p>
|
|
<div class="code-block">
|
|
<code>sudo iptables -A INPUT -p udp --dport 28960 -j ACCEPT
|
|
sudo iptables -A INPUT -p tcp --dport 28960 -j ACCEPT
|
|
sudo iptables -A INPUT -p udp --dport 20500:20510 -j ACCEPT</code>
|
|
</div>
|
|
|
|
<h2 id="installation">⚙️ Installation & Setup</h2>
|
|
|
|
<h3>System Requirements</h3>
|
|
<ul>
|
|
<li><strong>OS:</strong> Linux (Debian 9+, Ubuntu 18.04+, CentOS 7+) or Windows Server 2016+</li>
|
|
<li><strong>CPU:</strong> 2+ cores @ 2.5GHz recommended</li>
|
|
<li><strong>RAM:</strong> 2GB minimum, 4GB recommended</li>
|
|
<li><strong>Disk:</strong> 10GB for base game + zombies + space for logs</li>
|
|
<li><strong>Network:</strong> Low latency connection, 10Mbps+ bandwidth</li>
|
|
</ul>
|
|
|
|
<h3>Linux Installation</h3>
|
|
<ol>
|
|
<li><strong>Download Server Files:</strong> Obtain Call of Duty: World at War dedicated server files</li>
|
|
<li><strong>Create Server Directory:</strong>
|
|
<div class="code-block"><code>mkdir -p ~/codwawserver
|
|
cd ~/codwawserver</code></div>
|
|
</li>
|
|
<li><strong>Extract Files:</strong> Extract server files to the directory</li>
|
|
<li><strong>Install 32-bit Libraries (64-bit Linux):</strong>
|
|
<div class="code-block"><code>sudo apt-get install lib32gcc1 lib32stdc++6 # Debian/Ubuntu
|
|
sudo yum install glibc.i686 libstdc++.i686 # CentOS/RHEL</code></div>
|
|
</li>
|
|
<li><strong>Set Permissions:</strong>
|
|
<div class="code-block"><code>chmod +x codwaw_lnxded</code></div>
|
|
</li>
|
|
<li><strong>Create Configuration:</strong> Create <code>server.cfg</code> in the <code>main</code> directory</li>
|
|
</ol>
|
|
|
|
<h3>Windows Installation</h3>
|
|
<ol>
|
|
<li>Install Call of Duty: World at War dedicated server files</li>
|
|
<li>Create a <code>server.cfg</code> file in the <code>main</code> directory</li>
|
|
<li>Ensure Windows Firewall allows the game ports</li>
|
|
<li>Run <code>CoDWaWmp.exe</code> with appropriate parameters</li>
|
|
</ol>
|
|
|
|
<h2 id="configuration">📝 Configuration</h2>
|
|
|
|
<h3>Basic server.cfg Example (Multiplayer)</h3>
|
|
<div class="code-block">
|
|
<code>// Server Name
|
|
set sv_hostname "My World at War Server"
|
|
|
|
// Network Settings
|
|
set net_ip "0.0.0.0"
|
|
set net_port 28960
|
|
|
|
// Server Type (1=LAN, 2=Internet)
|
|
set dedicated 2
|
|
|
|
// Player Limits
|
|
set sv_maxclients 24
|
|
|
|
// RCON Password
|
|
set rcon_password "your_secure_password_here"
|
|
|
|
// Game Settings
|
|
set g_gametype "war" // dm, war, sab, koth, sd, ctf
|
|
set sv_maxPing 350
|
|
set sv_minPing 0
|
|
|
|
// PunkBuster (0=off, 1=on)
|
|
set sv_punkbuster 1
|
|
|
|
// Map Rotation
|
|
set sv_mapRotation "gametype war map mp_castle gametype war map mp_dome gametype war map mp_makin"
|
|
|
|
// Password Protection (leave empty for public)
|
|
set g_password ""
|
|
|
|
// Friendly Fire
|
|
set scr_team_fftype 0 // 0=off, 1=on, 2=reflect
|
|
|
|
// Kill Cam
|
|
set scr_game_allowkillcam 1
|
|
|
|
// Hardcore Mode
|
|
set scr_hardcore 0
|
|
|
|
// Game Log
|
|
set g_log "games_mp.log"
|
|
set g_logsync 2
|
|
|
|
// Voice Chat
|
|
set sv_voice 1
|
|
|
|
// Anti-Lag
|
|
set sv_fps 20
|
|
|
|
// Downloads
|
|
set sv_allowDownload 1
|
|
|
|
// Pure Server
|
|
set sv_pure 1
|
|
|
|
// Auto-Balance
|
|
set scr_teambalance 1</code>
|
|
</div>
|
|
|
|
<h3>Zombies Server Configuration</h3>
|
|
<div class="code-block">
|
|
<code>// Zombies Mode Server
|
|
set sv_hostname "My Zombies Server"
|
|
set g_gametype "zom" // Zombies game type
|
|
set sv_mapRotation "gametype zom map nazi_zombie_prototype"
|
|
|
|
// Zombies-specific settings
|
|
set scr_zm_round_limit 100
|
|
set scr_zm_player_base_health 100</code>
|
|
</div>
|
|
|
|
<h2 id="parameters">🚀 Startup Parameters</h2>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Parameter</th>
|
|
<th>Description</th>
|
|
<th>Example</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>+set dedicated</td>
|
|
<td>Server mode (1=LAN, 2=Internet)</td>
|
|
<td>+set dedicated 2</td>
|
|
</tr>
|
|
<tr>
|
|
<td>+set net_ip</td>
|
|
<td>Bind to specific IP address</td>
|
|
<td>+set net_ip "0.0.0.0"</td>
|
|
</tr>
|
|
<tr>
|
|
<td>+set net_port</td>
|
|
<td>Server port (default: 28960)</td>
|
|
<td>+set net_port 28960</td>
|
|
</tr>
|
|
<tr>
|
|
<td>+set fs_basepath</td>
|
|
<td>Base installation directory</td>
|
|
<td>+set fs_basepath "/home/user/codwaw"</td>
|
|
</tr>
|
|
<tr>
|
|
<td>+set fs_homepath</td>
|
|
<td>Config and log directory (deprecated)</td>
|
|
<td>+set fs_homepath "/home/user/.codwaw"</td>
|
|
</tr>
|
|
<tr>
|
|
<td>+set fs_savepath</td>
|
|
<td>Save path for logs and user data</td>
|
|
<td>+set fs_savepath "/home/user/codwawdata"</td>
|
|
</tr>
|
|
<tr>
|
|
<td>+set fs_game</td>
|
|
<td>Mod folder (if using mods)</td>
|
|
<td>+set fs_game "mods/mymod"</td>
|
|
</tr>
|
|
<tr>
|
|
<td>+set sv_punkbuster</td>
|
|
<td>Enable PunkBuster (0=off, 1=on)</td>
|
|
<td>+set sv_punkbuster 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td>+exec</td>
|
|
<td>Execute config file on startup</td>
|
|
<td>+exec server.cfg</td>
|
|
</tr>
|
|
<tr>
|
|
<td>+set rcon_password</td>
|
|
<td>RCON password for remote admin</td>
|
|
<td>+set rcon_password "secret123"</td>
|
|
</tr>
|
|
<tr>
|
|
<td>+set sv_maxclients</td>
|
|
<td>Maximum player slots</td>
|
|
<td>+set sv_maxclients 24</td>
|
|
</tr>
|
|
<tr>
|
|
<td>+map_rotate</td>
|
|
<td>Start map rotation from server.cfg</td>
|
|
<td>+map_rotate</td>
|
|
</tr>
|
|
<tr>
|
|
<td>+map</td>
|
|
<td>Start with specific map</td>
|
|
<td>+map mp_castle</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<h3>Example Startup Command (Linux - Multiplayer)</h3>
|
|
<div class="code-block">
|
|
<code>./codwaw_lnxded +set dedicated 2 +set net_ip "0.0.0.0" +set net_port 28960 +set sv_maxclients 24 +set sv_punkbuster 1 +set fs_savepath "/home/user/codwawdata" +exec server.cfg +map_rotate</code>
|
|
</div>
|
|
|
|
<h3>Example Startup Command (Zombies Mode)</h3>
|
|
<div class="code-block">
|
|
<code>./codwaw_lnxded +set dedicated 2 +set net_port 28960 +set sv_maxclients 4 +exec zombies.cfg +map nazi_zombie_prototype</code>
|
|
</div>
|
|
|
|
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
|
|
|
|
<h3>Server Not Appearing in Browser</h3>
|
|
<p><strong>Issue:</strong> Players cannot see the server in the in-game browser.</p>
|
|
<p><strong>Solutions:</strong></p>
|
|
<ul>
|
|
<li>Verify <code>+set dedicated 2</code> is set (not 1 for LAN)</li>
|
|
<li>Ensure UDP port 28960 is open in firewall</li>
|
|
<li>Check <code>sv_pure</code> setting</li>
|
|
<li>Master servers may have limited connectivity; try direct connect</li>
|
|
<li>Verify server is online: <code>ps aux | grep codwaw</code></li>
|
|
</ul>
|
|
|
|
<h3>Server Crashes on Startup</h3>
|
|
<p><strong>Issue:</strong> Dedicated server crashes immediately after launch.</p>
|
|
<p><strong>Solutions:</strong></p>
|
|
<ul>
|
|
<li>Check <code>games_mp.log</code> in fs_savepath directory for errors</li>
|
|
<li>Verify all required game files are present</li>
|
|
<li>Ensure <code>server.cfg</code> syntax is correct</li>
|
|
<li>Remove custom mods temporarily to isolate issue</li>
|
|
<li>On Linux, verify 32-bit libraries are installed</li>
|
|
<li>Check file permissions: <code>chmod +x codwaw_lnxded</code></li>
|
|
</ul>
|
|
|
|
<h3>Zombies Mode Issues</h3>
|
|
<p><strong>Issue:</strong> Zombies servers not working or crashing.</p>
|
|
<p><strong>Solutions:</strong></p>
|
|
<ul>
|
|
<li>Verify <code>g_gametype "zom"</code> is set correctly</li>
|
|
<li>Start with official zombies maps first (nazi_zombie_prototype, nazi_zombie_asylum, etc.)</li>
|
|
<li>Zombies typically requires fewer player slots (4-8 recommended)</li>
|
|
<li>Custom zombies maps may require additional mod files</li>
|
|
</ul>
|
|
|
|
<h3>Connection Problems</h3>
|
|
<p><strong>Issue:</strong> Players cannot connect or timeout.</p>
|
|
<p><strong>Solutions:</strong></p>
|
|
<ul>
|
|
<li>Verify firewall rules allow traffic on game port</li>
|
|
<li>Check <code>sv_maxPing</code> setting</li>
|
|
<li>Ensure server is not full (<code>sv_maxclients</code>)</li>
|
|
<li>Disable password if testing: <code>set g_password ""</code></li>
|
|
<li>Verify client and server game versions match</li>
|
|
<li>Check <code>sv_pure</code> - clients must have matching files if enabled</li>
|
|
</ul>
|
|
|
|
<h3>High Lag/Ping Issues</h3>
|
|
<p><strong>Issue:</strong> Players experience significant lag.</p>
|
|
<p><strong>Solutions:</strong></p>
|
|
<ul>
|
|
<li>Increase <code>sv_fps</code> setting (recommended: 20)</li>
|
|
<li>Reduce <code>sv_maxclients</code> if server is overloaded</li>
|
|
<li>Check server CPU and RAM usage</li>
|
|
<li>Verify network bandwidth is sufficient</li>
|
|
<li>Lower <code>sv_maxPing</code> to restrict high-ping players</li>
|
|
</ul>
|
|
|
|
<h3>RCON Not Working</h3>
|
|
<p><strong>Issue:</strong> Cannot connect via RCON.</p>
|
|
<p><strong>Solutions:</strong></p>
|
|
<ul>
|
|
<li>Verify <code>rcon_password</code> is set in <code>server.cfg</code></li>
|
|
<li>Ensure TCP port 28960 is open (in addition to UDP)</li>
|
|
<li>Use correct RCON syntax: <code>/rcon login password</code> then <code>/rcon command</code></li>
|
|
<li>Test RCON from server console first</li>
|
|
</ul>
|
|
|
|
<h2 id="game-types">🎮 Game Types</h2>
|
|
<p>Call of Duty: World at War supports the following game modes:</p>
|
|
|
|
<h3>Multiplayer Modes</h3>
|
|
<ul>
|
|
<li><strong>dm</strong> - Deathmatch (Free-for-all)</li>
|
|
<li><strong>war</strong> - Team Deathmatch</li>
|
|
<li><strong>sab</strong> - Sabotage</li>
|
|
<li><strong>koth</strong> - Headquarters</li>
|
|
<li><strong>sd</strong> - Search & Destroy</li>
|
|
<li><strong>ctf</strong> - Capture the Flag</li>
|
|
</ul>
|
|
|
|
<h3>Special Mode</h3>
|
|
<ul>
|
|
<li><strong>zom</strong> - Nazi Zombies (co-op survival mode)</li>
|
|
</ul>
|
|
|
|
<h2 id="maps">🗺️ Default Maps</h2>
|
|
|
|
<h3>Multiplayer Maps</h3>
|
|
<ul>
|
|
<li><strong>mp_airfield</strong> - Airfield</li>
|
|
<li><strong>mp_asylum</strong> - Asylum</li>
|
|
<li><strong>mp_castle</strong> - Castle</li>
|
|
<li><strong>mp_courtyard</strong> - Courtyard</li>
|
|
<li><strong>mp_dome</strong> - Dome</li>
|
|
<li><strong>mp_downfall</strong> - Downfall</li>
|
|
<li><strong>mp_hangar</strong> - Hangar</li>
|
|
<li><strong>mp_makin</strong> - Makin</li>
|
|
<li><strong>mp_outskirts</strong> - Outskirts</li>
|
|
<li><strong>mp_roundhouse</strong> - Roundhouse</li>
|
|
<li><strong>mp_seelow</strong> - Seelow</li>
|
|
<li><strong>mp_shrine</strong> - Shrine</li>
|
|
<li><strong>mp_upheaval</strong> - Upheaval</li>
|
|
</ul>
|
|
|
|
<h3>Zombies Maps</h3>
|
|
<ul>
|
|
<li><strong>nazi_zombie_prototype</strong> - Nacht der Untoten (Night of the Undead)</li>
|
|
<li><strong>nazi_zombie_asylum</strong> - Verrückt (Insane)</li>
|
|
<li><strong>nazi_zombie_sumpf</strong> - Shi No Numa (Swamp of Death)</li>
|
|
<li><strong>nazi_zombie_factory</strong> - Der Riese (The Giant)</li>
|
|
</ul>
|
|
|
|
<h2 id="related-mods">🔌 Related Mods & Plugins</h2>
|
|
<p>Popular server modifications compatible with Call of Duty: World at War:</p>
|
|
<ul>
|
|
<li><a href="../b3/">B3 (Big Brother Bot)</a> - Python-based admin bot with RCON wrapper, player warnings, ban management, statistics tracking, and automated moderation for Call of Duty servers</li>
|
|
<li><strong>Custom Zombies Maps</strong> - Thousands of community-created zombies maps available</li>
|
|
<li><strong>ZombieMod</strong> - Enhanced zombies gameplay modifications</li>
|
|
<li><strong>Extreme+</strong> - Enhanced gameplay modification</li>
|
|
</ul>
|
|
|
|
<h2>📚 Resources</h2>
|
|
<ul>
|
|
<li><strong>Community Forums:</strong> CoDModding, ZombieModding communities</li>
|
|
<li><strong>Custom Maps:</strong> UGX Mods, Zombie Modding</li>
|
|
<li><strong>RCON Tools:</strong> B3, various web-based RCON panels</li>
|
|
<li><strong>Key Features:</strong> Pacific theater WWII, Nazi Zombies mode</li>
|
|
</ul>
|
|
|
|
<div class="warning-box">
|
|
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
|
|
<ul style="color: #fef3c7; line-height: 1.8;">
|
|
<li>World at War features <strong>Nazi Zombies</strong>, the first appearance of the popular co-op mode</li>
|
|
<li>Zombies mode (<code>g_gametype "zom"</code>) typically uses 4-8 player slots</li>
|
|
<li>Use <code>fs_savepath</code> instead of <code>fs_homepath</code> for configuration directories</li>
|
|
<li>Custom zombies maps are extremely popular - extensive community content available</li>
|
|
<li>PunkBuster is optional but recommended for multiplayer servers</li>
|
|
<li>Zombies servers have different performance characteristics than multiplayer servers</li>
|
|
<li>Always secure your RCON password and restrict access to trusted administrators only</li>
|
|
<li>Regular backups recommended, especially for zombies progress data</li>
|
|
</ul>
|
|
</div>
|