Does spaghetti code threaten to unravel CSGO? One redditor thinks so
An inquisitive redditor poured over Counter-Strike: Global Offensive’s item coding. The results were not positive.
Reddit user -ZooL- decided to search through the files of the popular first-person shooter. There, they uncovered instances of buggy code that caused various issues with the way items are implemented in the game. They shared those findings on the community subreddit r/GlobalOffensive
CSGO launched in 2012 and since then, Valve programmers have been building upon the game’s base code which has left fragments of outdated material in the game’s files.
According to -ZooL-, this can cause a variety of in-game issues. They go on to demonstrate the problems caused by this code, which includes miscategorization of the AUG’s scope and inventory issues with the Ballistic Shield. They also tie this to a bug in Danger Zone that resulted in molotov cocktails not working properly.
The redditor singles out a file labeled “items_game.txt" which contains problematic “spaghetti code.”
As it stands, CSGO is fully functional and offers a smooth experience to players. The trouble is that piling more and more code onto the game will eventually cause problems.
“I can understand that it's underwhelming to work on existing spaghetti code and you have to deal with it by doing another layer of spaghetti but they can't continue like that, at some point the bugs will become insane. Cleaning those issues will be a godsend for both their team and us,” -ZooL- said.
The redditor stresses that there shouldn’t be extra pressure on the CSGO development team and this isn’t a means of undermining their work. CSGO is on a global upswing in popularity and he stresses that this wouldn’t have been possible without the staff at Valve.
Still, fixing these coding issues offers short-term benefits for the modding community and server owners while preempting potential long-term issues.
Visual Stories around the web
Ranked matchmaking and drops now exclusive to CSGO Prime users
Is Valve now permanently banning CSGO account boosters?
Latest CSGO update brings improved bots, weapon pickup bug fix
CSGO fan creates configuration file to help deaf players
Valve takes measures against fake free Dragonclaw Hook scam pages
Gun purchases from ECS Season 7 Finals hint at CSGO meta shift
Codewise Unicorns sign CSGO veteran TaZ and his Aristocracy roster
Cloud9 will not play in Berlin Major after flop in qualifiers
Ghost Gaming releases CS:GO team after free agency announcements
NRG Esports adds Stanislaw hours before StarLadder Majors qualifiers
Immortals looking to sell OpTic Gaming CS:GO team after buyout
Underdogs reign supreme early in Winners League Season 2 playoffs
Esports Insider 2019 Hall of Fame Inductees have been announced
Complexity Gaming coach discusses ECS Season 7 cheating accusations
Team Liquid has staked its claim as the best CS:GO team in the world
Team Vitality wins ECS Season 7 Finals, crushes hopes of Furia
GIRLGAMER Sydney announces Benefit Cosmetics as new sponsor
UPS lost the DreamHack Masters Dallas trophy won by Team Liquid
CS:GO fan recreates Dust2 in the Unreal engine with great results