PDA

View Full Version : AMXX Not Loading Modules or Plugins [SOLVED]


scrow51
04-21-2005, 16:36
Hello,
I'm hoping some server admin veterans could look over my problem here.

I have been trying to get a fresh install of HLDS Linux, Natural-Selection, Metamod, and Amxmodx. I've gotten everything installed and running properly except for Amxmodx. I have tried version 1.01 of Amxmodx with no luck, the following example outputs are of version 1.00 with the same problems. Thank you for any assistance! :)

This is what my server looks like when it runs;
Auto detecting CPU
Using Pentium II Optimised binary.
Enabling debug mode
Auto-restarting the server on crash
Updating server using Steam.
Checking bootstrapper version ...
Updating Installation
Checking/Installing 'Linux Server Engine' version 16

Checking/Installing 'Half-Life Base Content' version 7

HLDS installation up to date

Console initialized.
scandir failed:/home/pstraw/hlds_l/./platform/SAVE
Protocol version 47
Exe version 1.1.2.0/Stdio (valve)
Exe build: 02:38:31 Jul 7 2004 (2738)
STEAM Auth Server
couldn't exec language.cfg
Server logging data to file logs/L0422017.log
L 04/22/2005 - 15:14:02: Log file started (file "logs/L0422017.log") (game "ns") (version "47/1.1.2.0/Stdio/2738")
Server IP address 209.242.60.187:27030

Metamod version 1.17.4 Copyright (c) 2001-2004 Will Day <[email protected]>
Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `meta gpl' for details.

L 04/22/2005 - 15:14:02: [META] Metamod v1.17.4 2005/02/20
L 04/22/2005 - 15:14:02: [META] by Will Day <[email protected]>
L 04/22/2005 - 15:14:02: [META] http://www.metamod.org/
L 04/22/2005 - 15:14:02: [META] compiled: Feb 19 2005, 20:55:54 +0100 (optimized)
L 04/22/2005 - 15:14:02: [META] Recognized game 'ns'; using dllfile 'ns_i386.so'
L 04/22/2005 - 15:14:02: [META] Game DLL for 'Natural Selection' loaded successfully
L 04/22/2005 - 15:14:02: [META] ini: Begin reading plugins list: /home/pstraw/hlds_l/ns/addons/metamod/plugins.ini
L 04/22/2005 - 15:14:02: [META] ini: Read plugin config for: <amxmodx_mm_i386.so>
L 04/22/2005 - 15:14:02: [META] ini: Finished reading plugins list: /home/pstraw/hlds_l/ns/addons/metamod/plugins.ini; Found 1 plugins to load
L 04/22/2005 - 15:14:02: [META] dll: Loading plugins...

AMX Mod X version 1.00 Copyright (c) 2004 AMX Mod X Development Team
AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
This is free software and you are welcome to redistribute it under
certain conditions; type 'amxx gpl' for details.

L 04/22/2005 - 15:14:02: [FUN] dev: called: GiveFnptrsToDll
L 04/22/2005 - 15:14:02: [ENGINE] dev: called: GiveFnptrsToDll
L 04/22/2005 - 15:14:02: [FAKEMETA] dev: called: GiveFnptrsToDll
L 04/22/2005 - 15:14:02: [NS] dev: called: GiveFnptrsToDll
L 04/22/2005 - 15:14:02: [META] dll: Loaded plugin 'AMX Mod X': AMX Mod X v1.00 Nov 15 2004, AMX Mod X Dev Team
L 04/22/2005 - 15:14:02: [META] dll: Finished loading 1 plugins
scandir failed:/home/pstraw/hlds_l/./platform/SAVE
L 04/22/2005 - 15:14:02: Log file closed
Server logging data to file logs/L0422018.log
L 04/22/2005 - 15:14:02: Log file started (file "logs/L0422018.log") (game "ns") (version "47/1.1.2.0/Stdio/2738")

As you can see Metamod is loading, Amxmodx is loading, it "appears" that the [FUN], [ENGINE], [FAKEMETA], and [NS] modules are loading, but when I run amxx modules and amxx plugins it shows nothing. Shouldn't this show those modules loaded?
meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.00 ini ANY ANY
1 plugins, 1 running

amxx modules
Currently loaded modules:
name version author status
0 modules, 0 correct

amxx plugins
Currently loaded plugins:
name version author file status
0 plugins, 0 running

Here is my addons/amxmodx/configs/modules.ini file;
fun_amxx_i386.so
engine_amxx_i386.so
fakemeta_amxx_i386.so
ns_amxx_i386.so

Here is my addons/amxmodx/configs/plugins.ini file;
; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management

; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)

; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
scrollmsg.amxx ; displays a scrolling message
imessage.amxx ; displays information messages
adminvote.amxx ; vote commands

; Map related
nextmap.amxx ; displays next map in mapcycle
mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map

; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins

; NS Specific plugins
idlekicker.amxx ; kicks idle players
nscommands.amxx ; extra commands for Natural-Selection
;unstuck.amxx ; Free stuck players (engine & ns modules required!)

; Custom - Add 3rd party plugins here

Here is my addons/amxmodx/configs/core.ini file;
; Configuration file for AMX Mod X
amxx_logdir addons/amxmodx/logs
amxx_configsdir addons/amxmodx/configs
amxx_datadir addons/amxmodx/data
amxx_modules addons/amxmodx/configs/modules.ini
amxx_plugins addons/amxmodx/configs/plugins.ini
amxx_pluginsdir addons/amxmodx/plugins
amxx_modulesdir addons/amxmodx/modules
amxx_vault addons/amxmodx/data/vault.ini

; Logging mode
; 0 - no logging
; 1 - one logfile / day
; 2 - one logfile / map
; 3 - HL Logs
amxx_logging 1

One thing I noticed strange about the core.ini file is that the addons/amxmodx/data/vault.ini file is not included with amxmodx-1.00-tar.gz or amxmodx-1.01.tar.gz. Neither are the files, addons/amxmodx/data/dictionary.cache or addons/amxmodx/data/languages.dat.

Here is my liblist.gam file;
game "Natural Selection"
url_info "www.natural-selection.org"
url_dl "http://www.natural-selection.org/"
version "v3.0"
size "165000000"
svonly "0"
secure "0"
cldll "cl_dlls\client.dll"
hlversion "1110"
type "multiplayer_only"
nomodels "1"
nohimodel "1"
mpentity "info_mapinfo"

// gamedll "dlls\ns.dll"
gamedll_linux "dlls/ns_i386.so"
gamedll_linux "addons/metamod/dlls/metamod_i386.so"

Here is my addons/metamod/plugins.ini file;
linux addons/amxmodx/dlls/amxmodx_mm_i386.so

This is the command I use to start my server;
cd /home/pstraw/hlds_l && screen -A -m -d -S ns ./hlds_run -game ns +ip x.x.x.x -port 27030 +maxplayers 12 +map co_core -autoupdate -debug -nomaster +log on -pingboost 3

Here is a list of the files I've used to install;
hlds_l_1120_full.tgz
ns_dedicated_server_v3.zip
ns_dedicated_server_patch_v302.zip
metamod-1.17.4-linux.tar.gz
amxmodx-1.01.tar.gz
amxmodx-ns-1.01.tar.gz

Thanks again for any help.

Proach
04-21-2005, 16:46
the vault.ini file will be created when playing

adn command for plugins and modules is
amx_modules
amx_plugins

scrow51
04-21-2005, 16:54
Correct me if I'm wrong, but the commands amx_plugins and amx_modules only works from the client, not the server console?

I don't think I can run those commands because amx is not loading any plugins. Specifically the admincmd.amxx plugin needs to be loaded in order to issue those commands?

f1del1ty.oXi
04-21-2005, 18:27
and in any case, it's amxx, not amx. amxx_modules, or amxx modules, and amxx plugins or amxx_plugins.

What I would try is to put custom plugins in plugins.ini for AMXX, restart the server, and make sure it's a plugin you can visually smoehow see working. Go into your server and check if it works.

If so, then the outputting of amxx_modules is not working, and someone should look into it. If not, then you've got a problem.

Does amx_help yeild anything? how about giving yourself admin?

Other than that good luck with this, this is very weird. And thanks for putting alot of effort into your post, always helps to hav alot of information!

scrow51
04-21-2005, 20:24
I discovered my problem. In my liblist.game file I had;
game "Natural Selection"
url_info "www.natural-selection.org"
url_dl "http://www.natural-selection.org/"
version "v3.0"
size "165000000"
svonly "0"
secure "0"
cldll "cl_dlls\client.dll"
hlversion "1110"
type "multiplayer_only"
nomodels "1"
nohimodel "1"
mpentity "info_mapinfo"

// gamedll "dlls\ns.dll"
gamedll_linux "dlls/ns_i386.so"
gamedll_linux "addons/metamod/dlls/metamod_i386.so"

I needed to comment out the line;
// gamedll_linux "dlls/ns_i386.so"

Everything works now.

f1del1ty.oXi
04-21-2005, 21:25
I was curious about that myself, but when I looked in your console and saw that metamod read the ns.dll file and registered it fine, I took it back.

Glad it's working.

Proach
04-22-2005, 05:53
and in any case, it's amxx, not amx. amxx_modules, or amxx modules, and amxx plugins or amxx_plugins


very strange that amx_modules is working for me then..
anyway Im glad your prob is solved