Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

How do i fix the Server restart

Newbie Spellweaver
Joined
Aug 17, 2007
Messages
73
Reaction score
0
How do i fix the server restart, I want them ever hour not ever 15min PLEASE HELP!
 
Rival Gamers Owner
Loyal Member
Joined
Jul 7, 2007
Messages
962
Reaction score
161
you need for starters learn how to ctrl+f and common logic\
C# 2005express edition
 
Newbie Spellweaver
Joined
Aug 17, 2007
Messages
73
Reaction score
0
dude,

Thetimer = new System.Timers.Timer();
Thetimer.Interval = 3000;
Thetimer.Elapsed += new ElapsedEventHandler(Thetimer_Elapsed);
Thetimer.Start();

Restart = new System.Timers.Timer();
Restart.Interval = 600000;
Restart.Elapsed += new ElapsedEventHandler(Restart_Elapsed);
Restart.Start();


I found it, but idk what one to chat the 3000
or the 600000, and how do i make it an hour
 
Elite Diviner
Joined
Aug 19, 2006
Messages
415
Reaction score
0
dude,

Thetimer = new System.Timers.Timer();
Thetimer.Interval = 3000;
Thetimer.Elapsed += new ElapsedEventHandler(Thetimer_Elapsed);
Thetimer.Start();

Restart = new System.Timers.Timer();
Restart.Interval = 600000;
Restart.Elapsed += new ElapsedEventHandler(Restart_Elapsed);
Restart.Start();


I found it, but idk what one to chat the 3000
or the 600000, and how do i make it an hour

timers work in milliseconds and each 1000 millisecond is a second so 1000x60x60=1 hr u do the math... lol

anywayz its kinda obvious which timer ud change... <.<
 
Newbie Spellweaver
Joined
Aug 17, 2007
Messages
73
Reaction score
0
Dude Thank you, SOOOO much.
And just to make sure, i would have to change the bottom one to3,600,000
Thank you, =]
 
Back
Top