Unciv icon indicating copy to clipboard operation
Unciv copied to clipboard

Automated workers get lost in the ocean

Open Diraven8 opened this issue 1 year ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Game Version

4.10.11 (Build 970)

Describe the bug

Automated workers kind of get stuck in the middle of oceans between two landmasses where you have cities. They just go back and forth every other turn and never make it back to land unless you turn off their automation.

Steps to Reproduce

  1. Make cites on two landmasses separated by an ocean.
  2. Make a bunch of workers in one of the landmasses.
  3. Set the workers to automated
  4. After they build up one landmass they'll start across the ocean to go to the other landmass.
  5. But they'll get stuck in the middle of the ocean and just cycle between two positions every other turn.

Screenshots

Screenshot_20240222-173912

Link to save file

No response

Operating System

Android

Additional Information

I usually play games with very large worlds if that is a factor.

Diraven8 avatar Feb 22 '24 23:02 Diraven8

A save game would be very helpful. This seems like a hard problem to fix.

They might be looking for unimproved tiles, which get taken by workers closer to the tile. In that case, I had already thought of a solution that would be a very good fix, but it also add a lot of complexity. Hence why I haven't tried to implement it yet.

tuvus avatar Feb 23 '24 15:02 tuvus

I think I have replicated this. It will take a while to debug once I have started. I'll see when I can get to it. I might have a very in-depth solution but will take a while to implement and test.

tuvus avatar Mar 19 '24 14:03 tuvus

I have noticed this too in games (no mods) where I have 1 or 2 workers around every city on automation mode. Sometimes they just go into the sea and freeze there, until I stop automation, move them to land and put them into automation mode again...

Will try to post a save file where this happens next time I notice it in one of my games.

fincentxyz avatar Apr 17 '24 07:04 fincentxyz

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days.

github-actions[bot] avatar Jul 17 '24 03:07 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Aug 02 '24 03:08 github-actions[bot]