Jump to content

[FIXED]AI errors


WhiteTreePaladin
 Share

Recommended Posts

Getting both of these errors on r15540. I looked for the commands.txt, but I'm not sure it's the right one. (Don't we only get one commands.txt per session? If we start a new map without restarting 0AD, does it create a new commands.txt?)

ERROR: JavaScript error: simulation/ai/common-api/map-module.js line 35 TypeError: p is undefined m.Map.prototype.gamePosToMapPos@simulation/ai/common-api/map-module.js:35 m.Accessibility.prototype.getAccessValue@simulation/ai/common-api/terrain-analysis.js:327 m.AttackPlan.prototype.Abort@simulation/ai/petra/attackPlan.js:1409 m.AttackManager.prototype.update@simulation/ai/petra/attackManager.js:162 m.HQ.prototype.update@simulation/ai/petra/headquarters.js:1854 m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:85 m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:85

ERROR: JavaScript error: simulation/ai/common-api/map-module.js line 35 TypeError: p is undefined m.Map.prototype.gamePosToMapPos@simulation/ai/common-api/map-module.js:35 m.Accessibility.prototype.getAccessValue@simulation/ai/common-api/terrain-analysis.js:327 m.AttackPlan.prototype.Abort@simulation/ai/petra/attackPlan.js:1409 m.AttackManager.prototype.update@simulation/ai/petra/attackManager.js:162 m.HQ.prototype.update@simulation/ai/petra/headquarters.js:1854 m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:85 m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:85

WARNING: unknown type in garrisonManager undefined

WARNING: unknown type in garrisonManager undefined

WARNING: unknown type in garrisonManager undefined

WARNING: unknown type in garrisonManager undefined

Link to comment
Share on other sites

(Don't we only get one commands.txt per session? If we start a new map without restarting 0AD, does it create a new commands.txt?)

They are organized by process ID, and then numbered by session. I'm not sure what happens if you get the same process ID again in a separate run of the game.
Link to comment
Share on other sites

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...