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!

Uber auto restarter

Status
Not open for further replies.
Newbie Spellweaver
Joined
Dec 31, 2008
Messages
10
Reaction score
1
Go to your file uberEmulator
Open the ficiher program.cs
search code
PHP:
        static void MyHandler(object sender, UnhandledExceptionEventArgs args)
        {
            Exception e = (Exception)args.ExceptionObject;
            Console.WriteLine("MyHandler caught : " + e.ToString());
            Console.ReadKey(true);
        }
    }
}

Replace by

PHP:
         static void MyHandler(object sender, UnhandledExceptionEventArgs args)
        {
            Exception e = (Exception)args.ExceptionObject;
            Console.WriteLine("MyHandler caught : " + e.ToString());
            UberEnvironment.Destroy();
            Console.ReadKey(true);
        }
    }
}

download Uber Restarter ( (down the page it is called Uber)
Open it automatically opens your emulator!

Good jouréne to you all

PS, In the little Uber Restarter I direct you put a file program.cs configure:thumbup:

PS2: sorry for my bad English I'm French :thumbup:
 

Attachments

You must be registered for see attachments list
Last edited:
凸(ಠ益ಠ)凸
Loyal Member
Joined
Jun 16, 2008
Messages
1,665
Reaction score
227
what's this suppose todo?
 
Newbie Spellweaver
Joined
Sep 20, 2009
Messages
37
Reaction score
1
@Above it may be a complete new one?

Why do I have to be @Above, you know me :) lol.
But, yeah it could be a new one. I'm not sure. Virus Scan anyone? I'm too lazy :sleep:
 
凸(ಠ益ಠ)凸
Loyal Member
Joined
Jun 16, 2008
Messages
1,665
Reaction score
227
a fix for what? none of you explained anything lol
saying it's a fix sounds like drugs, oh man i missed my fix today lol
 
Junior Spellweaver
Joined
Mar 16, 2009
Messages
111
Reaction score
6
By using this your server will restart even more, as you get that error a lot but the server does't crash.
 
Joined
Aug 19, 2010
Messages
420
Reaction score
47
This is a fix for it, Every time the emulator gets an unexpected error, it quits. Why dont you put

UberEnviroment.Intalize() instead of Destroy()

It will give u a warning message for mus but its like a restart thing

Ill code one for you guys :)
 
Experienced Elementalist
Joined
May 9, 2010
Messages
251
Reaction score
90
Why not kill the process, sleep 1 second, restart the process... It's a much better approach.

---------- Post added at 03:48 PM ---------- Previous post was at 03:47 PM ----------

But this isn't a good way to go in the first place, any tiny error you get caught will shutdown and restart...So if your using a poop emu aka the regular uber you'll be restarting killing over and over again.
 
Skilled Illusionist
Joined
Jun 21, 2010
Messages
324
Reaction score
54
Nah, this is good, the only errors I get are serious ones. My edit i've fixed heaps. So it's really good for me.
 
Status
Not open for further replies.
Back
Top