Installing Metamod-P 1.21, AMX Mod X 1.8.3 and StatsMe 2.8.3 on Counter-Strike 1.6

Download the needed files from the original websites:

Metamod-P
AMX Mod X
StatsMe

In this how-to I use direct download links to my own server, but I can imagine one does not want to use binaries from strangers on the net 😉

In that case I suggest you use this website to compile your source files:

AMX Mod X online compiler

If the Counter-Strike process is running then first kill it. When the Counter-Strike process isn't running then proceed to step 5.

1.  SSH to the server
2.  screen -r
3.  quit
4.  CTRL + c

5.  cd ~/cs16/
6.  mkdir -p cstrike/addons/metamod/dlls
7.  cd cstrike/addons/metamod/dlls
8.  wget https://zeus.geforce.nl/~mb/files/games/metamod_i686_linux_win32-1.21p38.tar.xz
9.  tar -xf metamod_i686_linux_win32-1.21p38.tar.xz
10. rm metamod_i686_linux_win32-1.21p38.tar.xz metamod.dll
11. cd ~/cs16/cstrike

12. vi liblist.gam
13. replace the lines:

	gamedll "dlls/mp.dll"
	gamedll_linux "dlls/cs.so"
	gamedll_osx "dlls/cs.dylib"

to:

	gamedll_linux "addons/metamod/dlls/metamod_i386.so"

14. cd sound/misc
15. wget https://zeus.geforce.nl/~mb/files/games/amxmodx_sounds.zip
16. unzip amxmodx_sounds.zip
17. chmod 755 *
18. rm amxmodx_sounds.zip
19. cd ~/cs16/cstrike/maps/

20. wget https://zeus.geforce.nl/~mb/files/games/res_files.zip
21. unzip res_files.zip
22. chmod 755 *.res
23. rm res_files.zip
24. cd ~/cs16/cstrike/

25. wget https://zeus.geforce.nl/~mb/files/games/amxmodx-1.8.3-dev-git5201-base-linux.tar.gz
26. tar -zxvf amxmodx-1.8.3-dev-git5201-base-linux.tar.gz
27. rm amxmodx-1.8.3-dev-git5201-base-linux.tar.gz

28. wget https://zeus.geforce.nl/~mb/files/games/amxmodx-1.8.3-dev-git5201-cstrike-linux.tar.gz
29. tar -zxvf amxmodx-1.8.3-dev-git5201-cstrike-linux.tar.gz
30. rm amxmodx-1.8.3-dev-git5201-cstrike-linux.tar.gz

31. wget https://zeus.geforce.nl/~mb/files/games/statsme-2.8.3-cstrike-en.zip
32. unzip statsme-2.8.3-cstrike-en.zip
33. rm statsme-2.8.3-cstrike-en.zip

34. mkdir -p /cs16/cstrike/sounds/fvox
35. cd /cs16/cstrike/sounds/fvox/
36. wget https://zeus.geforce.nl/~mb/files/cstrike/sound/fvox/flatline.wav
37. chmod 755 flatline.wav

38. cd ~/cs16/cstrike/addons
38. chmod 755 amxmodx/ metamod/ statsme/
40. cd metamod
41. vi plugins.ini
42. add the lines:

	linux addons/statsme/dlls/statsme_mm_i386.so
	linux addons/amxmodx/dlls/amxmodx_mm_i386.so

43. cd ../amxmodx/configs/
44. cp maps.ini maps.bak
45. vi maps.ini (edit to your favourite maps)
46. mv amxx.cfg amxx.bak
47. wget https://zeus.geforce.nl/~mb/files/games/amxx.cfg

-	Don't forget to edit the newly downloaded amxx.cfg to your own needs and settings

48. chmod 755 amxx.cfg
49. mv users.ini users.bak
50. wget https://zeus.geforce.nl/~mb/files/games/users.ini

-       Don't forget to edit the newly downloaded users.ini to your own needs and settings

51. chmod 755 users.ini
52. mv stats.ini stats.bak
53. wget https://zeus.geforce.nl/~mb/files/games/stats2.ini
54. mv stats2.ini stats.ini

-       Don't forget to edit the newly downloaded stats.ini to your own needs and settings

55. chmod 755 stats.ini
56. mv plugins.ini plugins.bak
57. wget https://zeus.geforce.nl/~mb/files/games/plugins.ini

-       Don't forget to edit the newly downloaded plugins.ini to your own needs and settings

58. chmod 755 plugins.ini
59. cd ~/cs16/valve/
60. mkdir SAVE
61. chmod 775 SAVE/
62. cd ~/cs16
63. ./hlds_run -game cstrike +ip 127.0.1.1 +port 27015 -pingboost 1 +sys_ticrate 1000 +fps_max 1000 +fps_modem 1000 +map de_dust2 +maxplayers 24

	- You can leave out '+ip 127.0.1.1 +port 27015' when using default or change them to your needs

64. After a few seconds and some stuff in your console you should see the following:

	Connection to Steam servers successful.
	VAC secure mode is activated.

65. The server is running, you can check this bij typing 'status', you should see the following:

        hostname:  My Counter-Strike 1.6 Server (or whatever you named it in server.cfg)
        version :  48/1.1.2.7/Stdio 8684 secure  (10)
        tcp/ip  :  127.0.1.1:27015
        map     :  de_dust2 at: 0 x, 0 y, 0 z
        players :  0 active (24 max)

        #      name userid uniqueid frag time ping loss adr
        0 users

66. CTRL a + d (detached)
67. You now have a fully functional Counter-Strike 1.6 server with Metamod-P, AMX Mod X and StatsMe. Game on!