Page MenuHomeSchine - Phabricator

Starmade | FSM Exception after reaching destination of fleet move order
Closed, FinishedPublic

Description

I know that some other issue mentioned an FSM occurring but can't find it.

When a fleet reaches its destination after a move order, it will throw a FSM exception since it can't switch from the move to idle state for some reason. This doesn't happen always though, seems that the destination sector has to be loaded in order to get it or that a player has to be in it.

Logs:


Stacktrace:

[2016-02-26 17:02:34] org.schema.schine.ai.stateMachines.FSMException: ERR: Transition (Machine: anL) from "anU" --TARGET_SECTOR_REACHED subId(0)--> "newState" failed | not found in anU. 
inputs: 
FORMATION subId(0) -> anR
STOP subId(0) -> anT
HEALTH_LOW subId(0) -> anV
RESTART subId(0) -> anT
SEARCH_FOR_TARGET subId(0) -> anW

[2016-02-26 17:02:34] 	at obfuscated.asL.a(SourceFile:105)
[2016-02-26 17:02:34] 	at obfuscated.asM.a(SourceFile:153)
[2016-02-26 17:02:34] 	at obfuscated.asQ.stateTransition(SourceFile:204)
[2016-02-26 17:02:34] 	at obfuscated.asQ.stateTransition(SourceFile:191)
[2016-02-26 17:02:34] 	at obfuscated.anU.onUpdate(SourceFile:146)
[2016-02-26 17:02:34] 	at obfuscated.asN.update(SourceFile:167)
[2016-02-26 17:02:34] 	at obfuscated.asJ.updateOnActive(SourceFile:145)
[2016-02-26 17:02:34] 	at obfuscated.asI.updateOnActive(SourceFile:44)
[2016-02-26 17:02:34] 	at obfuscated.amZ.updateOnActive(SourceFile:274)
[2016-02-26 17:02:34] 	at obfuscated.asG.update(SourceFile:115)
[2016-02-26 17:02:34] 	at obfuscated.SN.a(SourceFile:217)
[2016-02-26 17:02:34] 	at obfuscated.Sl.updateLocal(SourceFile:547)
[2016-02-26 17:02:34] 	at org.schema.game.server.controller.GameServerController.update(SourceFile:1278)
[2016-02-26 17:02:34] 	at org.schema.schine.network.server.ServerController.run(SourceFile:256)
[2016-02-26 17:02:34] 	at java.lang.Thread.run(Thread.java:744)
[2016-02-26 17:02:34] Exception: Error occured updating AI (ExcMessage: ERR: Transition (Machine: anL) from "anU" --TARGET_SECTOR_REACHED subId(0)--> "newState" failed | not found in anU.

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Multiplayer
Reproducible
Yes
Last tested (version)
0.19564 (Dev)
Category
Fleets
First occurrence (version)
0.19563 (Dev)
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Steps to reproduce

It's not always consistent but should be relatively easy to get:

  1. Make a fleet
  2. Move it to nearby sector (that's still in load range for you)
  3. It should throw a FSM exception

If that doesn't do the trick, let the fleet move back to the sector the player is in.

Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

lancake updated the task description. (Show Details)Feb 26 2016, 4:00 PM
lancake shifted this object from the S1 Public space to the S3 Starmade space.
lancake changed the visibility from "Custom Policy" to "Public (No Login Required)".
lancake changed the edit policy from "Task Author" to "Starmade (Project)".
lancake changed Category from none/unspecified to Fleets.
lancake edited Serverconfig (server.cfg). (Show Details)
lancake edited Clientconfig (settings.cfg). (Show Details)
lancake added a subscriber: lancake.
lancake created this task.
lancake raised the priority of this task from to Pre-Release Quality Assurance.
Restricted Application added a project: Issue Navigation. · View Herald TranscriptFeb 26 2016, 4:00 PM
Restricted Application added a subscriber: AndyP. · View Herald Transcript
lancake updated the task description. (Show Details)Feb 26 2016, 4:38 PM
lancake set Task Type to Bug.
lancake set First occurrence (version) to 0.19563 (Dev).
lancake set OS-Specific to No.
lancake set Hardware-Specific to No.
lancake set Video Card Vendor to uncertain.
lancake set Affected Gamemode(s) to Multiplayer.
lancake set Reproducible to Yes.
lancake set Last tested (version) to 0.19563 (Dev).
lancake edited Steps to reproduce. (Show Details)
lancake moved this task from Waiting for other issue to Confirmed on the Issue Navigation board.
lancake changed the task status from Open to In Queue (Game).
lancake claimed this task.
Restricted Application edited projects, added Starmade, Game Development; removed Issue Navigation. · View Herald TranscriptFeb 26 2016, 4:38 PM
schema added a subscriber: schema.Feb 27 2016, 12:04 AM
schema changed the task status from In Queue (Game) to Resolved.
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptFeb 27 2016, 12:04 AM

server needs to be restarted on FSMException as the state machine of that fleet is then broken

lancake closed this task as Closed.Feb 27 2016, 3:09 PM

-QA Testing-

Been a few hours now, haven't seen it anymore and can't reproduce it either, fix confirmed.

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptFeb 27 2016, 3:09 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript
lancake changed Last tested (version) from 0.19563 (Dev) to 0.19564 (Dev).Feb 27 2016, 3:10 PM
AndyP moved this task from Unclassed to Archived on the Starmade board.Mar 2 2016, 12:18 AM
Restricted Application added a project: Fleets. · View Herald TranscriptMar 10 2017, 6:17 PM