alliedmodders / metamod-source

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

[CS2 metamod plugin] undefined symbol: _ZNK15CEntityIdentity11NameMatchesEPKc). #164

Closed DiDHack closed 5 months ago

DiDHack commented 5 months ago

Can somebody help? After today's update metamod was bkoken. I updated hl2sdk, metamod is compiled and works. After changing the variable reason in the function ClientDisconnect of my plugin from int to ENetworkDisconnectionReason it is compiled too. But if I try to load the plugin I get the error: undefined symbol: _ZNK15CEntityIdentity11NameMatchesEPKc). I don't use CEntityIdentity::NameMatches in my plugin

DiDHack commented 5 months ago

I have tries to compile the sample. There is the same error.

DiDHack commented 5 months ago

Added os.path.join(sdk.path, 'entity2', 'entityidentity.cpp') And error is resolved. But I got next: undefined symbol: _Z16GameEntitySystemv