From 08566f555962cd9725e9187518c26287ed245242 Mon Sep 17 00:00:00 2001 From: jenz Date: Tue, 25 Aug 2026 10:57:27 +0100 Subject: [PATCH] new patches for signatures --- extension.cpp | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/extension.cpp b/extension.cpp index 2de17f3..924bbb6 100644 --- a/extension.cpp +++ b/extension.cpp @@ -262,13 +262,14 @@ static struct SrcdsPatch }, // 14: CGameMovement::LadderMove NOP out player->SetGravity( 0 ); // This is in a cloned function which has a weird symbol (_ZN13CGameMovement10LadderMoveEv_part_0) so I went with the function right before it - { - "_ZN13CGameMovement12CheckFallingEv", - (unsigned char *)"\xC7\x80\xA4\x02\x00\x00\x00\x00\x00\x00\x8B\x03\x8B\x80", - "xx????????xxxx", - (unsigned char *)"\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x8B\x03\x8B\x80", - "cstrike/bin/server_srv.so" - }, + { + "_ZN13CGameMovement12CheckFallingEv", + (unsigned char *)"\xC7\x86\xA4\x02\x00\x00\x00\x00\x00\x00\xE9\x00\xFF\xFF", + "xx????????x???", + (unsigned char *)"\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\xE9\x00\xFF\xFF", + "cstrike/bin/server_srv.so", + 0x600 + }, // 15: bool CZipPackFile::Prepare( int64 fileLen, int64 nFileOfs ) //NOPs out lookup.m_hFileName = m_fs->FindOrAddFileName( tmpString ); Line 768 @@ -294,26 +295,27 @@ static struct SrcdsPatch // "Too many indices for index buffer. Tell a programmer". Grenades cause decals on too many faces for the client to handle. { "_ZN12CBaseGrenade7ExplodeEP10CGameTracei", - (unsigned char *)"\xE8\xEA\x84\x21\x00", + (unsigned char *)"\xE8\xDA\x8E\x21\x00", "xxxxx", (unsigned char *)"\x90\x90\x90\x90\x90", - "cstrike/bin/server_srv.so" + "cstrike/bin/server_srv.so" }, + // 18: void CPlantedC4::Explode( trace_t *pTrace, int bitsDamageType ) NOP out UTIL_DecalTrace( pTrace, "Scorch" ); same reason as 17. { "_ZN10CPlantedC47ExplodeEP10CGameTracei", - (unsigned char *)"\xE8\x82\xC6\xEB\xFF", + (unsigned char *)"\xE8\x72\xBE\xEB\xFF", "xxxxx", (unsigned char *)"\x90\x90\x90\x90\x90", - "cstrike/bin/server_srv.so" + "cstrike/bin/server_srv.so" }, // 19: void CEnvExplosion::InputExplode( inputdata_t &inputdata ) NOP out UTIL_DecalTrace( &tr, "Scorch" ); same reason as 17. { "_ZN13CEnvExplosion12InputExplodeER11inputdata_t", - (unsigned char *)"\xE8\x8A\x26\x1A\x00", + (unsigned char *)"\xE8\xDA\x2A\x1A\x00", "xxxxx", (unsigned char *)"\x90\x90\x90\x90\x90", - "cstrike/bin/server_srv.so", + "cstrike/bin/server_srv.so", 0x800, 1 }