Thread: Downtime
View Single Post
  #1  
Old 08-11-2013, 06:45 AM
Rogean Rogean is offline
¯\_(ツ)_/¯

Rogean's Avatar

Join Date: Oct 2009
Location: Massachusetts
Posts: 5,390
Default

Mob spawn time is calculated at death. It is stored in memory, and, in case of zone restart, also stored in database. It is based off Unix Timestamp + the generated respawn time of the mob (if it has variance), resulting in a spawn time. If the zone is running this timestamp is checked often if it has triggered (Spawntime < Currenttime ?). These calculations happen rapidly probably every second. If the zone boots up, it loads those timestamps from database, and continues to check them.

Thus, spawn timers are not affected by the zone being up or not.
__________________
Sean "Rogean" Norton
Project 1999 Co-Manager

Project 1999 Setup Guide