nicymike / serflings

Serflings Remake Project
https://serflings.simpleguide.net/
26 stars 0 forks source link

Logistics troubles present in 20230530 Snapshot, but not present in the Original Game #108

Open ShpakMA opened 1 year ago

ShpakMA commented 1 year ago

I provide for this issue complete set of saves. archivDS.zip

Problem persist all time, but I show it on SAVE0.DS with internal name SMA10. 2023-06-08_16-19-35

The foreground upper left window is the Original Game, and fullscreen background is the serflings-2.0.0-SNAPSHOT-20230530.jar. No actions provided for game from loading a save. Only one exception is pause for syncing gameplay shortly after loading. 2023-06-08_16-23-28 OK, I select 3 points of interests:

  1. The Farmer in Yellow circle (just for time sync);
  2. The Coal in Cyan circle (we need follow migrations of this);
  3. The Carrier in Magenta circle (this guy is mighty "clever"). Circles is not shown on further screenshots — you may navigate by Castle on top left and selection near Magenta Carrier — this objects is not moving.

37 seconds from Yellow Farmer outtage... 2023-06-08_16-24-05

  1. The Cyan Coal is moving to East. In the Original Game it starts moving next leg... But this difference is not matter.
  2. The Magenta Carrier is moving wheat from South to Nord. At least in original game. In Serflings this guy moving same piece of wheat between two points indefitely (until we do anything in road stucture).

48 seconds from Yellow Farmer outtage... 2023-06-08_16-24-16

  1. The Cyan Coal still moving in East direction...
  2. The Magenta Carrier walking South both in Original Game and Serflings. But in Serflings he forget drop the wheat and moving it back.

58 seconds from Yellow Farmer outtage... 2023-06-08_16-24-26

  1. The Cyan Coal is waiting transportation both in Original Game and Serflings. And do it in same place near Guard Tower.
  2. The Magenta Carrier walking Nord in Original Game with new wheat. In Serflings he move same wheat to South.

70 seconds from Yellow Farmer outtage... 2023-06-08_16-24-38

  1. The Cyan Coal is out of screen in East direction in the Original Game. But in Serflings it awaits transportation.
  2. The Magenta Carrier walking empty in South direction in Original Game. In Serflings he carry same wheat to Nord two times.

173 seconds from Yellow Farmer outtage... 2023-06-08_16-26-21

  1. The Cyan Coal is out of screen in the Original Game. But in Serflings it moving to West, one leg distance.
  2. The Magenta Carrier in Serflings carry same wheat between two flags.

187 seconds from Yellow Farmer outtage... 2023-06-08_16-26-35

  1. The Cyan Coal is out of screen in the Original Game. But in Serflings it moving back to East...
  2. The Magenta Carrier in Serflings still carry same wheat between two flags.

201 seconds from Yellow Farmer outtage... 2023-06-08_16-26-49

  1. The Cyan Coal is out of screen in the Original Game. But in Serflings it moving to East from Guad Tower in wrong direction — to Coal Mine!
  2. The Magenta Carrier in Serflings still carry same wheat between two flags.

224 seconds from Yellow Farmer outtage... 2023-06-08_16-27-12

  1. The Cyan Coal is out of screen in the Original Game. But in Serflings it moving to East from Guad Tower in wrong direction — to Coal Mine!
  2. The Magenta Carrier in Serflings still carry same wheat between two flags.

273 seconds from Yellow Farmer outtage... 2023-06-08_16-28-01

  1. The Cyan Coal is out of screen in both games.
  2. The Magenta Carrier in Serflings going in South direction empty. First time for 273 seconds. He just carry SAME wheat between two flags 273 seconds CONTINIUSLY!!!
nicymike commented 1 year ago

Thank you for the report. I need some time to check it out.

ShpakMA commented 1 year ago

Bug is not present in Android.

Tested on Snapshots: serflings-2.0.0-SNAPSHOT-20230608.jar; serflings-2.0.0-SNAPSHOT-20230530.jar.

I have one idea only: bug representing is followed to FPS. At big FPS animations are faster and it may change to logic. How I can reduce FPS while the game is launched on PC?

ShpakMA commented 1 year ago

The problem is stable representing in 20230323, 20230530, 20230608 snapshots. Game time for testing: from loading SMA10 savefile to 16:20:00 by internal game timer.

Problem is present on Java both from openSUSE repositories and from adoptium.net. Problem is present on Windows build was launched via wine64.

Problem is disappears if 7-zip are launched in benchmark mode on background (it limits FPS to 22 by CPU utilisation).

I think, the problem is caused by changing of ratio between lenth of animations and game tick...

Is anybody have any ideas for testing?

Снимок экрана в 2023-06-14 09-03-36 Снимок экрана в 2023-06-14 09-07-34 Снимок экрана в 2023-06-14 09-07-52 Снимок экрана в 2023-06-14 09-08-10 Снимок экрана в 2023-06-14 09-52-09 Снимок экрана в 2023-06-14 09-52-18 Снимок экрана в 2023-06-14 09-56-20 Снимок экрана в 2023-06-14 09-56-27 Снимок экрана в 2023-06-14 09-56-46 Снимок экрана в 2023-06-14 11-06-52 Снимок экрана в 2023-06-14 11-07-01 Снимок экрана в 2023-06-14 11-07-21 Снимок экрана в 2023-06-14 11-27-19 Снимок экрана в 2023-06-14 11-27-30 Снимок экрана в 2023-06-14 11-27-41