Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 09-18-2006, 07:28 AM   #1 (permalink)
Forum Novice
 
koluch's Avatar
 
Join Date: Mar 2004
Location: Wisconsin
Age: 45
Posts: 789
Question Question :

Is there a way to disable the server from automatically restarting after a crash ?

svn 83
__________________
Quote:
If the words are coming from someone who's opinion you value, think it over. If not, well just consider the source....
koluch is offline   Reply With Quote
Old 09-18-2006, 09:20 AM   #2 (permalink)
Forum Novice
 
Soteric's Avatar
 
Join Date: Aug 2006
Location: Russia, Rostov-on-Don
Posts: 763
Send a message via ICQ to Soteric
Default

In file Scripts\Misc\CrashGuard.cs try to change this line
Code:
private static bool RestartServer = true;
to
Code:
private static bool RestartServer = false;
Soteric is offline   Reply With Quote
Old 09-18-2006, 11:30 AM   #3 (permalink)
RunUO Forum Moderator
 
daat99's Avatar
 
Join Date: Dec 2004
Location: Israel
Age: 27
Posts: 8,163
Send a message via ICQ to daat99 Send a message via AIM to daat99
Default

Quote:
Originally Posted by koluch
Is there a way to disable the server from automatically restarting after a crash ?

svn 83
You know it'll only leave it down, right?

P.S.
Just in case you'll ask:
No you can't leave it running if it crashed without shutting it down.
__________________
I always try to help
Sometimes, I don't know how....

My Web Page
Forum Rules
-------------------------------------------------------------
Extensive OWLTR System | Token System | World Teleporters
-------------------------------------------------------------
daat99 is offline   Reply With Quote
Old 09-18-2006, 12:26 PM   #4 (permalink)
Forum Novice
 
koluch's Avatar
 
Join Date: Mar 2004
Location: Wisconsin
Age: 45
Posts: 789
Default

Thanks Soteric will give it a try

Yes we do not want it to restart..on crash it does not close the 1st server so then you have 2 instances running and no one can log in anyways, and also it starts to overwrite the saves.

Thanks again
__________________
Quote:
If the words are coming from someone who's opinion you value, think it over. If not, well just consider the source....
koluch is offline   Reply With Quote
Old 09-18-2006, 01:46 PM   #5 (permalink)
Forum Expert
 
Iomega0318's Avatar
 
Join Date: Feb 2005
Location: Dirt City,TX
Age: 21
Posts: 608
Send a message via ICQ to Iomega0318 Send a message via AIM to Iomega0318 Send a message via MSN to Iomega0318 Send a message via Yahoo to Iomega0318
Default

Are you certain about that? I have RunUO 1.0 running and when my server crashes it auto restarts and closes the other one.. And I havn't moded the crashguard.cs in any way.. Same with the RC1 of 2.0..
__________________
-Lichking-
"I believe in Christianity as I believe in the sun...
not because I see it but because by it I see everything else."
C.S. Lewis

Heed what I say, for it shall be mentioned only once.

Iomega0318 is offline   Reply With Quote
Old 09-18-2006, 06:50 PM   #6 (permalink)
Forum Novice
 
koluch's Avatar
 
Join Date: Mar 2004
Location: Wisconsin
Age: 45
Posts: 789
Default

Quote:
Originally Posted by Iomega0318
Are you certain about that? I have RunUO 1.0 running and when my server crashes it auto restarts and closes the other one.. And I havn't moded the crashguard.cs in any way.. Same with the RC1 of 2.0..
No, we have not touched the crashguard.cs and the silly thing was drivin us nuts, keeping 2 servers up, no one can log on anyway and then corrupting all the backup saves
Unfortunately, until we get issues fixed, we need the server to just close down if it crashes. It never happens when your awake or around ya know, hehe!

** we will see if that works, the unfortunate part is the inevitable server crash will be our only test
__________________
Quote:
If the words are coming from someone who's opinion you value, think it over. If not, well just consider the source....
koluch is offline   Reply With Quote
Old 09-18-2006, 07:34 PM   #7 (permalink)
Forum Novice
 
Join Date: Apr 2005
Age: 39
Posts: 233
Default

I have heard of someone else having this problem after adding another custom script which writes files ... if I remember correctly it was an auction system.

Have you added anything like this ?
Geezer is offline   Reply With Quote
Old 09-18-2006, 08:00 PM   #8 (permalink)
Forum Expert
 
Iomega0318's Avatar
 
Join Date: Feb 2005
Location: Dirt City,TX
Age: 21
Posts: 608
Send a message via ICQ to Iomega0318 Send a message via AIM to Iomega0318 Send a message via MSN to Iomega0318 Send a message via Yahoo to Iomega0318
Default

Quote:
Originally Posted by koluch
No, we have not touched the crashguard.cs and the silly thing was drivin us nuts, keeping 2 servers up, no one can log on anyway and then corrupting all the backup saves
Unfortunately, until we get issues fixed, we need the server to just close down if it crashes. It never happens when your awake or around ya know, hehe!

** we will see if that works, the unfortunate part is the inevitable server crash will be our only test
Ouch, that sux.. And yeah I know what you mean lol..
And Geezer that shouldn't effect it, I have just about every additional system on my shard including the auction system with no problems..
__________________
-Lichking-
"I believe in Christianity as I believe in the sun...
not because I see it but because by it I see everything else."
C.S. Lewis

Heed what I say, for it shall be mentioned only once.

Iomega0318 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5