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

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-05-2013, 09:00 AM
LordAdakos
Sarnak
 
Join Date: Dec 2007
Posts: 60
Default SQL Help re: spell merchants & Tradeskill

First - It's a long shot, but I'd like to make merchants which contain spells, instead of using a spell scriber.

is there an SQL command to get a list of castable spells? searching for items with name like '%spell:%' finds 5,000+ rows, and even if I add class restrictions, I still end up with spells I cant use.

Is there a way to pull this data from the castable spell list or from EQZAM?


Or am I stuck finding each spell by hand for each character?

Finally, is there a way to see which spells are NOT in a merchant list already?




Second - I want to add a bunch of tradeskills, using a basic formula: New tradeskill requires smithing skill 200, and there are two items required, a diamond and another item (to create a diamond fused custom obejct)

I've done the grunt work for this using george S' tradeskill editor. I've added about two dozen of these, but have about 550 left to add.

Is there an SQL command to select the next unused # and create an entry with certain rules? (I have all the items laid out nicely in a CSV / xls file and was going to bulk-write the SQL command once I figured it out using the string concat feature in Open office / Excel / etc.)

Finally, with tradeskills, you need the recipe and recipe entry, right? with the recipe being (id,name,tradeskill#,skillneeded,trivial,nofail,re place_container,notes,must_learn,quest)
and
tradeskill recipe being the ingredients used and the output (?)
(id, recipe id, ietm id, sucesscount, failcount, componnentcount,iscontainter)

For my understanding the tradeskill recipe reads from the entry to deterine which items it requires, based on which ones share the same recipe ID, right?



Third - this is possible, right? I mean, george S' tools find the next unused number.... or am I in way over my head?

Any help would be appreciated - the rebirth of tradeskills needs your help
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 04:30 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