#3010 closed defect (fixed)
Order.Flee: too much recursion
Reported by: | brian | Owned by: | mimo |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 18 |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: |
Description
Git revision: 2948aa76835e29e04a089fdc03457be6256b3eaf
ERROR: JavaScript error: simulation/helpers/Entity.js line 3 InternalError: too much recursion DistanceBetweenEntities@simulation/helpers/Entity.js:3 UnitAI.prototype.UnitFsmSpecOrder.Flee@simulation/components/UnitAI.js:392 FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:274 UnitAI.prototype.FinishOrder@simulation/components/UnitAI.js:3483 UnitAI.prototype.UnitFsmSpecOrder.Flee@simulation/components/UnitAI.js:406 FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:274 UnitAI.prototype.FinishOrder@simulation/components/UnitAI.js:3483 UnitAI.prototype.UnitFsmSpecOrder.Flee@simulation/components/UnitAI.js:406 FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:274 UnitAI.prototype.FinishOrder@simulation/components/UnitAI.js:3483 UnitAI.prototype.UnitFsmSpecOrder.Flee@simulation/components/UnitAI.js:406 FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:274 UnitAI.prototype.FinishOrder@simulation/components/UnitAI.js:3483 UnitAI.prototype.UnitFsmSpec["Ord...
ERROR: Script message handler OnMotionChanged failed
Attachments (1)
Change History (5)
by , 9 years ago
Attachment: | 0ad_logs_brit_vs_maur.zip added |
---|
comment:1 by , 9 years ago
Component: | AI → UI & Simulation |
---|
comment:2 by , 9 years ago
Yes, it was a multiplayer game. Just had AI on the mind when I made the ticket.
comment:4 by , 9 years ago
There was already a check in UnitAI to prevent multiple leaveFoundation orders, but it was not effective as it was testing on the existence of a previous leaveFoundation order, but leaveFoundation orders are changed to Flee order as soon as they become active. I've nonetheless kept the test on leaveFoundation.
Nothing to do with AI. It seems to be a MP game without AI.