←
Installing Metamod-P 1.21 and AMX Mod X 1.8.3 on Counter-Strike 1.6
Download the needed files from the original websites:
Metamod-P
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_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/
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.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. mkdir -p ~/cs16/cstrike/sounds/fvox
32. cd ~/cs16/cstrike/sounds/fvox/
33. wget https://zeus.geforce.nl/~mb/files/cstrike/sound/fvox/flatline.wav
34. chmod 775 flatline.wav
35. cd ~/cs16/cstrike/addons
36. chmod 755 amxmodx/ metamod/
37. cd metamod
38. vi plugins.ini
39. insert the line:
linux addons/amxmodx/dlls/amxmodx_mm_i386.so
40. cd ../amxmodx/configs/
41. cp maps.ini maps.bak
42. vi maps.ini (edit to your favourite maps)
43. mv amxx.cfg amxx.bak
44. 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
45. chmod 755 amxx.cfg
46. mv users.ini users.bak
47. 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
48. chmod 755 users.ini
49. mv stats.ini stats.bak
50. 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
51. chmod 755 stats.ini
52. mv plugins.ini plugins.bak
53. 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
54. chmod 755 plugins.ini
55. cd ~/cs16/valve/
56. mkdir SAVE
57. chmod 775 SAVE/
58. cd ~/cs16
59. ./hlds_run -game cstrike +ip 192.168.1.203 +port 27015 -pingboost 1 +sys_ticrate 1000 +fps_max 1000 +fps_modem 1000 +map de_dust2 +maxplayers 24
- You can leave out '+ip 192.168.1.203 +port 27015' when using default or change them to your needs
60. 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.
61. 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.203: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
62. CTRL a + d (detached)
63. You now have a fully functional Counter-Strike 1.6 server with Metamod-P and AMX Mod X. Game on!
→