Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 10-25-2004, 10:33 PM
ajb20
Hill Giant
 
Join Date: Jul 2004
Posts: 106
Default

Code:
select npc_types.id, npc_types.name, spawn2.zone, spawn2.spawngroupid
from npc_types, spawn2, spawnentry
where spawnentry.npcID = npc_types.ID
and spawnentry.spawngroupid = spawn2.spawngroupid;

This way you can see what npcid is part of what npcgroupid and than you do something like:

update spawn2
set respawntime = xx
where spawngroupid = xx
or spwngroupid = xx
or ......;

If you want to be more specific in the select command and just see npcs in one zone:

Code:
select npc_types.id, npc_types.name, spawn2.zone, spawn2.spawngroupid
from npc_types, spawn2, spawnentry
where spawnentry.npcID = npc_types.ID
and spawnentry.spawngroupid = spawn2.spawngroupid
and zone = 'zoneshortname';
Keep in mind you can NOT edit the query in MySQL-front due to the results being from multiple tables.
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 12:49 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