Stan` Posted August 12, 2014 Report Share Posted August 12, 2014 I was playing the scenario map Azure Coast(4) and I got the error in the title.I attached all the files.Report.zip Quote Link to comment Share on other sites More sharing options...
kanetaka Posted August 14, 2014 Report Share Posted August 14, 2014 Could you tell me which revision you played? I assume you played the latest svn, because I also noticed the result of pathfinding was changed a couple of days ago. Quote Link to comment Share on other sites More sharing options...
kanetaka Posted August 14, 2014 Report Share Posted August 14, 2014 I played your commands.txt on r15637 and got debug output.The Following messages appear repeatedly:WARNING: Petra baseManager problem with accessIndex 6 while metadata acess is undefinedERROR: CCmpPosition::GetPosition2D called on entity when IsInWorld is falseAnd other messages. these appear only once.Turn 9620 (200)... ERROR: JavaScript error: simulation/ai/common-api/map-module.js line 35TypeError: 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.updatePreparation/<@simulation/ai/petra/attackPlan.js:530 m.EntityCollection.prototype.forEach@simulation/ai/common-api/entitycollection.js:196 m.AttackPlan.prototype.updatePreparation@simulation/ai/petra/attackPlan.js:514 m.AttackManager.prototype.update@simulation/ai/petra/attackManager.js:87 m.HQ.prototype.update@simulation/ai/petra/headquarters.js:1933 m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:85 m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:85debug_output.txt Quote Link to comment Share on other sites More sharing options...
Stan` Posted August 14, 2014 Author Report Share Posted August 14, 2014 Indeed it was latest revision on that day. What does these errors reveals ? Quote Link to comment Share on other sites More sharing options...
auron2401 Posted August 15, 2014 Report Share Posted August 15, 2014 (edited) Reading between the lines I’d say the pathfinder tried but failed to make a route.Not sure how though. AH, because it couldn't find the files required to do the pathfinding?Try re-compiling, maybe a change moved the path-finding changes to the pre-compiled location, and the game engine couldn't find them? Edited August 15, 2014 by auron2401 Quote Link to comment Share on other sites More sharing options...
Stan` Posted August 15, 2014 Author Report Share Posted August 15, 2014 It was the latest custom build I could do Quote Link to comment Share on other sites More sharing options...
mimo Posted August 15, 2014 Report Share Posted August 15, 2014 There was a subtle bug in the AI introduced by the fogging patch. The warning about undefined baseIndex was a consequence of it. Not sure if the other problems are connected, but for sure the internal state of the AI was broken. You should apply the patch from http://trac.wildfiregames.com/ticket/2724 and see if the problems still exist. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.