First comment' thanks.
Love you
No homo
|
|

Info:
I know this is probally not much of a tutorial and more of a snippet or tool or whatever but im not sure what it is so if a mod could please move it it would be great......
im not great for putting stuff in the right sections sorry in advance....
anyway on to the tutorial
difficulty: 0
modified files: run.bat
Proof:
Features:
Displays online time.
Displays once a restart has been initiated.
files needed:
[Only registered and activated users can see links. ]
Step 1:
download the files and extract to any directory i recommend your server's folder but any will do.
Now open your server's run.bat and you should see something simlar.
taken from: slashscape v2
another example may be"C:\Program Files\Java\jdk1.6.0_11\bin\java.exe" -Xmx900m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.08-ga-bin.jar server
a lot simplerjava -Xmx900m server
above it put
and belowCode::startputjava -Xmx900m server
Now run your server normally and then run the autorestarter.bat and your server will only restart when it crashes....Code:goto start
as a side note you can customise the setting in Restarter.java
like how often to check to restart etc
also any changes to the login protocall must be changed in login.java
like if you have a custom UID for example
thanks Mad Turnip
First comment' thanks.
Love you
No homo

wow i love you sir![]()

ewwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
bluurr is Online
Fuckin PRO
Send Message User Lists
Last Activity: Today 09:23 PM
Current Activity: Viewing Thread Auto Restarter All sources (only restarts once server crashes)
lmfao
youll see this in 2speced in like a day or something now lmao

This sucks lol ,,, sorry to say but it restarts server whenever it wants, Like there is no lagg and everything is ok and bang it restarts it,,, So wtf?
omg thanks! repped

Why does it restart the server every 5 minutes?

it works fine if you fix it up for your server like i said you might need to change the uid or somethingThis sucks lol ,,, sorry to say but it restarts server whenever it wants, Like there is no lagg and everything is ok and bang it restarts it,,, So wtf?
ive tested this on loads of sources, and they dont even restart after several days
and again probally because your an idiot lolWhy does it restart the server every 5 minutes?
just to show im right...

Wouldn't having the auto-restarter, restart server every 30 min rather than when it crashes because tbh i think it's better without this. Lessens the strain the server is going through (mini-break) or else your going to have lagg as shit server until it crashes...
But that's what I say about it.
| « [pi] how to make sol/chaotic staff able to auto cast ancients] | A somewhat good woodcutting PI || C-11 || Emulous. » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |