shqke / imatchext

Matchmaking Extension Interface [L4D/2]
GNU General Public License v3.0
9 stars 2 forks source link

Unable to load extension "langparser.ext" #4

Closed umlka closed 2 years ago

umlka commented 2 years ago

L 04/20/2022 - 00:50:56: [SM] Unable to load extension "langparser.ext": /home/l4d2/l4d2/left4dead2/addons/sourcemod/extensions/langparser.ext.so: cannot open shared object file: No such file or directory

shqke commented 2 years ago

Hi!

I've added a missing link to extension into README.md, but doesn't seem like I can do much about supressing a warning message.

shqke commented 2 years ago

Looking at sourcemod source code, it feels like a

    /* This function doesn't really need to do anything now.  We make sure the 
     * other extension is loaded, but handling of dependencies is really done 
     * by the interface fetcher.
     */
    if (required || autoload)
    {
        LoadAutoExtension(file);
    }

should be

    /* This function doesn't really need to do anything now.  We make sure the 
     * other extension is loaded, but handling of dependencies is really done 
     * by the interface fetcher.
     */
    if (required || autoload)
    {
        LoadAutoExtension(file, required);
    }
umlka commented 2 years ago

After installing the langparser.ext extension, the error is gone

shqke commented 2 years ago

the error is gone

Extension would work anyway, I can see that having error message being logged is still annoying though. 👍