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 33 forks source link

Fucntion 'Server_GetBlendingInterface' not found, causing the server to crash #22

Closed DarthMan closed 2 years ago

DarthMan commented 3 years ago

Hello there. Not sure if this issue is only TFC related, but whenever metamod tries to look for the signature of Server_GetBlendingInterface my server crashes. Either the function does not exist, or the pointer to it from memory is invalid (bad signature).

Below I attached the debug error:

L 09/05/2021 - 16:11:29: [META] (debug:6) Couldn't find Server_GetBlendingInterface in game DLL 'tfc': function not found

ShootingKing-AM commented 3 years ago

A test plugin please? And a way to reproduce the issue?

Edit: the usual things ? Version, meta version, meta list, OS version, etc etc .. plz

DarthMan commented 3 years ago

I don't know how to reproduce it, and I don't think it's caused by any plugins, but by metamod itself.

DarthMan commented 3 years ago

meta list

DarthMan commented 3 years ago

meta amxx

OS: Windows Server 2019

ShootingKing-AM commented 3 years ago

I don't know how to reproduce it, and I don't think it's caused by any plugins, but by metamod itself.

Then remove all plugins (simply rename metamod's plugins.ini) still it crashes ?

And you left out "version" cmd output Edit: is it not metamod-p ??

DarthMan commented 3 years ago

Oh yep, it's not metamod-p right now, as Is witched to metamod due to that error. Also, problem is, issue can happen anytime, in seconds, in minutes, in hours. So maybe I test with no plugins but I have to play for like 4 hours continuously tot rigger that issue, it only happens when there are people actually playing.

DarthMan commented 3 years ago

But as the error says, it fails to find the function so all that's needed is a change in metamod to get the proper pointer in memory, since the debug tells me that the issue is coming from metamod directly.

TheStormN commented 2 years ago

Server_GetBlendingInterface is not defined by all MODs. Actually it is defined only by very few and only produced by Valve's MODs. You are observing debug logs, which are useful only to developers which would have better visibility on different stages during runtime, but this does not mean that they are errors.

Basically, this is not an error and is not the cause of your crashes.

DarthMan commented 2 years ago

Unsure then, but I'm guessing that I could have a memory leak somewhere. I see certain natives from certain functions being called when they shouldn't, I had for example a native that checks for valid admin being called from within a function, function that is only called when an admin executes that command, but nobody executed that command on that date (including myself), yet, code from it was called (it is a register_concmd). Or could be related to this error, maybe?

L 11/28/2021 - 16:18:52: [META] ERROR: Plugin didn't set meta_result: semiclipex_amxx.dll:ServerDeactivate_Post()

TheStormN commented 2 years ago

You may have many problems with 3rd party plugins, but this is unrelated to Metamod.