![]() |
Multiple Errors Creating SF Dedicated Linux Server
Hi All!
I'm wondering if someone might be able to provide any help on setting up a dedicated sourceforts server on Linux. I've followed: SourceForts - A Half-Life 2 Modification http://www.sourcefortsmod.com/boards...edi-13743.html as well as various other tutorials. I'm at the stage where I can create and connect to a HL2MP server, but sourceforts is still giving me troubles. :( I run the command: Code:
./srcds_run -console -game sourceforts +map sf_crete +maxplayers 16 +exec server.cfg Code:
Auto detecting CPU I've probably done something stupid (or rather missed out a vital command)... Help me SourceForts forums, you're my only hope! |
this is way old: SourceForts - A Half-Life 2 Modification
but the 2nd link should work. what's your folder structure? |
Thanks for getting back to me Az.
You're right, the second link is the one that works. After your response I decided to follow it word for word from scratch. I must have missed a step or been using the wrong srcds_run command. It now starts the server, but seems to completely ignore my +exec server.cfg (it does say "Executing dedicated server config file", but doesn't have the name test server like I've told it to when searching for servers on SF). When I try to join the server it tells me that "Your version does not match the servers". If you have any further advice for a n00b I'd welcome it. |
Hey
you don't need to have +exec server.cfg, the server.cfg is loaded automatically when the server starts. The server name is changed in the build.cfg and combat.cfg (when the phase is toggled, the build.cfg or combat.cfg is loaded) |
Thanks Az for your help in getting the server up and running. :) It does run so I'll have a play with the rest. I don't suppose there's anywhere with any detailed documentation? I expect I'll just have to hack around and see how far I get.
Errors still present: - I have a load of missing textures - I get the message "your version does not match the servers, please restart the game" (I presume is linked to Az's comment about the Linux Binaries needing fixed: http://www.sourcefortsmod.com/boards...0-a-13736.html ) You can bypass the version does not match error by connecting using the in-game console by pressing "`" and typing connect followed by our server's IP address eg: Code:
connect 123.123.123.123 For those wanting to setup a dedicated SourceForts server on Linux (I'm running Debian, but it's basically the same for any distro) should follow Az's post here: http://www.sourcefortsmod.com/boards...edi-13743.html The steps I took to install the server and get it working are outlined below, but are essentially the same as the link above. 1. Login to the server as Root (or a user with sudo access), using putty if you're on windows 2. I wanted to keep my steam server seporate from the rest of the server so created a new user: Code:
useradd steam_server Code:
mkdir /home/steam_server Code:
cd /home/steam_server Code:
wget http://www.steampowered.com/download/hldsupdatetool.bin 6. Change the permissions of the downloaded file to allow it to be executed. Code:
chmod 755 hldsupdatetool.bin Code:
chmod +x hldsupdatetool.bin Code:
./hldsupdatetool.bin Code:
./steam Code:
./steam -command update -game "episode1" -dir . Code:
./steam -command update -game "hl2mp" -dir . For those as blind as me, it's important that you copy the hl2mp directory out of the orange box folder. I'll demonstrate using absolute paths, just so it's blindingly obvious: Code:
cp -R /home/steam_server/orangebox/hl2mp /home/steam_server/ 11. ownership and permissions Before testing the server, I'd strongly recommend changing the ownership of the steam_server home folder. At the moment, the command Code:
ls -la /home/steam_server Code:
drwxr-xr-x 13 root root 4096 Feb 19 16:42 hl2m Code:
chown steam_server:steam_server /home/steam_server -R [EDIT] 12. switch user to the steam_server account, don't run the thing as root! Code:
su steam_server 13. Test the server. The command I use to get it going is: Code:
./srcds_run -console -game sourceforts +map sf_crete +maxplayers 16 |
All times are GMT +1. The time now is 04:33 AM. |
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0