View Single Post
  #10  
Old 01-23-2009, 08:45 AM
janusd
Sarnak
 
Join Date: Jan 2008
Posts: 47
Default

Yeah. Timer would work in a static zone, though I was thinking overnight...

How hard or problemmatic would it be to add another 2 columns to the spawn tables as well as functionality to support that? Say a spawnvariance table and variance to define what that is? Would work something like this...

variance = integer in secods
spawnvariance = 0-2
0 = off
1 = repop mobs on this table in x time that = variance
2 = depop mobs on this table in x time that = variance and then respawn mobs on this table in x time that = variance

As CD mentioned before, if we added timers to everything in addition to what's already there, it'd devour resources, but if we could enable it only for specific mobs, that'd be a lot easier.

As to the spawn night/day, we could potentially add functionality to the server's timer that tracks in-game time and update it to send signals to the spawnlist. Could add a fourth variable to the above table that would tell the spawntable to swap paired NPCs at a specific game time specified in variance (military time could be used for ease). An in-game hour is what... 10 minutes real time? So we're talking minimal extra load placed on the server to accomplish the night/day swap.
Reply With Quote