Author Topic: CPA ship shortage  (Read 2023 times)

Offline Vinraith

  • Hero Member Mark II
  • *****
  • Posts: 806
CPA ship shortage
« on: December 11, 2010, 12:47:31 am »
Had a CPA just now, was going to be ~5500 ships. When it went from "wave" to "threat" it showed up as ~2500. Is that a bug, or just a bunch of free ships on unscouted worlds?
« Last Edit: December 11, 2010, 01:54:46 pm by Vinraith »

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Is "threat" only counting the worlds I have scouted, now?
« Reply #1 on: December 11, 2010, 12:50:45 am »
It's possibly a bug -- it's not a display thing, at any rate.

The main problem is that if it can't find enough ships to fill the order of the CPA, then it just fills what it can.  If it tells you that there will be a wave of 5k mark II ships, and there are only 2.5k mark II ships, then that's all it will send.  It should also send the 500 mark I ships that exist (for example, if that's the case), but I'm not sure that part is working.

As far as what to do when there are simply no more ships available for the AI to send: well, I'm open to suggestions.  It could send higher-level ships, or warp in new ships, or just do what it's doing.

Oh: and, it should try to break open barracks, which it doesn't currently do.
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 Vinraith

  • Hero Member Mark II
  • *****
  • Posts: 806
Re: Is "threat" only counting the worlds I have scouted, now?
« Reply #2 on: December 11, 2010, 12:57:59 am »
It definitely shouldn't have any trouble finding enough ships. Sounds like it's a bug to me, then, I'll post on mantis in a few.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Is "threat" only counting the worlds I have scouted, now?
« Reply #3 on: December 11, 2010, 12:58:59 am »
Thanks!
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 Vinraith

  • Hero Member Mark II
  • *****
  • Posts: 806
Re: Is "threat" only counting the worlds I have scouted, now?
« Reply #4 on: December 11, 2010, 01:08:26 am »
OK, it's in, with before and after saves.

http://www.arcengames.com/mantisbt/view.php?id=1989

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Is "threat" only counting the worlds I have scouted, now?
« Reply #5 on: December 11, 2010, 01:12:02 am »
Oh, awesome -- that will be great for testing.  Thanks!
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: Is "threat" only counting the worlds I have scouted, now?
« Reply #6 on: December 11, 2010, 02:41:15 am »
To answer your question about what to do about not enough ships to fill CPAs, the AI could find eligible ships and star-ships of other mk. lvls, but with proper scaling due to that. (Like if there is a 1.5:0.8 ratio of Mk. I to Mk. II in use for wave multipliers, then it should be willing to get 80 Mk. II ships of a certain type to fill he role of 150 Mk. I ships of that same type, and vice versa. If there are no other ships of that type, it should be willing to look for other types of ships, with proper relative scaling of course)

Offline Vinraith

  • Hero Member Mark II
  • *****
  • Posts: 806
Re: Is "threat" only counting the worlds I have scouted, now?
« Reply #7 on: December 11, 2010, 01:54:20 pm »
To answer your question about what to do about not enough ships to fill CPAs, the AI could find eligible ships and star-ships of other mk. lvls, but with proper scaling due to that. (Like if there is a 1.5:0.8 ratio of Mk. I to Mk. II in use for wave multipliers, then it should be willing to get 80 Mk. II ships of a certain type to fill he role of 150 Mk. I ships of that same type, and vice versa. If there are no other ships of that type, it should be willing to look for other types of ships, with proper relative scaling of course)

Yeah, though we might want to put a bit of a restriction on how high it can go mark-wise, especially based on difficulty. Maybe something like this:

When the CPA can't be filled with normal "freed" ships of the desirable mark:

1) Open barracks until either the CPA numbers are filled out or you run out of barracks.

2) Free an equivalent firepower of ships a mark higher than those desired until the CPA numbers are filled out or you run out of ships.

3) Warp in any necessary reinforcements to fill things out.

For higher difficulties you might allow it to plumb into higher mark ships beyond a single mark above that desired (I actually thought that was how this worked already). Maybe as much as 2 higher on diff 8 and as high as needed on 9 and 10, but keeping the scaling appropriate of course.

Offline Wingflier

  • Core Member Mark II
  • *****
  • Posts: 2,753
  • To add me on Steam, click the little Steam icon ^
Re: CPA ship shortage
« Reply #8 on: December 11, 2010, 02:25:01 pm »
I didn't realize CPA attacks used units that actually exist in the game, I thought they just generated the necessary numbers out of thin air and attacked. So you mean to say that planets will actually be emptier after one of these?
"Inner peace is the void of expectation. It is the absence of our shared desperation to feel a certain way."

Offline Vinraith

  • Hero Member Mark II
  • *****
  • Posts: 806
Re: CPA ship shortage
« Reply #9 on: December 11, 2010, 02:41:22 pm »
I didn't realize CPA attacks used units that actually exist in the game, I thought they just generated the necessary numbers out of thin air and attacked. So you mean to say that planets will actually be emptier after one of these?

They always are. Frequently border worlds that have built up massively will be all but empty in the wake of a large CPA (800 ship systems dropping to ~200 ships is fairly common in my games). If you've got anything left, it's virtually always the best time to strike.

Offline Lancefighter

  • Core Member
  • *****
  • Posts: 2,440
Re: CPA ship shortage
« Reply #10 on: December 11, 2010, 02:47:36 pm »
800 ship systems? thats nothing..

I've got two planets next to me in excess of 3k units each >.>
Ideas? Suggestions? Concerns? Bugs to be squashed? Report them on the Mantis Bugtracker!

Author of the Dyson Project and the Spire Gambit

Offline Vinraith

  • Hero Member Mark II
  • *****
  • Posts: 806
Re: CPA ship shortage
« Reply #11 on: December 11, 2010, 03:01:10 pm »
800 ship systems? thats nothing..

I've got two planets next to me in excess of 3k units each >.>

Err, what? Border aggressions should have kicked in and swamped you a long time ago, planets in the current system can't sustain more than ~1000 ships before they start spilling into your systems, making barracks, spewing out carriers and so on.

Oh, or is this under 4.048 with the "stuck threat" glitch?

Offline superking

  • Hero Member Mark III
  • *****
  • Posts: 1,205
Re: CPA ship shortage
« Reply #12 on: December 11, 2010, 03:08:48 pm »
yeah, I have experienced more than a few understrength CPAs in my days

I liked the suggestion somewhere above that it frees starships to make up the numbers when running short, sounds fun!

Offline Vinraith

  • Hero Member Mark II
  • *****
  • Posts: 806
Re: CPA ship shortage
« Reply #13 on: December 11, 2010, 03:10:39 pm »
yeah, I have experienced more than a few understrength CPAs in my days

I liked the suggestion somewhere above that it frees starships to make up the numbers when running short, sounds fun!

I missed that, but it does sound like fun.

Offline TechSY730

  • Core Member Mark V
  • *****
  • Posts: 4,570
Re: CPA ship shortage
« Reply #14 on: December 11, 2010, 05:10:40 pm »
800 ship systems? thats nothing..

I've got two planets next to me in excess of 3k units each >.>

Err, what? Border aggressions should have kicked in and swamped you a long time ago, planets in the current system can't sustain more than ~1000 ships before they start spilling into your systems, making barracks, spewing out carriers and so on.

Oh, or is this under 4.048 with the "stuck threat" glitch?

If IIRC, higher level turtle type AIs get enough guard posts that 3000k ships is feasible without triggering border aggression. They don't call them turtles for nothing. :P. I could be completely wrong though.