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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-31-2014, 02:34 PM
Bohbo
Hill Giant
 
Join Date: Dec 2012
Posts: 116
Default Populate Goallist for all npc in zone (sql expression)

Hi,

I was trying to figure out this sql expression and figured someone else might find it useful in the future.

I am trying to create an expression where i can type in goallist say 997 and have it fill all mobs in a zone, say "kurn's tower".

The first and last lines work its the middle section of inserting 997 as the listid and then pulling the npc_type.id via the inner join.

Code:
INSERT INTO goallists(listid, entry)
VALUES (997, SELECT id
FROM npc_types 
INNER JOIN spawnentry ON npc_types.id = spawnentry.npcID AND spawnentry.spawngroupID = spawn2.spawngroupID)
WHERE spawn2.zone = 'kurn'
Reply With Quote
  #2  
Old 12-31-2014, 05:44 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

You must not have noticed, but I have had to move every one of your support posts into the Windows Servers support section of the forums. General Support is for players, not dev or server-owner issues unless they are client related.

If you read the descriptions for the forum sections, it should help to understand what should be posted where:

Support::General Support
Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

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

This is for both you (to get answers from people reading the server support section) as well as for other members (to find relevant information when searching the forum sections). There are a ton of posts on these forums so it helps to keep it organized.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 12-31-2014, 06:57 PM
Bohbo
Hill Giant
 
Join Date: Dec 2012
Posts: 116
Default

Quote:
Originally Posted by trevius View Post
You must not have noticed, but I have had to move every one of your support posts into the Windows Servers support section of the forums. General Support is for players, not dev or server-owner issues unless they are client related.

If you read the descriptions for the forum sections, it should help to understand what should be posted where:

Support::General Support
Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

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

This is for both you (to get answers from people reading the server support section) as well as for other members (to find relevant information when searching the forum sections). There are a ton of posts on these forums so it helps to keep it organized.
Sorry I will post in Windows Server support when it comes to the server, I thought the general support was non OS specific was all.
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 07:09 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3