kfritz411

Member
Hey Folks!

I have 3 questions today:

1) Where in the world do I set the time/timezone on my server? The date is right but the hours are like +6 off

2) I can't seem to find where skill gain chance change is kept. I found stat gain chance, but can't seem to locate skill gain chance/delay

3) this one might be a little hard:

While tinkering around with scripts, I found this method to add a flag/tag to account.


Account acct=(Account)from.Account;
bool DeathsScytheRecieved = Convert.ToBoolean(acct.GetTag("DeathsScytheRecieved"));

Is there anyway to set this to be removed at a certain time of day or after so many hours? Idea is to limit someone from doing certain quests more than once per day.


Thank!
 
Last edited:
on servuo 57 its on a file timer.cs in server folder



skill.cs file...
 
1) No luck, can't find anywhere that's referencing timezone. It's reading exactly +6hrs

2) Skill.cs does not seem to contain the frequency or delay between skill gains unless I'm not reading it correctly

3) anyone got any ideas on this???
 
Use timezones abbreviations for your area
Post automatically merged:

On Serv 57.
Timestamp.cs
Line 28. Change utc to your timezones ..

What version of uo are you using?
 
Last edited:
This is how I changed mine:

Code:
//                return String.Format("{0:D2}:{1:D2}:{2:D2} ", DateTime.UtcNow.Hour, DateTime.UtcNow.Minute, DateTime.UtcNow.Second);
                return String.Format("{0:D2}:{1:D2}:{2:D2} ", DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back