Skip to content

Commit d93ed28

Browse files
committed
CBasePlayer->m_afButtonDisabled gamedata for csgo
1 parent 78f55f9 commit d93ed28

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

addons/sourcemod/gamedata/shavit.games.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,13 @@
160160
"windows" "\xF3\x0F\x10\x80\x2A\x2A\x2A\x2A\xF3\x0F\x59\x45\x2A\xF3\x0F\x11\x45"
161161
"linux" "\xF3\x0F\x10\xB8\x2A\x2A\x2A\x2A\xA1"
162162
}
163+
// search "sv_maxusrcmdprocessticks_warning at server" to find CPlayerMove::RunCommand
164+
// then sig the the `mov REG1,dword ptr [REG2 + OFFSET_TO_BUTTON_DISABLED_HERE]`
165+
"CBasePlayer->m_afButtonDisabled"
166+
{
167+
"windows" "\x8B\x87\x2A\x2A\x2A\x2A\xF7\xD0\x21\x43"
168+
"linux" "\x8B\x83\x2A\x2A\x2A\x2A\xF7\xD0"
169+
}
163170
}
164171
}
165172

0 commit comments

Comments
 (0)