Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 05-19-2008, 04:45 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Depoping & repoping of the zone was added in one of the more recent versions of the Emu. From the Wiki:
Quote:
quest::depopall(npcid) - Depops every instance of the npc in the zone (quest::depop(npcid)) only will do one NPC at a time.)
quest::depopzone(1 or 0) - Depops every npc in the zone. 0 disables the NPCs' spawn timers so they will not repop on their own. 1 allows them to spawn as normal once their timers are up. This argument is required!
quest::repopzone() - Repops the zone, in the same way the command #repop does. It will also re-enable spawn timers if disabled.
So just replace quest::ZONE_REPOP_COMMAND() with quest::repopzone() and you'll be good to go. The big thing to keep in mind, though (depending on what you're really trying to do) is the respawn timers for individual NPCs. For example, if a mob has a 3 day respawn timer & you repop the zone, it still won't respawn until after the 3 days is up.

On a side note, I went through and updated that Wiki entry about a week ago with all of the commands & descriptions from the 1108 source, so it should be fairly complete, especially compared to the somewhat outdated Lexicon (which I used to use).
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
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 02:59 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