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 06-06-2003, 04:01 PM
Venelar
Fire Beetle
 
Join Date: Jan 2002
Posts: 19
Default SQL To Give NPC Casters Their Spells

I noticed by default that drawdes db has not assigned spell lists to npcs so here is some SQL statements to fix that.

--Add casting ability to all NPC classes:
Code:
UPDATE npc_types SET npc_spells_id = '1' WHERE class = 2;
UPDATE npc_types SET npc_spells_id = '8' WHERE class = 3;
UPDATE npc_types SET npc_spells_id = '10' WHERE class = 4;
UPDATE npc_types SET npc_spells_id = '9' WHERE class = 5;
UPDATE npc_types SET npc_spells_id = '7' WHERE class = 6;
UPDATE npc_types SET npc_spells_id = '11' WHERE class = 8;
UPDATE npc_types SET npc_spells_id = '6' WHERE class = 10;
UPDATE npc_types SET npc_spells_id = '3' WHERE class = 11;
UPDATE npc_types SET npc_spells_id = '2' WHERE class = 12;
UPDATE npc_types SET npc_spells_id = '4' WHERE class = 13;
UPDATE npc_types SET npc_spells_id = '5' WHERE class = 14;
UPDATE npc_types SET npc_spells_id = '12' WHERE class =  15;
Please note that the spell lists for some classes like bard, beastlord, paladin and shaman are empty and others are very incomplete.

I created a fairly good shaman list, i could not attach it to this post I will make a place to download it.
Reply With Quote
  #2  
Old 06-07-2003, 09:48 PM
Drawde
Dragon
 
Join Date: Jan 2002
Posts: 521
Default

The last version of my DB -should- have a complete spell list for all classes, and spell lists are already assigned in npc_types (no need to have an "update npc_types" script).
Reply With Quote
  #3  
Old 06-07-2003, 10:02 PM
IANumtin
Hill Giant
 
Join Date: Apr 2003
Location: EQEmu
Posts: 121
Default

Drawde, no disrespect intended but I just downloaded your latest and not all npc_types were assigned their default. This patch actually fixed that.
__________________
They say baldness is in the genes but I have hair in my jeans :>)
Reply With Quote
  #4  
Old 06-10-2003, 06:16 AM
Drawde
Dragon
 
Join Date: Jan 2002
Posts: 521
Default

What are the NPCs that don't have spell lists assigned?
I thought I'd set them all up OK, but it seems like some errors have crept in.
Let me know what they are and I'll try and fix them for the next version.
Reply With Quote
  #5  
Old 06-10-2003, 06:29 AM
IANumtin
Hill Giant
 
Join Date: Apr 2003
Location: EQEmu
Posts: 121
Default

I wish I could tell you, but after I patched in the above everything was fixed. I didn't think to zip the table up for you so you could have a look, sorry
__________________
They say baldness is in the genes but I have hair in my jeans :>)
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 06:33 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