Amx Mod Installation

SpiffyJrSpiffyJr Join Date: 2002-12-06 Member: 10518Members
<div class="IPBDescription">AMX > Adminmod ;)</div> I just replyed to someone and figured this was a good post to have out there in general for those people who just can't seem to get AMX mod up and running.

Well, there is a readme.txt but I'll give you the rundown.

1.) Download the newest version of metamod from <a href='http://www.metamod.org' target='_blank'>http://www.metamod.org</a>. Make the following directory structure inside your mod folder.

<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
$moddir/addons
$moddir/addons/metamod
$moddir/addons/metamod/dlls

<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
and put the binary you just downloaded in addons/metamod/dlls.

2.) Create the files $moddir/addons/metamod/plugins.ini (will hold all your metamod plugins) and $moddir/addons/metamod/exec.cfg (will hold some cvars if you need them).

3.) Edit your ns/liblist.gam file making the following changes:

<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
gamedll "dlls\mp.dll"                               --> gamedll "addons/metamod/dlls/metamod.dll"
gamedll_linux "dlls/ns_i386.so"              --> gamedll_linux "addons/metamod/dlls/metamod_i386.so"

<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
installation of metamod is now complete.

4.) Now time to install amx. Edit $moddir/addons/metamod/plugins.ini and insert

<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
; AMX Mod
win32 addons\amx\dlls\amx_mm.dll
linux addons/amx/dlls/amx_mm_i386.so
; More script functions for AMX Mod
win32 addons\amx\dlls\fun_ms.dll
linux addons/amx/dlls/fun_ms_i386.so

<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
5.) Edit $moddir/addons/amx/admin.cfg to your liking, boot up the server and type meta list. You should see something similar to the following.

<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
meta list
Currently loaded plugins:
     description      stat pend  file              vers      src  load  unlod
[ 1] WebMod           RUN   -    w_mm_i386.so      v0.46     ini  Start Never
[ 2] NS StripEnt      RUN   -    stripent_mm.so    v1.00.00  ini  Chlvl Chlvl
[ 3] Unstuck Pro      RUN   -    unstuck_mm.so     v1.00     ini  Pause Pause
[ 4] AMX              RUN   -    amx_mm_i386.so    v0.9.2    ini  Start Start
[ 5] FUN              RUN   -    fun_ms_i386.so    v0.9.2    ini  Start Start
[ 6] AMX Log Daemon   RUN   -    logd_ms_i386.so   v1.00.5   ini  ANY   Pause
6 plugins, 6 running

<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
pay special attention to the AMX, and FUN listings. If they show as listed then you've successfully installed amx and metamod. If they have fail anywhere, reread these instructions and try again.

<b>* NOTE:</b> If you get any errors pertaining to

<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->LoadLibrary failed on /blah/hlds_l/ns/dlls/ns_i386.so: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
Host_Error: Couldn't get DLL API from /blah/hlds_l/ns/dlls/ns_i386.so!
FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from /blah/hlds_l/ns/dlls/ns_i386.so!

<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
then try and find compatible libraries for your system. For gentoo simply do an emerge lib-compat to get the packages and for other flavors of linux you can try <a href='http://at.rpmfind.net/opsys/linux/RPM/libstdc++-libc6.1-1.so.2.html' target='_blank'>THIS PAGE</a>. Once you download the package simply do a rpm -Uvh *filename* to install the packages. That should get you up and running.

6.) Finally, do an amx list and get a listing of plugins you have running. If you see something similar you have successfully installed AMX Mod. Congrats <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->

<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
amx list
Currently loaded plugins:
     name               version  author             file             status
[ 1] Admin Base         0.9.2    default            admin.amx        running  
[ 2] Admins from MySQL  0.6      dJeyL              admin_mysql.amx  running  
[ 3] AFK                0.8      Tcquest78          afk.amx          running  
[ 4] MySQL Ban Managem  0.45b    JustinHoMi         mysql_ban.amx    running  
[ 5] Admin Commands     0.9.2    default            admincmd.amx     running  
[ 6] Admin Help         0.9.2    tcquest78          adminhelp.amx    running  
[ 7] Admin Menu         0.9.2    default            adminmenu.amx    running  
[ 8] Slots Reservation  0.9.2    default            adminslots.amx   running  
[ 9] Admin Chat         0.9.2    default            adminchat.amx    running  
[10] Admin Votes        0.9.2    default            adminvote.amx    running  
[11] Anti Flood         0.8      default            antiflood.amx    running  
[12] Admin Bury         0.9.3    f117bomb           bury.amx         running  
[13] AMX Contact        0.3a     Phreak             contact.amx      running  
[14] Client Exec        0.7      nobody             exec.amx         running  
[15] High Ping Kicker   0.8      [SE]ErASor         highping.amx     running  
[16] NextMap            0.9.2    default            nextmap.amx      running  
[17] TimeLeft           0.9.2    default            timeleft.amx     running  
[18] Nextmap chooser    0.9.2    default            mapchooser.amx   running  
[19] Info. Messages     0.9.2    default            imessage.amx     running  
[20] Welcome Message    0.8      default            welcomemsg.amx   running  
[21] Pause Plugins      0.8      default            ppause.amx       running  
[22] NS Team            0.8      Tcquest78          ns_team.amx      running  
[23] NS Tsay            0.8      Tcquest78          ns_tsay.amx      running  
[24] HLstats skill      0.81     JustinHoMi         skill.amx        running  
[25] Speech             1.1      Toverand           speak.amx        running  
25 plugins, 25 running

<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

Hope this helped.

Comments

  • TweedleTweedle Join Date: 2002-11-07 Member: 7581Members
    (as per other thread) ..

    REQ: info on using menus for administration

    <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
  • SpiffyJrSpiffyJr Join Date: 2002-12-06 Member: 10518Members
    The main thing to remember when using menus for Natural-Selection is that keys 6-10 are not bound automatically which, you guessed it, are essential to menus. Edit your config.cfg or type the following commands in console.

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    bind "6" "slot6"
    bind "7" "slot7"
    bind "8" "slot8"
    bind "9" "slot9"
    bind "0" "slot10"

    echo "SpiffyJr is 1337" (Really, you can if you want)
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
    <b>*NOTE:</b> Don't forget to setup your admin access with "u", otherwise you won't have priveleges to access the menus.

    Now that we got that over with, startup a game and issue command amx_menu, that should give you a little popup of the menus. As for a specific Natural-Selection driven menu, there might be one out there you just have to look. But all the main stuff (kicks bans etc) are already in there.
  • EpochEpoch Join Date: 2002-10-10 Member: 1474Members
    I am going to be trying AMX Mod as soon as my server is running again. From what I hear it's the most customizable and best alternative to Admin Mod.
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    i use it but have yet to finish customizing it...i got it working and i strongly encourage AMX ppl to DL tcl's ns.amx.....its very too and lets tsays to work.
  • TweedleTweedle Join Date: 2002-11-07 Member: 7581Members
    <!--QuoteBegin--cracker jackmac+Feb 14 2003, 02:33 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (cracker jackmac @ Feb 14 2003, 02:33 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> i use it but have yet to finish customizing it...i got it working and i strongly encourage AMX ppl to DL tcl's ns.amx.....its very too and lets tsays to work. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    I googled that page for natural selection and only found the unstuck plugin. I searched the forum for ns.amx and got nothing.

    Do you have a url please? <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
  • backburnbackburn Join Date: 2003-01-05 Member: 11855Members
  • SpiffyJrSpiffyJr Join Date: 2002-12-06 Member: 10518Members
    Yea, if you want a pidly. Check out the rest of TCQuests plugins on my website... <a href='http://www.team-ai.com' target='_blank'>http://www.team-ai.com</a> under downloads. There's some great ones in there with info on setting them up as well.

    Apparently my webhost went down. I'll get them back up as soon as the server gets back online *argh*.
  • Major_ChromeMajor_Chrome Join Date: 2002-12-18 Member: 11096Members, NS1 Playtester, Contributor, Constellation, Reinforced - Shadow
    That looks just like the readme...
  • Tcquest78Tcquest78 Join Date: 2002-12-17 Member: 10949Members
    And people don't read readmes. If people read readmes, there would be 2 posts in AMX's Troubleshooting forum. And those 2 posts would be plugin requests that should go in the requests forums.

    Seeing as, according to The Gord(www.actsofgord.com -- good way to waste a few hours), people buy games labled 'I Suck! Buy Me!', maybe they should be named dontreadme's?
  • f3Rl3SSf3Rl3SS Join Date: 2003-01-28 Member: 12878Members
    <!--QuoteBegin--Tcquest78+Feb 15 2003, 06:45 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Tcquest78 @ Feb 15 2003, 06:45 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> And people don't read readmes. If people read readmes, there would be 2 posts in AMX's Troubleshooting forum. And those 2 posts would be plugin requests that should go in the requests forums.

    Seeing as, according to The Gord(www.actsofgord.com -- good way to waste a few hours), people buy games labled 'I Suck! Buy Me!', maybe they should be named dontreadme's? <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    *lol*
    yapp ... typical RTFM problem.
  • SpiffyJrSpiffyJr Join Date: 2002-12-06 Member: 10518Members
    Nonetheless, still a component for a stickied post? There's plenty of people out there that don't RTFM.
  • SpiffyJrSpiffyJr Join Date: 2002-12-06 Member: 10518Members
  • j0ej0e Join Date: 2002-11-01 Member: 2840Banned
    adminmod > amx mod

    you = lame
  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
    wow.. looks like I converted a couple ppl.. as far as I know... I was the only one running amx for NS for a long time .. ns.amx rocks .. and TCquest78 is the man..

    [shameless plug]

    ns.amx was developed using my server as the test environment.. in fact I think all of the NS- amx plugins that TC has written were first beta tested on my server.. and that's why TC has a r-slot on my server. I also highly recommend the vote.amx for it's menu driven map vote, as well has his custom motd plugin that to my knowledge is the only amx motd plugin that lets you read from a txt file AND use custom vars. A must have for amx + NS is the anti-r_drawviewmodel plugin that was converted from the plugin that GoleX tried to get working with adminmod but was stymied by adminmod itself. If you need any of amx plugins.. let me know .. if TC can't get them to you .. I will send them along.

    Come visit my server to check out the latest plugins and for good game play. Did I mention I can host your NS/DOD/CS/WHATEVER server for you? Just PM me.

    [/shameless plug]

    Check the Sig!
Sign In or Register to comment.