Installing Metamod 1.20 and AMX Mod X 1.8.2 on Counter-Strike 1.6

Download the needed files from the original websites:

Metamod
AMX Mod X

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-1.20-linux.tar.gz
9.  tar -zxvf metamod-1.20-linux.tar.gz
10. rm metamod-1.20-linux.tar.gz
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/
15. wget https://zeus.geforce.nl/~mb/files/games/amxmodx_sounds_v2.zip
16. unzip amxmodx_sounds_v2.zip
17. chmod 775 misc/* djeyl/*
18. rm amxmodx_sounds_v2.zip
19. cd ../maps/

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

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

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

31. cd addons
32. chmod 755 amxmodx/ metamod/
33. cd metamod
34. vi plugins.ini
35. insert the line:
	
	linux addons/amxmodx/dlls/amxmodx_mm_i386.so

36. cd ../amxmodx/configs/
37. cp maps.ini maps.bak
38. vi maps.ini (edit to your favourite maps)
39. mv amxx.cfg amxx.bak
40. 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

41. chmod 755 amxx.cfg
42. mv users.ini users.bak
43. 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

44. chmod 755 users.ini
45. mv stats.ini stats.bak
46. wget https://zeus.geforce.nl/~mb/files/games/stats.ini

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

47. chmod 755 stats.ini
48. mv plugins.ini plugins.bak
49. 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

50. chmod 755 plugins.ini
51. cd ~/cs16/valve/
52. mkdir SAVE
53. chmod 775 SAVE/
54. cd ~/cs16
55. ./hlds_run -game cstrike +ip 192.168.1.191 +port 27015 -pingboost 1 +sys_ticrate 1000 +fps_max 1000 +fps_modem 1000 +maxplayers 24 +map de_cbble

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

56. 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.

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

        hostname:  My Counter-Strike 1.6 Server
        version :  48/1.1.2.7/Stdio 8684 secure  (10)
        tcp/ip  :  192.168.1.191:27015
        map     :  de_cbble at: 0 x, 0 y, 0 z
        players :  0 active (24 max)

        #      name userid uniqueid frag time ping loss adr
        0 users

58. CTRL a + d (detached)
59. You now have a fully functional Counter-Strike 1.6 server with Metamod and AMX Mod X. Game on!