-
[FROM SCRATCH]Restarter Tool[MPTeam]
Hi.
Today i've created this tool, for all your server, when it go down, the tool re-start the server in second.
Have function Start and Stop, and you can select the time of crash, first it close totally.
Log in the windows.
Go on all program.
Screen:
http://i51.tinypic.com/2llhc8g.png
Changelog v2:
Code:
- Insert all Date first of all phrases.
- Fix Minor Bug
Download:
ENG: http://www.multiupload.com/WHT9RHCGCI
Tool made by me, with help of friend.
Any bug, post there :)
____________________________________________________________________________________
Guide To ShutDown on Exception of Uber!
Open Program.cs of Your Uber Emulator, and search MyHandler at End of page.
Code:
static void MyHandler(object sender, UnhandledExceptionEventArgs args)
{
Exception e = (Exception)args.ExceptionObject;
Console.WriteLine("MyHandler caught : " + e.ToString());
Console.ReadKey(true);
}
Add using System.Diagnostics;
Now Change "Console.ReadKey(true);" with:
Code:
Process proc = new Process();
proc.Kill();
Now when have an error, your server crash :D
____________________________________________________________________________________
Thanks :)
Daviex
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
change the fucking language.
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
Lovely Release
and has Adde said
Change the thing..
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
Now i add a Button at Start for All Name of all Item of form :)
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
;s This is very good but it would be nice if you can make a english version
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
I've already worked at this, time to upload new version and edit topic!
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
Make it show the time of the restart
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
-ClaNHabbo- The Time of restart is at 1-2 seconds, the just time you Exectute an APP :D
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
No i mean make it says the Time the server was restarted in the console logging.
Example : [hh:mm:ss / dd/mm/yyyy] Server Restarted
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
So this re-starts the emulator if it has an error?
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
It restarts when the Emulator Window closes.
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
So your emulator re-starter only re-starts if you X the emulator, or the emulator closes right?
Well would you know how to make my Emulator close once I get an error? It'd be very appreciated if you'd help me, thank you.
Additional Information: I'm using SpazzLakes Emulator.:love:
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
Sorry for double post but can some one please help me!? how?
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
Yea.
What server you use? Have Source? If You have source i can mod your server for crash when have an exception :D
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
its better if you do it like CPU is about highter then 80-100% ?
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
Make it say what time it restarted the server.
Example : [hh:mm:ss / dd/mm/yyyy] Server Restarted
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
Quote:
Originally Posted by
-ClaNHabbo-
Make it say what time it restarted the server.
Example : [hh:mm:ss / dd/mm/yyyy] Server Restarted
Why would you post the same thing twice?
Also, Is there ANYWAY someone could develop a server restarter that restarts a server on ERROR rather then when it CLOSES, because with emulators like Uber, majority of the time it just errors but never closes.
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
I Know how to make Uber when he crash with exception, it kill process...
Who want to edit our source, add me msn:
david.iuffri94@hotmail.it
i insert this mod :)
------------------------------
If Want to MOD Manually:
Open Program.cs of Your Uber Emulator, and search MyHandler at End of page.
Code:
static void MyHandler(object sender, UnhandledExceptionEventArgs args)
{
Exception e = (Exception)args.ExceptionObject;
Console.WriteLine("MyHandler caught : " + e.ToString());
Console.ReadKey(true);
}
Add using System.Diagnostics;
Now Change "Console.ReadKey(true);" with:
Code:
Process proc = new Process();
proc.Kill();
Now when have an error, your server crash :D
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
Quote:
Originally Posted by
Daviex
I Know how to make Uber when he crash with exception, it kill process...
Who want to edit our source, add me msn:
david.iuffri94@hotmail.it
i insert this mod :)
------------------------------
If Want to MOD Manually:
Open Program.cs of Your Uber Emulator, and search MyHandler at End of page.
Code:
static void MyHandler(object sender, UnhandledExceptionEventArgs args)
{
Exception e = (Exception)args.ExceptionObject;
Console.WriteLine("MyHandler caught : " + e.ToString());
Console.ReadKey(true);
}
Add using System.Diagnostics;
Now Change "Console.ReadKey(true);" with:
Code:
Process proc = new Process();
proc.Kill();
Now when have an error, your server crash :D
You're a legend mate!
Cheers for this :laugh::thumbup1:
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
-
Re: [FROM SCRATCH]Restarter Tool[MPTeam]
Rajito, work perfectly link ^^