My last save as Portuguese always crash after a certain turn when I press end turn, then the message "The server cannot do it" pops up and the game freezes, although the music keeps playing. I tried to backup from earlier savefiles, but the freez still happens after 2 or 3 turns, I tried to redo or change any orders or decision, yet it still happens.
net.sf.freecol.common.model.Player clientError
WARNING: Illegal move for: unit:37781 type: MOVE_NO_MOVES from: tile:14208 to: tile:14205
Sun Aug 21 02:47:50 BRT 2022
Thread: 776
net.sf.freecol.common.model.Player clientError
WARNING: Illegal move for: unit:37781 type: MOVE_NO_MOVES from: tile:14208 to: tile:14323
Sun Aug 21 02:47:50 BRT 2022
Thread: 777
net.sf.freecol.common.model.Player clientError
WARNING: Illegal move for: unit:37781 type: MOVE_NO_MOVES from: tile:14208 to: tile:14086
Sun Aug 21 02:47:50 BRT 2022
Thread: 778
Save file, Freecol.log and screenshot of the freeze screen below
Screenshot of Freeze
I'm able to play for five turns using your savegame without any problem. Can you save the game before every time you press end turn? ...and send me a savegame that always produces the problem?
Please also execute all goto orders before ending the turn using "Orders" > "Execute Go To Orders" (or pressing the hotkey "o") ... as you might have the same problem as described in https://sourceforge.net/p/freecol/bugs/3277/
I'm seeing the same. The logfile grows rapidly (more than 1KB per second). The UI is unresponsive and the only thing to do is go to the task manager and end the Java thread. Windows 10 Pro, AMD Ryzen 5 3600, RAM 32GB.
Sorry, cannot seem to attach the last save.
Last edit: g504 2022-08-27
@g504: Are you using version 0.13.0 or the latest development build? This might be the same issue as bug 3277 that has already been fixed.
It is 0.13.0 (3ece192). Thank you for the link to the development release, I will give that a try.
I have installed git-20220828.
Within moments of restarting the current game, the 'cannot do that' panel appeared. The log file is 4,399,660 lines long (199,913,805 bytes) according to Notepad++.
I have reloaded and tried again with this precise sequence of steps:
Over the period of one minute the log adds 8,532 entries and the tread count increases by 2,073. The AMD 6/12 cpu is running at 45% and as before the only solution was to end the treads foreably.
Last edit: g504 2022-08-29
I have found and fixed another problem with execution of goto-orders that only happened for trade routes.
In some cases you will have to end the turn twice (one for executing the goto-orders and the other for actually ending the turn). I might look into this problem later, but right now I'm busy with improving the AI.
Please try the latest development build.
@g504: ...and thanks for the savegame -- I did get it :-)
@stiangre Thank you.