Opened 10 years ago

Closed 10 years ago

Last modified 5 years ago

#2741 closed defect (fixed)

AI: Petra - TypeError: p is undefined

Reported by: brian Owned by: mimo
Priority: Must Have Milestone: Alpha 17
Component: AI Keywords:
Cc: Patch:

Description

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.updatePreparation/<@simulation/ai/petra/attackPlan.js:532 m.EntityCollection.prototype.forEach@simulation/ai/common-api/entitycollection.js:196 m.AttackPlan.prototype.updatePreparation@simulation/ai/petra/attackPlan.js:516 m.AttackManager.prototype.update@simulation/ai/petra/attackManager.js:87 m.HQ.prototype.update@simulation/ai/petra/headquarters.js:1942 m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:85 m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:85

Attachments (1)

error_logs.zip (91.6 KB ) - added by brian 10 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by brian, 10 years ago

There doesn't seem to be a way to remove attachments? The mainlog.html file is redundant as it is in the zipped folder.

by brian, 10 years ago

Attachment: error_logs.zip added

comment:2 by brian, 10 years ago

Priority: Should HaveMust Have

comment:3 by brian, 10 years ago

commands.txt is in the zip

comment:4 by mimo, 10 years ago

Owner: set to mimo
Resolution: fixed
Status: newclosed

In 15664:

Garrison orders canceled in the ai were not properly canceled in the simulation. Fixes #2741 and #2743.

comment:5 by Erik Johansson, 10 years ago

brian - you (plural) can delete attachments, and now you (singular) can as well. I don't remember what permissions you used to have earlier, but in either case you didn't have any specific permissions when I checked (most likely because I went through and cleaned permissions up about a month or two ago, and since you haven't been as active I probably removed you as well). You do now though :)

comment:6 by elexis, 5 years ago

Same error stack in #5589.

Note: See TracTickets for help on using tickets.