Overflowing World of Warcraft's gold counter
11 December 2009
It's a little known fact, but my only vice... Well, one of my few vices... Cough. Amongst my vices is the fact that I play World of Wacraft with a small group of real-life friends. As WoW habits go, mine is a very mild one - I don't often have time to play more than one night a week. On the one night I do have, I want to raid, not grind for gold to service endless repair bills. Irked by my situation, I did what any red-blooded programmer would do. I wrote some code to collect information on auction house price movements, analysed my data, and implemented a Secret Trading Strategy in the form of a Super Secret Addon (which operates, of course, entirely within WoW's terms of service). This has been successful beyond the wildest dreams of avarice - I spend about 5 minutes a day buying and selling the auctions recommended by the SSA, and I make enough to bankroll my entire guild.
In fact, I just noticed that I have managed to overflow the "Total gold acquired" counter in my stats tab. Turns out that WoW stores this figure as a 32-bit signed integer, expressed in copper. WoW now thinks I've earned -1981224360 copper in total, something that can be achieved by earing more than 230 000 gold.
(Pace Monty Python for the intro)
More posts:
- cryp.sr - the next step 17 Jun 2010
- Apple, China and the war of ideas 07 May 2010
- cryp.sr - a minimal host-proof cryptographic textpad 29 Mar 2010
- Host-proof applications: doing it wrong 26 Feb 2010
- Introducing mitmproxy: an interactive man-in-the-middle proxy 16 Feb 2010
- Timsort - a study in grayscale 28 Jan 2010
- Hilbert Curve + Sorting Algorithms + Procrastination = ? 26 Jan 2010
- An email to the authors of JSCrypto 14 Jan 2010