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

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.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-07-2012, 02:46 PM
Maze_EQ
Demi-God
 
Join Date: Mar 2012
Posts: 1,103
Default Log what zone NPCs are in?

Is there any way to tell which zone an npc in NPC_Types belongs to?

AS in, If I wanted to run a query on soldungb mobs, it would affect each mob in that zone, but nothing else? I'm thinking this would require an identifier in the npc_types field to tell which zone the monster belonged to.it'd just be a hassle to do that all by hand.
__________________
"No, thanks, man. I don't want you fucking up my life, too."

Skype:
Comerian1
Reply With Quote
  #2  
Old 08-07-2012, 02:58 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

XXX000 through XXX999 are the NPCID's for every NPC in zone XXX
Reply With Quote
  #3  
Old 08-07-2012, 05:54 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Quote:
Originally Posted by sorvani View Post
XXX000 through XXX999 are the NPCID's for every NPC in zone XXX
Yep, in PEQ NPCID is derived by zoneidnumber*1000. However, other databases may not follow this numbering system.
Reply With Quote
  #4  
Old 08-07-2012, 06:06 PM
wolfwalkereci
Discordant
 
Join Date: Dec 2005
Posts: 435
Default

Quote:
UPDATE npc_types SET luclin_haircolor = FLOOR(1 + (RAND() * 20)) WHERE race = 2 AND (id>=8000 AND id<=8999);
Here is an example.
Reply With Quote
  #5  
Old 08-07-2012, 07:32 PM
Caryatis
Dragon
 
Join Date: May 2009
Location: Milky Way
Posts: 539
Default

Keep in mind that unless you are careful when adding custom NPCs they may not follow that numbering scheme. If you have loads of custom NPCs, then you will need to cross reference the spawn tables as well.
Reply With Quote
  #6  
Old 08-08-2012, 09:04 AM
Maze_EQ
Demi-God
 
Join Date: Mar 2012
Posts: 1,103
Default

Thank you guys so much, makes it 1000% easier to edit specific zones.
__________________
"No, thanks, man. I don't want you fucking up my life, too."

Skype:
Comerian1
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 05:22 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