Resolving Decision Race Conditions
I continue to hammer down the most obvious and pesky bugs in preparation to the start of the closed alpha next week.
The biggest issue I fixed this time around was a weird race condition that occurs when a tribe has to resolve two or more decision chains at the same time. In this case, what was happening is that a clan had to decide at the same time to demand influence from the dominant clan while at the same time it was deciding to split from the tribe to form its own, This made the game crash because the clan would end up demanding influence from another clan that is no longer part of the same tribe.
Normally, decisions are resolved in a first-come-first serve basis. But some decisions, when resolved, spawn other decisions, forming a decision chain, and these new decisions are pushed to the end of the queue, causing a problem when two different decision chains intermix. To solve this issue, I decided to add a priority system, where some decisions have to be solved before others even if they were created after. In this manner, an already initiated decision chain must be completed before any other decision chain can start. This was a rather big change that broke other things, but I had a chance to solve those issues in a creative way. Saving me some time.
Anyway, as I mentioned, the closed alpha will start next week. If you want to be part of it, please make sure to read this post with all the details.
Get Worlds - History Simulator
Worlds - History Simulator
A world generator, and human history simulator
Status | On hold |
Author | DrTardigrade |
Genre | Simulation, Strategy |
Tags | Alternate History, Procedural Generation |
Languages | English |
More posts
- Extended HiatusOct 23, 2022
- Worlds 0.3.4.01 (minor update)Oct 03, 2022
- Worlds 0.3.4Aug 22, 2022
- Worlds 0.3.4 alpha 4 ready for closed testingJul 27, 2022
- Done Migrating Discovery Mod ScriptsJun 05, 2022
- Halfway through Alpha 4Apr 19, 2022
- Closed Alpha 3 StartMar 20, 2022
- The Last PartMar 15, 2022
- Closed Alpha 3 Participation FormMar 13, 2022
- Relationship Improving Action Done...Jan 04, 2022
Leave a comment
Log in with itch.io to leave a comment.