View Single Post
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

I was curious to find, why [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 "" // for Linux 64
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))
// ...

Solution: (Yeah, probably they merged engine binary code with another branch, what caused it)
// metamod.vdf
    "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:	15
Size:	24.0 KB
ID:	189098  
Kailo is offline