Jump to content

Question

File Name: hAx

File Submitter: Xgear

File Submitted: 25 May 2013

File Category: Scripts

 

This is an old RO launcher I have. Been using it ever since it came to my hands.

Restarts the server as soon as it crashes.

 

No idea who wrote it other than whats in the script's usage: Zak Farrington alias fritz <[email protected]>

 

Usage: ./hAx [OPTIONS]... [MAPSERVER-BINARY]... [OUTPUTFILE]...Examples:   ./hAx --hup map-server map-server.out        # Inerpret hang up signals && output to map-server.out   ./hAx --nohup map-server.exe /dev/null       # Ignore hangup signals && output to /dev/nullThe Flags:   --hup        Passes map-server directly to the command line, thusly it interprets hang up signals   --nohup      Passes map-server thru nohup to ignore hang up signals

 

 

To use it you can create a file called "run", chmod +x the file and add this on it

 

 

nohup ./hAx --nohup login-server ~/server/log/login/slog &

nohup ./hAx --nohup char-server ~/server/log/char/schar &

nohup ./hAx --nohup map-server ~/server/log/map/smap &

 

After that, simply type ./run and voila.

All the console output will be logged to ~/server/log/<server>/s<server>_<start_time>

 

Hope it helps :)

 

Cheers.

 

Click here to download this file

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I use this script on all my servers (about 5 considering test servers and what not) and I've never had any issues with it O.o

You might've been flagged because the script constantly checks for the process running (about every 0.2ms), in order to restart it if it has crashed. 

I haven't tested this on a VPS, only on personal computers or dedicated servers, so no idea if your VPS has some sort of warning for such things.

 

But, it does what it says it does, whether it works for you under your environment is a different issue :P

 

Edit: Or chances are as this is not a script, but a compiled software, it ends up being in a software launching a proccess, which under  your VPS configuration might have been flagged. 

Edited by Xgear

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.