News for hackers. Stuff that matters.
Re:Rockstar thanks GTA Online player who fixed load times, o... by sim_card_map on Monday March 15, 2021 @06:42PM (#26470254)
Given how simple this bug is, I was 100% certain they did it on purpose to show more ads.
Re:Rockstar thanks GTA Online player who fixed load times, o... by indeedmug on Monday March 15, 2021 @06:45PM (#26470292)
I don't think it was simple. It came down to the odd specifics of scanf making the algorithm O(n^2) which wasn't obvious at all from the programmer standpoint. A lot of people pan Rockstar for being incompetent but in reality, it's a C footgun that any programmer would make.

Edit: I reread the article and I overlooked how there was a second issue of a poorly implemented "hash table" that was a linked list that checked the entire list for dups in every update. Since we don't have access to the source code, it's hard to say if this is poorly implemented piece of code on Rockstar's part or someone else. It could be some deeply buried piece of code that no one ever looked at for years until now.

Re:Rockstar thanks GTA Online player who fixed load times, o... by 295310e0 on Monday March 15, 2021 @07:06PM (#26470484)
On the gripping hand, if someone had run a profiler on the code in all of these years, it would have popped out immediately that some investigation was warranted.
Re:Rockstar thanks GTA Online player who fixed load times, o... by indeedmug on Monday March 15, 2021 @07:12PM (#26470541)
It seems like the original GTAV is a efficient and well optimized game. I played it and it looks amazing for how fast it runs. They certainly ran a lot of profilers to nail the performance down. It's amazing what video games can do, look at the Doom series.

https://www.youtube.com/watch?v=UsmqWSZpgJY

But this is online GTA. I can imagine that they handed it off to another department that didn't have the same amount of discipline and expertise. it's probably an off shoot team that creates content for the engine but don't necessarily need to dig down into how the engine works.

Re:Rockstar thanks GTA Online player who fixed load times, o... by hnick on Monday March 15, 2021 @07:16PM (#26470586)
Maybe not fixing it was on purpose, but I doubt the original bug was. They could've just added a more straightforward sleep/delay in the code. If anyone finds it they can say it was accidentally leftover testing code because they needed a delay to see ads in the office to make sure it works.
Re:Rockstar thanks GTA Online player who fixed load times, o... by dastx on Monday March 15, 2021 @06:54PM (#26470386)
Imagine how much they'll have lost in revenue because people rage quit due to slow load times. Myself included.
Re:Rockstar thanks GTA Online player who fixed load times, o... by PeterisP on Monday March 15, 2021 @07:29PM (#26470735)
Yep; we tried to play with some friends over the pandemic, but rather quickly we nicknamed it "Loading Online" and preferred to do anything else where you, well, get to do stuff instead of waiting for loading. Perhaps it was better back when GTA Online was just starting, but last year (whan I tried this) the loading times on good PC hardware were just outrageous compared to any other game.
Re:Rockstar thanks GTA Online player who fixed load times, o... by bredren on Monday March 15, 2021 @06:48PM (#26470328)
Then it is not a bug.