CalculateMaxSpeed patches broke twice from TF2 updates in span of ~4 months, both seemly unchanged function. Offset doesn't seems to be a good solution for the long term if these kind of updates would keep break patches.
Memory searches is used instead. These searches from gamedata should work for all TF2 versions >1 year ago, so it should rarely break from future TF2 update.
CalculateMaxSpeed patches broke twice from TF2 updates in span of ~4 months, both seemly unchanged function. Offset doesn't seems to be a good solution for the long term if these kind of updates would keep break patches.
Memory searches is used instead. These searches from gamedata should work for all TF2 versions >1 year ago, so it should rarely break from future TF2 update.