Development Update (JoW Offline #1)
Added 2023-01-04 19:17:44 +0000 UTCI thought I'd post updates whenever a new feature is ported to the new Javascript-based offline version. And this is a fun one because it's so much faster!
Company Stats
These take a long time to load because it loads all your events, their matches, and your superstars' matches, to get stats like most 5 star matches, most main events etc. So it gets slower with long scenarios.
On the web version, since this call takes so long, the task is sent to a background worker that queues it for execution. This queue also holds tasks like starting new games and simulating competitors, so it can take quite a while for stats to load.
On the offline version, there's no queue hence no waiting, and the execution is much faster because it's a local database.
Here are some stats on how fast it loads on the offline version.
Scenario: Tomorrow the World 1989
- 5 year game: 1s.
- 10 year game: 2s.
- 20 year game: 4.5s.

Above you can see stats load for a 5 year game.
Onto finishing the rest of the menu actions! Thanks for reading.
Comments
Haha yes you don't have to get up ever now! I plan to add cloud saves, since users are used to switching devices now and i want to keep that.
2023-01-21 09:50:19 +0000 UTCHOLY CRAP THAT'S FAST. I've been playing a ~40 world. I open the stats page and then go do a household task haha. My GF is going to kill me now that I dont have a reason to be productive. I do have general question about the new offline update: Will there be any system of cloud saves that allow you to transfer saves from devices or will I be picking my favorite device forever once the offline version comes? I intend to switch to offline just for the extra world building capabilities... ive been "porting" my save's current spot to a scenario for offline and expanding the world's lore but I AM nervous about having to pick which device I play on for forever. I play 50% ipad, 50% desktop (browser) right now. It's gonna be tough committing to never being able to continue my save on one or the other.
Johnathan
2023-01-04 20:33:59 +0000 UTC