Pagina de start a forumului x-heroes.MyForum.ro


x-heroes.MyForum.ro
Site cu tutoriale, server de CS si multe altele..
Raspunde la subiect
AMXMOD
black night
Moderator
Moderator

Data inscrierii: 08/Iun/2007
Mesaje: 268
Localitate: Pitesti
Raspunde cu citat (quote)
Step 1: Installing MetaMod
MetaMod is a replacement DLL for the game you run. This modified DLL replaces the stock version and allows for external plug-ins (such as AMX) to interface with the game. This step may be skipped if you already have MetaMod installed.

Version 1.17.1 is the current at the time this document was made. Also note that it's shipped within the AMX 0.9.9 package: if you plan to use this one, just go to step C.

A. Download MetaMod for the operating system you use: Windows | Linux


B.Make the following folders in your mod folder (ie. cstrike, tfc, etc.):

C:\HLServer (your path may vary)
└ mod (ie. cstrike, tfc, dod)
└ addons
└ metamod
└ dlls
C. Uncompress the file For windows: metamod.dll

For linux: metamod_i386.so, download and put it in the addons\metamod\dlls, the folder you just made.


For WON servers, find the file called liblist.gam in your mod folder (ie. cstrike) and open it up in a text editor. Find the lines:

gamedll "dlls\mp.dll"
gamedll_linux "dlls/cs_i386.so"
And change them to this:

;gamedll "dlls\mp.dll"
gamedll "addons\metamod\dlls\metamod.dll"
;gamedll_linux "dlls/cs_i386.so"
gamedll_linux "addons/metamod/dlls/metamod_i386.so"
(Note: A semi-colon ; was inserted at the beginning of the autentic lines. This prevents them from being used without deleting the original lines. Also you can have both lines listed above in the liblist.gam file, but both are not required. If you are a Windows user, then the Linux line is ignored and vice vera.)



Step 2: Installing AMX Mod

A. Download AMX and uncompress the file into your mod folder. You already have addons\metamod, and after uncompressing the AMX Mod file you downloaded, you will have addons\amx also. Here are all the folders you should have:

C:\HLServer
└ mod (ie. cstrike, tfc, dod)
└ addons
├ metamod
│ └ dlls
└ amx
├ config
├ dlls
├ examples
│ ├ conČ›ine
│ └ source
│ └ default
├ logs
├ modules
└ plugins
B. Now that AMX is where it needs to be, we need to tell MetaMod to run it. Go to your addons\metamod folder. If you just installed MetaMod you will need to create the plugins.ini file. For Windows users the best method is to right-click in the MetaMod folder, choose New then Text Document. Now name it plugins.ini.

You can also take the provided sample_plugins.ini that comes within the AMX package and rename it to plugins.ini.

Once you complete that or if the plugins.ini file is already there, open it in a text editor and add the following lines:

win32 addons\amx\dlls\amx_mm.dll
linux addons/amx/dlls/amx_mm_i586.so
Note: You can have both lines listed above in the plugins.ini file, but both are not required. If you are a Windows user, then the Linux line is ignored and vice versa.

You might also want to declare some AMX modules you want to use (only those whose name contains '_mm' -- other ones like MySQL do not need to be declared to MetaMod):

win32 addons\amx\modules\csstats_mm.dll
linux addons/amx/modules/csstats_mm_i586.so
C. Start up your server. At the server console, type meta list. You should see something like this:

Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX RUN - amx_mm.dll v0.9.9 ini ANY ANY
[ 2] CSStats RUN - csstats_mm.dll v0.9.9 cmd ANY ANY
[ 3] FUN RUN - fun_mm.dll v0.9.9 cmd ANY ANY
3 plugins, 3 running
If you do, then you have successfully installed AMX Mod! For the official instructions on how to install AMX, refer to the readme.txt file included with the download. Now you have AMX installed and running.



Black Night

_________________
Nu armele sunt periculoase ci gloantele
Vezi profilul utilizatoruluiTrimite mesaj privat
Bogdan
Forum Administrator
Forum Administrator

Data inscrierii: 06/Feb/2007
Mesaje: 160
Localitate: Pitesti
Raspunde cu citat (quote)
Ms Aveam Necesitate :-)
Vezi profilul utilizatoruluiTrimite mesaj privat
AMXMOD
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
Ora este GMT + 3 ore  
Pagina 1 din 1  

  
  
 Raspunde la subiect