Raised This Month: $12 Target: $400
 3% 

Wierd issue after recent CS:GO update (2021-04-28?)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 05-02-2021 , 18:02   Wierd issue after recent CS:GO update (2021-04-28?)
Reply With Quote #1

My CS:GO install updated a few day ago, and ever since then I noticed SourceMod stopped working. Upon further investigation, MetaMod:Source was no longer loading either.

Here's the CS:GO information from the SCRDS console:
Quote:
Protocol version 13788 [1263/1263]
Exe version 1.37.8.8 (csgo)
Exe build: 01:01:24 Apr 28 2021 (820 (730)
Everything was working fine before this with a slightly older MMS/SM stable releases.

I tried updating to:
  • mmsource-1.11.0-git1144-linux
  • sourcemod-1.10.0-git6502-linux

I tried re-creating the .VDF files and such, in case the defaults were no longer valid. But, that made no difference.

However, that did not resolve the issues. It's almost as-if CS:GO is no-longer trying to load SRCDS plug-ins at all? Does this mean Valve messed-up something with the search-paths, and I need to hack game-info or something?
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter

Last edited by Weasel; 05-02-2021 at 18:03. Reason: spling, gammer.
Weasel is offline
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:	237
Size:	24.0 KB
ID:	189098  
__________________
Kailo is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 05-02-2021 , 19:37   Re: Wierd issue after recent CS:GO update (2021-04-28?)
Reply With Quote #3

Quote:
Code:
// metamod.vdf
"Plugin"
{
    "file"    "addons/metamod/bin/server.dll" // .dll added
}
So, for Linux that would be ....?

Code:
// metamod.vdf
"Plugin"
{
    "file"    "addons/metamod/bin/server.so" // .so added
}
I ask, because I am already using this (default), and it's not working:

Code:
"Plugin"
{
	"file"	"addons/metamod/bin/server"
}
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter
Weasel is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 05-02-2021 , 19:59   Re: Wierd issue after recent CS:GO update (2021-04-28?)
Reply With Quote #4

Got MetaMod:Source to load, by editing the .VDF files for it as mentioned above - but equivelant for Linux:
Updated MetaMod VDF's:
  • 32-bit:
    Code:
    // metamod.vdf (32-bit) in csgo/addons/
    "Plugin"
    {
        "file"    "addons/metamod/bin/server.so" // .so added
    }
  • 64-bit:
    Code:
    // metamod_x64.vdf (64-bit) in csgo/addons/
    "Plugin"
    {
    	"file"	"addons/metamod/bin/linux64/server.so" // .so added
    }

[strike]
However, still can not get SourceMod to load - no matter how I specify the library file in csgo/addons/metamod/sourcemod.vdf (as .so, .x64.so, or .i486.so)
[/strike]

UPDATE: changed csgo/addons/metamod/sourcemod.vdf back to default (not specifying extension on library file name), and finally got SourceMod to load:
Code:
"Metamod Plugin"
{
	"alias"		"sourcemod"
	"file"		"addons/sourcemod/bin/sourcemod_mm"
}
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter

Last edited by Weasel; 05-02-2021 at 20:05. Reason: spling, gammeah
Weasel is offline
Kailo
Senior Member
Join Date: Sep 2014
Location: Moscow, Russia
Old 05-02-2021 , 20:23   Re: Wierd issue after recent CS:GO update (2021-04-28?)
Reply With Quote #5

1) This is not required in latest CS:GO dedicated server version 1264 (if yours 1263, just update it. Valve already fix this by removing/changing this part, don't look how)
2) You don't need to change sourcemod.vdf because it loaded by metamod, not by the game and have another algorithm for this (but similar)
3) For linux64 binary must have "_client.so" extension. So, you need to rename binary from "server.so to server_client.so" and use "addons/metamod/bin/linux64/server_client.so" path
__________________
Kailo is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 05-02-2021 , 20:30   Re: Wierd issue after recent CS:GO update (2021-04-28?)
Reply With Quote #6

Quote:
Originally Posted by Kailo View Post
1) This is not required in latest CS:GO dedicated server version 1264 (if yours 1263, just update it. Valve already fix this by removing/changing this part, don't look how)
2) You don't need to change sourcemod.vdf because it loaded by metamod, not by the game and have another algorithm for this (but similar)
3) For linux64 binary must have "_client.so" extension. So, you need to rename binary from "server.so to server_client.so" and use "addons/metamod/bin/linux64/server_client.so" path
Thanks for the update!
So much for e-mail updates from Valve when they push this stuff.

I'm still showing latest version is:
Quote:
AppID: 730
Current version: 1.37.8.8
Maybe the update hasn't spread around Steam's caching system yet.
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter

Last edited by Weasel; 05-02-2021 at 20:32.
Weasel is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 05-02-2021 , 20:37   Re: Wierd issue after recent CS:GO update (2021-04-28?)
Reply With Quote #7

Fantastic, Valve incremented the ClientVersion and ServerVersion parameters in steam.inf file, but NOT the PatchVersion (which my automatic update scripts are basing their actions upon) ... once I forced the update manually, it updated as expected.

Before:
Code:
+----------------------------------------------------------------------+
| Contents of steam.inf file, BEFORE updating ...                      |
+----------------------------------------------------------------------+
ClientVersion=1263
ServerVersion=1263
PatchVersion=1.37.8.8
ProductName=csgo
appID=730
SourceRevision=6515137
VersionDate=Apr 28 2021
VersionTime=17:13:20
After:
Code:
+----------------------------------------------------------------------+
| Contents of steam.inf file, AFTER updating ...                       |
+----------------------------------------------------------------------+
Date-Time Mark:                  Mon 03 May 2021 12:35:26 AM UTC
ClientVersion=1264
ServerVersion=1264
PatchVersion=1.37.8.8
ProductName=csgo
appID=730
SourceRevision=6515430
VersionDate=Apr 28 2021
VersionTime=18:35:07
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter

Last edited by Weasel; 05-02-2021 at 21:00.
Weasel is offline
Kailo
Senior Member
Join Date: Sep 2014
Location: Moscow, Russia
Old 05-02-2021 , 20:37   Re: Wierd issue after recent CS:GO update (2021-04-28?)
Reply With Quote #8

If i type "version" in server console, i got
Code:
Protocol version 13788 [1264/1264]
Exe version 1.37.8.8 (csgo)
Exe build: 01:01:24 Apr 28 2021 (8208) (730)
1.37.8.8 version is correct, but sub version must be 1264
__________________
Kailo is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode