Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#4991 closed defect (fixed)

AI Error

Reported by: fpre_O_O_O_O_O_O Owned by: mimo
Priority: Should Have Milestone: Alpha 23
Component: AI Keywords:
Cc: Patch:

Description (last modified by fpre_O_O_O_O_O_O)

Warning Player ID 4 ...

The Errors are from me, but the petra bot error warnings not.

I added replay. Error comes pretty end of replay.

SVN revision r20908.

Executing turn 4666 of 6798 WARNING: PlayerID 4 | Petra error in incrementBuilderCounters for structures/spart_outpost with count < 0 WARNING: PlayerID 4 | Petra error in incrementBuilderCounters for structures/spart_barracks with count < 0 WARNING: PlayerID 4 | Petra error in incrementBuilderCounters for structures/spart_blacksmith with count < 0 WARNING: PlayerID 4 | Petra error in incrementBuilderCounters for structures/spart_fortress with count < 0 WARNING: PlayerID 4 | Petra error in incrementBuilderCounters for structures/spart_syssiton with count < 0 WARNING: PlayerID 4 | Petra error in incrementBuilderCounters for structures/spart_theatron with count < 0 WARNING: PlayerID 4 | Petra error in incrementBuilderCounters for structures/spart_royal_stoa with count < 0

Attachments (2)

a.png (1.6 MB ) - added by fpre_O_O_O_O_O_O 6 years ago.
2018-01-19_0007.zip (167.7 KB ) - added by fpre_O_O_O_O_O_O 6 years ago.

Download all attachments as: .zip

Change History (11)

by fpre_O_O_O_O_O_O, 6 years ago

Attachment: a.png added

comment:1 by fpre_O_O_O_O_O_O, 6 years ago

Description: modified (diff)

comment:2 by elexis, 6 years ago

Cc: mimo added
Component: UI & SimulationAI
Keywords: bug ingame removed

comment:3 by elexis, 6 years ago

Summary: ErrorAI Error

Well it seems like a false-positive because we don't have a g_LobbyButtonHighlight in our code. Wondering how that ends up triggering an AI error. Might be a strange consequence of the GUI error or an independent bug.

by fpre_O_O_O_O_O_O, 6 years ago

Attachment: 2018-01-19_0007.zip added

comment:4 by fpre_O_O_O_O_O_O, 6 years ago

Description: modified (diff)

comment:5 by fpre_O_O_O_O_O_O, 6 years ago

Description: modified (diff)

comment:6 by fpre_O_O_O_O_O_O, 6 years ago

Description: modified (diff)

comment:7 by fpre_O_O_O_O_O_O, 6 years ago

Description: modified (diff)

comment:8 by mimo, 6 years ago

Owner: set to mimo
Resolution: fixed
Status: newclosed

In 20937:

petra: fix builder counters when one builder is created and destroyed in the same ai-turn, fixes #4991

comment:9 by mimo, 6 years ago

Cc: mimo removed

Thanks for the report

Note: See TracTickets for help on using tickets.