Project

General

Profile

Actions

Bug #1699

open

Units get stuck in ACTIVITY_GOTO_NOWHERE or a failed goto shifts to ACTIVITY_IDLE

Added by John Robertson about 4 hours ago. Updated about 1 hour ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Server
Target version:
-
Start date:
10/09/2025
Due date:
% Done:

0%

Estimated time:

Description

Especially in a long game, units will get stuck in the
ACTIVITY_GOTO with a NULL goto_tile pointer; or stuck in ACTIVITY_IDLE
mode with a valid goto_tile pointer.

This fix does not address the how the units get it these degraded states,
but it does either complete an interrupted ACTIVITY_GOTO (if possible), or
return an ACTIVITY_GOTO_NOWHERE back to the ACTIVITY_IDLE mode, returning
the unit to managed productivity.

Files

1699.patch (2.73 KB) 1699.patch John Robertson, 10/09/2025 06:05 AM
1699.v2.patch (2.79 KB) 1699.v2.patch John Robertson, 10/09/2025 06:54 AM
Actions #1

Updated by John Robertson about 4 hours ago

Actions #2

Updated by John Robertson about 3 hours ago

added needed memory cleanup

Actions #3

Updated by John Robertson about 1 hour ago

I am not sure that this is the correct solution. I am testing harder.

Actions

Also available in: Atom PDF