Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 03-22-2006, 12:39 AM
sesmar
I built it I will Support it!
 
Join Date: Jun 2005
Location: Michigan
Posts: 214
Default

You can pull this information out of the Database fairly easily with the right query.

Using this query

Code:
SELECT
  npc_types.id AS ID,
  npc_types.name AS NAME,
  spawnentry.chance AS SpawnChance,
  spawn2.zone AS Zone,
  spawn2.x AS X,
  spawn2.y AS Y,
  spawn2.z AS Z
FROM
  npc_types
  INNER JOIN spawnentry
    ON spawnentry.npcID = npc_types.id
  INNER JOIN  spawn2
    ON spawn2.spawngroupID = spawnentry.spawngroupID
WHERE
  npc_types.name LIKE '%Innoruuk%'
All you have to do is change the Npc Name you are searching for in the where clause and you can search for any NPC you want to by name.

Or you can just slightly modify the query to this:

Code:
SELECT
  npc_types.id AS ID,
  npc_types.name AS NAME,
  spawnentry.chance AS SpawnChance,
  spawn2.zone AS Zone,
  spawn2.x AS X,
  spawn2.y AS Y,
  spawn2.z AS Z
FROM
  npc_types
  INNER JOIN spawnentry
    ON spawnentry.npcID = npc_types.id
  INNER JOIN  spawn2
    ON spawn2.spawngroupID = spawnentry.spawngroupID
WHERE
  npc_types.id = 76007
And you can search by NPC ID just by changing the ID in the where clause.
__________________
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 03:19 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