How to change Server restart time.

Newbie Spellweaver
Joined
Aug 17, 2007
Messages
73
Reaction score
0
I will not take any credit for this topic, I am only releasing it.
I am thanking EVERYONE that helped me. Thank you. =]

Introduction
Before we may continue, make sure you have the following.

  1. Microsoft Visual C# 2005 or 2008
  2. LOTF source
  3. A brain w/ common sense
Body
Now that you have all of that

Open Microsoft Visual C# 200? From your soruce

hacker1128 - How to change Server restart time. - RaGEZONE Forums


Then Open up the General.cs on the side

After you have done that pres Ctrl + G, Type in 114

hacker1128 - How to change Server restart time. - RaGEZONE Forums


You will see something like this:

hacker1128 - How to change Server restart time. - RaGEZONE Forums


Change "600000" To how long you want.
This goes by Millisecond so do the math.
1000millisecond x 60seconds x (#)Minutes

EX. 1000 x 60 x 60 = 3600000 or 1hour
EX. 1000 x 60 x 120 = 7200000 or 2 hours
EX. 1000 x 60 x 180 = 10800000 or 3 hours


After you change the number, Press on the "Build" then "Build Solution"

hacker1128 - How to change Server restart time. - RaGEZONE Forums


If it says Build Succeeded

hacker1128 - How to change Server restart time. - RaGEZONE Forums


Then press F5

hacker1128 - How to change Server restart time. - RaGEZONE Forums


If you get no Errors this is what It will look like:

hacker1128 - How to change Server restart time. - RaGEZONE Forums


If you get this error:

hacker1128 - How to change Server restart time. - RaGEZONE Forums


Follow these easy steps:

Go to your source
The go to obj/debug

hacker1128 - How to change Server restart time. - RaGEZONE Forums


Then Copy TheCoServer.exe from there

hacker1128 - How to change Server restart time. - RaGEZONE Forums



 
Then press Back 2 times
Then go to Bin/Debug

hacker1128 - How to change Server restart time. - RaGEZONE Forums


Then Right click and "paste"

hacker1128 - How to change Server restart time. - RaGEZONE Forums


If it gives you a message like this:

hacker1128 - How to change Server restart time. - RaGEZONE Forums


Press copy and replace

Then run your server, from there

hacker1128 - How to change Server restart time. - RaGEZONE Forums
 
That means you save command got messed up.
Upp 2 options get the new source and try ot get it working, or get your old one and start over.
 
Back