Post
Topic
Board Service Announcements (Altcoins)
Re: Just-Dice.com : now with added CLAMs : Play or Invest
by
tryphe
on 16/12/2016, 03:53:36 UTC
From the CLAM thread:

Doog, JD has some bugs now

It turns out when I designed the JD database I thought 2.1 billion bets would be more than would ever happen. We just hit 2.1 billion bets (2^31) so things stopped working.

I've suspended betting and am modifying the database to remove the limitation.

I'll post again once it is done. I've no idea how long it will take, sorry.

Why would you put a limitation like that in the first place?

Seems like it would just be an extra line of code to go in.

Because
Code:
INT32_MAX = 2147483647
and people love using small default size variables. I actually joked that this would happen a few months back, however I thought I was wrong because you can enter any number in just-dice.com/roll/ etc. 1029381803572348957394875348975 and it doesn't complain. So I didn't say anything. *shrug*  Wink