Jump to content

Error in timer on entity !


gameboy
 Share

Recommended Posts

Today, I tested SVN22432 and found an error:

The map I tested was the Thessaly Plain (4).

@wraitii

ERROR: Error in timer on entity 8519, IID96, function TimerHandler: TypeError: herdPos is undefined UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.GATHER.GATHERING.Timer@simulation/components/UnitAI.js:2293:1 FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:265:12 UnitAI.prototype.TimerHandler@simulation/components/UnitAI.js:3769:2 Timer.prototype.OnUpdate@simulation/components/Timer.js:120:4

ERROR: Error in timer on entity 8514, IID96, function TimerHandler: TypeError: herdPos is undefined UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.GATHER.GATHERING.Timer@simulation/components/UnitAI.js:2293:1 FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:265:12 UnitAI.prototype.TimerHandler@simulation/components/UnitAI.js:3769:2 Timer.prototype.OnUpdate@simulation/components/Timer.js:120:4

ERROR: Error in timer on entity 8536, IID96, function TimerHandler: TypeError: herdPos is undefined UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.GATHER.GATHERING.Timer@simulation/components/UnitAI.js:2293:1 FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:265:12 UnitAI.prototype.TimerHandler@simulation/components/UnitAI.js:3769:2 Timer.prototype.OnUpdate@simulation/components/Timer.js:120:4

ERROR: Error in timer on entity 8512, IID96, function TimerHandler: TypeError: herdPos is undefined UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.GATHER.GATHERING.Timer@simulation/components/UnitAI.js:2293:1 FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:265:12 UnitAI.prototype.TimerHandler@simulation/components/UnitAI.js:3769:2 Timer.prototype.OnUpdate@simulation/components/Timer.js:120:4

ERROR: Error in timer on entity 8518, IID96, function TimerHandler: TypeError: herdPos is undefined UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.GATHER.GATHERING.Timer@simulation/components/UnitAI.js:2293:1 FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:265:12 UnitAI.prototype.TimerHandler@simulation/components/UnitAI.js:3769:2 Timer.prototype.OnUpdate@simulation/components/Timer.js:120:4

 

commands.txt

Edited by gameboy
Link to comment
Share on other sites

There's a mistake... I incorrectly assumed that we would always have a herd position set if I set it in Order.Gather, but that might not be true.

Reproduction needs multiple units that gather from one resource, and doesn't always happen.

I'll fix that tonight.

  • Like 3
  • Thanks 2
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...