Well, it won't work on every server. Servers that allow gold bar stacks greater than 42 it will work on.
If you are administering a server, you can check if you are vulnerable to this exploit by running this query:
Code:
SELECT * FROM [PS_GameDefs].[dbo].[Items] WHERE ([Buy] * [Count]) > 4294967295;
If this query returns no rows, you are fine.
If this query returns "Arithmetic overflow error converting expression to data type int", then your server is vulnerable.
My guess is downtime91 is just changing the purchase stack size from 10 to 216 using Cheat Engine or equivalent, then purchasing 216 gold bars.
Here is an explanation of how it works:
216 gold bars costs:
Code:
216 * 100000000 = 21600000000
Next divide that cost by the maximum amount a 32 bit integer can hold (2^32 = 4294967296):
Code:
4294967296 / 21600000000 = 5.029141902923583984375
That rolls over the 32 bit integer 5 times. His actual purchase cost is then:
Code:
4294967296 * .029141902923583984375 = 125163520
So the game server is charging him 125,163,520 for 216 gold bars. Optimally he could have purchased 215 gold bars for 25,163,520 to maximize his cost to gold bar ratio.