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 10-22-2004, 09:41 PM
cyberstormx
Fire Beetle
 
Join Date: Apr 2004
Posts: 17
Default Changing spawn time

I'm sure this has been asked before, but i could not find any relevant information when i searched.

How would i go about changing the spawn time for newly created mobs. The only spawn time field was in Spawn2 under respawntime, but i only saw a limited list w/ qeynos entries.

Would i have to make a new entry for the zone that i'm concerned with? if so, how would i specify the mob(s) affected?

Using 6.0DR1

Thanks in advance.
Reply With Quote
  #2  
Old 10-23-2004, 02:25 AM
Cans
Sarnak
 
Join Date: Mar 2003
Posts: 71
Default

In order to set a specific spawn time for ALL mobs currently spawned, put in this MySQL query:

Code:
UPDATE spawn2 SET respawntime=X;
Replace X with the amount of time (in seconds I believe) you want it to take for all your mobs to repsawn. 0 gives an instant respawn.
__________________
Cans O`Whoop Ass
LOADING, PLEASE WAIT...
Reply With Quote
  #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
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 09:39 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