new patches for signatures

This commit is contained in:
2026-08-25 10:57:27 +01:00
parent d80aa8b59c
commit 08566f5559
+15 -13
View File
@@ -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
}