New daily beta! https://wiki.arcengames.com/index.php?title=AI_War_2:Finalizing_Multiplayer#Beta_3.505_Long-Term-Thread_Efficiency 1. Okay, there has been so much code review today, and for the longest time I didn't really find all that many things of concern. Yes I was able to make some improvements to correctness after pooling in some areas, but it was nothing that would explain the sorts of errors that Zweihand and Setsuna were reporting seeing intermittently. Which was a surprise, because I figured it would be in the external data for factions. 2. After working on verifying that was all okay and fixing up the parts that were not, Badger and I got to talking about the Zenith Trader case in particular. The Zenith Trader uses a data structure for its movement that most of the newer factions didn't use. That data structure was basically a copy of parts the main game data, for purposes of use on the "long term planning" AI/NPC threads. I had mentally flagged that category of data as being potentially problematic when I was making things pooled a bit ago, but a problem with it wasn't obvious. 3. Rather than start testing and debugging that long-term data copy, I decided to strip it entirely out instead. This isn't used by more recent factions for a reason. Essentially, as I've further developed my thinking on ways to speed up multi-threaded simulations (once you take perfect determinism off the table), it was clear that the long-term-data copy was a relic of the old deterministic way of thinking. This had been on my radar for at least a year as something I wished I could kill, but the game was working fine and so there was no sense rocking the boat. Well... now the game was NOT working fine, so it was the perfect time to strip that out. So what was the result? Well... it's hard to say. Those behaviors that were observed were already really intermittent. This may have been the part of the code that was causing them, or this may have been utterly unrelated to the bug I was ostensibly chasing. But I do know one thing: this data and the way it was generated was one of the biggest slowdowns for the game, on the main sim-coordinating thread. I have wondered for years where the "performance leak as planet counts climb" was, and I think that as I was stripping this stuff out I got my answer. The amount of time spent calculating this stuff was staggering, and also completely unneeded. It's an excellent showcase of why my newer method for multithreading is so superior in the first place. I'm running on a really beefy CPU these days, so I don't notice a huge difference since I already had full sim speed, but it does seem a little snappier to load the savegames at the very least, or maybe that's my imagination. I'll be curious to hear if there's a noticeable speed boost for anyone playing a more extreme game setup, or with a lower-spec machine. ---- This did, naturally, break all the code mods again. The Arcen-maintained ones and AMU are updated, but I didn't give SirLimbo any warning or any time to update his actual faction mods. Hey, this is a beta after all. There is some more data along the lines of this long-term data (it's data for short-range planning, in this case), and I may look into stripping that out as well, thus breaking all mods AGAIN. My final ideas for some of the problems seen in multiplayer are also something I plan on implementing soon, and those are going to require reworking all the notifications and intel tab entries and a lot of unit tooltip addenders, which faction mods also tend to have in abundance. It's a bit of a rough time to be modding via code here! But the result is going to be a leaner simulation for singleplayer, and a vastly more performant and accurate situation in multiplayer, too. I'm not thrilled with how this is hitting my schedule, but hopefully some of these simplifications also remove the bugs that are lingering at the moment. More to come soon. Enjoy!
[ 2021-08-07 00:13:04 CET ] [ Original post ]
- AI War 2 Linux [1.72 G]
- AI War 2: The Spire Rises
- AI War 2: Zenith Onslaught
- AI War 2: The Neinzul Abyss
You must steal as much technology as you can, and take enough territory to fortify your bases and launch your attacks. But every conquest you make turns the attention of the AI ever more in your direction... so choose your targets with care.
It's "a sequel to [Arcen's] enormo-space RTS AI War, which we called'one of this year's finest strategy games' back in 2009" (Tom Sykes, PC Gamer)
What's New?
We still have a lot of work to do on the game, and we're undergoing some major work with our beta testers before heading to Early Access, but a lot is already awesome:- The game is crazy moddable.
- It's multithreaded to take full use of modern computers.
- The new 3D graphics are working out great.
- The UI has already been dramatically improved by the introduction of a tabbed sidebar in the main view, and streamlining of several other mechanics that felt very difficult in the past. More to come, there.
- We’ve got art for over 130 distinct units (not counting different mark levels), and there's more to come.
- We’ve got over 1500 lines of spoken dialogue from more than 25 actors, focusing primarily on the human side at the moment; we have a few hundred lines of AI-side taunts and chatter, some of which is recorded but just not processed yet.
- There are hundreds of high quality sound effects for a varied battlefield soundscape (with distance attenuation if you’re far away, and positional 3D audio if you’re down in the thick of it), all routed through a tuned mixer setup for optimal listening to all the various parts.
- We have a set of music from Classic that is over four and a half hours long, and the new music from Pablo is partly in, but mostly set to be mastered and integrated within the next week or two.
- There’s also a ton of map types, many of them new, and with a lot of sub-options to make them even more varied.
- And a whole lot more.
Wishlist the game to be notified when it becomes available!
- OS: Ubuntu 12.04+. SteamOS+
- Processor: Dual Core 64bit CPU (2.2+ GHz Dual Core CPU or better)Memory: 4 GB RAM
- Memory: 4 GB RAM
- Graphics: NVIDIA GTX 510+. Radeon HD5900+. or Intel HD4000+
- Storage: 4 GB available space
- Processor: Any Quad Core or 3.0+ GHz Dual Core CPUMemory: 6 GB RAM
- Memory: 6 GB RAM
- Graphics: NVIDIA GTX 660 2GB / AMD HD 7870 2GB
- Storage: 4 GB available space
[ 6132 ]
[ 2625 ]