Jump to content

Aegis Bot JavaScript warning on Median Oasis 4


Recommended Posts

http://trac.wildfire...com/ticket/1754

Seems to be some bugged object on Median Oasis 4 that AegisBot does not like or there's some bug in Aegis Bot or the common API v2.

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],"2212",[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

It was me that suggested that based on the following observation:

  1. Load Median Oasis 4.
  2. Open the developer overlay and reveal the map.
  3. Move the camera to AegisBot's base and wait until it kills the sheep. The error immediately appears.

As further confirmation, I made a version of Median Oasis 4 with all the sheep belonging to Gaia, and played it without any errors.

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...