Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#3709 closed defect (duplicate)

oldType is undefined ans unexpected PathResult while INDIVIDUAL.GATHER.APPROACHING

Reported by: elexis Owned by:
Priority: Must Have Milestone:
Component: UI & Simulation Keywords:
Cc: Patch:

Description

In an a19 game, these errors appeared. Replay the attached commands.txt to reproduce.

Similar previous bugs: #3628 #3630

Turn 2110 (500)...

ERROR: JavaScript error: simulation/components/UnitAI.js line 2052
TypeError: oldType is undefined
  UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.GATHER.APPROACHING.enter/nearby<@simulation/components/UnitAI.js:2052:1
  UnitAI.prototype.FindNearbyResource/<@simulation/components/UnitAI.js:4019:3
  UnitAI.prototype.FindNearbyResource@simulation/components/UnitAI.js:4007:2
  UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.GATHER.APPROACHING.enter@simulation/components/UnitAI.js:2048:11
  FSM.prototype.SwitchToNextState@simulation/helpers/FSM.js:376:1
  FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:284:4
  UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3611:39
  UnitAI.prototype.ReplaceOrder@simulation/components/UnitAI.js:3719:3
  UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:4796:3
  UnitAI.prototype.PerformGather@simulation/components/UnitAI.js:5050:102
  UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.GATHER.APPROACHING.enter@simulation/components/UnitAI.js:2058:8
  FSM.prototype.SwitchToNextState@simulation/helpers/FSM.js:376:1
  FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:284:4
  UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3611:39
  UnitAI.prototype.ReplaceOrder@simulation/components/UnitAI.js:3719:3
  UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:4796:3
  UnitAI.prototype.PerformGather@simulation/components/UnitAI.js:5050:102
  UnitAI.prototype.Gather@simulation/components/UnitAI.js:5010:2
  g_Commands.gather/<@simulation/helpers/Commands.js:194:4
  g_Commands.gather@simulation/helpers/Commands.js:193:3
  ProcessCommand@simulation/helpers/Commands.js:37:3
ERROR: Failed to call ProcessCommand() global script function

Turn 2275 (500)...

ERROR: Error in timer on entity 8351, IID 89, function TimerHandler: TypeError: oldType is undefined
  UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.GATHER.APPROACHING.enter/nearby<@simulation/components/UnitAI.js:2052:1
  UnitAI.prototype.FindNearbyResource/<@simulation/components/UnitAI.js:4019:3
  UnitAI.prototype.FindNearbyResource@simulation/components/UnitAI.js:4007:2
  UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.GATHER.APPROACHING.enter@simulation/components/UnitAI.js:2048:11
  FSM.prototype.SwitchToNextState@simulation/helpers/FSM.js:376:1
  FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:284:4
  UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3611:39
  UnitAI.prototype.ReplaceOrder@simulation/components/UnitAI.js:3719:3
  UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:4796:3
  UnitAI.prototype.PerformGather@simulation/components/UnitAI.js:5050:102
  UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.GATHER.GATHERING.Timer@simulation/components/UnitAI.js:2366:7
  FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:274:29
  UnitAI.prototype.TimerHandler@simulation/components/UnitAI.js:3839:68
  Timer.prototype.OnUpdate@simulation/components/Timer.js:100:4

WARNING: unexpected PathResult (8351 3 3)

Turn 2276 (500)...

WARNING: unexpected PathResult (8351 3 3)

Attachments (1)

commands.txt (496.5 KB ) - added by elexis 8 years ago.

Download all attachments as: .zip

Change History (3)

by elexis, 8 years ago

Attachment: commands.txt added

comment:1 by mimo, 8 years ago

Resolution: duplicate
Status: newclosed

duplicate of #3630, already fixed in svn by r17304

comment:2 by Stan, 8 years ago

Milestone: Backlog
Note: See TracTickets for help on using tickets.