Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2686 closed defect (fixed)

Error: ent is undefined (AI)

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

Description (last modified by brian)

Revision: 15562

Had some more errors related to the AI. Also, seems that the AI stops attacking after a while.

ERROR: JavaScript error: simulation/ai/petra/army.js line 377 TypeError?: ent is undefined m.Army.prototype.onUpdate@simulation/ai/petra/army.js:377 m.DefenseArmy?.prototype.update@simulation/ai/petra/defenseArmy.js:113 m.DefenseManager?.prototype.checkEnemyArmies@simulation/ai/petra/defenseManager.js:170 m.DefenseManager?.prototype.update@simulation/ai/petra/defenseManager.js:24 m.HQ.prototype.update@simulation/ai/petra/headquarters.js:1923 m.PetraBot?.prototype.OnUpdate?@simulation/ai/petra/_petrabot.js:85 m.BaseAI.prototype.HandleMessage?@simulation/ai/common-api/baseAI.js:85

Attachments (1)

ai stalemate.zip (224.7 KB ) - added by brian 10 years ago.

Download all attachments as: .zip

Change History (4)

by brian, 10 years ago

Attachment: ai stalemate.zip added

comment:1 by brian, 10 years ago

Component: Core engineAI
Description: modified (diff)
Priority: Should HaveMust Have

comment:2 by mimo, 10 years ago

Owner: set to mimo
Resolution: fixed
Status: newclosed

In 15570:

Bunch of petra bug fixes: fixes #2685, #2686 and makes r15559 really working

comment:3 by brian, 10 years ago

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