World of Warcraft
Post

Subject:

  •  

  • You are not allowed to post in this station
  • You can make new forum topic(s).

    New forum topics are accrued every minute(s) up to a maximum of topic(s).

Message:

Help keep these forums a fun and safe place for everyone - please report any Code of Conduct violations you see, including:

  • Threats of violence. We take these seriously and will alert the proper authorities.
  • Posts containing personal information about other players. Physical/email addresses, phone numbers, and inappropriate photos and/or videos.
  • Harassing or discriminatory language. This will not be tolerated.
  • In Response To:
Bunzaga
  • USWest
  • 2. Re: RMAH, Shared Stash & HC   08/03/2011 10:52:56 AM PDT
I bet there is a field in the database 'hc_allowed' with the values '0' and '1'. If you pick up the item, put it in your stash, it is probably defaulted to '1'. This means HC characters can use it.

As soon as you put it up for sale, it changes to 'hc_allowed = '0'. Now you can forever only use it on SC characters.

In programming 0 = false and 1 (or non zero) = true.

Now in displaying the stats for the item, they can do something like...

value = (1==hc_allowed)?"Hard Core Allowed" : "Hard Core Disabled"

In other words, its a relatively simple system to accommodate.
Blizzard Entertainment