Eternium
Eternium

Announcement

Collapse
No announcement yet.

the Gauntlet, type INT OverFlow

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    the Gauntlet, type INT OverFlow

    Hi devs from another dev.

    Game version: __1.5.80
    Windows/IOS/Android + version: android 1.5.80 / STEAM1.50.80
    Device Model (EX: Apple iPhone7) :Xiaomi mi a3
    Map or Trial (EX: Trial Level 92): The Gauntlet
    Player Type (EX: Mage): hunter


    Current situation (bug):
    score> 2147483647


    Expected situation (working):



    Steps reproduce the bug:
    1. get score >
    2147483647


    Screenshots or Video of the bug: (add as many screenshots as you need)
    Click image for larger version

Name:	bug_print.png
Views:	297
Size:	124.3 KB
ID:	205677

    #2
    Still a problem at game-version 1.13.2 (Windows, non-store)
    No solution possible?

    Comment


      #3
      The score is stored into a signed 32 bits integer whose maximum positive value is 2,147,483,647​. When such value is being overflowed, it turns to negative because for a computer:
      Code:
      Integer.MAX_VALUE + 1 = Integer.MIN_VALUE
      (IE -2,147,483,648). Using unsigned 32 bits integer would only postpone the overflow, not prevent it (it would get back to zero anyway). 64 bits integer has a much more bigger size, but I don't know it the current engine would handle it.
      Last edited by Mxtof; 01-20-2024, 01:15 PM.

      Comment

      Working...
      X