Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-07-2003, 05:09 AM
krich
Hill Giant
 
Join Date: May 2003
Location: The Great Northwest
Posts: 150
Default Tradeskill Table

While I was pulling together the Tradeskill database I snarfed from a major EQ Tradeskill website, I noticed an apparent issue in the tradeskillrecipe table. The table currently looks as such:

Code:
+--------------+-------------+------+-----+---------+----------------+
| Field        | Type        | Null | Key | Default | Extra          |
+--------------+-------------+------+-----+---------+----------------+
| id           | int(11)     |      | PRI | NULL    | auto_increment |
| tradeskill   | smallint(6) |      |     | 0       |                |
| skillneeded  | smallint(6) |      |     | 0       |                |
| trivial      | smallint(6) |      |     | 0       |                |
| product      | smallint(6) |      | UNI | 0       |                |
| product2     | smallint(6) |      |     | 0       |                |
| failproduct  | smallint(6) |      |     | 0       |                |
| productcount | smallint(6) |      |     | 0       |                |
| i1           | smallint(6) |      |     | 0       |                |
| i2           | smallint(6) |      |     | 0       |                |
| i3           | smallint(6) |      |     | 0       |                |
| i4           | smallint(6) |      |     | 0       |                |
| i5           | smallint(6) |      |     | 0       |                |
| i6           | smallint(6) |      |     | 0       |                |
| i7           | smallint(6) |      |     | 0       |                |
| i8           | smallint(6) |      |     | 0       |                |
| i9           | smallint(6) |      |     | 0       |                |
| i10          | smallint(6) |      |     | 0       |                |
| notes        | text        | YES  |     | NULL    |                |
+--------------+-------------+------+-----+---------+----------------+

The product row is tagged as unique. This presents an issue where there is more than one recipe for the same product. For example both of these recipes result in a Small Piece of Ore:

tarnished dagger + water flask
tarnished axe + water flask


Currently when the database is sourced, the first duplicate recipe is accepted and the rest of the duplicates generate errors.

Was this column created as unique for a reason? If not, could that be changed that so that multiple recipes for the same item could be created?

Regards,

krich
Reply With Quote
 


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 10:47 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