AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   (OLD) Bug Reports (https://forums.alliedmods.net/forumdisplay.php?f=24)
-   -   [BUG] Loading AMX X modules (https://forums.alliedmods.net/showthread.php?t=49314)

KWo 01-01-2007 16:28

[BUG] Loading AMX X modules
 
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.

PhantomBug 01-08-2007 22:41

Re: [BUG] Loading AMX X modules
 
I have this problem too :s
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;
;; 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

is what you see, but in console when I do 'meta list' I see only 5-6 modules...
You only see this:

meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.76c ini ANY ANY
[ 2] Engine RUN - engine_amxx.dll v1.76 pl1 ANY ANY
[ 3] Fun RUN - fun_amxx.dll v1.76 pl1 ANY ANY
[ 4] FakeMeta RUN - fakemeta_amxx.dl v1.76b pl1 ANY ANY
[ 5] CSX RUN - csx_amxx.dll v1.76c pl1 ANY ANY
[ 6] CStrike RUN - cstrike_amxx.dll v1.76 pl1 ANY ANY
6 plugins, 6 running

teame06 01-08-2007 23:14

Re: [BUG] Loading AMX X modules
 
@ PhantomBug

Some modules are purely only AMXX Modules. If you type amxx modules you will see them since some of them aren't metamod plugins either.


All times are GMT -4. The time now is 09:40.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.