JUST FOR RECORD
windows only
*Red color which mean the name is not a real function name in server.dll or unknown
SetProgressBarTime - void CCSPlayer::SetProgressBarTime(int)
Code:
\x55\x56\x57\x8B\xF9\x8B\x8F\xAC\x12\x00\x00\x8D\xB7\xAC\x12\x00
SetMaxSpeed - void CCSPlayer::
SetMaxSpeed(float)
Code:
\x56\x8D\xB1\x58\x50\x00\x00\x8B\x0E\x8D\x60\x24\x08\x3B\x08
IncrementDeathCount - void CBasePlayer::IncrementDeathCount(int)
Code:
\x8B\x44\x24\x04\x01\x81\xEC\x0B\x00\x00\x8B\x81\xEC\x0B\x00\x00\x89\x81\x54\x09\x00\x00\xC2\x04\x00
ResetDeathCount - void CBasePlayer::ResetDeathCount()
Code:
\x33\xC0\x89\x81\xEC\x0B\x00\x00\x89\x81\x54\x09\x00\x00\xC3
IncrementFragCount - void CBasePlayer::IncrementFragCount(int)
Code:
\x8B\x44\x24\x04\x01\x81\xE8\x0B\x00\x00\x8B\x81\xE8\x0B\x00\x00\x89\x81\x50\x09\x00\x00\xC2\x04\x00
ResetFragCount - void CBasePlayer::ResetFragCount()
Code:
\x33\xC0\x89\x81\xE8\x0B\x00\x00\x89\x81\x50\x09\x00\x00\xC3
BlocckRoundEnd
Code:
\x56\x8B\xF1\x83\xBE\x4C\x02\x00\x00\x00\x74\x09
Code:
void UTIL_DISABLE_ROUND_END()
{
char *serverdlladdr = NULL;
if(!GetMemSig("BlockRoundEnd", (void **)&serverdlladdr) || !serverdlladdr)
{
META_CONPRINTF("[*] Failed getting Server dll handle\n");
return;
}
const unsigned char ret[] = {0xC2,0x04,0x00};
void *pfnRoundEnd = reinterpret_cast<void *>(serverdlladdr);
DWORD oldflags;
VirtualProtect(pfnRoundEnd, sizeof(unsigned char), PAGE_READWRITE, &oldflags);
memcpy(pfnRoundEnd, &ret, sizeof(ret));
VirtualProtect(pfnRoundEnd, sizeof(unsigned char), oldflags, &oldflags);
}
RestartGame(end round without "Counter-Terrorists win" sound) - void CGameRules::RestartGame()
Code:
\x83\xEC\x14\xA1\xA0\x74\x57\x22\x53\x56\x8B\xF1\x8B\x48\x0C\x8B\xD1\x81\xE2\x00\x00\x80\x7F
SetBotEnemy (for bot only) - void ???:SetBotEnemy(CBaseEntity*)
Code:
\x56\x57\x8B\xF9\x8B\x87\xFC\x35\x00\x00\x83\xF8\xFF\x74\x21\x8B\x15\x80\x1D\x51\x22
CalcNearestPoint - void CCollisionProperty::CalcNearestPoint( const Vector &, Vector *) const
Code:
//Computes the nearest point in the OBB to a point specified in world space
\x83\xEC\x18\x56\x8B\xF1\x8B\x4C\x24\x20\x8D\x44\x24\x04\x50\x51\x8B\xCE\xE8\x49