Southperry.net
Max Mesos? - Printable Version

+- Southperry.net (https://www.southperry.net)
+-- Forum: Maplestory (https://www.southperry.net/forumdisplay.php?fid=15)
+--- Forum: Maple Q&A (https://www.southperry.net/forumdisplay.php?fid=29)
+--- Thread: Max Mesos? (/showthread.php?tid=63798)



Max Mesos? - MrTehPocky - 2013-04-15

I tried looking it up but they only told me the KMS increase, so what exactly is the max meso you can hold now in GMS?


Max Mesos? - Green4Ever - 2013-04-15

2,147,483,647 per character/storage.


Max Mesos? - DustinxD - 2013-04-15

The exact value is 2,147,483,647 mesos.

EDIT: Dem ninjas.


Max Mesos? - Marksman Bryan - 2013-04-15

MrTehPocky Wrote:I tried looking it up but they only told me the KMS increase, so what exactly is the max meso you can hold now in GMS?

2147483647

2^31-1

Has to do with how the game is programmed.


Max Mesos? - MrTehPocky - 2013-04-15

So it never changed? that's how its always been


Max Mesos? - CarrionCrow - 2013-04-15

MrTehPocky Wrote:So it never changed? that's how its always been

Yes. However they just recently changed it to 10b (?) in KMS.


Max Mesos? - Sonic - 2013-04-15

To be more specific, in KMS it's 9,999,999,999, which is essentially 10b mesos. Rolleyes


Max Mesos? - Fiel - 2013-04-15

Math time:

2 ^ 32 = double of what max meso is now, which is a bit over 4.2b

This means they changed data types, likely to a signed 64-bit integer. The maximum positive value of this is 9,223,372,036,854,775,807. That means they could increase max meso to whatever they wanted and it would still be fine.


Max Mesos? - Dudewitbow - 2013-04-15

Fiel Wrote:Math time:

2 ^ 32 = double of what max meso is now, which is a bit over 4.2b

This means they changed data types, likely to a signed 64-bit integer. The maximum positive value of this is 9,223,372,036,854,775,807. That means they could increase max meso to whatever they wanted and it would still be fine.

would that possibly mean that anyone running a 32 bit system with non 64 bit compatible hardware not be able to play the game?


Max Mesos? - SaptaZapta - 2013-04-15

Dudewitbow Wrote:would that possibly mean that anyone running a 32 bit system with non 64 bit compatible hardware not be able to play the game?

No.
It just means the compiler generates code that lets the program do 64-bit arithmetic on 32-bit hardware.


Max Mesos? - Fiel - 2013-04-15

Dudewitbow Wrote:would that possibly mean that anyone running a 32 bit system with non 64 bit compatible hardware not be able to play the game?

64-bit mathematics are possible on 32-bit machines. The 32-bit compiler will just use two registers instead of one and do some funky math on both registers. It takes up more processing time and is more complicated, but it's possible to do.

The issue is when people compile for 64-bit machines. The assembly used is entirely different because the compiler assumes a 64-bit wide architecture which a 32-bit wide architecture does not have. This is entirely different from bitwise mathematics.

In short: 64-bit mathematics != 64-bit architecture.

I'm going on a limb here. Someone tell me if I'm wrong. X_X