View Single Post
  #1  
Old 04-14-2008, 07:29 PM
fault
Hill Giant
 
Join Date: Sep 2005
Posts: 114
Default More timers. Daily timers/weekly timers Timers in sql?

A small discussion in irc, let me to make this statement.

Quote:
[19:22:40] [Spre] to bad we can;t set timers as variables, kept in sql, that way even when a zone resets the timer stays

Would it be possible to pop something like that in eqemu? The discussion came up due to this quest, http://everquest.allakhazam.com/db/quest.html?quest=600 every 5 days the cargo starts up and travels to the windmill where you get attacked by 3 named, Problem that was shown with doing this with quest::settimer(x,x) and event_timer{} is that if the zone crashes or goes down on boot up the timer resets, not many zones are up for 5 days straight so that presents a problem.


So could we do a sql variable for timers? a whole new timer table where npc timers are stored, then any npc that uses a timer would just point to the sql timer with a variable?

say like $sqltimer(string,value);

String being the variable set in sql for the timers and value being its value?

Thnking this would solve alot of quest type issues.


also thinking I posted this in the wrong area not sure
Reply With Quote