I'm normally not one to post things as I am fairly new to all of this, but I figured I would lend some incite on what I have discovered dealing with the alternate currency.
To get custom items to work as currency, just add your created item into the alternate_currency table with ID starting wherever you want and then the required item_id. Then go into your npc_types table and set your created NPC to class 70 (this sets them to an alternate currency merchant) and then change their alt_currency_id to the ID of whatever you set your new custom item's ID from the alternate_currency table.
As Trevius stated above the information does come from the dbstr file. To get your alternate currency item to display correctly just go into your dbstr file scroll to whatever you set the ID to and add in a new line. The value for the alternate currency is 18. I created a new currency with ID of 1 so my new line would look like '1^18^Star Rubies' and then just restart your client and the Unknown Dbstr is gone and Star Rubies would appear on both the merchant and in the alt currency tab.
Great work on the development of this as this opens up so many new possibilities for the custom purchasing of gear.
-Wrath of Enlightened Dark (Soon to return to the EMU world)
|