Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-02-2004, 03:10 AM
Tech_Gnome
Fire Beetle
 
Join Date: Oct 2003
Posts: 7
Default

I've got a quick question about the database. It doesn't seem like anybody outside the dev team is interested in merchants. I've been looking through the database and noticed that some merchants are way off from what they should be, for example:

npc # 646 "a_clockwork_jeweller" in Ak'Anon is associated with fishing supplies
npc # 1344 "Felen_Razdal" in Butcherblock is associated with a random assortment of stuff, when he should be selling stuff like rations, lanterns, etc.

The code I used to come up with this is this:
Code:
SELECT items.name, items.id, merchantlist.item, merchantlist.merchantid, npc_types.merchant_id, npc_types.name, npc_types.id
FROM `merchantlist`, `items`, `npc_types` where items.id = merchantlist.item and merchantlist.merchantid = npc_types.merchant_id and npc_types.name like "%razdal%" order by npc_types.name, items.name
So my quick question becomes three. First off, what can I do to help set the merchants straight?

Secondly, is the merchantlist.merchantid an arbitrary value, or is the exact value important somewhere?

Lastly, did I just totally botch the SQL statement above(which isn't exactly pretty), and am getting randomly wrong results?

I've already started writing a SQL file out to help fix the problems, but I didn't want to start working on it and have someone say that I wasted my time because the merchantid's were important and I couldn't just choose arbitrary ones. If anyone can help answer my questions I'd be greatly appreciative.

Also, if I posted this in the wrong place.. smack me with a clue-by-four, and let me know where it needs to go.
Reply With Quote
Reply


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 04:05 AM.


 

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