pyanodon / pybugreports

Central bug-report repository for pymods
The Unlicense
6 stars 1 forks source link

Crash due to PyAE spoilage conflict with Global Tick Timescale (GTTS) mod #679

Closed roman-dzieciol closed 3 weeks ago

roman-dzieciol commented 3 weeks ago

Mod source

Factorio Mod Portal

Operating system

=Windows 10

What kind of issue is this?

What is the problem?

PyAE spoilage now conflicts with Global Tick Timescale (GTTS) mod. I use GTTS to run Factorio at 120 FPS, but essentially half tick rate, so that it mostly increases FPS only.

The PU-241 element in particular causes a load error as below.

Steps to reproduce

  1. Select full suite of Py mods and GTTS
  2. Try to launch the game

Additional context

image

Log file

5.405 Error ModManager.cpp:1738: Error while loading item prototype "pu-241" (item): Value (4447872000) outside of range. The data type allows values from 0 to 4294967295 in property tree at ROOT.item.pu-241.spoil_ticks Modifications: Pyanodons Alternative Energy › Global Tick Time Scale

oorzkws commented 3 weeks ago

GTTS is at fault here because it doesn't check the spoilage time it sets against the game limits.