“If this somehow reaches Rockstar”
Grand Theft Auto Online was to Grand Theft Auto V what World of WarCraft was to WarCraft 3: a 2013 release that allowed people to play online together, cooperatively or competitively.
But the game had a problem. The single-player mode booted up quickly, but the online mode took over 5 or 6 minutes to load.
It was a surprisingly lengthy load time, and it stayed this way for years. Eventually, in 2021, a player going by t0st got so bothered by it that they decided to try to fix it themselves.
This is a write-up of how they approached it. It’s pretty technical, but there is something really interesting and even inspiring seeing an amateur just go after code this way:
The culprit was one particularly inefficient, unoptimized loop. t0st not only managed to fix it for themselves, but their essay and fix did indeed reach Rockstar; the company patched the game for everyone within a few weeks, and then awarded t0st a $10,000 bounty.
As you already know from Unsung, I won’t let this remain just a cute warm-feeling story. When I think of this, I think of 5 or 6 minutes, times 8 years of this bug existing, times however many users started the game each year. This is awful. I wonder what happened in Rockstar’s culture that allowed this kind of a simple thing to remain unfixed, despite them likely knowing very well about people’s complaints (as is obvious from the beginning of the post above).
Here are two good comments from Hacker News showing it likely wasn’t even just bad user experience, but also a bad business decision:
But how could Rockstar not do this? GTAV is so full of great engineering. But if it was a CPU bottleneck then who works there that wouldn’t just be irked to try to nail it? I mean it seems like a natural thing to try to understand what’s going on inside when time is much higher than expected even in the case where performance is not crucial. It was crucial here. Almost directly translates to profits. Unbelievable.
I am absolutely shocked about this finding. The amount of money on microtransactions Rockstar lost because of this single issue must be gigantic. The amount of people that got turned off by the loading times over the years is massive. It’s mind boggling.
But I did also like this comment:
Honestly, while this horrible code is mildly offensive to me, I’m pretty impressed by this person’s persistence. It’s one thing to identify a bug in a compiled program, but it’s another to patch it without fully understanding what’s going on. Caching
strlenwas a particularly clever trick that sidestepped a bunch of more complicated solutions.