Jump to content
Facebook Twitter Youtube

[Linux-Tutorial] Setting up a Counter-Strike 1.6 Server [Part #2]


Filex Dragneel
 Share

Recommended Posts

Here you'll learn how to set up a cs 1.6 server on your linux.  [ Part 2 ]
Part 1 Link : https://csblackdevil.com/forums/topic/348468-linux-tutorial-setting-up-a-counter-strike-16-server-part-1/  In this tutorial , part 2 , i'll show you how to install the following things on your server:
 

 

ReHLDS ( downlad link )

Spoiler

- This is a result of reverse engineering of original HLDS (build 6152/6153) using DWARF debug info embedded into linux version of HLDS, engine_i486.so. Along with reverse engineering, a lot of defects and (potential) bugs were found and fixed. It provides more stable (than official) version of Half-Life dedicated server with extended API for mods and plugins

ReGameDLL ( downlad link )

Spoiler

Regamedll_CS is a result of reverse engineering of original library mod HLDS (build 6153beta) using DWARF debug info embedded into linux version of HLDS, cs.so. It provides more stable (than official) version of Counter-Strike game with extended API for mods and plugins

Metamod ( download link )

Spoiler

- This is a plugin/DLL manager that sits between the Half-Life Engine and an HL Game mod, allowing the dynamic loading/unloading of mod-like DLL plugins to add functionality to the HL server or game mod.

Reunion ( download link )

Spoiler

- Reunion is a continued version of dproto , the same but this is specially for ReHLDS , it allowes players with both protocols 47/48 to play in the same non-steam/steam server.

ReAuthChecker ( download link )

Spoiler

- ReAuthChecker is a metamod plugin , that validates players while connectiong to the server. this way the security from programs (xFakePlayers 1.00 - 1.14) , that harm the server increases.

VTC or VoiceTranscoder ( download link )

Spoiler

- Voicetranscoder is a metamod plugin , that fixes the voice problems while using microphones between old non-steam/steam clients and the new steam clients.

Amx Mod X [ Base || Counter-Strike 1.6 addon ]

Spoiler

- AMX Mod X is a versatile Half-Life metamod plugin which is targetted toward server administration.
It has a wide array of scripting capabilities so people can write "plugins", or files which add on to a mod's functionality.
Plugins can take form in administrative services (adding new admin commands), statistics generation (StatsX), fun additions (godmode, etc), gameplay changes (WC3, CSDM), and much, much more!
You can also write modules to expand the functionality of AMX Mod X and add to the scripting language.

 

  1. Preapring files
    Use all download links provided here to download the necessary files , all links used here are taken from the official websites.
    After all files download , extract the archives in diffrent directories , so they don't merge each another.
    Important: about Amx Mod X - download both packages Base and Counter-Strike 1.6 Addon
    Important
    : In future some of the main folders might be named in diffrent way , currently the folders are named in the libary/mod's VERSION , i've downloaded

    image.thumb.png.20ee84d263180e046e4110bfaa261872.png
     
  2. ReHLDS Installation...
    Open the directory named "rehlds-dist-3.7.0.696-dev/bin/linux32" , copy all files that are inside the folder and paste them in your server folder.
    image.png
    While copying all files , click on "Merge" and "Replace" for all files/folders.




     
     
    While copying all files , click on "Merge" and "Replace" for all files/folders.



    https://i.postimg.cc/fLJSXvRj/image.png
     
     
    https://i.postimg.cc/gkPrkp8K/image.png
  3. ReGameDLL Installation..

    Open the directory named "regamedll-dist-5.18.0.474-dev/bin/linux32/cstrike" , copy all files that are inside the folder and paste them in your server's cstrike folder folder.
    While copying all files , click on "Merge" and "Replace" for all files/folders.

    image.png.7a05f4c1594026ff73919eaec6091db9.png

    https://i.postimg.cc/yxC9HZ7m/image.png
     
  4. Metamod Installation...

    Open the directory named "metamod-1.21.1-am" , copy the whole folder "addons" into your server's cstrike folder.

      image.png.5ba212d005edefe455339018547a6afe.png

    In your server's "cstrike" folder , find a file named "liblist.gam" and open it with a text editor like Notepad or Gedit
    It should looks like this :
    https://i.postimg.cc/ydcjcBdT/image.png

    As you see there is a line with: gamedll_linux "dlls/cs.so"
    Edit that line , to this : gamedll_linux "addons/metamod/dlls/metamod.so"
    Save the file and it should looks like this:
    https://i.postimg.cc/KvZfk6yn/image.png


    5. Reunion Installation...
          
           Open the directory named "reunion_0.1.0.92c/bin/Linux" , copy the file  "reunion_mm_i386.so" to server's "addons/metamod/dlls" folder

            https://i.postimg.cc/152ghFMf/image.png

            Open the directory named "reunion_0.1.0.92c" , copy the file  "reunion.cfg" to server's "cstrike" folder

            image.png.b88c208487c49e64bc823d52d576d1ef.png

          Now go to your server's "addons/metamod/dlls" folder , and if the file "plugins.ini" doesn't exists , create it manually.
          After you opened/created "plugins.ini" , put the following line in it: linux addons/metamod/dlls/reunion_mm_i386.so
          Save and close the file...
         https://i.postimg.cc/50D0ddqD/image.png

         https://i.postimg.cc/kMkVL8TD/image.png

    6. ReAuthChecker Installation...

                 Open the directory named "reauthcheck_0.1.6/Linux" , copy the the whole folder  "addons" to server's "cstrike" folder.
                 It might asks you if you want to "Merge" the folders , click on merge.

                 https://i.postimg.cc/nLkBJzCg/image.png

                https://i.postimg.cc/59Gv1D24/image.png

              Open the file "plugins.ini" in the directory "addons/metamod/dlls"
              Put the following text on a new line in the file: linux addons/reauthcheck/reauthcheck_mm_i386.so
              https://i.postimg.cc/t4DF0J1f/image.png

     

    7. VoiceTranscoder Installation...

                 Open the directory named "VoiceTranscoder_2017RC5/VoiceTranscoder" , copy all files to server's "cstrike/addons/metamod/dlls" folder.
                After that.. just put the following line in "plugins.ini" in the directory "addons/metamod/dlls": linux addons/metamod/dlls/VoiceTranscoder.so
               It should looks like this :
                https://i.postimg.cc/NFJwq1cF/image.png

    8. Amx Mod X Installation...

             Open the folder named "amxmodx-1.8.2-base-linux" , copy the whole "addons" folder and copy it to your server's cstrike folder.
             Open the folder named "amxmodx-1.8.2-cstrike-linux" , copy the whole "addons" folder and copy it to your server's cstrike folder.
             While doing this , merge and replace any existing file...
             IMPORTANT: With a couple of words , you just need to Merge both packages , but it's important the cstrike package to be 2nd.

           https://i.postimg.cc/TPDmK9N8/image.png

         After this , open "plugins.ini" in the directory "addons/metamod/dlls" and add this line:  linux addons/amxmodx/dlls/amxmodx_mm_i386.so

         https://i.postimg.cc/WpW3PZS0/image.png


    9. Test your server

         simply run your server.
         image.png

    If you are getting this error as i do , cd to your server's directory where the file "hlds_linux" is and type the following command

    chmod +x ./hlds_linux

    image.png
    Now let's try to run the server again:
     
    image.png

    image.png
    Now , we need to check if all plugins we installed are running , to do this type the following commands in your console:
     

    version // To check if ReHLDS is installed
    game version // To Check if ReGameDLL is installed
    meta list // to check if all metamod plugins are installed
    amxx list // to check if all amxmodx plugins are running
    amxx modules // to check if there is no error in the amxmodx modules

    image.png

  • I love it 2
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

WHO WE ARE?

CsBlackDevil Community [www.csblackdevil.com], a virtual world from May 1, 2012, which continues to grow in the gaming world. CSBD has over 70k members in continuous expansion, coming from different parts of the world.

 

 

Important Links