Jump to content

Lots of JS errors related to entity.js and economic.js


Recommended Posts

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

I wanted to attach the log or a save game, but I can't find it anywhere in windows 7. (I've searched the 0.a.d program files folder and the current user data folder)

Link to post
Share on other sites

Oh, ok, this is a 3 Mb of log file!

However these lines constantly repeate:

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

Link to post
Share on other sites

Find the latest one. If it is split into folders, it's the folder with the highest number, and than the commands.txt in that. Right click the commands.txt file, check the properties, and the created at or last modified date should line up with the time you played the game that gave you the JS errors.

Link to post
Share on other sites

Find the latest one. If it is split into folders, it's the folder with the highest number, and than the commands.txt in that.

That is only correct in that the most recent file is the one from the last game. The folder number is just the process id of the game instance that created the log.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...