Opened 12 years ago
Closed 11 years ago
#1710 closed defect (fixed)
AegisBot AI error: this._template.Health is undefined
Reported by: | dialectric | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 13 |
Component: | UI & Simulation | Keywords: | |
Cc: | wraitii | Patch: |
Description
Running the Sept 5 build, Third Macedonian War scenario, with AegisBot for the Macedonians, I killed a macedonian sheep and encountered a multiple warning and error message, which repeats continuously. Errors shown include:
Javascript error: simulation/ai/common-api-v2/entity.js line 62 TypeError: this._template.Health is undefined
It can be reproduced by (1)playing Third Macedonian War scenario (2)setting Macedonian, or both AIs, to AegisBot (3)taking a horse unit from your compound right across the map until you reach the macedonian sheep - they have a blue collar - and killing one with your horse unit.
The death of the sheep triggers the error.
Attachments (1)
Change History (5)
by , 12 years ago
Attachment: | AI_error.jpg added |
---|
comment:1 by , 12 years ago
Cc: | added |
---|---|
Component: | Core engine → UI & Simulation |
comment:2 by , 12 years ago
Allright, it ought to be fixed in my working copy. I believe this was caused by the game trying to repair sheeps (it checks for all entities and sheeps don't have hitpoints when they're dead, so there was an "undefined" error.)
comment:4 by , 11 years ago
Milestone: | Backlog → Alpha 13 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Duplicate of #1754, this is now fixed in API V2 too.
error message