Enhanced game documentation with comprehensive installation and configuration details
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
b72c8ea19d
commit
0216af04ed
299 changed files with 20545 additions and 21001 deletions
|
|
@ -1,250 +1,402 @@
|
|||
<?php
|
||||
/**
|
||||
* Arma 2: Combined Operations Server Documentation
|
||||
* The foundation for DayZ Mod and other legacy ARMA 2 content
|
||||
*
|
||||
* Sources: Bohemia Interactive Wiki, DayZ Mod Community, Epoch Forums
|
||||
* Last Updated: November 10, 2025
|
||||
* Arma 2: Combined Operations Server Documentation - Comprehensive Guide
|
||||
* General game server hosting information (not platform-specific)
|
||||
*/
|
||||
?>
|
||||
<style>
|
||||
.doc-nav { background: #1e3a5f; padding: 20px; border-radius: 8px; margin: 20px 0; }
|
||||
.doc-nav h3 { color: #ffffff; margin-top: 0; }
|
||||
.doc-nav a { display: inline-block; padding: 8px 15px; margin: 5px 10px 5px 0; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 5px; color: #7fb3ff; text-decoration: none; }
|
||||
.doc-nav a:hover { background: #3b82f6; color: #ffffff; }
|
||||
.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; }
|
||||
.ports-table { width: 100%; border-collapse: collapse; margin: 20px 0; background: rgba(0,0,0,0.2); }
|
||||
.ports-table th, .ports-table td { padding: 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); }
|
||||
.ports-table th { background: #1e3a5f; color: #ffffff; font-weight: 600; }
|
||||
.ports-table code { background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc; }
|
||||
.required { color: #10b981; font-weight: 600; }
|
||||
</style>
|
||||
|
||||
<div class="doc-nav">
|
||||
<h3>📚 Quick Navigation</h3>
|
||||
<a href="#overview">Overview</a>
|
||||
<a href="#ports">🔌 Ports</a>
|
||||
<a href="#dayzmod">DayZ Mod</a>
|
||||
<a href="#startup">⚙️ Startup</a>
|
||||
<a href="#troubleshooting">🔧 Troubleshooting</a>
|
||||
<a href="#resources">Resources</a>
|
||||
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
|
||||
<h3 style="color: #ffffff; margin-top: 0;">📚 Quick Navigation</h3>
|
||||
<div style="display: flex; flex-wrap: wrap; gap: 10px;">
|
||||
<a href="#quick-info" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Quick Info</a>
|
||||
<a href="#ports" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">🔌 Ports</a>
|
||||
<a href="#installation" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Installation</a>
|
||||
<a href="#configuration" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Configuration</a>
|
||||
<a href="#parameters" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">⚙️ Startup Parameters</a>
|
||||
<a href="#troubleshooting" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">🔧 Troubleshooting</a>
|
||||
<a href="#performance" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Performance</a>
|
||||
<a href="#security" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Security</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h1 id="overview">Arma 2: Combined Operations Server Guide</h1>
|
||||
<h1>Arma 2: Combined Operations Server Hosting Guide</h1>
|
||||
|
||||
<div class="info-box">
|
||||
<h3 style="color: #ffffff; margin-top: 0;">What is Combined Operations?</h3>
|
||||
<ul style="color: #e5e7eb; line-height: 1.8;">
|
||||
<li><strong style="color: #ffffff;">Definition:</strong> Arma 2 + Operation Arrowhead combined package</li>
|
||||
<li><strong style="color: #ffffff;">Purpose:</strong> Required base for DayZ Mod and related mods</li>
|
||||
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">2302 UDP</code></li>
|
||||
<li><strong style="color: #ffffff;">Release:</strong> 2010 (Legacy platform)</li>
|
||||
<li><strong style="color: #ffffff;">Note:</strong> For modern DayZ, see <a href="/docs.php?action=view&doc=dayz">DayZ Standalone</a></li>
|
||||
<h2>Overview</h2>
|
||||
<p>Arma 2: Combined Operations is a multiplayer game server that can be hosted on a VPS or dedicated server. This comprehensive guide covers everything you need to know about hosting a Arma 2: Combined Operations server for your community.</p>
|
||||
|
||||
<h2 id="quick-info">Quick Info</h2>
|
||||
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
|
||||
<ul style="color: #e5e7eb; line-height: 1.8; margin: 0;">
|
||||
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">Varies (see configuration)</code></li>
|
||||
<li><strong style="color: #ffffff;">Protocol:</strong> TCP/UDP</li>
|
||||
<li><strong style="color: #ffffff;">Minimum RAM:</strong> 1GB</li>
|
||||
<li><strong style="color: #ffffff;">Engine:</strong> Various</li>
|
||||
<li><strong style="color: #ffffff;">Steam App ID:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">33930</code></li>
|
||||
<li><strong style="color: #ffffff;">Recommended OS:</strong> Linux (Ubuntu/Debian) or Windows Server</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<p><strong>Arma 2: Combined Operations</strong> merges the base Arma 2 game with its Operation Arrowhead expansion. This combination is the foundation for the original <strong>DayZ Mod</strong>, DayZ Epoch, DayZ Overpoch, and other popular legacy mods.</p>
|
||||
<h2 id="ports">🔌 Network Ports</h2>
|
||||
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
|
||||
<h3 style="color: #ffffff; margin-top: 0;">Required Ports</h3>
|
||||
<p style="color: #e5e7eb;">The Arma 2: Combined Operations server typically uses a configurable port. Check your server configuration files for the specific port settings.</p>
|
||||
|
||||
<h3 style="color: #ffffff; margin-top: 20px;">Firewall Configuration</h3>
|
||||
<p style="color: #e5e7eb;">Allow server ports through your firewall:</p>
|
||||
<pre><code style="color: #a5b4fc;"># UFW (Ubuntu/Debian)
|
||||
sudo ufw allow [PORT]/tcp
|
||||
sudo ufw allow [PORT]/udp
|
||||
sudo ufw reload
|
||||
|
||||
<div class="warning-box">
|
||||
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-info-circle" style="color: #fbbf24; margin-right: 8px;"></i>Important Information</h3>
|
||||
# FirewallD (CentOS/RHEL)
|
||||
sudo firewall-cmd --permanent --add-port=[PORT]/tcp
|
||||
sudo firewall-cmd --permanent --add-port=[PORT]/udp
|
||||
sudo firewall-cmd --reload
|
||||
|
||||
# Windows Firewall
|
||||
netsh advfirewall firewall add rule name="Arma 2: Combined Operations Server" dir=in action=allow protocol=TCP localport=[PORT]
|
||||
netsh advfirewall firewall add rule name="Arma 2: Combined Operations Server" dir=in action=allow protocol=UDP localport=[PORT]
|
||||
</code></pre>
|
||||
|
||||
<h3 style="color: #ffffff; margin-top: 20px;">⚠️ Port Security Notes</h3>
|
||||
<ul style="color: #fef3c7; line-height: 1.8;">
|
||||
<li><strong>Legacy Platform:</strong> Arma 2 is a 2010 game with limited modern support</li>
|
||||
<li><strong>DayZ Standalone Exists:</strong> For modern DayZ experience, use DayZ Standalone</li>
|
||||
<li><strong>Community-Driven:</strong> Most support comes from community forums and modders</li>
|
||||
<li><strong>Both Games Required:</strong> Must have Arma 2 AND Operation Arrowhead files</li>
|
||||
<li>Only open ports that are necessary for the game server to function</li>
|
||||
<li>Consider using non-standard ports to reduce automated attacks</li>
|
||||
<li>If using cloud hosting, configure security groups properly</li>
|
||||
<li>Monitor connection attempts and unusual traffic patterns</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<h2 id="ports">🔌 Server Ports</h2>
|
||||
<h2 id="installation">Installation & Setup</h2>
|
||||
|
||||
<table class="ports-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Port</th>
|
||||
<th>Protocol</th>
|
||||
<th>Purpose</th>
|
||||
<th>Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>2302</code></td>
|
||||
<td>UDP</td>
|
||||
<td>Game Port</td>
|
||||
<td><span class="required">REQUIRED</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>2303</code></td>
|
||||
<td>UDP</td>
|
||||
<td>Steam Query Port</td>
|
||||
<td><span class="required">REQUIRED</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>2304</code></td>
|
||||
<td>UDP</td>
|
||||
<td>Steam Port</td>
|
||||
<td><span class="required">REQUIRED</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>2305</code></td>
|
||||
<td>UDP</td>
|
||||
<td>VON (Voice chat)</td>
|
||||
<td><span class="required">REQUIRED</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>3306</code></td>
|
||||
<td>TCP</td>
|
||||
<td>MySQL (for DayZ Epoch/Overpoch)</td>
|
||||
<td><span class="required">Required for Epoch</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<h3>Firewall Configuration</h3>
|
||||
<pre><code># UFW (Ubuntu/Debian)
|
||||
sudo ufw allow 2302:2305/udp comment 'Arma 2 CO'
|
||||
sudo ufw allow 3306/tcp comment 'MySQL for DayZ Epoch'
|
||||
|
||||
# FirewallD (CentOS)
|
||||
sudo firewall-cmd --permanent --add-port=2302-2305/udp
|
||||
sudo firewall-cmd --permanent --add-port=3306/tcp
|
||||
sudo firewall-cmd --reload</code></pre>
|
||||
|
||||
<h2 id="dayzmod">DayZ Mod Setup</h2>
|
||||
|
||||
<p>The primary use case for Combined Operations servers is hosting DayZ Mod variants.</p>
|
||||
|
||||
<h3>DayZ Mod Variants</h3>
|
||||
<h3>System Requirements</h3>
|
||||
<ul>
|
||||
<li><strong>DayZ Mod (Vanilla):</strong> Original zombie survival mod</li>
|
||||
<li><strong>DayZ Epoch:</strong> Building, crafting, and base construction focus</li>
|
||||
<li><strong>DayZ Overpoch:</strong> Overwatch + Epoch combined (military loot + building)</li>
|
||||
<li><strong>DayZ Origins:</strong> Custom storyline and unique mechanics</li>
|
||||
<li><strong>OS:</strong> Linux (Ubuntu 20.04+ or Debian 11+ recommended) or Windows Server 2019+</li>
|
||||
<li><strong>CPU:</strong> 2+ cores recommended (single-threaded performance important for most game servers)</li>
|
||||
<li><strong>RAM:</strong> 1GB minimum (more for larger player counts)</li>
|
||||
<li><strong>Storage:</strong> 5GB+ for server files (SSD recommended for better performance)</li>
|
||||
<li><strong>Network:</strong> Stable internet connection with low latency</li>
|
||||
</ul>
|
||||
|
||||
<h3>DayZ Epoch Startup (Most Popular)</h3>
|
||||
<pre><code># Windows
|
||||
arma2oaserver.exe -port=2302 -config=instance_11_Chernarus\config.cfg -cfg=instance_11_Chernarus\basic.cfg -profiles=instance_11_Chernarus -name=instance_11_Chernarus "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;"
|
||||
<h3>Installation Steps</h3>
|
||||
|
||||
# Linux
|
||||
./arma2oaserver -port=2302 -config=instance_11_Chernarus/config.cfg -cfg=instance_11_Chernarus/basic.cfg -profiles=instance_11_Chernarus -name=instance_11_Chernarus -mod=@DayZ_Epoch;@DayZ_Epoch_Server;</code></pre>
|
||||
<h4>Linux (Ubuntu/Debian)</h4>
|
||||
<pre><code># Update system packages
|
||||
sudo apt update && sudo apt upgrade -y
|
||||
|
||||
<h3>Required Files for DayZ Epoch</h3>
|
||||
# Create server directory
|
||||
mkdir -p ~/gameserver
|
||||
cd ~/gameserver
|
||||
|
||||
# Download server files (method varies by game)
|
||||
# Check official documentation for download links
|
||||
</code></pre>
|
||||
|
||||
<h4>Windows Server</h4>
|
||||
<p>Download the server files from the official game website or through Steam (if applicable). Extract to a dedicated folder and run the server executable.</p>
|
||||
|
||||
<h3>Using SteamCMD - RECOMMENDED METHOD</h3>
|
||||
<p><strong>This game can be installed via SteamCMD using App ID: 33930</strong></p>
|
||||
|
||||
<h4>Install SteamCMD (Ubuntu/Debian)</h4>
|
||||
<pre><code># Update package list
|
||||
sudo apt update
|
||||
|
||||
# Enable 32-bit architecture
|
||||
sudo dpkg --add-architecture i386
|
||||
sudo apt update
|
||||
|
||||
# Install SteamCMD
|
||||
sudo apt install -y lib32gcc-s1 steamcmd
|
||||
</code></pre>
|
||||
|
||||
<h4>Download Server Files</h4>
|
||||
<pre><code># Create directory for game server
|
||||
mkdir -p ~/gameservers/arma2co
|
||||
|
||||
# Run SteamCMD and download
|
||||
steamcmd +login anonymous \
|
||||
+force_install_dir ~/gameservers/arma2co \
|
||||
+app_update 33930 validate \
|
||||
+quit
|
||||
|
||||
# Server files are now in ~/gameservers/arma2co/
|
||||
cd ~/gameservers/arma2co
|
||||
ls -la
|
||||
</code></pre>
|
||||
|
||||
<h4>Windows Installation with SteamCMD</h4>
|
||||
<ol>
|
||||
<li>Download SteamCMD from: <a href="https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip" target="_blank">https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip</a></li>
|
||||
<li>Extract to <code>C:\steamcmd\</code></li>
|
||||
<li>Open Command Prompt and run:</li>
|
||||
</ol>
|
||||
<pre><code>cd C:\steamcmd
|
||||
steamcmd.exe +login anonymous ^
|
||||
+force_install_dir C:\gameservers\arma2co ^
|
||||
+app_update 33930 validate ^
|
||||
+quit
|
||||
</code></pre>
|
||||
|
||||
|
||||
<h2 id="configuration">Server Configuration</h2>
|
||||
|
||||
<p>After installation, you'll need to configure your server. Here's where to find the configuration files and what settings you can change.</p>
|
||||
|
||||
<h3>Essential Settings</h3>
|
||||
<ul>
|
||||
<li><code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">@DayZ_Epoch</code> - Main mod folder</li>
|
||||
<li><code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">@DayZ_Epoch_Server</code> - Server-side files</li>
|
||||
<li><code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">HiveExt.dll</code> - Database connector</li>
|
||||
<li><code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">HiveExt.ini</code> - MySQL configuration</li>
|
||||
<li>MySQL database with Epoch schema</li>
|
||||
<li><strong>Server Name:</strong> Set a descriptive name for your server</li>
|
||||
<li><strong>Max Players:</strong> Configure based on your server's resources</li>
|
||||
<li><strong>Password:</strong> Optional password protection for private servers</li>
|
||||
<li><strong>Admin/RCON Password:</strong> Set a strong password for remote administration</li>
|
||||
<li><strong>Game Mode:</strong> Configure game-specific modes and settings</li>
|
||||
</ul>
|
||||
|
||||
<h3>HiveExt.ini Configuration</h3>
|
||||
<pre><code>[Database]
|
||||
Type = MySql
|
||||
Host = localhost
|
||||
Port = 3306
|
||||
Database = epoch
|
||||
Username = epochuser
|
||||
Password = yourpassword
|
||||
<h3>Server Commands</h3>
|
||||
<p>Common administrative commands (access via console or RCON):</p>
|
||||
<pre><code># Kick player
|
||||
kick [player_name]
|
||||
|
||||
[Objects]
|
||||
CleanupPlacedAfterDays = 6
|
||||
CleanupUnlockedAfterDays = 6</code></pre>
|
||||
# Ban player
|
||||
ban [player_name]
|
||||
|
||||
<h2 id="startup">⚙️ Startup Parameters</h2>
|
||||
# Change map/level (syntax varies by game)
|
||||
changelevel [map_name]
|
||||
|
||||
<table class="ports-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Parameter</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>-port=2302</code></td>
|
||||
<td>Game port</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-config=</code></td>
|
||||
<td>Path to server config</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-cfg=</code></td>
|
||||
<td>Path to basic config</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-profiles=</code></td>
|
||||
<td>Profile directory</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-name=</code></td>
|
||||
<td>Profile name</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-mod=</code></td>
|
||||
<td>Mods to load (semicolon separated)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
# Set admin password (if supported)
|
||||
setadminpassword [password]
|
||||
</code></pre>
|
||||
|
||||
<h2 id="parameters">⚙️ Startup Parameters</h2>
|
||||
|
||||
<h3>Basic Startup</h3>
|
||||
<pre><code># Generic startup command structure
|
||||
./server_executable [parameters]
|
||||
</code></pre>
|
||||
|
||||
<h3>Common Parameters</h3>
|
||||
<ul>
|
||||
<li><code>-port [number]</code> - Set the server port</li>
|
||||
<li><code>-maxplayers [number]</code> - Maximum player slots</li>
|
||||
<li><code>-map [name]</code> - Starting map/level</li>
|
||||
<li><code>-console</code> - Enable console output</li>
|
||||
<li><code>-nographics</code> - Run without graphics (headless mode)</li>
|
||||
</ul>
|
||||
|
||||
<h3>Creating a Start Script</h3>
|
||||
|
||||
<p><strong>Linux (start.sh):</strong></p>
|
||||
<pre><code>#!/bin/bash
|
||||
cd /path/to/server
|
||||
./server_executable [parameters] 2>&1 | tee server.log
|
||||
</code></pre>
|
||||
<pre><code>chmod +x start.sh
|
||||
./start.sh
|
||||
</code></pre>
|
||||
|
||||
<p><strong>Windows (start.bat):</strong></p>
|
||||
<pre><code>@echo off
|
||||
cd /d "%~dp0"
|
||||
server_executable.exe [parameters]
|
||||
pause
|
||||
</code></pre>
|
||||
|
||||
<h3>Running as a Service</h3>
|
||||
|
||||
<p><strong>Linux (systemd):</strong></p>
|
||||
<pre><code># Create service file: /etc/systemd/system/gameserver.service
|
||||
[Unit]
|
||||
Description=Arma 2: Combined Operations Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=gameserver
|
||||
WorkingDirectory=/home/gameserver/server
|
||||
ExecStart=/home/gameserver/server/start.sh
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
</code></pre>
|
||||
|
||||
<pre><code># Enable and start service
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable gameserver
|
||||
sudo systemctl start gameserver
|
||||
sudo systemctl status gameserver
|
||||
</code></pre>
|
||||
|
||||
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
|
||||
|
||||
<h3>DayZ Epoch Database Issues</h3>
|
||||
<ul>
|
||||
<li><strong>Can't connect to MySQL:</strong> Verify HiveExt.ini credentials and MySQL is running</li>
|
||||
<li><strong>Characters not saving:</strong> Check MySQL user has proper permissions</li>
|
||||
<li><strong>Vehicles disappearing:</strong> Verify cleanup settings in HiveExt.ini</li>
|
||||
</ul>
|
||||
|
||||
<h3>Server Won't Start</h3>
|
||||
|
||||
<h4>Check Server Logs</h4>
|
||||
<pre><code># View recent log entries
|
||||
tail -f server.log
|
||||
|
||||
# Or check system logs
|
||||
journalctl -u gameserver -f
|
||||
</code></pre>
|
||||
|
||||
<h4>Port Already in Use</h4>
|
||||
<pre><code># Find what's using the port
|
||||
sudo lsof -i :[PORT]
|
||||
sudo netstat -tulpn | grep [PORT]
|
||||
|
||||
# Kill the process or change server port
|
||||
</code></pre>
|
||||
|
||||
<h4>Missing Dependencies</h4>
|
||||
<p>Ensure all required dependencies are installed. Check the error messages for missing libraries or packages.</p>
|
||||
|
||||
<h3>Connection Issues</h3>
|
||||
|
||||
<h4>Can't Connect to Server</h4>
|
||||
<ol>
|
||||
<li><strong>Verify server is running:</strong> <code>ps aux | grep server</code></li>
|
||||
<li><strong>Check port is listening:</strong> <code>netstat -an | grep [PORT]</code></li>
|
||||
<li><strong>Verify firewall rules</strong> (see Ports section above)</li>
|
||||
<li><strong>Check server IP:</strong> Use external IP, not localhost</li>
|
||||
<li><strong>Router/NAT:</strong> Ensure port forwarding is configured</li>
|
||||
</ol>
|
||||
|
||||
<h4>High Latency/Lag</h4>
|
||||
<ul>
|
||||
<li>Ensure <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">Expansion\beta</code> folder exists</li>
|
||||
<li>Verify mod folder names match startup parameters exactly</li>
|
||||
<li>Check BattlEye is enabled (required for public servers)</li>
|
||||
<li>Check server resource usage (CPU, RAM, disk I/O)</li>
|
||||
<li>Verify network bandwidth is adequate</li>
|
||||
<li>Consider server location relative to players</li>
|
||||
<li>Check for background processes consuming resources</li>
|
||||
</ul>
|
||||
|
||||
<h3>Players Can't Join</h3>
|
||||
<h3>Performance Issues</h3>
|
||||
|
||||
<h4>Server Lag</h4>
|
||||
<ol>
|
||||
<li><strong>Monitor resources:</strong> Use <code>htop</code> or <code>top</code></li>
|
||||
<li><strong>Check disk I/O:</strong> Use <code>iotop</code></li>
|
||||
<li><strong>Review server logs</strong> for errors or warnings</li>
|
||||
<li><strong>Reduce player count</strong> or increase server resources</li>
|
||||
<li><strong>Optimize configuration</strong> based on server capacity</li>
|
||||
</ol>
|
||||
|
||||
<h4>Memory Leaks</h4>
|
||||
<pre><code># Monitor memory usage
|
||||
free -h
|
||||
top -p $(pgrep -f server)
|
||||
|
||||
# Restart server regularly via cron if needed
|
||||
0 4 * * * /home/gameserver/restart.sh
|
||||
</code></pre>
|
||||
|
||||
<h2 id="performance">Performance Optimization</h2>
|
||||
|
||||
<h3>Server Tuning</h3>
|
||||
<ul>
|
||||
<li>Verify firewall allows UDP 2302-2305</li>
|
||||
<li>Ensure clients have matching mod versions</li>
|
||||
<li>Check BattlEye filters aren't too restrictive</li>
|
||||
<li><strong>CPU:</strong> Ensure adequate CPU allocation; most game servers are single-threaded</li>
|
||||
<li><strong>RAM:</strong> Allocate sufficient memory; monitor usage and adjust as needed</li>
|
||||
<li><strong>Disk:</strong> Use SSD storage for better I/O performance</li>
|
||||
<li><strong>Network:</strong> Ensure stable, low-latency connection</li>
|
||||
</ul>
|
||||
|
||||
<h2 id="related-mods">🔌 Related Mods & Plugins</h2>
|
||||
<p>Popular server modifications and admin tools compatible with ARMA 2 Combined Operations:</p>
|
||||
<h3>Operating System Optimization</h3>
|
||||
<pre><code># Increase file descriptor limits
|
||||
echo "* soft nofile 65536" >> /etc/security/limits.conf
|
||||
echo "* hard nofile 65536" >> /etc/security/limits.conf
|
||||
|
||||
# Network tuning
|
||||
sysctl -w net.core.rmem_max=16777216
|
||||
sysctl -w net.core.wmem_max=16777216
|
||||
sysctl -w net.ipv4.tcp_rmem="4096 87380 16777216"
|
||||
sysctl -w net.ipv4.tcp_wmem="4096 87380 16777216"
|
||||
</code></pre>
|
||||
|
||||
<h3>Monitoring</h3>
|
||||
<p>Set up monitoring to track server health:</p>
|
||||
<ul>
|
||||
<li><a href="../dayzmod/">DayZ Mod</a> - Zombie survival mod with persistence and Hive architecture</li>
|
||||
<li><a href="../epochmod/">Epoch Mod</a> - Base building, traders, and dynamic economy for DayZ</li>
|
||||
<li><a href="../bec/">BEC (BattlEye Extended Controls)</a> - Server scheduler, auto-restart, and admin commands</li>
|
||||
<li>CPU and memory usage</li>
|
||||
<li>Network traffic and latency</li>
|
||||
<li>Player count and activity</li>
|
||||
<li>Error rates and crash logs</li>
|
||||
</ul>
|
||||
|
||||
<h2 id="resources">📚 Resources</h2>
|
||||
<h3>Backup Strategy</h3>
|
||||
<pre><code>#!/bin/bash
|
||||
# backup.sh - Run via cron
|
||||
DATE=$(date +%Y%m%d_%H%M%S)
|
||||
BACKUP_DIR="/backups/gameserver"
|
||||
SERVER_DIR="/home/gameserver/server"
|
||||
|
||||
# Create backup
|
||||
tar -czf $BACKUP_DIR/backup_$DATE.tar.gz -C $SERVER_DIR .
|
||||
|
||||
# Keep only last 7 days
|
||||
find $BACKUP_DIR -name "backup_*.tar.gz" -mtime +7 -delete
|
||||
</code></pre>
|
||||
|
||||
<h2 id="security">Security Best Practices</h2>
|
||||
|
||||
<h3>Firewall Configuration</h3>
|
||||
<pre><code># Minimal firewall - only allow necessary ports
|
||||
sudo ufw default deny incoming
|
||||
sudo ufw default allow outgoing
|
||||
sudo ufw allow [SERVER_PORT]/tcp
|
||||
sudo ufw allow [SERVER_PORT]/udp
|
||||
sudo ufw allow 22/tcp # SSH
|
||||
sudo ufw enable
|
||||
</code></pre>
|
||||
|
||||
<h3>Strong Passwords</h3>
|
||||
<ul>
|
||||
<li><a href="https://dayzepoch.com/" target="_blank">DayZ Epoch Official Site</a></li>
|
||||
<li><a href="https://epochmod.com/forum/" target="_blank">Epoch Mod Forums</a></li>
|
||||
<li><a href="https://www.reddit.com/r/dayzmod/" target="_blank">r/dayzmod Community</a></li>
|
||||
<li><a href="https://github.com/EpochModTeam/DayZ-Epoch" target="_blank">DayZ Epoch GitHub</a></li>
|
||||
<li><a href="https://community.bistudio.com/wiki/ArmA:_Startup_Parameters" target="_blank">BI Wiki - Startup Parameters</a></li>
|
||||
<li>Use strong, unique passwords for admin/RCON access</li>
|
||||
<li>Never use default passwords</li>
|
||||
<li>Change passwords regularly</li>
|
||||
<li>Don't share admin credentials unnecessarily</li>
|
||||
</ul>
|
||||
|
||||
<div class="warning-box">
|
||||
<h3>Regular Updates</h3>
|
||||
<ul>
|
||||
<li>Keep server software updated to the latest stable version</li>
|
||||
<li>Update operating system and dependencies regularly</li>
|
||||
<li>Subscribe to security advisories for your game</li>
|
||||
<li>Test updates on a staging server before production deployment</li>
|
||||
</ul>
|
||||
|
||||
<h3>Access Control</h3>
|
||||
<ul>
|
||||
<li>Limit SSH access to specific IPs if possible</li>
|
||||
<li>Use SSH keys instead of passwords</li>
|
||||
<li>Disable root login via SSH</li>
|
||||
<li>Implement fail2ban or similar intrusion prevention</li>
|
||||
</ul>
|
||||
|
||||
<h3>DDoS Protection</h3>
|
||||
<ul>
|
||||
<li>Consider DDoS protection services (Cloudflare, OVH, etc.)</li>
|
||||
<li>Implement rate limiting where supported</li>
|
||||
<li>Monitor for unusual traffic patterns</li>
|
||||
<li>Have an incident response plan</li>
|
||||
</ul>
|
||||
|
||||
<h2>Additional Resources</h2>
|
||||
<ul>
|
||||
<li>Official Arma 2: Combined Operations documentation and forums</li>
|
||||
<li>Community wikis and guides</li>
|
||||
<li>Game-specific Discord or Reddit communities</li>
|
||||
<li>Server hosting provider documentation</li>
|
||||
</ul>
|
||||
|
||||
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
|
||||
<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><strong>Database Required:</strong> DayZ Epoch/Overpoch require MySQL database</li>
|
||||
<li><strong>Regular Backups:</strong> Backup database and mission files frequently</li>
|
||||
<li><strong>Legacy Platform:</strong> Limited official support, rely on community</li>
|
||||
<li><strong>Consider Standalone:</strong> DayZ Standalone offers modern experience</li>
|
||||
<li><strong>BattlEye Filters:</strong> Properly configure to allow mod scripts</li>
|
||||
<ul style="color: #fef3c7; line-height: 1.8; margin: 0;">
|
||||
<li>Always make backups before making configuration changes</li>
|
||||
<li>Keep your server and dependencies updated</li>
|
||||
<li>Monitor server resources and player activity</li>
|
||||
<li>Follow the game's End User License Agreement (EULA) and Terms of Service</li>
|
||||
<li>Join community forums for support and best practices</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<hr style="margin: 40px 0; border: none; border-top: 1px solid rgba(255,255,255,0.1);">
|
||||
|
||||
<p style="text-align: center; color: rgba(255,255,255,0.6); font-size: 0.9em;">
|
||||
<strong>Documentation Version:</strong> 1.0 | <strong>Last Updated:</strong> November 10, 2025<br>
|
||||
<strong>Sources:</strong> DayZ Epoch Community, Epoch Forums, Bohemia Wiki<br>
|
||||
<em>For modern DayZ, see <a href="/docs.php?action=view&doc=dayz">DayZ Standalone Guide</a>.</em>
|
||||
<p style="text-align: center; margin-top: 30px; color: #666;">
|
||||
<em>Last updated: November 2025 | For Arma 2: Combined Operations server hosting</em>
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"description": "Complete guide for Arma 2 CO and DayZ Mod hosting with database setup",
|
||||
"name": "Arma 2: Combined Operations",
|
||||
"order": 11,
|
||||
"category": "game"
|
||||
{
|
||||
"description": "Complete guide for Arma 2 CO and DayZ Mod hosting with database setup",
|
||||
"name": "Arma 2: Combined Operations",
|
||||
"order": 11,
|
||||
"category": "game",
|
||||
"complete": true
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue