Register
Welcome to the Stormspire.net WoW Gold Forums!

Greetings, guest! Welcome to Stormspire.net, your #1 resource for WoW and Diablo 3 Gold, Professions, and everything in between!


Enjoy what the site offers? Consider Premium Membership if you wish to get the most out of the site. Premium Membership benefits include the acclaimed Goblineer's World of Warcraft Gold Guide, private forum access, a complimentary high-quality avatar, and much more!


If this is your first visit, make sure to check out the Stormspire.net Survival Guide for a quick site orientation. You may also register to unlock all standard forum features, and to get rid of these lovely ads!


We proudly host the Official forums for TradeSkillMaster, The Undermine Journal, and WoWuction.

Results 1 to 10 of 10

Thread: 32 bit pricing?

  1. #1
    US - Doomhammer (Both)
    Wind Trader Emeritus
    Thorzek's Avatar
    Posts
    313
    Reputation
    23
    Tagged in
    19 Posts
    Add to this user's reputation

    32 bit pricing?

    I have a recipe on the AH for goldcap:

    http://theunderminejournal.com/item....mmer&item=7678

    but it's showing a price of 429496g 72s 95c. This looked oddly like a 32 bit unsigned integer, but it ends in an odd number so I did the math and it's exactly one short of the 32 bit signed integer value. I'm guessing there's some kind of recursion funkiness going on too?

    Anyway, it's not reflecting my correct sale price so I thought I'd let you know you probably don't get much feedback on this range

  2. #2
    Shu'halo (H) / Stormrage (A)
    Wind Trader
    Z-Man's Avatar
    Posts
    828
    Reputation
    67
    Tagged in
    372 Posts
    Add to this user's reputation
    That 429K has been around for awhile, but I haven't had anything expensive enough to test it.

    http://wowenomics.wordpress.com/2009...-the-gold-cap/

  3. #3
    EU-Ragnaros (Both)
    Wind Trader
    Thefluffyrocker's Avatar
    Posts
    1,137
    Reputation
    80
    Tagged in
    166 Posts
    Add to this user's reputation
    In reference to the missing link of that article.
    There may also be an in-game mailbox gold cap but, to be absolutely honest, none of us had the balls to test it out.
    I know their used to be a CoD cap of 10k which i found out in a slighly unhappy way in that there was a bug with the postal addon a long time back where it would allow you to CoD an item for more than that and actually send it, but the recipient would only need to pay 10k. If you disabled postal the mailbox would return an error if you tried to CoD an item for more than that.
    Not sure if that cap is still relevant though as i haven't used CoD since then to sell an item.

    I did immediately think of a safe way to test for a cap on simply sending gold though.
    As heirlooms can only be sent to your own alts and you can attach gold to them (same faction), it would be easy to send an heirloom with gold attached and have no risk of sending all your gold to someone else by mistake.
    If i remember i'll give it a go when i log on tomorrow, although if the cap is higher than 1 million then it will be impossible to find out exactly through this method.

  4. #4
    Sapy on US-Tichondrius(H)
    TSM Lead Developer
    Sapu94's Avatar
    Posts
    4,631
    Reputation
    241
    Blog Entries
    19
    Tagged in
    1348 Posts
    Add to this user's reputation
    The price of that item is 2^32 - 1 which is the highest number that can be put in a 32 bit unsigned int. The reason for the minus one is because it starts at 0 not at 1 (0 is a valid unsigned int).

    Just fyi


    Follow me and TSM on Twitter for important updates, news, and giveaways!
    TSM Website | TSM Chat Channel (IRC) | Donate | TSM FAQ

    "A good programmer is someone who always looks both ways before crossing a one-way street." ~Doug Linder

  5. #5
    US - Doomhammer (Both)
    Wind Trader Emeritus
    Thorzek's Avatar
    Posts
    313
    Reputation
    23
    Tagged in
    19 Posts
    Add to this user's reputation
    Quote Originally Posted by Sapu94 View Post
    The reason for the minus one is because it starts at 0 not at 1 (0 is a valid unsigned int).
    Yeah, I feel pretty foolish now, basic stuff. Derp.

    Anyway, is this a TUJ or a Bliz AH problem?

  6. #6
    US - Doomhammer (Both)
    Wind Trader Emeritus
    Thorzek's Avatar
    Posts
    313
    Reputation
    23
    Tagged in
    19 Posts
    Add to this user's reputation
    Quote Originally Posted by Z-Man View Post
    That 429K has been around for awhile, but I haven't had anything expensive enough to test it.

    http://wowenomics.wordpress.com/2009...-the-gold-cap/
    This is pre-cata stuff and no longer applies. The recipe is on the AH for 999999g99s99c bid and BO.

  7. #7
    US-Stormrage(A)
    Ethereal Contributor
    Xsinthis's Avatar
    Posts
    632
    Reputation
    17
    Tagged in
    205 Posts
    Add to this user's reputation
    Quote Originally Posted by Thorzek View Post
    Yeah, I feel pretty foolish now, basic stuff. Derp.

    Anyway, is this a TUJ or a Bliz AH problem?
    I think it's a problem with the way TUJ stores numbers, since obviously blizz can handle it fine.

  8. #8
    Shu'halo (H) / Stormrage (A)
    Wind Trader
    Z-Man's Avatar
    Posts
    828
    Reputation
    67
    Tagged in
    372 Posts
    Add to this user's reputation
    Quote Originally Posted by Thorzek View Post
    This is pre-cata stuff and no longer applies. The recipe is on the AH for 999999g99s99c bid and BO.
    I was reading the OP as the AH was showing 429K (as it did in the past). TUJ has known issues with field sizes on its displays, so the problem is probably on their end.
    Last edited by Z-Man; June 13th, 2011 at 12:29 AM.

  9. #9
    Developer - The Undermine Journal
    Erorus's Avatar
    Posts
    1,024
    Reputation
    82
    Tagged in
    516 Posts
    Add to this user's reputation
    Bids and buyouts are stored in the database as 32-bit unsigned ints. Auctions over 200k gold aren't serious and don't sell, so I'm not concerned with auctions over 429k gold. At 429k gold, the 5% AH cut is 21,475g anyway. Craziness.

    When auctions regularly sell over 200k gold, I can expand those two fields to 64-bit bigints. Expanding each of those 200 million auction rows by 8 bytes will cost about 1.5GB in storage and memory, so I'm in no rush to do that just yet.

    It had been, months ago, that the display was stuck at the signed 32-bit integer (214k) because I set up the web host with 32-bit php, which doesn't do unsigned ints. I changed how the web php handles prices from integers to 64-bit floats, which has enough integer precision to pretend to be an int on display and still be accurate.

  10. #10
    US - Doomhammer (Both)
    Wind Trader Emeritus
    Thorzek's Avatar
    Posts
    313
    Reputation
    23
    Tagged in
    19 Posts
    Add to this user's reputation
    Cool, I figured there was a reason, was more curious about they why than anything else. I agree it's not necessary to fix, there's very little value in distinguishing between 429k and 999k.

 

 

Similar Threads

  1. TUJ Data for TSM pricing
    By Kathroman in forum Official TradeSkillMaster Forum
    Replies: 3
    Last Post: April 27th, 2011, 07:28 PM
  2. Trouble Pricing Extinct Bracers
    By DoubleO in forum Auction House Discussion
    Replies: 9
    Last Post: April 1st, 2011, 11:15 PM
  3. Vendor Floor pricing
    By Thorzek in forum Auction House Discussion
    Replies: 67
    Last Post: February 8th, 2011, 01:56 PM
  4. Identifying the floor for Cata pricing.
    By fade in forum General Discussion
    Replies: 5
    Last Post: January 5th, 2011, 01:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •