Jump to content


Photo

Maximum notes


Best Answer mountbara , 14 August 2018 - 12:14 AM

Bad programming then, they could cap it at that and allow no more notes to be added. But, a definitive answer, thank you Capt :)

 

That number is 2^31-1.  It actually has an interesting history, it was discovered to be a prime by Euler, and for quite a long time was the largest prime number known.

 

Here's the technical details about what is actually happening.  I may get some of the exact details wrong, but the gist is: If you make a signed integer too big, it rolls over to zero.

 

A computer using 32-bit integers, 2^31-1 is represented as 01111111111111111111111111111111.

If you add one to that, you end up with 2^31, or 10000000000000000000000000000000.

 

The problem is, how is that number interpreted? My guess is that notes are stored in a 32 bit signed integer. That means the first digit is actually a sign bit.  It tells if the integer is negative or positive. So, 2^31-1 is a positive 2.1B notes, but 2^31 is a treated as a negative zero. Positive or negative though, zero is zero... so you just lost your 2 years of saving notes.

 

Don't do it. Buy skills before then.

 

(This is also the result in Hero Zero.)

Go to the full post


  • Please log in to reply
26 replies to this topic

#21 CaptC

CaptC

    Advanced Member

  • Members
  • PipPipPip
  • 1,239 posts
  • LocationHouston near my Baby
  • World:NU1
  • Character:CaptC
  • Studio:Member emeritus of Busty Spiderbabes
Reputation: 545

Posted 15 October 2018 - 01:51 PM

You misunderstood. I am sorry if I was unclear.

 

I am saying a player actually got up to the limit, spending the time to save up to the limit. I did NOT say she passed the limit. She understands integer overflow completely. 

 

She is currently surprising people on the dueling lists who used to think she was an easy mark. LOL


Edited by CaptC, 15 October 2018 - 03:16 PM.

I have retired from the game, but not from life.
In love with my Baby.

#22 Kitekat

Kitekat

    Advanced Member

  • Members
  • PipPipPip
  • 467 posts
  • LocationNutaku
  • World:NU1
  • Character:Kitekat
  • Studio:Oxygen



Reputation: 230

Posted 10 November 2020 - 02:42 PM

are these limits still actual ????????????



#23 Guest_dparadise_*

Guest_dparadise_*
  • Guests
Reputation: 0

Posted 10 November 2020 - 06:10 PM

Yes, unless the game got restarted in the meantime on new upgraded 64 bit servers lol. But as far as i know, my levels still grew, and I wasn't reset to start all over again haha.



#24 mountbara

mountbara

    Advanced Member

  • Members
  • PipPipPip
  • 935 posts
  • World:US2
  • Character:Mountbara
  • Studio:Angels on US2 Busty Spiderbabes on NU French Touch on UK2






Reputation: 474

Posted 10 November 2020 - 09:35 PM

I am surprised people still asked this though. I made sure I got it cleared up when it was obvious that not only could it be done, it would be done.

Yes, unless the game got restarted in the meantime on new upgraded 64 bit servers lol. But as far as i know, my levels still grew, and I wasn't reset to start all over again haha.



#25 mountbara

mountbara

    Advanced Member

  • Members
  • PipPipPip
  • 935 posts
  • World:US2
  • Character:Mountbara
  • Studio:Angels on US2 Busty Spiderbabes on NU French Touch on UK2






Reputation: 474

Posted 10 November 2020 - 09:37 PM

Yes, same for all 32 bit integer games. Do not exceed 2.147 billion or it gets set to zero

are these limits still actual ????????????


Edited by mountbara, 10 November 2020 - 09:39 PM.


#26 wuffy

wuffy

    Advanced Member

  • Members
  • PipPipPip
  • 319 posts
  • World:NU1
  • Character:Audrey4
  • Studio:Busty Spiderbabes



Reputation: 434

Posted 10 November 2020 - 10:39 PM

I don't know about anyone else, but I am looking forward to saving up 9,223,372,036,854,775,807 notes for a future skill buying temple.

 

Bring on 64-bit  :rolleyes: 


  • mountbara likes this

#27 Kitekat

Kitekat

    Advanced Member

  • Members
  • PipPipPip
  • 467 posts
  • LocationNutaku
  • World:NU1
  • Character:Kitekat
  • Studio:Oxygen



Reputation: 230

Posted 13 November 2020 - 10:40 PM

sexy airlines has no problem with high numbers






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users