*
How to add amx mod x to ur Server
« on: January 14, 2009, 04:51:10 pm »
a) Introduction

There are a few ways you can install AMX Mod X. If you have shell or direct access to your server, you can do all operations directly on the server itself. If you only have FTP access, it's best to install AMX Mod X 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.
Throughout the documentation we'll refer to your "mod folder" - this is the folder your mod is stored in, like "cstrike", or "dod", for example. If you're installing on a listen server, it will be somewhere 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.


b) Directory structure

You should familiarize yourself with the directory structure for AMX Mod X now.
  addons\ - this is where Server addons go
    metamod\ - this is where Metamod goes. Metamod is necessary to run AMX Mod X
      dlls\ - this is where Metamod's binaries go
    amxmodx\ - this is where AMX Mod X 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 AMX Mod X ML features (multi lingual)
      configs\ - Configuration files
      logs\ - AMX Mod X log files


c) Metamod

If you already have metamod installed, you may skip to step e.

In your mod folder, create a folder called "addons".

In <mod folder>\addons, create a folder called "metamod".

In <mod folder>\addons\metamod, create a folder called "dlls".
Go to www.metamod.org and download the appropriate version of Metamod (either Windows, Linux, or Linux AMD64).

Extract the metamod binary into <mod folder>\addons\metamod\dlls.

Edit the file <mod folder>\liblist.gam with a text-editor like Notepad.
For windows, find the gamedll line. It will look like this:
gamedll "dlls\mp.dll"
Replace it with:
gamedll "addons\metamod\dlls\metamod.dll"
For Linux, find the gamedll line. It will look like this:
gamedll_linux "dlls/mp_i386.so"
Replace it with:
gamedll_linux "addons/metamod/dlls/metamod_i386.so"
*NOTE: use metamod_amd64.so for AMD64 servers.

Edit the file <mod folder>\addons\metamod\plugins.ini. If it does not exist, create it.
If you are upgrading from AMX or AMX Mod X 0.1x, skip to step h.
Add a line to <mod folder>\addons\metamod\plugins.ini like so: Windows:
win32 addons\amxmodx\dlls\amxmodx_mm.dll
Linux:
linux addons/amxmodx/dlls/amxmodx_mm_i386.so
Linux AMD64:
linux addons/amxmodx/dlls/amxmodx_mm_amd64.so
If you're using AMX, change "amx\amx_" to "amxmodx\amxmodx_".
If you're using AMX Mod X 0.1x, change "amxx\amxx_" to "amxmodx\amxmodx_".


d) AMX Mod X

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 AMX Mod X into <mod folder>\addons\amxmodx.

Go back to the AMX Mod X download site. If there is one 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, and Natural Selection.

Make sure you download the pack that corresponds to the server's operating system, either Windows, Linux, or AMD64.

Extract the addons pack into your mod folder. This will merge the addon pack into your installation in <mod folder>\addons\amxmodx.

AMX Mod X should now be installed! You can load your server now to try it out (type "meta list" to see it loaded).
« Last Edit: January 14, 2009, 04:55:07 pm by Uguduwa »
*
Re: How to add amx mod x to ur Server
« Reply #1 on: January 14, 2009, 04:52:36 pm »
If u want a help post a comment
*
Re: How to add amx mod x to ur Server
« Reply #2 on: January 27, 2009, 11:39:34 am »
Uguduwa Ela ela...... Well done..... u r grate........
*
Re: How to add amx mod x to ur Server
« Reply #3 on: January 27, 2009, 11:42:09 am »
I want to Install That Server... can you please Help me to add this....
*
Re: How to add amx mod x to ur Server
« Reply #4 on: January 27, 2009, 03:27:27 pm »
binku, ugudu is u r bro rite? haha... so you could ask him straight from home, i mean directly! Without asking thru a thread?

Thanx for posting a thread binku as i even wantd to know, also thank u uguduwa for the help!

:D

Faithfully,
Pa$aN aka [email protected] Kn!GhT
No More Counter Strike :(
*

    Offline CFG

  • bLd_mNy
  • ****
  • 851
  • 6
  • Some TIme Good Game.. ! Some TIme Bad Game..!!!
    • View Profile
    • FB
Re: How to add amx mod x to ur Server
« Reply #5 on: January 27, 2009, 05:06:45 pm »
:P:P:P
*
Re: How to add amx mod x to ur Server
« Reply #6 on: January 27, 2009, 05:18:46 pm »
Ugudu... thank you for the Help...... Lokka How can i Add Admin......... with Password........
*
Re: How to add amx mod x to ur Server
« Reply #7 on: January 27, 2009, 08:19:13 pm »
Ugudu... thank you for the Help...... Lokka How can i Add Admin......... with Password........

First, open the amxmodx/configs/users.ini file with wordpad or any other text editor.
Then go to the bottom and add the admin.
An example of a typical admin entry is:
"Binkunda" "password" "abcdefghijklmnopqrstu" "a"

Binkunda is the username
password is the password.
"abcdefghijklmnopqrstu" is the user rights, like kick and ban, immunity and all the other admin rights.
"a" - disconnects players with wrong password.

How to join the server with admin rights.

go to console before connecting to the server and type the following lines.

I'll take the above admin as an example.

type:
name Binkunda
setinfo_pw "password"

Thats it you are done, now join the game and start slapping hackers. (Y)
*
Re: How to add amx mod x to ur Server
« Reply #8 on: January 28, 2009, 06:21:18 pm »
Mafia killer u miss 1 point

add

setinfo _pw "ur password" under the // Default value: "_pw" in amxx.cfg file
*
Re: How to add amx mod x to ur Server
« Reply #9 on: January 28, 2009, 07:40:54 pm »
Which On is Correct...... Pls Tell me Correctly........
*

    Offline CFG

  • bLd_mNy
  • ****
  • 851
  • 6
  • Some TIme Good Game.. ! Some TIme Bad Game..!!!
    • View Profile
    • FB
Re: How to add amx mod x to ur Server
« Reply #10 on: January 28, 2009, 10:32:30 pm »
4.Configuring admins

In order to be in control of your server you have to configure the admin.
Open the HLDS\cstrike\addons\amxmodx\configs\users.ini with wordpad ( HLDS is the main directory of your server) . Scroll down the page and you`ll find a line looking like this :
“loopback” “” “abcdefghijklmnopqrstu" "de". You have to edit this line .If you want an ip admin replace “loopback” with the ip and the put the flag “d”, as you see in the image :

[Amx ModX admin example]
 



   

    If you want a nick admin replace “loopback” with the nick and the flag should be set to “e”.

Admin account levels and flags :
; Access flags:
; a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
; b - reservation (can join on reserved slots)
; c - amx_kick command
; d - amx_ban and amx_unban commands
; e - amx_slay and amx_slap commands
; f - amx_map command
; g - amx_cvar command (not all cvars will be available)
; h - amx_cfg command
; i - amx_chat and other chat commands
; j - amx_vote and other vote commands
; k - access to sv_password cvar (by amx_cvar command)
; l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
; m - custom level A (for additional plugins)
; n - custom level B
; o - custom level C
; p - custom level D
; q - custom level E
; r - custom level F
; s - custom level G
; t - custom level H
; u - menu access
; z - user (no admin)

 

Account flags:
; a - disconnect player on invalid password
; b - clan tag
; c - this is steamid/wonid
; d - this is ip
; e - password is not checked (only name/ip/steamid needed)


Admin account examples :
; Format of admin account:
; <name|ip|steamid> <password> <access flags> <account flags>

; Examples of admin accounts:
; "STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"
; "123.45.67.89" "" "abcdefghijklmnopqrstu" "de"
; "My Name" "my_password" "abcdefghijklmnopqrstu" "a"

Atention !You don`t have to set all the acces levels to every admin !
If you want to see the commands you have acces to, join the game and console type amx_help . The first 10 commands will show . Next, type amx_help 11 , amx_help 21 , etc..
Seting up the admin password

The line should look like this :
"Name" "password" "abcde….." "a" . As you see the account flag changed to “a” .Your admins will have to console type setinfo_pw password , before they connect to your server .

 
« Last Edit: January 28, 2009, 10:40:21 pm by ravidu »
*
Re: How to add amx mod x to ur Server
« Reply #11 on: January 29, 2009, 06:49:21 am »
Mafia killer u miss 1 point

add

setinfo _pw "ur password" under the // Default value: "_pw" in amxx.cfg file


I have never done this step. :P
It works fine for me without the step you have posted and I dont think it is neccesary.
*

    Offline AlwiS

  • Adrenaline Junkie
  • ****
  • 858
  • 0
  • Banned.
    • View Profile
    • Gamer.Lk
Re: How to add amx mod x to ur Server
« Reply #12 on: February 09, 2009, 09:14:01 am »
lol useless installing this if u hav 512 adsl .
just a waste of bandwith