Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Maintenance & Feedback » JJ2+ Issue Tracker

Bug Report Integer Overflow due to using GetTickCount raw

Squall Leonhart

JCF Member

Joined: Oct 2024

Posts: 2

Squall Leonhart has disabled reputation

Oct 28, 2024, 12:32 PM
Squall Leonhart is offline
Reply With Quote
Integer Overflow due to using GetTickCount raw

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

JCF Member

Joined: Feb 2010

Posts: 868

Seren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to all

Oct 29, 2024, 04:47 PM
Seren is offline
Reply With Quote
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.
__________________

I am an official JJ2+ programmer and this has been an official JJ2+ statement.
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 10:18 PM.