davidki Posted November 22, 2025 Share Posted November 22, 2025 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 More sharing options...
Cynric Posted 2 hours ago Share Posted 2 hours ago Bump. Getting this exact error in the same situation. metadata.json commands.txt Link to comment Share on other sites More sharing options...
Stan` Posted 2 hours ago Share Posted 2 hours ago cc @phosit @Vantha Link to comment Share on other sites More sharing options...
phosit Posted 7 minutes ago Share Posted 7 minutes ago The commands.txt is from a 0.28.0. I can't reproduce the error (with that version). Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now