Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#3710 closed defect (fixed)

Petra - undefined property this.path and landPassMap[j]

Reported by: elexis Owned by: mimo
Priority: Should Have Milestone: Alpha 20
Component: AI Keywords:
Cc: Patch:

Description

These AI errors occured on r17551.

Turn 1212 (200)...

WARNING: JavaScript warning: simulation/ai/petra/queueplanBuilding.js line 599
reference to undefined property gameState.ai.accessibility.landPassMap[j]

This one was repeated every turn: Turn 7420 (200)...

WARNING: JavaScript warning: simulation/ai/petra/attackPlan.js line 997
reference to undefined property this.path
ERROR: JavaScript error: simulation/ai/petra/attackPlan.js line 997
TypeError: this.path is undefined
  m.AttackPlan.prototype.StartAttack@simulation/ai/petra/attackPlan.js:997:8
  m.AttackManager.prototype.update@simulation/ai/petra/attackManager.js:154:1
  m.HQ.prototype.update@simulation/ai/petra/headquarters.js:2051:3
  m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:123:3
  m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:81:2

Attachments (1)

commands.txt (522.5 KB ) - added by elexis 8 years ago.

Download all attachments as: .zip

Change History (3)

by elexis, 8 years ago

Attachment: commands.txt added

comment:1 by mimo, 8 years ago

Owner: set to mimo
Resolution: fixed
Status: newclosed

In 17557:

petra: fixes placement of dock when on the border of the map

fixes attack path computation when change of target during preparation
fixes #3710

comment:2 by mimo, 8 years ago

Milestone: BacklogAlpha 20
Note: See TracTickets for help on using tickets.