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

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.

 Share

×
×
  • Create New...