Metamod Plugins Issue

BahamutBahamut Join Date: 2003-01-20 Member: 12522Members, Constellation
<div class="IPBDescription">won't load my plugins :/</div> I have the below in my plugins.ini file:

<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->win32  addons/metamod/dlls/mm_award.dll
win32  addons/amxmodx/dlls/amxmodx_mm.dll
win32  addons/metamod/dlls/afkkick_mm.dll
win32  addons/metamod/dlls/lerklift.dll
win32  addons/metamod/dlls/MM_Nvg.dll
win32  addons/metamod/dlls/MM_PhaseSelect.dll<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

But when I run the server I get:


Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] mm_awards RUN - mm_award.dll v2.2 ini Chlvl Chlvl
[ 2] AMX Mod X RUN - amxmodx_mm.dll v0.2 ini ANY ANY
[ 3] AFK-Kick RUN - afkkick_mm.dll v2.0c ini ANY ANY
[ 4] LerkLift RUN - lerklift.dll v1.01 ini ANY ANY
4 plugins, 4

It like, totally ignores the fact that the other plugins are listed to be loaded...

Tried using both of the win32 metamods that work with beta5 and I get the same result, there must be something simple I'm missing :/ Any ideas?

Comments

  • BahamutBahamut Join Date: 2003-01-20 Member: 12522Members, Constellation
    It's weird, if I comment out the awards plugin it loads the following:


    Currently loaded plugins:
    description stat pend file vers src load unlod
    [ 1] AMX Mod X RUN - amxmodx_mm.dll v0.2 ini ANY ANY
    [ 2] AFK-Kick RUN - afkkick_mm.dll v2.0c ini ANY ANY
    [ 3] LerkLift RUN - lerklift.dll v1.01 ini ANY ANY
    [ 4] Night Vision RUN - mm_nvg.dll v1.0 ini ANY ANY
    4 plugins, 4

    So I'm really confused since there's not supposed to be any problems with nv/awards...
  • JHunzJHunz Join Date: 2002-11-15 Member: 8815Members, Constellation
    I don't know whether this relates to your problem, but the lerklift version you are loading is old, and doesn't work in 3.0x. Look for version 2.01 in <a href='http://www.modns.org/forums/index.php?showtopic=20' target='_blank'>this thread</a>
  • BahamutBahamut Join Date: 2003-01-20 Member: 12522Members, Constellation
    edited September 2004
    yeah I wasn't entirely interested in using lerklift, I was originally trying to use awards, amxmodx, afk kicker and team attack manager, but I deleted the TAM since it wasn't running, then figured out that it was able to run and I had some metamod issue.

    Kinda annoying, does metamod log anywhere?

    My entire <a href='http://www.bahamutns.com/ns/addons.zip' target='_blank'>Addons</a> directory is available if someone wants to check it out :/
  • sawcesawce Join Date: 2002-12-14 Member: 10787Members
    Just a quick guess here by browsing your metamod plugins.ini:

    Have you tried changing your comments from semi-colon (';') to what they're supposed to be? (Hash '#' or C++ style '//')

    Also try typing this in the server console if that does not help:

    log on
    meta refresh

    then post the output.
  • BahamutBahamut Join Date: 2003-01-20 Member: 12522Members, Constellation
    edited September 2004
    changed the comments to hashes, no idea why I was using semicolons, but it just gave me:


    Currently loaded plugins:
    description stat pend file vers src load unlod
    [ 1] mm_awards RUN - mm_award.dll v2.2 ini Chlvl Chlvl
    [ 2] AMX Mod X RUN - amxmodx_mm.dll v0.2 ini ANY ANY
    [ 3] AFK-Kick RUN - afkkick_mm.dll v2.0c ini ANY ANY
    [ 4] LerkLift RUN - lerklift.dll v1.01 ini ANY ANY
    4 plugins, 4

    When it was supposed to be:

    win32 addons/metamod/dlls/mm_award.dll
    win32 addons/amxmodx/dlls/amxmodx_mm.dll
    win32 addons/metamod/dlls/afkkick_mm.dll
    win32 addons/metamod/dlls/lerklift.dll
    win32 addons/metamod/dlls/MM_Nvg.dll
    win32 addons/metamod/dlls/MM_PhaseSelect.dll

    Log is:
    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
    L 09/14/2004 - 18:45:36: Log file started (file "logs\L0914001.log") (game "ns") (version "47/1.1.2.0/2.0.0.0/2834")
    L 09/14/2004 - 18:45:39: [META] Refreshing the plugins on demand...
    L 09/14/2004 - 18:45:39: [META] ini: Begin re-reading plugins list: c:/program files/steam/steamapps/[removed]/half-life/ns/addons/metamod/plugins.ini
    L 09/14/2004 - 18:45:39: [META] ini: Read plugin config for: mm_awards
    L 09/14/2004 - 18:45:39: [META] ini: Read plugin config for: AMX Mod X
    L 09/14/2004 - 18:45:39: [META] ini: Read plugin config for: AFK-Kick
    L 09/14/2004 - 18:45:39: [META] ini: Read plugin config for: LerkLift
    L 09/14/2004 - 18:45:39: [META] ini: Finished reading plugins list: c:/program files/steam/steamapps/[removed]/half-life/ns/addons/metamod/plugins.ini; Found 4 plugins
    L 09/14/2004 - 18:45:39: [META] dll: Updating plugins...
    L 09/14/2004 - 18:45:39: [META] dll: Finished updating 4 plugins; kept 4, loaded 0, unloaded 0, reloaded 0, delayed 0
    L 09/14/2004 - 18:46:00: "Tristan's sexy sandwich<-1><><none>" disconnected
    L 09/14/2004 - 18:46:00: Server shutdown
    L 09/14/2004 - 18:46:00: Log file closed
    <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
  • BahamutBahamut Join Date: 2003-01-20 Member: 12522Members, Constellation
    tried running it through a dedicated HLServer install (from the actual HLServer install, not the steam included one) and I get the same results :/

    Gotta test this stuff before I can get it put on our major NS servers :\
  • sawcesawce Join Date: 2002-12-14 Member: 10787Members
    I just tried downloading your addons directory and giving it a shot and I'm getting the same thing. o_O

    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
    ] meta refresh
    L 09/14/2004 - 05:18:24: [META] Refreshing the plugins on demand...
    L 09/14/2004 - 5:18:24: [META] ini: Begin re-reading plugins list: c:/program files/steam/steamapps/stevedude3356@yahoo.com/half-life/ns/addons/metamod/plugins.ini
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: // vim: set ft=c :
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: //
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: // Format is as follows:
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: //  <platform> <path>  <decription>
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: //
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: // Fields are whitespace delimited (tabs/spaces).
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: //
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: // - Platform must be either "linux" or "win32".
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: // - Path can be either an absolute athname, or a pathname relative to the
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: //  gamedir.  Paths should use unix-style forward slashes (/) rather than
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: //  windows-style backslashes (\), even on windows platforms.  Also, the
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: //  path (once expanded to full path name) is expected to be unique within
    L 09/14/2004 - 05:18:24: [META](debug:7) ini: Ignoring commented line: //  the list of plugins.  Thus, a plugin with a fullpathname matching that
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: //  of a previous plugin is considered a duplicate, and is not loaded.
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: // - Description is optional, and replaces the plugin's internal name in
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: //  console output and log messags.
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: //
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: // Comments are either c++ style ("//") or unix shell style ("#"), and
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: // can appear ONLY at the beginning of a line.
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: //
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: // Note that the pluginsare loaded and accessed in the order specified, so
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: // ordering CAN be important, depending on the plugin(s).
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: //
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: // The following are examples of valid lines.
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: //
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commened line: // linux dlls/mybot.so
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: ;# win32  dlls/mybot-old.dll Mybot old
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: ;win32  dlls/mybot.dll  Mybot current
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: ;linux  /tmp/stub_mm_i386.so
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: ;win32  /tmp/stub_mm_i386.dll
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoringcommented line: ;linux  ../dlls/trace_mm_i386.so
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: ;win32  ../dlls/trace_mm_i386.dll
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: ;linux  dlls/admin_MM_i386.so
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: ;win32  dlls/admin_MM_i386.dll
    L 09/14/2004 - 05:18:24: [META] (debug:7) ini: Ignoring commented line: ;win32 addons/metamod/dlls/mm_award.dll
    L 09/14/2004 - 05:18:24: [META] (debug:) newer_file? file=amxmodx_mm.dll; load=1095153402, file=1095153370; ctime=1095153370, mtime=1094114742
    L 09/14/2004 - 05:18:24: [META] ini: Read plugin config for: AMX Mod X
    L 09/14/2004 - 05:18:24: [META] (debug:5) newer_file? file=afkkick_mm.dll; load=1095153402, file=1095153372; ctime=1095153372, mtime=1062939698
    L 09/14/2004 - 05:18:24: [META] ini: Read plugin config for: AFK-Kick
    L 09/14/2004 - 05:18:24: [META] (debug:5) newer_file? file=lerklift.dll; load=1095153402, file=1095153372; ctime=109515337, mtime=1044715398
    L 09/14/2004 - 05:18:24: [META] ini: Read plugin config for: LerkLift
    L 09/14/2004 - 05:18:24: [META] (debug:5) newer_file? file=mm_nvg.dll; load=1095153402, file=1095153376; ctime=1095153376, mtime=1077485142
    L 09/14/2004 - 05:18:24: [META] ini: Read plugin config for: Night Vision
    L 09/14/2004 - 05:18:24: [META] (debug:1) ini: Skipping plugin, line 40 of c:/program files/steam/steamapps/stevedude3356@yahoo.com/half-life/ns/addons/metamod/plugins.ini: plugin with higher platform specifi level already exists. (1 >= 1)
    L 09/14/2004 - 05:18:24: [META] ini: Finished reading plugins list: c:/program files/steam/steamapps/stevedude3356@yahoo.com/half-life/ns/addons/metamod/plugins.ini; Found 4 plugins
    L 09/14/2004 - 05:18:24: [META] dll: Updating plugins...
    L 09/14/2004 - 05:18:24: [META] (debug:1) Keeping plugin 'AMX Mod X'
    L 09/14/2004 - 05:18:24: [META] (debug:1) Keeping plugin 'AFK-Kick'
    L 09/14/2004 - 05:18:24: [META] (debug:1) Keeping plugin 'LerkLift'
    L 09/14/2004 - 05:18:24: [META] (deug:1) Keeping plugin 'Night Vision'
    L 09/14/2004 - 05:18:24: [META] dll: Finished updating 4 plugins; kept 4, loaded 0, unloaded 0, reloaded 0, delayed 0
    <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    I've never seen this before but I'll see if I can find what's causing it...
  • BahamutBahamut Join Date: 2003-01-20 Member: 12522Members, Constellation
    thanks, i'd appreciate it a lot <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin-fix.gif' border='0' style='vertical-align:middle' alt='biggrin-fix.gif' /><!--endemo-->
  • sawcesawce Join Date: 2002-12-14 Member: 10787Members
    Well, from metamod + all mod patch source:

    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    // Check if a given plugin is the same but possibly for a
    // different platform. A match is considered to be found if
    // 1.  the filename without the path is the same, or
    // 2a. for an attached plugin the logtag is the same, or
    // 2b. the description is the same, or
    // 3.  a significant part of the filename is the same.
    // A significant part of a plugin name is currently defined to
    // the the part up to the last underscore, if one exists.
    // meta_errno values:
    //  - none
    <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    That check is where it's 'failing' at. The log tags and descriptions for the plugins are different, the place it's 'failing' at would be here the parts of the names. These plugins use the mm_<name>.<ext> scheme, metamod + all mod is expecting the scheme to be <name>_mm.<ext>.

    Simple fix for this:

    Rename the files from "mm_award.dll", "MM_PhaseSelect.dll", "MM_Nvg.dll" to "award_mm.dll", "PhaseSelect_MM.dll", "Nvg_MM.dll" and change their respectful entries in metamod's plugins.ini.
  • BahamutBahamut Join Date: 2003-01-20 Member: 12522Members, Constellation
    I love you man, thanks so much. Never thought it'd be something that simple. Guess the guys making plugins over at <a href='http://modns.org' target='_blank'>http://modns.org</a> need to rethink their filenames before distributing "working" mods =D

    Thanks again =)
  • sawcesawce Join Date: 2002-12-14 Member: 10787Members
    To be honest here (since I am one of 'those guys' <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->):

    They were working fine for Metamod 1.17.1 and below. It's the patches added in Metamod 1.17.2 which caused these errors. I was unaware of this change until I looked through the source just now.

    Hullu maintains Metamod + All Mod Patch (which is what you're using), but he keeps it up to date with the official metamod patches. So of course, he put the check which this was failing on there.



    I'll change my plugins around to match this now, but I'll leave it up to everybody else to fix theirs. =/
  • DepotDepot The ModFather Join Date: 2002-11-09 Member: 7956Members
    One of my plugins is named "mm_award.dll" and works fine with MetaMod v1.17.2p10, so why does it work on my server and not his?
  • sawcesawce Join Date: 2002-12-14 Member: 10787Members
    Because you just have one plugin named like that.

    When any metamod equal to or greater than 1.17.2 loads that plugin, it thinks it's called "mm". So if it were to load a plugin such as "mm_phaseselect.dll", it would think it's name is <i>also</i> "mm" and not load it.
Sign In or Register to comment.