alliedmodders / metamod-source

Metamod:Source - C++ Plugin Environment and Detour Library for the Source Engine
http://www.metamodsource.net/
Other
392 stars 92 forks source link

[Issue] MM not loading for CS2 after The Armory update (2 October 2024) #193

Closed Ston3Cold closed 2 days ago

Ston3Cold commented 2 months ago

Hi there,

Valve released an update for CS2 on 2 October (The Armory). As part of the update quite several things have been changed in the game engine-wise, and as such has caused MM not to load correctly anymore. For example, when trying to boot my dedicated servers, I'm greeted with this error message:

mmcs2error

Any estimation as to how long it would take to make MM compatible with the latest CS2 update?

Thanks in advance, SC

igorgusarov commented 1 month ago

Same issue on a Linux server: MMS: Fatal error: Detected engine 26 but could not load: /home/ubuntu/cs2/game/csgo/addons/metamod/bin/linuxsteamrt64/metamod.2.cs2.so: undefined symbol: _AssertValidWritePtr

bigcarsd commented 1 month ago

same problem on linux MMS: Fatal error: Detected engine 26 but could not load: /home/steam/cs2-dedicated/game/csgo/addons/metamod/bin/linuxsteamrt64/metamod.2.cs2.so: undefined symbol: _AssertValidWritePtr

bili12685 commented 1 month ago

same problem on debian11.1 server

MMS: Fatal error: Detected engine 26 but could not load: /home/cs2/game/csgo/addons/metamod/bin/linuxsteamrt64/metamod.2.cs2.so: undefined symbol: _AssertValidWritePtr

exababy commented 1 month ago

metamod.zip

bili12685 commented 1 month ago

metamod.zip

thanks bro it can work

But when I used the meta list to view my plugin list,CSS got an error Should I go find the CSS developers?

DiDHack commented 1 month ago

metamod.zip

Hello! What exactly did you changed? The same errors in the plugins

Gawnz1 commented 1 month ago

Debian 12, same issue: _AssertValidWritePtr.

Tested the above ZIP by @exababy, it loads okay, not sure if SDK should be updated to support existing metamod plugins. Do a PR if everything is okay.

Gawnz1 commented 1 month ago

@DiDHack,

Hello! What exactly did you changed? The same errors in the plugins

The first problem is from the metamod itself, which is giving this _AssertValidWritePtr error. After using the @exababy's zip, the error is not there and metamod loads okay.

When trying to load a PLUGIN (!), there is this error: AssertValidStringPtr, which is from SDK, maybe SDK needs to be updated too.

Ston3Cold commented 1 month ago

metamod.zip

Any chance that you could perhaps post a Windows variant too, please? I don't do Linux :(

DiDHack commented 1 month ago

@Gawnz1 I understand. I just want to understand what changed to implement this changes in my plugin or SDK

exababy commented 1 month ago

you need to build the plugins yourself, if you need sdk you can find it here.

https://github.com/exababy/hl2sdk

Ston3Cold commented 1 month ago

you need to build the plugins yourself, if you need sdk you can find it here.

https://github.com/exababy/hl2sdk

I assume this was directed towards me? You have to excuse me, but I have no prior knowledge of using the sdk to build the plugins. If you could just break down the steps for me, I'll attempt it as I have Visual Studio 2022 installed.

0x132406C commented 1 month ago

metamod.zip

bro,just windows

DiDHack commented 1 month ago

@exababy did you do something else except comment the strings AssertValid...? Thank You!

Coffimix commented 1 month ago

What is the fix?

moises4863 commented 1 month ago

Hi, same issue happen on my host image

fpaezf commented 1 month ago

Can anyone upload the Windows version please?

mayersgamer commented 1 month ago

Can anyone upload the Windows version please?

just wait for the offcial , that one is full of bugs and crash and errors

raszyniaczek commented 1 month ago

Official is now works. build 1314 now we need to wait for CounterStrikeSharp update :)

Ston3Cold commented 1 month ago

Official is now works. build 1314 now we need to wait for CounterStrikeSharp update :)

Version 267 of CSS was released 30 min ago, so I guess we're good to go :D

zyhsck commented 1 month ago

我的大部分插件无法使用,比如cs2kz