Bots-United / metamod-p

Metamod is a plugin/DLL manager that sits between the Half-Life Engine and an HL Game mod, allowing the dynamic loading/unloading of mod-like DLL plugins to add functionality to the HL server or game mod. Metamod-P is enhanced version of Metamod. It has dynamic link-entities and automatic detection of Mod DLL and other improvement to allow it work with future Half-Life Engine updates and new Mods and updates.
http://metamod-p.sourceforge.net/
102 stars 34 forks source link

[Sven Co-op 5.25] can't get amxmodx to load #23

Open KometFox opened 2 years ago

KometFox commented 2 years ago

System Distro: Ubuntu Linux 22.04 jammy Game: Sven Co-op 5.25

I'm currently having the issue that metamod-p for some reason refuses to autoload amxmodx.so file which I added it under plugins.ini under addons/metamod/directory I have these files:

config.ini
plugins.ini
exec.cfg
init.cfg

in config.ini I have this:

game_dll svencoop/dlls/server.so
plugins_file addons/metamod/plugins.ini
exec_cfg addons/metamod/exec.cfg

and in plugins.ini its this:

linux addons/amxmodx/dlls/amxmodx_mm_i386.so
linux ../addons/amxmodx/dlls/amxmodx_mm_i386.so

Basically it doesn't work under Sven Coop dedicated server as I get only this:

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 225840
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Threaded networking started successfully.
Protocol version 48
Engine version 5.0.1.7 (svencoop)
Engine build: 10:27:30 Jun 12 2021 (8997)
STEAM Auth Server
Initializing IP networking
Local IP address: , SV port: 27015, CL port: -1
Steam P2P networking disabled.

   Metamod version 1.21p38 Copyright (c) 2001-2013 Will Day
     Patch: Metamod-P (mm-p) v38 Copyright (c) 2004-2018 Jussi Kivilinna
   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.

However when I do this then the server outputs this:

meta refresh
L 06/06/2022 - 23:29:42: [META] Refreshing the plugins on demand...
L 06/06/2022 - 23:29:42: [META] ini: Begin re-reading plugins list: addons/metamod/plugins.ini
L 06/06/2022 - 23:29:42: [META] ini: Read plugin config for: <amxmodx_mm_i386.so>
L 06/06/2022 - 23:29:42: [META] ini: Finished reading plugins list: addons/metamod/plugins.ini; Found 1 plugins
L 06/06/2022 - 23:29:42: [META] dll: Updating plugins...
L 06/06/2022 - 23:29:42: [META] dll: Finished updating 1 plugins; kept 0, loaded 0, unloaded 0, reloaded 0, delayed 0
meta list
Currently loaded plugins:
      description      stat pend  file              vers      src   load  unlod
 [ 1] AMX Mod X        open  -    amxmodx_mm_i386.  v1.8.2    ini   Start ANY  
1 plugins, 0 running

So using meta refresh makes metamod-p recognize the amxmodx plugin but it cannot load it properly when I try to load the plugin manually.