After 10 years, this significant Team Fortress 2 bug has been fixed

This video shows the now-patched bug that caused character hitboxes to sometimes go significantly out of sync with character models in Team Fortress 2

These days, we’re all used to games getting important post-launch patches that fix bugs and change gameplay balance issues that were present in the initial release. Usually, though, it doesn’t take an entire decade for a major bug to be noticed and fixed in a popular game. That is what seems to have happened this week in Team Fortress 2, though.

Over on Reddit, user sigsegv__ lays out how the game would often get confused when a player switches between certain sets of characters in the middle of a match. Apparently, after switching from the soldier/pyro/demo/engineer/medic/spy to the scout/heavy/sniper (or vice versa), the character hitbox (that polygonal mesh that determines what area can be hit by a bullet) would move start moving significantly out of sync with the visual character model that opponents could see on the server. This video illustrates the problem pretty clearly, showing character and hitbox animations that are well out of step.

The problem itself stems from a pretty arcane bit of code having to do with the differing orders that “pose parameters” are stored for these sets of character classes. Once identified, the fix involved changing only a single line of code, though as sigsegv__ notes, “knowing which one line of code is missing, and where, is the difficult part, you might say.”

Read 2 remaining paragraphs | Comments

Ars Technica

Post Author: martin

Martin is an enthusiastic programmer, a webdeveloper and a young entrepreneur. He is intereted into computers for a long time. In the age of 10 he has programmed his first website and since then he has been working on web technologies until now. He is the Founder and Editor-in-Chief of BriefNews.eu and PCHealthBoost.info Online Magazines. His colleagues appreciate him as a passionate workhorse, a fan of new technologies, an eternal optimist and a dreamer, but especially the soul of the team for whom he can do anything in the world.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.