Add server-side anti-cheat evidence scoring
This commit is contained in:
@@ -1304,14 +1304,20 @@ class CHARACTER : public CEntity, public CFSM, public CHorseRider
|
||||
void ResetComboHackCount();
|
||||
void SkipComboAttackByTime(int interval);
|
||||
DWORD GetSkipComboAttackByTime() const;
|
||||
void RecordAntiCheatViolation(const char* category, int score, const char* detail = nullptr, bool forcePersist = false);
|
||||
int GetAntiCheatScore() const { return m_iAntiCheatScore; }
|
||||
|
||||
protected:
|
||||
void DecayAntiCheatScore(DWORD dwNow);
|
||||
BYTE m_bComboSequence;
|
||||
DWORD m_dwLastComboTime;
|
||||
int m_iValidComboInterval;
|
||||
BYTE m_bComboIndex;
|
||||
int m_iComboHackCount;
|
||||
DWORD m_dwSkipComboAttackByTime;
|
||||
int m_iAntiCheatScore;
|
||||
DWORD m_dwLastAntiCheatScoreTime;
|
||||
DWORD m_dwLastAntiCheatPersistTime;
|
||||
|
||||
protected:
|
||||
void UpdateAggrPointEx(LPCHARACTER ch, EDamageType type, int dam, TBattleInfo & info);
|
||||
|
||||
Reference in New Issue
Block a user