Chivalry Medieval Warfare Server OS Supported
*Linux runs on wine and requires additional configuration. Its the standard UDK.exe script that many game servers use.
Chivalry Windows Server Setup
1: Download and install the server files via Steam (Library > Tools). The game itself must also be installed on the machine you’ll be running it on.
2: Log in to your router and forward the following ports to the local IP of the machine that will be hosting the server – UDP: 7777, 7778, and 27015
3: In UDKGame\Config (“C:\Program Files (x86)\Steam\steamapps\common\chivalry_ded_server\UDKGame\Config”), open “PCServer-UDKGame.ini” in Notepad. Under the section [Engine.GameReplicationInfo], put your desired server name after “ServerName=”. Make sure to save your changes when you’re done. Its recommended that you make a copy of this before editing!
4: On your desktop, create a new text file called “Start Chivalry Server.txt” (or whatever you want really). Paste the following inside of it:
CD “C:\Program Files (x86)\Steam\steamapps\common\chivalry_ded_server\Binaries\Win32”
UDK.exe AOCTO-Battlegrounds_v3_P?steamsockets -seekfreeloadingserver
4.2: Change the text file extension from .txt to .bat (new name “Start Chivalry Server.bat”. If you do not see file extension you need to set windows to show them. (link opens in new window.
5: Double click the .bat file and you should first see a command prompt pop up with the text above, then after a few seconds a second (blank) command prompt looking window with the Chivalry icon should come up. Feel free to close the first one after the second comes up.
6: Open the game and try to find your server! If you’re hosting it on the same computer you’re playing on you can open the console (press ` (tilde)) and enter the following command:
6.2: If your server is running properly it should plop you right on in shortly after hitting enter.
7: When people join (and maybe when they leave?) your server you should see a Log message in the server window that popped earlier.
8. To manage your server look at the RCON commands below.
Chivalry Linux Server Setup
- sudo apt-get install lib32gcc1
- sudo adduser steam
- su – steam
- mkdir /home/steam/steamcmd
- cd /home/steam/steamcmd
- wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
- tar -xvzf steamcmd_linux.tar.gz
Install Wine 1.7.0
- sudo add-apt-repository ppa:ubuntu-wine/ppa
- sudo apt-get install wine1.7
- export WINEARCH=win32
* export sets wine to run as 32 bit instead of 64bit as it crashes constantly in 64bit.
- cd /home/steam/steamcmd
- login <YOUR STEAM USERNAME: REQUIRED!!>
- Enter your password
- force_install_dir <Path you want chivalry to be in>
- app_update 220070
Create Startup Script!
- nano start.sh
- cd (dirof install)
- wine UDK.exe AOCFFA-Arena3_P?steamsockets -dedicated=true -seekfreeloadingserver -Port=7777 -QueryPort=7778 -maxplayers=32
- save script and exit
Create Second Script
- nano startWscreen.sh
- screen -S chivalry -d -m ./start.sh
- Save script and exit
Copy Audio Files to Chivalry Directory
- wget http://kaahane.viuhka.fi/data/X3DAudio1_7.dll
- mv X3DAudio1_7.dll <YOUR GAME DIRECTORY/Binarys/Win32/
Set Permissions for Script/game
- sudo chmod ug+x start.sh
- sudo chmod ug+x startWscreen.sh
- sudo chmod ug+x <GAMEDIRECTORY>/Binaries/Win32/UDK.exe
- sudo chmod ug+rw * -R (Do this in the directory you set your game in. DO NOT DO IT FOR YOUR ENTIRE SYSTEM)
Start your server
Server is now running.
Chivalry Server RCON Commands
Followed by the server’s admin password, allows you to log into a server as an admin.
Logs out as admin
getinfo or whois
Gives a user’s SteamID. This SteamID is in hexadecimal; if you want to convert it to a normal Base 10 number, I’d recommend you use the Windows calculator (put it in Programmer mode, click Hex, paste in the value, and click Dec). Most hexadecimal-to-decimal converters on the web can’t handle the large values and will mess up at least the last two digits.
Kicks a user.
Kicks a user and permanently bans them (i.e. puts their IP/NetID in the config file).
Changes to a different map.
Restarts the map.
Swaps a selected player to the opposite team.
Change team damage amount on-the-fly; from 0.0 (no damage) to 1.0 (full damage)
Cancels a vote in progress
Not strictly an admin command, but for admins it shows the server’s tick rate, that is how many milliseconds the server is taking to render a single frame. Servers are set to run at 30Hz, so this should be at or below 33.33..
Change the server’s speed to the string argument (from 0.001 to 2.0; that is, 0.1% to 200% speed)
Pauses the server iff the server has admin pausing enabled
Prints damage amounts to the console for testing purposes. Affects all players on server.
Ends the current match.