PDA

View Full Version : Bug Report Integer Overflow due to using GetTickCount raw


Squall Leonhart
Oct 28, 2024, 11:32 AM
First identified here on this very forum back in 2003 > https://www.jazz2online.com/jcf//showthread.php?t=9024

This game (including the Jazz2+ patches) crashes when 49.7 days of uptime have passed.

At https://file.io/FyvfuHD26J5s is CookiePLMonsters UptimeFaker+Ultimate ASI Loader bundle that sets the system uptime to 50 days to immediately reproduce the issue.

The average windows system that is set to default power settings employs Fast Startup, which hibernates a snapshot of the kernel. This snapshot persists the uptime so systems that appear fully shut down will eventually hit this issue.

Seren
Oct 29, 2024, 03:47 PM
This was fixed for The Secret Files in JJ2+ version 5.0 (Apr 6, 2015) and stayed as such. The bug persists in 1.23+ because at the time it was found not worth spending time on for the vastly less popular version of the game (it usually hardly affects users other than server hosts and nobody hosts 1.23).

For devs: see issue #163.