Jump to content

Recommended Posts

Posted

CS 1.6 NoSteam (Linux) Server Installation Tutorial

 

Introduction

What do we need to make a Counter-Strike 1.6 Linux Server?

- a computer having linux installed and direct acces or ssh access

- root privileges

- internet connection (at least 100kB/s speed - metro and extern) optic fiber.

Downloading Files

Make a new working directory first:

mkdir /usr/hlds

cd /usr/hlds

Then download the following files:

- HldsUpdateTool

- NoSteamAuthEngines

- AdminMod + MetaMod

- StatsMe

 

[ Search on the google for the files ]

 

Server Installation

1. Change current directory to /usr/hlds having the above files downloaded. Start with hldsupdatetool.bin:

chmod +x hldsupdatetool.bin

./hldsupdatetool.bin

After the above commands there should be a new file named steam.

2. Start the server installation:

./steam -command update -game valve -dir .

If an update is being made, run the command above again. Depending of the internet connection speed, the commmand may take from a couple of minutes to a couple of hours and the finishing message will be HLDS installation up to date

3. Installing Counter-Strike mod

./steam -command update -game cstrike -dir .

Again, depending of the internet connection speed, the commmand may take from a couple of minutes to a couple of hours and the finishing message will be HLDS installation up to date

Patching the server in order to accept NOSTEAM clients

The patching is made with the following commands:

rm -rf engine_amd.so

rm -rf engine_i486.so

rm -rf engine_i686.so

tar xfvz engine.v15.tgz

server.cfg configuration

In /usr/hlds/cstrike directory we have a server.cfg file which we are opening with pico, nano, mcedit, vi or another Linux text editor

Replace the rows and write the cvars from here.

AdminMod Installation

Extract the AdminMod anywhere on your Hard Drive.

Follow theese steps to install and configure the AdminMod

Add/Remove admins

Open users.ini using pico, nano, mcedit or vi text editors. Write down the names and passwords of admins, followed by server access level. Let's say that we want to create a maximum level admin called John and password john1234. Write the following line in users.ini file:

John:john1234:131071

For custom access levels go to Admin Mod Levels and select the desired commands you want the admin to be able to have access. Then press "calculate access right" and write the resulted number in user.ini file after the admin name and password. Just like the John example, but replace the 131071 with the new number. Each admin/password/level must be on different lines.

StatsMe

Extract statsme-2.8.3-cstrike.zip to C:\HLDS\cstrike directory. Go to C:\HLDS\cstrike\addons\metamod directory and open plugins.ini with TextPad or WordPad. Add the following line at the begining of the file: win32 addons\statsme\dlls\statsme_mm.dll

Go to C:\HLDS\cstrike\addons\statsme and open statsme.cfg with TextPad or WordPad. Modify the sm_menupassword from r3wt with another password. When entering the game you will have to write in the console statsme_menu password_from_statsme.cfg.cfg in order to modify last settings.

/rank and /top10

Open statsme.cfg and change the sm_storebyauth from 1 to 0.

Secure server

It is important to have a non secure server because of many reasons. To do that, go to C:\HLDS\cstrike and open liblist.gam with TextPad or WordPad. Modify secure from 1 to 0. Save and exit.

Starting the server

Change directory to /usr/hlds si executam comanda:

./hlds_run -game cstrike +ip ip.de.internet +sv_lan 1 -nomaster +maxplayers 18 +map de_dust2

In order to start the server on screen use the following command:

screen -A -m -d -S hlds ./hlds_run -game cstrike +ip ip.de.internet +sv_lan 1 -nomaster +maxplayers 18 +map de_dust2

This command starts the server in background. In order to attach us again to it, write:

screen -r hlds

In order to send it to background again, hold pressed the ctrl button and press A letter from the keyboard and after that press D key.

If you want the server to start on every Linux server boot, you must add the following lines in /etc/rc.local file:

cd /usr/hlds

screen -A -m -d -S hlds ./hlds_run -game cstrike +ip ip.de.internet +sv_lan 1 -nomaster +maxplayers 18 +map de_dust2

Admin_who plugin

Anyone who's on the server can use the admin_who command, which will show the server connected admins as follows:

Moderators

- maximum access admins (admin_rcon admin_exec * etc)

Administrators

- all commands access, except admin_rcon, admin_exec * etc

Helpers

- all access except admin_rcon and admin_ban

Slots

- rezerved name and/or rezerved slot

Download and copy this plugin to cstrike/addons/adminmod/scripts/ and then add the following line to cstrike/addons/adminmod/config/plugins.ini:

addons/adminmod/scripts/admin_who.amx

 

Source :

http://www.deadzone.ilive.ro

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • L2jMobius has data oriented pathfinder since May. Already have "less memory" used for geodata since 3 weeks ago. Avoiding 1 GB less memory in geodata on latest clients. Not to mention rolling with an actual geodata generator since 3 weeks ago again. We also did actual benchmarks, tests with actual players, and decided to not use AI slop navmesh. I guess working only on a 10 year old client gives you a lot of free time and need to kill your boredom somehow... Need to show some progress somehow... Kinda get it... And unlike aCis we do release our full work every 4 months. So expect to actually see our work on this Christmas release.
    • 🎉 L2-SCRIPTS TURNS 20 🎉 This year marks our studio's 20th anniversary!   ▬▬▬▬▬▬▬▬▬▬   Two decades in the Lineage 2 private server market is a long run — we've seen chronicles, engines and trends come and go. We keep doing what we do best: builds, technical support, turnkey projects, website and engine development, personal account systems, anti-cheat and anti-bot protection, auto-donation systems, unique events, geodata — basically anything your project might need.   🎨 To mark the occasion, we figured it was the perfect time for a fresh look. Honestly, the haters deserve some credit too — they never sleep, and they gave us that extra push to finally update the visuals 😉 We kept the familiar structure and sections intact so nobody gets lost — just made everything more modern and easier on the eyes.   ▬▬▬▬▬▬▬▬▬▬   ⚠️ Spot any bugs or rough edges on the updated site? Let us know and we'll fix it right away. Thanks for being with us for 20 years. It only gets better from here 🚀   🌐 https://l2-scripts.ru   |   https://l2-scripts.com ✈️ https://t.me/L2scripts
    • A full MMORPG that runs in your browser. No download, no launcher, no account with anyone else — click the link and you are in the world. ▶ Play free: https://l2d.one Aden Chronicles is an isometric fantasy MMORPG built in the spirit of the old Lineage 2 servers: classes that branch as you grow, castles that change hands, and world bosses that the whole server has to deal with together. Not a single-player game with a leaderboard attached — one shared world, where the same monsters die once and the same castle has one lord. WHAT IS IN IT 7 regions and 245 hunting grounds, scaling from level 1 to 80 6 classes that branch into 24 professions, then Awakening at 60 201 skills, enchantable past their normal ceiling 174 monster types, raid bosses, and grand bosses shared by the entire server Castle sieges, clans with reputation and wars, the Grand Olympiad 23 armour sets across 6 grades, enchanting, augmentation with life stones Caves and mines you walk down into — tunnels, ore veins, a guardian at the bottom 14 islands reached by ship, 10 pets, from a wolf to a dragon hatchling THE TWO THAT EVERYONE FIGHTS Valakas the World-Flame — level 78, 900,000 HP Aetheron, Sky Sovereign — level 82, 1,400,000 HP They do not respawn for you. They respawn for everybody.   Video -->  
    • I personally like it a lot. I see this not as a replacement but as a supplementary client that can fill different type of gameplay. 
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..