View Single Post
Author Message
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 01-01-2007 , 16:28   [BUG] Loading AMX X modules
#1

If my modules.ini looks like default one (from cstrike addon pack):
Code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded   ;;
;;  as needed.  You do not need to enable them here ;;
;;  unless you have problems.                       ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

fun
;engine
;fakemeta
;geoip
;sockets
;regex
;nvault
cstrike
csx
what I can see in my logs while metamod is loading AMX X modules look so - (see meta errors at the bottom of the log):

Code:
L 01/01/2007 - 20:25:36: [META] compiled: Apr 17 2006, 19:11:42 +0200 (optimized)
L 01/01/2007 - 20:25:36: [META] engine: vacdll
L 01/01/2007 - 20:25:36: [META] Recognized game 'cstrike'; using dllfile 'mp.dll'
L 01/01/2007 - 20:25:36: [META] Game DLL for 'Counter-Strike' loaded successfully
L 01/01/2007 - 20:25:36: [META] ini: Begin reading plugins list: e:/games/steam/steamapps/[email protected]/counter-strike/cstrike/addons/metamod/plugins.ini
L 01/01/2007 - 20:25:36: [META] ini: Read plugin config for: <pmtools_mm.dll>
L 01/01/2007 - 20:25:36: [META] ini: Read plugin config for: <amxmodx_mm.dll>
L 01/01/2007 - 20:25:36: [META] ini: Read plugin config for: <podbot_mm.dll>
L 01/01/2007 - 20:25:36: [META] ini: Finished reading plugins list: e:/games/steam/steamapps/[email protected]/counter-strike/cstrike/addons/metamod/plugins.ini; Found 3 plugins to load
L 01/01/2007 - 20:25:36: [META] dll: Loading plugins...
L 01/01/2007 - 20:25:36: [PMTOOLS] PMTools: plugin attaching
L 01/01/2007 - 20:25:36: [META] dll: Loaded plugin 'PMTools': PMTools vApr 23 2006 Apr 23 2006, Pierre-Marie Baty <[email protected]>
L 01/01/2007 - 20:25:36: [FUN] dev: called: GiveFnptrsToDll
L 01/01/2007 - 20:25:36: [META] dll: Loaded plugin 'Fun': Fun v1.76 Dec 24 2006, AMX Mod X Dev Team
L 01/01/2007 - 20:25:36: [CSTRIKE] dev: called: GiveFnptrsToDll
L 01/01/2007 - 20:25:36: [META] dll: Loaded plugin 'CStrike': CStrike v1.76 Dec 24 2006, AMX Mod X Dev Team
L 01/01/2007 - 20:25:36: [CSX] dev: called: GiveFnptrsToDll
L 01/01/2007 - 20:25:36: [META] dll: Loaded plugin 'CSX': CSX v1.76c Dec 24 2006, AMX Mod X Dev Team
L 01/01/2007 - 20:25:36: [META] dll: Loaded plugin 'AMX Mod X': AMX Mod X v1.76c Dec 24 2006, AMX Mod X Dev Team
L 01/01/2007 - 20:25:36: [PODBOTMM] POD-Bot mm: plugin attaching
L 01/01/2007 - 20:25:36: Server cvar "pb_version" = "***PROTECTED***"
L 01/01/2007 - 20:25:36: [META] dll: Loaded plugin 'POD-Bot mm': POD-Bot mm v3.0B16f Dec 30 2006, Count Floyd & Bots United
L 01/01/2007 - 20:25:36: [META] ERROR: dll: Not loading plugin 'Fun'; already loaded (status=running)
L 01/01/2007 - 20:25:36: [META] ERROR: dll: Failed to load plugin 'fun_amxx.dll'
L 01/01/2007 - 20:25:36: [META] ERROR: dll: Not loading plugin 'CStrike'; already loaded (status=running)
L 01/01/2007 - 20:25:36: [META] ERROR: dll: Failed to load plugin 'cstrike_amxx.dll'
L 01/01/2007 - 20:25:36: [META] ERROR: dll: Not loading plugin 'CSX'; already loaded (status=running)
L 01/01/2007 - 20:25:36: [META] ERROR: dll: Failed to load plugin 'csx_amxx.dll'
L 01/01/2007 - 20:25:36: [META] dll: Finished loading 3 plugins
L 01/01/2007 - 20:25:36: Log file closed
If I disable loading modules from modules.ini (by adding semicolon there for fun, csx and cstrike) - I mean so:
Code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded   ;;
;;  as needed.  You do not need to enable them here ;;
;;  unless you have problems.                       ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;fun
;engine
;fakemeta
;geoip
;sockets
;regex
;nvault
;cstrike
;csx

my log looks so (no meta errors there):

Code:
L 01/01/2007 - 21:24:02: Server cvar "deathmatch" = "1"
L 01/01/2007 - 21:24:02: [META] Metamod v1.19  2006-04-17
L 01/01/2007 - 21:24:02: [META] by Will Day <[email protected]>
L 01/01/2007 - 21:24:02: [META]    http://www.metamod.org/
L 01/01/2007 - 21:24:02: [META] compiled: Apr 17 2006, 19:11:42 +0200 (optimized)
L 01/01/2007 - 21:24:02: [META] engine: vacdll
L 01/01/2007 - 21:24:02: [META] Recognized game 'cstrike'; using dllfile 'mp.dll'
L 01/01/2007 - 21:24:02: [META] Game DLL for 'Counter-Strike' loaded successfully
L 01/01/2007 - 21:24:02: [META] ini: Begin reading plugins list: e:/games/steam/steamapps/[email protected]/counter-strike/cstrike/addons/metamod/plugins.ini
L 01/01/2007 - 21:24:02: [META] ini: Read plugin config for: <pmtools_mm.dll>
L 01/01/2007 - 21:24:02: [META] ini: Read plugin config for: <amxmodx_mm.dll>
L 01/01/2007 - 21:24:02: [META] ini: Read plugin config for: <podbot_mm.dll>
L 01/01/2007 - 21:24:02: [META] ini: Finished reading plugins list: e:/games/steam/steamapps/[email protected]/counter-strike/cstrike/addons/metamod/plugins.ini; Found 3 plugins to load
L 01/01/2007 - 21:24:02: [META] dll: Loading plugins...
L 01/01/2007 - 21:24:02: [PMTOOLS] PMTools: plugin attaching
L 01/01/2007 - 21:24:02: [META] dll: Loaded plugin 'PMTools': PMTools vApr 23 2006 Apr 23 2006, Pierre-Marie Baty <[email protected]>
L 01/01/2007 - 21:24:02: [META] dll: Loaded plugin 'AMX Mod X': AMX Mod X v1.76c Dec 24 2006, AMX Mod X Dev Team
L 01/01/2007 - 21:24:02: [PODBOTMM] POD-Bot mm: plugin attaching
L 01/01/2007 - 21:24:02: Server cvar "pb_version" = "***PROTECTED***"
L 01/01/2007 - 21:24:02: [META] dll: Loaded plugin 'POD-Bot mm': POD-Bot mm v3.0B16f Dec 30 2006, Count Floyd & Bots United
L 01/01/2007 - 21:24:02: [META] dll: Finished loading 3 plugins
L 01/01/2007 - 21:24:02: Log file closed

Conclusion - I believe there is something to do with auto loading modules function and loading modules from modules.ini. I mean there is some interference between these 2 functions and there should be a check if the module is already loaded or not to bother (or not) metamod about it.
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline