Jump to content

Error in Single Player with 3 AI-Players


davidki
 Share

Recommended Posts

Hi 0AD community,

I am experiencing error messages in the game. The messages started in coming up in the middle of the game. There are lots of Warnings, similar to:

 "WARNING: PlayerID 4 |    Petra error in incrementBuilderCounters for structures/ptol/temple_2 with count < 0"

And than a error message come up:

ERROR: JavaScript error: simulation/ai/petra/basesManager.js line 175
base is undefined
  PETRA.BasesManager.prototype.checkEvents@simulation/ai/petra/basesManager.js:175:7
  PETRA.HQ.prototype.checkEvents@simulation/ai/petra/headquarters.js:118:20
  PETRA.HQ.prototype.update@simulation/ai/petra/headquarters.js:2225:7
  PETRA.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:118:11
  m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:64:7

The game nevertheless continues to run. I play as Spartans against 3 AI-Players with random civilizations (actually: Han, Seleucids,Ptolemeis)

When I start a new game with same settings, the error does not occur (at least not in the first minutes).

I am on Ubuntu 24.04, 0AD 0.27.1 installed as snap package.

Could someone shed some light on these errors? 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...