Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-27-2012, 05:48 PM
Born2rot
Fire Beetle
 
Join Date: Apr 2010
Posts: 16
Default

Before I started messing with things the last half of the 15 currencies that were list in the tab showed up fine and worked if I set a merchant to those. The first half showed the unknown string on them. I made my own item and put it in the db to use. I couldn't get it to work by adding it to the table so emptied the table for now just to test it. So it's on id 1.
Reply With Quote
  #2  
Old 03-27-2012, 08:49 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Yeah, unfortunately most of the information the clients use for alternate currencies comes from the dbstr_us.txt file. That means you could only really add new ones by editing that file on your client as well as any clients that use them on your server. They pull info like item icon and name (IIRC) from the file, so without them in the file they give that unknown_db error. Some older clients may not have all of the newer alternate currencies in them that are in the DB, so they would show that db string error in the window.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 04-03-2012, 12:45 AM
Mariomario
Hill Giant
 
Join Date: Jul 2004
Posts: 143
Default

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)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:50 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3