Slashdot Mirror


World of Warcraft Gold Limit Reached, It's 2^31

Mitch writes "Blizzard apparently used signed integers for their World of Warcraft gold values as some people have recently hit the limit of 2^31. "Apparently that amount is 214,748 gold, 36 silver, 48 copper. After you reach that lofty sum, you'll no longer be able to receive money from any source in the game. While some responses to the original posts claim that this exact limit had previously been theorized to exist, there have been no reports of anyone in the game actually achieving this amount via legal means." I guess Blizzard didn't expect anyone to ever get close to that much gold in game."

8 of 479 comments (clear)

  1. Not really correct by pipatron · · Score: 3, Informative

    A signed 32-bit integer can not store 2^31, but 2^31-1, which would be 214,748 gold, 36 silver, 47 copper.

    --
    c++; /* this makes c bigger but returns the old value */
  2. Re:Fiat money causes inflation in WoW? by Merkuri22 · · Score: 5, Informative

    There's not a real economy in WoW, per say. You get most of your money from quests and kills, which is pretty well-regulated (in the sense that lower level mobs and quests give lower amounts of money, and there's a limit to what you can kill and loot), and you spend most of it in NPC shops. The only semblance of an economy is the auction house and trade channels.

    The fact that most of your money disappears into NPC shops with set prices keeps inflation from happening.

  3. Re:So, how does one accumulate that much gold? by calibanDNS · · Score: 4, Informative

    Do you have any gathering professions? I can make 100+ just buy selling a few stacks of adamantite ore (plus the eternium and gems) that I get from mining in a short amount of time. When my first (and only) toon hit 70, he already had about 3000g mostly from the quests going from 60 to 70. On top of that, factor in daily quests which give you ~12g per quest, which you can do up to 10 of per day; 12g * 10 = another 120g per day per character.

  4. Re:Fiat money causes inflation in WoW? by Tango42 · · Score: 3, Informative

    I also don't play WoW, so I'm not sure how (or even if) they combat inflation, but I know other games get round it by removing wealth from the game in the form of wear and tear on equipment. Anything consumable would also allow wealth to be removed from the game, although if it's easily created (food growing on trees, say) it won't make much difference.

    There are all kinds of other ways you could remove wealth - NPC's charging tolls to cross bridges, say. Anything where something of value disappears from the came will compensate for the increase in money supply caused and equipment caused by new players and monsters.

  5. Re:Thats worth around 6500$ by Dr.+Evil · · Score: 3, Informative

    Selling WoW gold is against game policy. Blizzard can take it all away from you if they want to.

    It'd make a risky day job.

  6. Re:Duh by ZeroFactorial · · Score: 4, Informative

    The range for a signed integer is 2,147,483,648 to +2,147,483,64_7_ (not 8).

    The negative range always extends one higher, since zero uses the first "positive" value.

    I call fabrication. And I call O.o for slashdotters not realizing this sooner.

  7. Re:Duh by mysidia · · Score: 5, Informative

    Signed integers are used all the time for strictly positive values. For most purposes it is more convenient to just utilize the standard signed integer, and perform range checking to ensure it's positive.

    (You need to range check unsigned integers too, it's not as if switching to an unsigned integer relieves you of any problems, other than that it increases the 2^31-1 limit to a 2^32-1 limit.)

    The player should be thankful that the only consequence is they can't receive more gold from other players, rather than finding they have a _VERY_ negative amount of gold (less than zero).

    In many C based programs, your gold would overflow and drop to (-2^31+1), -2147483647, since the C programming language doesn't offer the programmer any exception handling mechanism for overflow detection (overflows are silently allowed to happen), and game developers don't necessarily anticipate such extremes.

  8. Re:Duh by Detritus · · Score: 3, Informative

    You are assuming binary two's complement arithmetic. That isn't always the case. Also, the programming language, or it's implementation, may opt for a symmetric range of values.

    --
    Mea navis aericumbens anguillis abundat