| Autor |
Mesaj |
aB1sonescu
Head Admin


Data inscrierii: 25/Iun/2007 Mesaje: 190 Localitate: Langa tine |
|
Installing AMXModX Manually |
|
Installing AMXModX Manually
Introduction
There are a few ways you can install AMXModX. If you have shell or direct access to your server, you can do all pf the operations directly on the server itself. If you only have FTP access, it's best to install AMXModX on a "dummy" folder on your hard drive, do all configuration there, and then upload the files to your server. Otherwise, you can upload the files as you're installing and then use FTP to change things along the way.
TWe'll refer to your "mod folder" - this is the folder your mod is stored in, like "cstrike" (for Counter-Strike), or "dod" (for Day of Defeat). If you're installing on a listen server, it will be in \Program Files\Steam\SteamApps\<your steam login>\<Valve game or Half-Life>\<mod folder>. If you're using a dedicated server, it will be HLServer\<mod folder>. On linux this is hlds_l/<mod folder>. If you are using remote/FTP access, you may be restricted to your mod folder or hlds_l already, and don't need to find it. For this documentation, <mod folder> will refer to the mod folder mentioned above. For Linux users, binaries will not end in ".dll", they will usually end in "_i386.so" or "_amd64.so" for AMD64 machines.
Directory Structure
You should familiarize yourself with AMXModX's directory structure. The addons folder resides in your mod folder.
--addons - this is where Server addons go
|--metamod - this is where Metamod goes. Metamod is necessary to run AMXModX
|--dlls - this is where Metamod's binaries go
|--amxmodx - this is where AMXModX goes
|--dlls - amxmodx_mm.dll should go here
|--modules - Where modules are stored (_amxx.dll or _amxx_i386.so etc)
|--plugins - Where plugins are stored (.amx or .amxx)
|--scripting - Where example source code and the compiler/assembler are stored
|--include - Where include files for source code is stored
|--compiled - Where the compiler batch file stores .amxx output
|--doc - This documentation is kept here
|--data - Binary data, for example saved stats, language caches, and GeoIP information
|--lang - Dictionary text files for AMXModX ML features (multi lingual)
|--configs - Configuration files
|--logs - AMXModX log files
Installing Metamod
Because AMXModX is a Metamod plugin, you must first install Metamod. If you already have it installed, you may skip this section and jump to #Installing AMXModX.
Directory Structure
In your mod folder, confecționate a folder called "addons".
In <mod folder>\addons, create a folder called "metamod".
In <mod folder>\addons\metamod, create a folder called "dlls".
Upload Binaries
Go to the Metamod Website and download Metamod. You will want to get either the Windows DLL or the Linux SO (for either 32bit Linux or Linux on AMD64).
Extract the metamod file and upload or copy it to your server. It must be placed in <mod folder>\addons\metamod\dlls.
Configure
In your mod folder, find the "liblist.gam" file. Open the file with a text editor, such as notepad. If you're using FTP or a control panel, you will need to download the file first.
For Windows, find this line:
gamedll "dlls\mp.dll"
Replace it with this line:
gamedll "addons\metamod\dlls\metamod.dll"
For Linux, find this line:
gamedll_linux "dlls/mp_i386.so"
Replae it with this line:
gamedll_linux "addons/metamod/dlls/metamod_i386.so"
(Note: use metamod_amd64.so for Linux on AMD64!)
Save liblist.gam (and upload it over the old one if your server is remote).
Edit the file <mod folder>\addons\metamod\plugins.ini. If it does not exist, făcute it. This file is your list of Metamod plugins.
For Windows, add
win32 addons\amxmodx\dlls\amxmodx_mm.dll
For Linux (32bit) add:
linux addons/amxmodx/dlls/amxmodx_mm_i386.so
For Linux (AMD64) add:
linux addons/amxmodx/dlls/amxmodx_mm_amd64.so
Save (and upload) plugins.ini.
Installing AMXModX
Go to www.amxmodx.org and click "Downloads". Download the amxmodx-base package for either Windows, Linux, or AMD64.
Extract the base package to your mod folder. This will place AMXModX into <mod folder>\addons\amxmodx. If you're uploading over FTP, you should extract it to a dummy location first (like your desktop).
Go back to the AMXModX download site. If there is an addon pack for your mod available, and you want to use it, download the addon package corresponding to your mod. As of this writing, addon packs are available for Counter-Strike/Condition-Zero, Team Fortress Classic, Day of Defeat, The Specialists, Normal Selection, and Earth's Special Forces. Make sure you download the pack that corresponds to the server's operating system, either Windows, Linux, or Linux AMD64.
Extract the addon pack to the same place as before, it should simply add more files to your AMXModX installation.
If you're using FTP, upload the addons folder.
AMXModX should now be installed! You can type "meta list" in your server console to see if it was successful.
You can now move on to Configuring AMXModX. If you encountered problems, go to cstrike.ro forums.
_________________
 |
|
| 04 Aug 2007 03:41 am |
|
 |
|
|
Nu puteti crea un subiect nou in acest forum Nu puteti raspunde in subiectele acestui forum Nu puteti modifica mesajele proprii din acest forum Nu puteti sterge mesajele proprii din acest forum Nu puteti vota in chestionarele din acest forum
|
Powered by phpBB © 2001, 2005 phpBB Group Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro
|
|