Blizzard's Diablo III - a popular online Action / RPG, released almost a year ago, received its share of technical issues. From Error 37 to lags, which translate into hundreds of wasted hours spent, but Blizzard spent the past year debugging the backend to better cope with millions of active players.
Diablo III can also be noted for the real economy, with an emphasis on regional Auction Houses, where players can sell rare items for gold, which amounts to millions and billions (inflation is crazy). In addition, Diablo III uses Real World Auction House, where players can sell gold or items for real world money.
Yesterday Patch 1.0.8 was released, which was supposed to improve the progress of the characters. After several weeks of testing in the Public Test Realm, where volunteers run a patch in order to understand that it will not cause any harm to the game, the patch was successfully published.
')
Yes, the patch has been fully tested in PTR - but with the exception of one minor refinement added at the last minute. And this refinement has broken the economy of the game into small pieces.

The final build included the following changes:
The size of the stack for the sale of gold in the auction house increased from 1 million to 10 million.
As a rule, in Real Money Auction House a player can sell gold in batches of 1 million, with a maximum of 600 servings. In version 1.0.8, this increment, respectively, increased to 10 million. What happens when a player tries to put up absurdly large amounts for sale? (it's absurd because getting even 100 million gold for one player has long been considered an almost impossible task - Blizzard can underestimate players)
The user Reddit with the nickname tyropro perfectly
explains :
Gold could be put up for trading at RMAH, which, if sold in real money, would not exceed $ 250. The published video, for example, showed sales of 6 billion gold — 600 x 10,000,000 at $ 0.39 per stack, totaling $ 234. When a player placed such an auction, only about 1.7 billion fell on the sale, and the rest “disappeared” until gold returned to the chest and there already increased.
Here are the exact numbers from the video:
RMAH auction is created: | 6,000,000,000 gold |
The auction is shown as: | 1,705,032,704 gold |
The missing! | 4,294,967,296 gold |
Missing if divided by 2: | 2,147,483,648 gold |
4,294,967,296 is 2
32 degrees, the limit for an unsigned integer, an interesting implementation from Blizzard.
Simply put, the code for selling gold in the RMAH does not know how to work with numbers larger than int32, and as a result of overflow it doubles the gold in the pockets of the sellers.
So, the attacker can create a 6 billion auction, from which only 1.7 billion will be put up for sale (and, accordingly, only 1.7 billion will be written off from the burglar's account), cancel it, and get back to the account already 6 billion. Net income - 4.2 billion. Repeat until complete satisfaction.
The exploit was shown on one of the sites and quickly sold to people. Anyone who knew about the bug could repeat it.
And the fun began.

Yes, there is 420
billion gold!
After the deceivers bought all the items in the Auction Houses, they put them up for sale at Real Money Auction House. For real money. And people bought them.
And this is the worst scenario for Diablo III. And all because of an untested small change in the patch. What could Blizzard do with this? It would be nice to roll back all the achievements on the day before the patch is released, but this would cause a lot of negative feedback. But to leave the economy in this position is impossible - it would devalue items, and Diablo III is just about things.
In the end, Blizzard did not roll back, but banned all those who cheat, and returned the money to everyone who spent real money. The change in the patch that caused the chaos was canceled and, accordingly, the problem was temporarily solved.
And let it be a lesson - not tested changes at the last minute can lead to a collapse of the entire economy.
From the translator : And this is already the second bug in the game economy, which became known in less than a week - on Saturday, CCP described how the ill-conceived functionality led to almost the same situation in EVE Online . Yes, the economy in games is virtual, but mistakes and / or ill-conceived functionality allow you to find ways that allow you to simply bypass the long and honest earnings and steal real money already. Interesting features of the new digital world.