• JackbyDev
    link
    fedilink
    English
    631 year ago

    JSON, and it had more to do with how they were checking string lengths. But yeah, the general story is that a random dude fixed massive problems with the text parsing.

      • @ipkpjersi@lemmy.ml
        link
        fedilink
        English
        7
        edit-2
        1 year ago

        Pretty funny that because of all their microtransactions being stored in a JSON file being loaded into memory, that ended up making their game more slow and annoying and frustrating to play.

        I am super curious if the devs knew about this issue but it just wasn’t fixed because it wasn’t given priority by management, or if the devs genuinely had no clue about this?

        The even weirder and funnier thing is I’ve worked with larger JSON files day to day at my job with a much smaller scale than Rockstar/GTA, although I guess it depends on how you work with the files and the fact they were checking string lengths for literally every single piece of data etc.

    • @seang96@spgrn.com
      link
      fedilink
      English
      71 year ago

      Yeah json actually sounds better. Unfortunately it’s still a text file that they were importing the entire thing into memory. Probably worse than CSV since they were probably serializing each item from string into objects. They definitely did it in one of the most laziest ways possible though I bet it worked at the time of development and the vendors probably had very few items.

    • @Appoxo@lemmy.dbzer0.com
      link
      fedilink
      English
      01 year ago

      Not worth to assign a dev to find a bug if the player can just do a toilet break and keeps on generating memes which are free publicity.