Skip to content

HowToPlayMeow/TF2-Triple-Hit-Crit-Edited-Version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Edited Version

L 09/06/2025 - 19:51:03: [SM] Exception reported: Entity index 90 is not a valid client 
L 09/06/2025 - 19:51:03: [SM] Blaming: triplehitcrit.smx 
L 09/06/2025 - 19:51:03: [SM] Call stack trace: 
L 09/06/2025 - 19:51:03: [SM] [0] GetPlayerWeaponSlot 
L 09/06/2025 - 19:51:03: [SM] [1] Line 100, /home/forums/content/files/4/3/2/1/2/8/209728.attach::OnPlayerHurt

Problem:

  • attackerClientIndex is not always a client
  • code calls GetPlayerWeaponSlot(attackerClientIndex, TFWeaponSlot_Melee)
  • this condition fails if (damageType & DMG_CLUB == 0)

How to Fix:

  • add IsClientInGame to solve problem

ConVars:

How lenient are the "consecutive" hits in the triple hit combo. Consecutive melee swings are allowed to be started at most this many milliseconds apart and count towards the combo

  • mthc_ms_allowed_between_hits 1250

How many additional hits does scout require for a melee combo

  • mthc_additional_scout_hits 2

Whether or not demoknights are prevented from getting melee combos

  • mthc_prevent_demoknight 1

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published