View Single Post
Kailo
Senior Member
Join Date: Sep 2014
Location: Moscow, Russia
Old 05-02-2021 , 19:15   Re: Wierd issue after recent CS:GO update (2021-04-28?)
Reply With Quote #2

Solved!
I was curious to find, why 1.37.8.8 [1263] not loaded metamod. Got old depot and do some debug and reverse.
PHP Code:
#define _DLL_EXT ".dll" // for Windows 32/64
#define _DLL_EXT ".so" // for Linux 32
#define _DLL_EXT "_client.so" // for Linux 64
// 
// https://gitlab.com/SomethingFromSomewhere/cstrike15_src/-/blob/master/engine/sv_plugin.cpp#L309
bool CServerPlugin::LoadPlugin( const char *fileName )
{
  
// end with ".dll"
  
size_t l strlen(fileName);
  if (
sizeof(_DLL_EXT)-|| strcmp(fileName[sizeof(_DLL_EXT)-1], _DLL_EXT))
    return;
  
// ...

Solution: (Yeah, probably they merged engine binary code with another branch, what caused it)
Code:
// metamod.vdf
"Plugin"
{
    "file"    "addons/metamod/bin/server.dll" // .dll added
}
By the way: metamod still was able to load by "plugin_load addons/metamod/bin/server" command
Attached Thumbnails
Click image for larger version

Name:	изображение_2021-05-03_021222.png
Views:	241
Size:	24.0 KB
ID:	189098  
__________________
Kailo is offline