User Tools

Site Tools


en:troubleshooting:setting_up_hlds

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:troubleshooting:setting_up_hlds [2022-08-14-14-23] – [Installation Grundserver] 7saturnen:troubleshooting:setting_up_hlds [2022-08-14-19-01] (current) – [Metamod] 7saturn
Line 5: Line 5:
   * Change to the new directory with ''cd hlds_l'' ''Enter''.   * Change to the new directory with ''cd hlds_l'' ''Enter''.
   * It is now time to get all data on the machine with which the server will be installed. For this the following files are necessary:   * It is now time to get all data on the machine with which the server will be installed. For this the following files are necessary:
-    - hlds_l_3110_full.tar.gz +    - //hlds_l_3110_full.tar.gz// ([[https://files.steamlessproject.nl/file.php?id=17|source]]) 
-    - hlds_l_3111e_update.tar.gz +    - //hlds_l_3111e_update.tar.gz// ([[https://www.4players.de/cs.php/download_file/-/updates/5888/index.html|source]]) 
-    - cs_15_full.tar.gz+    - //cs_15_full.tar.gz// ([[https://www.4players.de/4players.php/download_info/Downloads/Download/3698/CounterStrike_Server_Updates/CounterStrike_15_Linux_Server_Full.html|source]])
     - //nowon2.pl// ([[https://www.moddb.com/downloads/won2-patch-for-linux-servers|source]])     - //nowon2.pl// ([[https://www.moddb.com/downloads/won2-patch-for-linux-servers|source]])
-  * We start by making the Perl script ''nowon2.pl'' executable. Best with ''chmod +x nowon2.pl''+  * We start by making the Perl script //nowon2.pl// executable''chmod +x nowon2.pl''
   * unzip ''hlds_l_3110_full.tar.gz''   * unzip ''hlds_l_3110_full.tar.gz''
   * Unpack ''cs_15_full.tar.gz'' and move the unpacked folder ''cstrike'' into the folder ''hlds_l''   * Unpack ''cs_15_full.tar.gz'' and move the unpacked folder ''cstrike'' into the folder ''hlds_l''
   * Unpack ''hlds_l_3111e_update.tar.gz'' into the ''hlds_l'' folder. Let the old files be overwritten (it is an update)   * Unpack ''hlds_l_3111e_update.tar.gz'' into the ''hlds_l'' folder. Let the old files be overwritten (it is an update)
   * run ''perl nowon2.pl hlds_l''   * run ''perl nowon2.pl hlds_l''
 +  * If you are working on a 64 bit version of Linux, you might need to install the 32 bit version of the libc6 package (e.g. for Debian that is //libc6-i386//).
   * If there were no errors during patching, you are now finished with the installation.   * If there were no errors during patching, you are now finished with the installation.
 Now the //naked// server with the cstrike mod is installed and can be tested: Now the //naked// server with the cstrike mod is installed and can be tested:
Line 23: Line 24:
 Actually the basic server is not a [[:en:games:Counter-Strike_1_5|CS]] server, but a [[:en:games:Half-Life]] server, but with the appropriate mod it becomes one. Also the naked server is a bit boring. No server sounds, few administrative possibilities, there are no plugins to keep stats for example. But these mods require the installation of Metamod. Actually the basic server is not a [[:en:games:Counter-Strike_1_5|CS]] server, but a [[:en:games:Half-Life]] server, but with the appropriate mod it becomes one. Also the naked server is a bit boring. No server sounds, few administrative possibilities, there are no plugins to keep stats for example. But these mods require the installation of Metamod.
 ==== Metamod ==== ==== Metamod ====
-The first thing you need is the Metamod. This can be found at http://www.metamod.org.+The first thing you need is the Metamod. This can be found at http://www.metamod.org or https://sourceforge.net/projects/metamod/files/Metamod%20Binaries/ [[https://sourceforge.net/projects/metamod/files/Metamod%20Binaries/1.18/metamod-1.18-linux.tar.gz/download?use_mirror=kumisystems&download=|1.18]]
   - Create the folder ''addons'' (i.e. ''cstrike/addons'')   - Create the folder ''addons'' (i.e. ''cstrike/addons'')
-  - Inside this folder create the folder ''metamod'' with the Metamod in it. Like this: ''cstrike/addons/metamod''+  - Inside this folder create the folder ''metamod'' with the Metamod in it. Like this: ''cstrike/addons/metamod/dlls''
-  - Then open the ''liblist.gam'' in ''cstrike'' and delete the entry (or comment it out with '';''): ''gamedll_linux "dlls/cs_i386.so"'' and write instead: ''gamedll_linux <nowiki>"addons/metamod/dlls/metamod.so"</nowiki>'' and save. +  - Place the just obtained Metamod library file (//metamod_i386.so//) inside it
-That should run the Metamod. Start briefly to test it. The CS server should already name it.+  - Then open the ''liblist.gam'' in ''cstrike'' and delete the entry (or comment it out with '';''): //gamedll_linux <nowiki>"dlls/cs_i386.so"</nowiki>// and write instead: ''gamedll_linux <nowiki>"addons/metamod/dlls/metamod.so"</nowiki>'' and save. 
 +That should run the Metamod. Start it briefly to test it. The CS server should already name it in a similar fashion as this: 
 +<code> 
 +   Metamod version 1.18  Copyright (c) 2001-2005 Will Day <willday@metamod.org> 
 +   Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'
 +   This is free software, and you are welcome to redistribute it 
 +   under certain conditions; type `meta gpl' for details. 
 +</code>
 ==== AMXmodX ==== ==== AMXmodX ====
-Unpack ''amxmodx-1.60-base.tar.gz'' and ''amxmodx-1.60-cstrike.tar.gz'' to ''cstrike/addons/''Then you only have to add the following to ''cstrike/addons/metamod/plugins.ini'': ''linux addons/amxmodx/dlls/amxmodx_mm_i386.so''. Restart the server completely and the AMXmodX will run.+This is an actual mod, using MetaMod. You can get it here: https://sourceforge.net/projects/amxmodx/files/ or here: https://www.amxmodx.org/downloads.php. It comes in two parts, the base package and the additional package for the game mod you intend to use (in our case: //cstrike//). 
 + 
 +  * Unpack //amxmodx-1.60-base.tar.gz// to //cstrike/addons<nowiki>/</nowiki>// 
 +  * Unpack //amxmodx-1.60-cstrike.tar.gz// to //cstrike/addons<nowiki>/</nowiki>//. 
 +  * Add the following to //cstrike/addons/metamod/plugins.ini//: ''linux addons/amxmodx/dlls/amxmodx_mm_i386.so''. Restart the server completely and the AMXmodX will run.
 ===== WAN Patch ===== ===== WAN Patch =====
 The server installed in this way is a pure LAN server. This means that the server reacts to connections that do not come from an IP in the local network only with a message that it only allows LAN connections. This can be avoided by patching it. You can either patch it yourself, or use the prepared file. The server installed in this way is a pure LAN server. This means that the server reacts to connections that do not come from an IP in the local network only with a message that it only allows LAN connections. This can be avoided by patching it. You can either patch it yourself, or use the prepared file.
Line 65: Line 77:
   * [[http://www.amxmodx.org/compiler.php|for further search]]   * [[http://www.amxmodx.org/compiler.php|for further search]]
 ===== Sources ===== ===== Sources =====
-http://v5.steamlessproject.nl/index.php?page=stepbystepserver#linux +  * https://v5.steamlessproject.nl/index.php?page=stepbystepserver#linux
 [[..:games:counter-strike_1_5|Back to CS 1.5]] [[..:games:counter-strike_1_5|Back to CS 1.5]]
en/troubleshooting/setting_up_hlds.1660479806.txt.gz · Last modified: 2022-08-14-14-23 by 7saturn

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki