Menu

#3244 Damaged maps

Fixed_0.12.0
closed-fixed
nobody
None
5
2022-05-01
2022-02-10
Marcin
No

Maps listed below are damaged. When you start it and end your first turn it freezes. If you open the map immediately save load it does not load at all.

S Arabias by Mazim
S USA by Mazim

Discussion

  • Calebrw

    Calebrw - 2022-02-18

    Confirmed.

    EDIT: wonder if this platform related? One computer works.

     

    Last edit: Calebrw 2022-02-18
    • Calebrw

      Calebrw - 2022-02-18

      Here's a run with S Arabia. No unit appeared. Stuck on French turn.


      net.sf.freecol.FreeCol lambda$main$0
          WARNING: Uncaught exception from thread: Thread[FreeColServer:AIPlayer(Louis XIV),6,main]
          Fri Feb 18 00:11:31 CST 2022
          Thread: 59
          Stack trace:
      java.lang.IllegalArgumentException: Null on-carrier start: [unit:7247 french hardyPioneer-pioneer.5 1/1]/[unit:7245 french caravel 4/4]
          at net.sf.freecol.common.model.Unit.realStart(Unit.java:2990)
          at net.sf.freecol.common.model.Unit.findPath(Unit.java:2961)
          at net.sf.freecol.common.model.Unit.findPath(Unit.java:2937)
          at net.sf.freecol.common.model.Unit.shouldTakeTransportTo(Unit.java:2842)
          at net.sf.freecol.server.ai.mission.Mission.getTransportDestination(Mission.java:953)
          at net.sf.freecol.server.ai.AIUnit.getTransportDestination(AIUnit.java:597)
          at net.sf.freecol.server.ai.mission.TransportMission.makeCargo(TransportMission.java:499)
          at net.sf.freecol.server.ai.mission.TransportMission.queueTransportable(TransportMission.java:1291)
          at net.sf.freecol.server.ai.EuropeanAIPlayer.initializeMissions(EuropeanAIPlayer.java:421)
          at net.sf.freecol.server.ai.EuropeanAIPlayer.startWorking(EuropeanAIPlayer.java:2228)
          at net.sf.freecol.server.ai.AIPlayer.lambda$setCurrentPlayerHandler$12(AIPlayer.java:515)
          at java.base/java.lang.Thread.run(Thread.java:833)
      
       

      Last edit: Calebrw 2022-02-18
  • Mike Pope

    Mike Pope - 2022-02-18

    I do not think the map itself is damaged. The problem appears to be that the other European nations starting units are not always getting onto the map. I just started a game in debug mode, revealed the whole map, and could only see my (Dutch) unit and a French caravel... and sure enough at the end of turn the game complains with the error message above that the English unit/s can not find a path. Path finding rather depends on the units being on the map!

     
  • Mike Pope

    Mike Pope - 2022-02-19

    Should be fixed in git.f076add. The code for finding a starting location for a player has been rewritten to be far more robust, and will now notably insist on starting naval carriers at sea. I have checked both maps and all three starting unit location choice settings, albeit briefly, so further testing would be welcome.

     
  • Mike Pope

    Mike Pope - 2022-04-24
    • status: open --> open-needs-info
     
  • Mike Pope

    Mike Pope - 2022-05-01
    • status: open-needs-info --> closed-fixed
    • Group: Current --> Fixed_0.12.0
     
  • Mike Pope

    Mike Pope - 2022-05-01

    0.12.0 is out containing the fix. Closing.

     

Log in to post a comment.

MongoDB Logo MongoDB