Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3173 closed defect (fixed)

Petra is getting stuck on gathering when playing with low pop cap

Reported by: fcxSanya Owned by: mimo
Priority: Should Have Milestone: Alpha 19
Component: AI Keywords: petra bot ai
Cc: Patch:

Description

Screenshot representing the issue: http://i.imgur.com/T7zNBT6.jpg , notice that two hours of game time are passed and all what a very hard Perta player achieved are a few farms/dropsites and a couple of houses.


Originally the issue was reported on A18 on the Russian Ubuntu community forums: 1. The message said that in some matches Petra doesn't build docks on Aegean Sea.

I was able to reproduce this issue on A18 on Aegean Sea of normal size with 3 bots with (I believe) population limit 150. Testing on r16536 shows that the issue is still there. It seems that it's easier to reproduce it with the lowest allowed pop cap (50).

Sander also confirmed the problem:

<sanderd17_> But the issue itself seems to be rather easy to reproduce. I started a game with 50 pop cap, on very hard, it just created 4 new units, and is now stuck on gathering <sanderd17_> Already 1400 food and 3800 wood in stock <sanderd17_> There's only one AI of the three that actually does something (create an army and attack)

Attachments (1)

savegame-0019.0adsave (1.0 MB ) - added by fcxSanya 9 years ago.
Savegame file corresponding to the screenshot linked in the ticket description

Download all attachments as: .zip

Change History (7)

by fcxSanya, 9 years ago

Attachment: savegame-0019.0adsave added

Savegame file corresponding to the screenshot linked in the ticket description

comment:1 by fcxSanya, 9 years ago

Summary: Petra stucks on gathering when playing with low pop capPetra stuck on gathering when playing with low pop cap

comment:2 by fcxSanya, 9 years ago

Summary: Petra stuck on gathering when playing with low pop capPetra is getting stuck on gathering when playing with low pop cap

comment:3 by mimo, 9 years ago

I believe the original problem with dock is something different, and in fact, dock placement has been rewritten after A18 because there were some cases where petra could not find a right position. It should (hopefully) no more happen in svn.

For the low caps problem with petra stuck, I can reproduce the problem and I'll have a look at it.

in reply to:  3 comment:4 by fcxSanya, 9 years ago

Replying to mimo:

I believe the original problem with dock is something different, <...>

It's possible; when I tried to reproduce the issue on A18 I paid attention only to the docks presence and it was on r16536 when I noticed that the bot generally stops development.

comment:5 by mimo, 9 years ago

Owner: set to mimo
Resolution: fixed
Status: newclosed

In 16548:

petra: improve attack management and let some parameters vary with maxpopulation, fixes #3173

comment:6 by mimo, 9 years ago

Milestone: BacklogAlpha 19
Note: See TracTickets for help on using tickets.