this post was submitted on 28 Mar 2025
82 points (98.8% liked)

Just Post

816 readers
6 users here now

Just post something ๐Ÿ’›

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] DarkSirrush 1 points 3 weeks ago (1 children)

Fun fact: the maximum amount of money you can hold in Maple story is actually half the 32 bit maximum, at 2,147,483,647.

[โ€“] [email protected] 7 points 3 weeks ago (1 children)

That means it's being stored as a signed integer for some reason. The other half of the binary space is for the negative values, which was probably a poor choice. Unless there is a valid case when you can have negative money. Is debt a thing in Maple Story?

[โ€“] DarkSirrush 3 points 3 weeks ago

Not at all, but it definitely used to get exploited a lot back in the day.

I bet they thought using signed integers made math easier or something.