Comment on How can casinos stay open when they lose so much money?
mr_satan@monyet.cc 1 year agoThe only issue I see is the integer one. I highly doubt that the machine uses integers for handling data. It’s a common practice to use decimals for anything money related. Other than that, there’s no way in hell a casino is paying that amount of money and there must be safe guards that limit how often and how much can be won on a slot machine.
urist@lemmy.blahaj.zone 1 year ago
You could be right, but I think it’s a 32-unsigned for three reasons:
Slot machines have no need to handle fractions of pennies.
Slot machines operate with “credits” as it’s base unit. 1 credit is the smallest unit. This is most likely a penny slot, so 1 credit = 0.01, and the most it can probably store in memory is probably 4,294,967,295 credits, which is very nearly $43 million (suspiciously the same as the erroneous amount on the screen). Older dollar machines have $1 = 1 credit, and can’t handle pennies at all, and will reject tickets less than a dollar. If you give these older machines, say, $1.69, it will hold $1 as credit and print a ticket for $0.69 because it has no way of handling it.
Diagnostic software handles “credits” as an integer. Coin in, coin out, current credits are all whole numbers. When using the software to inspect a machine, you have to know the denomination of the machine to know how much money is on it (denom times credits = amount).
This machine looks old as hell from the image in the article. I’m not familiar with this style, though, we don’t have these where I work.
And you’re right, this is certainly more than the “maximum payout” reported by the makers of the slot machine. The innards of a slot machine aren’t very mysterious from a technical standpoint, they can only produce a finite set of payouts, this isn’t one of them. There isn’t a sort of hard-and-fast stop for how much a machine can pay, more like it can only algorithmically produce a finite set of payouts.