Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1793 closed defect (duplicate)

JS errors related to entity.js and economic.js

Reported by: Itzik Arzoni Owned by:
Priority: Must Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

Playing the accropolice 7 scenario, , about a minute after the first AI attack, I got millions of JS errors witch slowed down the game until it was unplayable.

The log file is full with this error repeating:

WARNING: JavaScript warning: simulation/ai/common-api-v2/entity.js line 279 reference to undefined property this._entity.hitpoints WARNING: JavaScript warning: simulation/ai/common-api-v2/entity.js line 62 reference to undefined property this._template.Health ERROR: JavaScript error: simulation/ai/common-api-v2/entity.js line 62 TypeError: this._template.Health is undefined ()@simulation/ai/common-api-v2/entity.js:62 ()@simulation/ai/common-api-v2/entity.js:280 ()@simulation/ai/common-api-v2/entity.js:282 ([object Object],"5589",[object Object])@simulation/ai/qbot-wc/economy.js:238 ([object Object])@simulation/ai/common-api-v2/entitycollection.js:79 ([object Object])@simulation/ai/qbot-wc/economy.js:238 ([object Object],[object Object],[object Array])@simulation/ai/qbot-wc/economy.js:754 ()@simulation/ai/qbot-wc/qbot.js:132 ([object Object])@simulation/ai/common-api-v2/base.js:147 @:0

Attachments (1)

commands.txt (61.5 KB ) - added by Itzik Arzoni 11 years ago.

Download all attachments as: .zip

Change History (3)

by Itzik Arzoni, 11 years ago

Attachment: commands.txt added

comment:1 by leper, 11 years ago

Milestone: Backlog
Resolution: duplicate
Status: newclosed

Thanks for reporting this, we already know of this problem though (see #1754). We tried to work around the bug that causes this, but apparently one sheep in Acropolis 7 slipped through.

comment:2 by leper, 11 years ago

In 13005:

Work around the sheep bug on Acropolis 7. Refs #1754, #1793.

Note: See TracTickets for help on using tickets.