Академический Документы
Профессиональный Документы
Культура Документы
▼ 2014 (4)
▼ April (1)
Counter Strike 1.6 SteamCMD
Non-Steam Server Setup...
► March (2)
► January (1)
► 2013 (4)
About Me
In the following tutorial you will learn how to install a hybrid Counter-Strike 1.6 server on a
Linux powered server at your own. A hybrid Counter-Strike 1.6 server is a Counter-Strike 1.6 Unknown
game server that allows Steam clients (legit Steam accounts) and non Steam clients (non View my complete profile
Steam game clients) as well as owners of old game clients with the game protocol version 47
to enter your server.
This hybrid mode is achieved by a metamod plugin called "Dproto" by Crock from a Russian
Counter-Strike community. The guide is written within the new standards of SteamCMD by
Valve as HLDSUpdateTool has become outdated. However SteamCMD is not as final as
HLDSUpdateTool was so you may experience certain issues.
In cases of issues or if you need help feel free to ask for help here.
It is highly not recommended to run a gameserver from your root account or a Linux
user account that already runs other applications.
Therefor you will create a totally new Linux user account which will be used to run your
Counter-Strike 1.6 hybrid server.
adduser <username>
Replace "<username>" with the username you'd like to use for the gameserver. You will be
asked to fill in the password twice and some other information. Do this steps to create the
user. You don't have to fill out things like Full name, Room Number and so on. To leave them
empty just hit enter. When you are asked if the information is correct press Y and then hit your
ENTER key.
Screenshot
This site uses cookies from Google to deliver its services and to analyse traffic. Your IP address and user agent
are shared with Google, together with performance and security metrics, to ensure quality of service, generate
usage statistics and to detect and address abuse.
LEARN MORE OK
After you've hit your ENTER key the user creation process will finish if all information was
entered correct.
su <username>
Replace "<username>" with the username of the user you created. After you typed the
command hit your ENTER key to login. You can also logout from your account by closing your
SSH session and opening a new session where you login with the new user.
Screenshot
After you've logged into the user with su you still will be located at "/root" where normal users
cannot operate.
cd
Just type in cd and hit your ENTER key and you will be in your home directory. If you have
opened a new SSH session as the new user you don't have to do this because you are
already in your
This site useshome directory.
cookies from Google to deliver its services and to analyse traffic.
Your IP address and user agent
are shared with Google, together with performance and security metrics, to ensure quality of service, generate
usage statistics and to detect and address abuse.
2. Download and extract SteamCMD
LEARN MORE OK
Now you have to download the SteamCMD client to your home directory and extract it to use
it for the installation of the actual gameserver.
Make a new folder for it called "steamcmd" with the mkdir command:
mkdir steamcmd
Screenshot
Just type in the command and hit ENTER to create the folder. After that change directory to
that folder with the cd command.
cd steamcmd/
Just type in the command, hit ENTER and you are already in the folder.
Screenshot
You are now in the folder for Valve's tool SteamCMD. Time to download the tool from Valve's
serversite
This and uses
extractcookies
it. from Google to deliver its services and to analyse traffic.
Your IP address and user agent
are shared with Google, together with performance and security metrics, to ensure quality of service, generate
Download SteamCMD:
usage statistics and to detect and address abuse.
Code: LEARN MORE OK
wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
Screenshot
Enter the command and hit ENTER. A progress will be shown and you can watch all files
being extracted.
Screenshot
Just type in this command and hit ENTER. You will see the tool starting and updating itself.
Screenshot
Wait until it has downloaded and installed the updates for SteamCMD and you will be able to
see a command line starting with "Steam>".
Screenshot
Login as anonymous:
login anonymous
Enter the command from above and hit ENTER. If the login was successful you will get a
message like this one: "Connecting anonymously to Steam Public...Success.".
Screenshot
This site uses cookies from Google to deliver its services and to analyse traffic. Your IP address and user agent
are shared with Google, together with performance and security metrics, to ensure quality of service, generate
usage statistics and to detect and address abuse.
LEARN MORE OK
Time to set the directory where you want the gameserver files to be installed. I recommend
them to be installed in a folder called like the game in your home directory.
force_install_dir /home/username/cs
Replace "username" in "/home/username/cs" with the name of the user you are logged in and
then hit ENTER to set the path.
Screenshot
app_update 90 validate
Just type in this command hit ENTER. WARNING: SteamCMD has a bug related to HLDS
games. You are required to run command to download the files multiple times to
download all files!
You are not done because the bug is doing it's job right now. Run the command again.
If you think you are done you're wrong. Run the command again to try to defeat the bug.
Now SteamCMD has started downloading the files and we have defeated the bug. Wait until it
has finished the download process.
This site uses cookies from Google to deliver its services and to analyse traffic. Your IP address and user agent
Screenshot
are shared with Google, together with performance and security metrics, to ensure quality of service, generate
usage statistics and to detect and address abuse.
LEARN MORE OK
Run the command a last time to validate all files to avoid broken files or incomplete
downloads.
Everything is good and you've downloaded and validated the gameserver files. Quit
SteamCMD with the command "quit".
Quit SteamCMD:
quit
Screenshot
This site uses cookies from Google to deliver its services and to analyse traffic. Your IP address and user agent
are shared with Google, together with performance and security metrics, to ensure quality of service, generate
usage statistics and to detect and address abuse.
LEARN MORE OK
If SteamCMD was successfully closed you will see a half broken SteamCMD command line
entry and your real command line as in the screenshot above. This is a sign of success for
the quition process.
4. Install metamod
We have the plain gameserver files that only allow legit Steam clients to access your
gameserver but not non Steam clients or clients with older game protocol versions.
cd ../
cd cs
First type in "cd ../" and then "cd cs" to change directory to the gameserver files.
Screenshot
Once you are in the folder change directory again to the "cstrike" folder.
Change directory
This site to cstrike: from Google to deliver its services and to analyse traffic. Your IP address and user agent
uses cookies
are shared with Google, together with performance and security metrics, to ensure quality of service, generate
usage statistics and to detect and address abuse.
cd cstrike/
LEARN MORE OK
Enter the command in your command line, hit ENTER and you're there already.
Screenshot
Now create a folder called "addons" with mkdir which will be used for the plugins metamod
and dproto.
mkdir addons
cd addons/
mkdir metamod
cd metamod/
mkdir dlls
cd dlls/
This site uses cookies from Google to deliver its services and to analyse traffic. Your IP address and user agent
are shared
Download with Google, together with performance and security metrics, to ensure quality of service, generate
metamod:
usage statistics and to detect and address abuse.
Code:
LEARN MORE OK
wget http://apps.singul4rity.com/metamod-1.20-linux.tar.gz
Extract metamod:
Screenshot
Go up one level and create a file called "plugins.ini" that we'll need to load up Dproto through
metamod.
Go up one level:
cd ../
Create plugins.ini:
touch plugins.ini
Screenshot
This site uses cookies from Google to deliver its services and to analyse traffic. Your IP address and user agent
are shared with Google, together with performance and security metrics, to ensure quality of service, generate
usage statistics and to detect and address abuse.
LEARN MORE OK
Go back to cstrike:
cd /home/username/cs/cstrike
Replace "username" with the username of the user where you have the gameserver files
installed on.
Screenshot
Open the file "liblist.gam" with a text editor like nano or vi. I recommend nano for newbies
because vi will only confuse you and you will get very angry with it (if you don't have it install it
as root before doing this step through a second SSH session).
nano liblist.gam
Just type in this command and hit ENTER. The editor will load up the file and you will see the
content.
This site uses cookies from Google to deliver its services and to analyse traffic. Your IP address and user agent
Screenshot
are shared with Google, together with performance and security metrics, to ensure quality of service, generate
usage statistics and to detect and address abuse.
LEARN MORE OK
Navigate through the editor with your up, down, right and left keys. Go to the line with
"gamedll_linux "dlls/cs.so" and change it to "gamedll_linux
"addons/metamod/dlls/metamod_i386.so".
Screenshot
Save the file with the following key combination: CTRL + X, then Y and ENTER.
Screenshot
This site uses cookies from Google to deliver its services and to analyse traffic. Your IP address and user agent
are shared with Google, together with performance and security metrics, to ensure quality of service, generate
usage statistics and to detect and address abuse.
LEARN MORE OK
Now metamod is installed successfully and the gameserver will use metamod's .so files to
launch with plugin support.
5. Install Dproto
cd addons/
mkdir dproto
cd dproto/
Code:
wget http://apps.singul4rity.com/dproto_i386.so
Screenshot
This site uses cookies from Google to deliver its services and to analyse traffic. Your IP address and user agent
are shared with Google, together with performance and security metrics, to ensure quality of service, generate
usage statistics and to detect and address abuse.
LEARN MORE OK
Go back to cstrike:
cd /home/username/cs/cstrike
Replace "username" with the username of the user where you have the gameserver files
installed on.
Download dproto.cfg:
wget http://apps.singul4rity.com/dproto.cfg
Screenshot
cd addons/
This site uses cookies from Google to deliver its services and to analyse traffic. Your IP address and user agent
are shared with Google, together with performance and security metrics, to ensure quality of service, generate
Change directory to metamod:
usage statistics and to detect and address abuse.
Screenshot
nano plugins.ini
Screenshot
Save the file with the following key combination: CTRL + X, then Y and ENTER.
Screenshot
This site uses cookies from Google to deliver its services and to analyse traffic. Your IP address and user agent
are shared with Google, together with performance and security metrics, to ensure quality of service, generate
usage statistics and to detect and address abuse.
LEARN MORE OK
Now we've activated Dproto in metamod and enabled the hybrid mode.
Time to start the server. First go back to the folder with all gameserver files and then issue the
startup command.
cd /home/username/cs
Replace "username" with the username of the user where the gameserver files are installed.
Screenshot
./hlds run -console -game cstrike -ip <ipofyourserver> -port 27015 +maxplayers 32 +map de dust2
This site uses cookies from Google to deliver its services and to analyse traffic. Your IP address and user agent
are shared with Google, together with performance and security metrics, to ensure quality of service, generate
Replace "<ipofyourserver>" with the IP address of your VPS and then hit ENTER to start the
usage
server.
statistics and to detect and address abuse.
LEARN MORE OK
Screenshot
Code:
If this happens press CTRL + X to exit the crashed server and to continue the guide to fix the
error. Otherwise you have started the server success and the last you see is " VAC secure
mode is activated.".
The fix: Run the server startup command again and the server will launch properly.
You're done. This is everything. You have started the server and it is running. Now you can
connect and play. It will close when you leave the SSH session so I recommend to start it up
in a screen or tmux session.
Labels: amx mod, automix, counter strike, CS 1.6, knife, steam, steamcmd
No comments:
Post a Comment
Enter your comment...
This site uses cookies from Google to deliver its services and to analyse traffic. Your IP address and user agent
are shared with Google, together with performance and security metrics, to ensure quality of service, generate
usage statistics and to detect and address abuse.
LEARN MORE OK
Comment as: NETFION (Googl Sign out