Author Topic: AI War Beta 6.028-6.031 "So I Rewired It" Released!  (Read 9114 times)

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
AI War Beta 6.028-6.031 "So I Rewired It" Released!
« on: May 14, 2013, 01:51:35 pm »
(Crossposted from this blog post)

This one contains a huge chunk of the "base game" (not part of the expansion) work going into 7.0.  Following the expansion's theme we've just put a lot of work into updating the AI itself to better deal with the many additions and changes made to the game over the last few years, and also take advantage of new things we've learned in that time.

So fair WARNING: this release has some significant "foundational upheavel", mostly in the AI code, and may have some very strange and wonderful bugs (more strange than wonderful).  That said, we've put many hours into testing it both in unit tests and just playing the game and it's been stable, smooth, and fun so I think it's ready for beta release.  If/when you run into issues, please let us know! :)  And please give us your feedback (positive or negative) on the changes in general.  You may not even notice them very much depending on the situation, depending on how much time you spend actually looking at what the AI units are doing.

Anyway, a few highlights on the AI changes:

- The AI thread itself now runs much faster and thus the AI is now able to respond to changes in the situation more quickly.

- The AI's normal "threat" (as opposed to the "threatfleet") is now better at finding targets it both wants to reach and can reach and is now more responsive to changes in the situation.

- The AI's "wait" behavior (when it's sending units through a wormhole but realizes it shouldn't send them in yet or they'll just die) has been significantly improved to not wait right on the wormhole, to have a better understanding of the actual balance of power (and thus when to go through or not go through), and to "cut bait" if it's waiting too long and a better opportunity is available somewhere else.

- The AI's individual ship targeting priorities have been improved in several ways, including making some of its heavier combatants more serious about taking out the main human threats on the battlefield and making its units less concerned about secondary targets (and thus more concerned about primary targets) in major fleet actions.

- Various strange bugs and oddities that crept in over the years have been excised.  There's almost certainly still some hiding out, and others introduced in what we've just done, but now we're in a better position to actually find and fix them.  Notably, there are several new debug commands available to players who want to help us find out what's going on when they see some strange AI behavior (particularly those that we can't reproduce from a saved game).


And some other highlights of this release:

- Guardian seeding in a game's initial map generation is now much less painful because each planet won't start at full population, and guardian populations in general will be lower and less dependent on map type (because guardians will no longer spawn for Wormhole Guard Posts).  But remember that alerting a planet will (as before) allow it to gradually reinforce up to maximum guardian population.  That can be painful ;)

- Cross Planet Attacks now always deploy as carriers, and carriers auto-deploy much more readily in most combat conditions (and can now partially deploy, in those conditions).  Also, we undid the recent change that made CPA ships start as threatfleet instead of normal threat, because the AI improvements have made normal threat much more immediately dangerous.  Oh, CPAs can also syncrhonize with exos on higher difficulties under certain conditions now.  That won't hurt a bit, really.

- Fixed a recent bug that was causing _way_ too many counterattack guard posts to seed during initial map generation.


Update: 6.029 hotfix for a bug from a few versions ago where auto-loading with the ships in a control group with the new "control group always group moves" toggle would cause unhandled errors.  Also fixed a bug (probably from the last version, not 100% sure) where threat could get stuck on a planet where the only human unit was a captured core warhead interceptor.

Update: 6.030 hotfix to fix a number of issues found in the recently started private alpha of the expansion.

Update: 6.031 hotfix to fix some more issues discovered by the alpha, as well as some non-expansion-related bugs.

Enjoy!

This is a standard update that you can download through the  in-game updater itself, if you already have 4.000 or later. When you launch the game, you'll see the notice of the update having been found if you're connected to the Internet at the time.  If you don't have 4.000 or later, you can download that here.
« Last Edit: May 20, 2013, 03:33:00 pm by keith.lamothe »
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline TechSY730

  • Core Member Mark V
  • *****
  • Posts: 4,570
Re: AI War Beta 6.028 "So I Rewired It" Released!
« Reply #1 on: May 14, 2013, 02:10:10 pm »
Awesome!

Given all the changes to how the AI handles queues orders to units, I will see if I can reproduce some of those more "stubborn" bugs (like the "threat stuck" bug), and see if I can get some of those logs to you.

And yikes, did you really add an option which logs every order an AI player gives for every unit they have? Wow. Given that the AI can easily get several hundred actions per second (note, not per minute, per second), those would be some pretty freaking huge files. Good call on giving a form of it that is limited to a unit.

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: AI War Beta 6.028 "So I Rewired It" Released!
« Reply #2 on: May 14, 2013, 02:52:15 pm »
And yikes, did you really add an option which logs every order an AI player gives for every unit they have? Wow. Given that the AI can easily get several hundred actions per second (note, not per minute, per second), those would be some pretty freaking huge files. Good call on giving a form of it that is limited to a unit.
The one that logs all the commands just logs the commands themselves.  Also if it tells 200 ships on planet A to move to planet B 10 hops away, that's all just one command (with a list of 200 object numbers and a list of 10 planet numbers, and a couple other things).  It also doesn't give commands to something when it's waiting for an update from the last command to that thing.  And it tries to not give orders to stuff that's busy (on a wormhole-travel chain, waiting, or attacking) unless the new command would be a big improvement.  So it's not generally going to be hundreds per second.

The one that logs stuff for just one unit actually logs the logic of how it gets to making those commands (most of them, anyway, I didn't really tunnel through the Hybrid logic or some of the other stuff).
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Aklyon

  • Core Member
  • *****
  • Posts: 2,089
Re: AI War Beta 6.028 "So I Rewired It" Released!
« Reply #3 on: May 14, 2013, 03:11:32 pm »
Well, this should be interesting.

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: AI War Beta 6.028-6.029 "So I Rewired It" Released!
« Reply #4 on: May 14, 2013, 05:51:39 pm »
Update: 6.029 hotfix for a bug from a few versions ago where auto-loading with the ships in a control group with the new "control group always group moves" toggle would cause unhandled errors.  Also fixed a bug (probably from the last version, not 100% sure) where threat could get stuck on a planet where the only human unit was a captured core warhead interceptor.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline TechSY730

  • Core Member Mark V
  • *****
  • Posts: 4,570
Re: AI War Beta 6.028-6.029 "So I Rewired It" Released!
« Reply #5 on: May 14, 2013, 08:01:55 pm »
"ilostit"

You think you are so clever hiding new stuff among other new stuff, don't you. ;)

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: AI War Beta 6.028-6.029 "So I Rewired It" Released!
« Reply #6 on: May 14, 2013, 08:02:19 pm »
"ilostit"

You think you are so clever hiding new stuff among other new stuff, don't you. ;)
That's been there for a long time :)
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline TechSY730

  • Core Member Mark V
  • *****
  • Posts: 4,570
Re: AI War Beta 6.028-6.029 "So I Rewired It" Released!
« Reply #7 on: May 14, 2013, 08:03:23 pm »
"ilostit"

You think you are so clever hiding new stuff among other new stuff, don't you. ;)
That's been there for a long time :)

...Ooops. :D


EDIT: Now if I could only understand the parameters this one takes, I could do all sorts of stupid stuff. :D

EDIT2: "Agh, my eye!", I loled. ;D
« Last Edit: May 14, 2013, 08:04:56 pm by TechSY730 »

Offline Zeyi

  • Jr. Member Mark II
  • **
  • Posts: 79
Re: AI War Beta 6.028-6.029 "So I Rewired It" Released!
« Reply #8 on: May 15, 2013, 03:49:34 am »
Quote
- Fixed a recent bug that was causing _way_ too many counterattack guard posts to seed during initial map generation.

Awesome. I have had a few games recently where there was a suspicious number of counter attack guard posts, but i just thought I was getting unlucky.

Offline Bognor

  • Hero Member
  • *****
  • Posts: 570
Re: AI War Beta 6.028-6.029 "So I Rewired It" Released!
« Reply #9 on: May 15, 2013, 09:58:25 am »
More seriously, if these can find their way into another text-issue compilation, I can get them the next time I take a swing at that.
Done: Mantis 11485.
Your computer can help defeat malaria!
Please visit the World Community Grid to find out how.

Offline Bognor

  • Hero Member
  • *****
  • Posts: 570
Re: AI War Beta 6.028-6.029 "So I Rewired It" Released!
« Reply #10 on: May 15, 2013, 10:10:07 am »
Quote from: 6.028 patch notes
Special Forces Guard Posts and Core Shield Generators are now never counted as Attack or Threat on the top bar, since players commonly leave them as-is and they're (relatively) innocuous.
Now that there's logic to identify these as non-threats, would it be practical to have them also not trigger certain offensive behaviours like the launching of Neinzul Enclave drones, Spire Blades, Tackle Drones, and the various drones from champion or modular fortress bay modules?  It's annoying to have a Neinzul Enclave Starship constantly dumping its load due to a non-threat.

Also, could that first shard thingy that spawns on the player homeworld in Fallen Spire be treated the same way?

I can Mantis this if desired.
Your computer can help defeat malaria!
Please visit the World Community Grid to find out how.

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: AI War Beta 6.028-6.029 "So I Rewired It" Released!
« Reply #11 on: May 15, 2013, 10:58:46 am »
Now that there's logic to identify these as non-threats, would it be practical to have them also not trigger certain offensive behaviours like the launching of Neinzul Enclave drones, Spire Blades, Tackle Drones, and the various drones from champion or modular fortress bay modules?  It's annoying to have a Neinzul Enclave Starship constantly dumping its load due to a non-threat.

Also, could that first shard thingy that spawns on the player homeworld in Fallen Spire be treated the same way?

I can Mantis this if desired.
No need to mantis in this case, I'd actually intended those behaviors to be impacted too but I guess it didn't work out that way; will put on list for next release; thanks for pointing it out.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Kahuna

  • Core Member
  • *****
  • Posts: 2,222
  • Kahuna Matata!
Re: AI War Beta 6.028-6.029 "So I Rewired It" Released!
« Reply #12 on: May 15, 2013, 11:28:17 am »
I can no longer see my ships in the galaxy map if they're in transports.
set /A diff=10
if %diff%==max (
   set /A me=:)
) else (
   set /A me=SadPanda
)
echo Check out my AI War strategy guide and find your inner Super Cat!
echo 2592 hours of AI War and counting!
echo Kahuna matata!

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: AI War Beta 6.028-6.029 "So I Rewired It" Released!
« Reply #13 on: May 15, 2013, 11:29:54 am »
I can no longer see my ships in the galaxy map if they're in transports.
I didn't actually change that, though perhaps some weird interaction happened.  Will take a look when I get a chance.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Kahuna

  • Core Member
  • *****
  • Posts: 2,222
  • Kahuna Matata!
Re: AI War Beta 6.028-6.029 "So I Rewired It" Released!
« Reply #14 on: May 15, 2013, 11:31:21 am »
Oh! And the game seems to be running smoother. I always play on 10x speed and the game seems to be running faster and just.. smoother.
set /A diff=10
if %diff%==max (
   set /A me=:)
) else (
   set /A me=SadPanda
)
echo Check out my AI War strategy guide and find your inner Super Cat!
echo 2592 hours of AI War and counting!
echo Kahuna matata!