Hi everyone, I'm attempting to resurrect a module I used to DM for around 6 years ago, with around 450 areas. Unfortunately this module always had the problem that whenever it comes to the time for it to get dark/light instead of changing gradually it will just change instantly like a light being turned on/off. I heard it rumoured that this is something that affects big modules due to the server clock becoming low priority, however the modules onheartbeat script has the following which should do something to help it:
int CurrentHour=GetTimeHour();
int CurrentMinute=GetTimeMinute();
int CurrentSecond=GetTimeSecond();
int CurrentMilliSec=GetTimeMillisecond();
SetTime(CurrentHour,CurrentMinute,CurrentSecond+1,CurrentMilliSec);
Can anyone think of what might be causing this problem, or a scripting method whereby I could force the change to be gradual again, possibly using the DayToNight() function?
Many Thanks!
Modifié par placidjw, 20 février 2011 - 04:00 .