I've created a new schedule for next season that appears to be working without crashes. It's not a realistic schedule in terms of what we're used to seeing from the NBA, but I think it's potentially better for a sim league and has a few interesting quirks. At least, we won't have any more double game days next season.
- Up until the final days of the season, teams will play the same team twice per sim, once at home and once away. This allows GMs to set matchups/strategies for each opponent. - At the All-Star break, every team will have played 52 games. That is a home and road game against every other team in the league. - After the All-Star break, teams will only play against their own conference. - Once all conference opponents have been played 4 times, the rest of the schedule is filled out with intra-division games. This is the only part of the season where teams might play two difference opponents in one sim.
I've just realised, we still have some strangeness in our schedule over the last two weeks of the season. Everything is as intended up until the final phase where teams only play against their own division. That part is as it should be, and everyone still ends up with the right number of home and away games, but the division games aren't spread out evenly. A team might play one rival 3 times over that stretch and another team only once. I thought I'd got that last part straight, but obviously not.