Both sides previous revisionPrevious revisionNext revision | Previous revision |
en:troubleshooting:setting_up_hlds [2022-08-14-13-51] – [AMXmodX] 7saturn | en:troubleshooting:setting_up_hlds [2022-08-14-17-01] (current) – [Metamod] 7saturn |
---|
- //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]]) | - //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'' |
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 or https://sourceforge.net/projects/metamod/files/Metamod%20Binaries/. | 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 <nowiki>"dlls/cs_i386.so"</nowiki>'' 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 ==== |
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. | 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'' 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. | * 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. |