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

  • 9 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...