feat: ladder gravity and point_viewcontrol (#3)

This commit is contained in:
Rushaway 2024-06-23 12:49:39 +02:00 committed by GitHub
parent 108f39d208
commit fc2061e6fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 25 additions and 1 deletions

View File

@ -231,6 +231,30 @@ static struct SrcdsPatch
0x800, 100,
true, "bin/libtier0_srv.so"
},
// 11: Always transmit point_viewcontrol (for debugging)
{
"_ZN14CTriggerCamera19UpdateTransmitStateEv",
(unsigned char *)"\x74\x16",
"xx",
(unsigned char *)"\xEB\x16",
"cstrike/bin/server_srv.so"
},
// 12: CTriggerCamera::FollowTarget: Don't early return when the player handle is null
{
"_ZN14CTriggerCamera12FollowTargetEv",
(unsigned char *)"\x74\x1B\x89\xD0\x25\x00\x00\x00\x00\xC1\xE0\x04",
"xxxxx????xxx",
(unsigned char *)"\xEB\x23\x89\xD0\x25\x00\x00\x00\x00\xC1\xE0\x04",
"cstrike/bin/server_srv.so"
},
// 13: CGameMovement::LadderMove NOP out player->SetGravity( 0 );
{
"_ZN13CGameMovement10LadderMoveEv",
(unsigned char *)"\xC7\x80\x78\x02\x00\x00\x00\x00\x00\x00",
"xxxxxxx???",
(unsigned char *)"\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90",
"cstrike/bin/server_srv.so"
},
};
class CBaseEntity;

View File

@ -40,7 +40,7 @@
/* Basic information exposed publicly */
#define SMEXT_CONF_NAME "CSSFixes"
#define SMEXT_CONF_DESCRIPTION "Patches bugs in the CSS server binary and more..."
#define SMEXT_CONF_VERSION "1.17"
#define SMEXT_CONF_VERSION "1.18"
#define SMEXT_CONF_AUTHOR "BotoX"
#define SMEXT_CONF_URL ""
#define SMEXT_CONF_LOGTAG "CSSFIXES"