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!

Relase Basic Restart Script

Newbie Spellweaver
Joined
May 24, 2007
Messages
47
Reaction score
0
namespace RESTART
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();

Timer t = new Timer();

t.Tick += new EventHandler(t_Tick);
t.Interval = 1800000;
t.Start();
}

void t_Tick(object sender, EventArgs e)
{
Application.Restart();
}
}
}


This gives you the timer, rest have u to make self!

VERY EASY
 
Experienced Elementalist
Joined
Jan 16, 2008
Messages
291
Reaction score
0
a form? wtf? why??

possibly the stupidest thing ive ever seen
 
Skilled Illusionist
Joined
Feb 19, 2008
Messages
320
Reaction score
0
you could of put that in your main .cs were the game and auth codings are located :/
 
Last edited:
Skilled Illusionist
Joined
Jun 27, 2006
Messages
319
Reaction score
0
people don't know how to ctrl + f the script for restart they could easily manipulate the /serverrestart command
 
Experienced Elementalist
Joined
Jan 16, 2008
Messages
291
Reaction score
0
>.<!

Or you could just write one to run on a seperate thread so that it doesnt stop working when something else fucks up.

Or you could write a stable source that does not require this type of restart command.
 
Back
Top