Jump to content

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


iap
 Share

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 comment
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 comment
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 comment
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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...