Search the Community
Showing results for tags 'restart'.
Found 3 results
-
Hi, I'm trying to make an NPC which players can donate zeny to, and the zeny count is for every player - as in when one player donates, it updates a tally for everyone else (stored in NPC). If I use .server_donate (as shown in example below), will it disappear when I restart my server? Thank you in advance. prontera,150,150,3 script Server Donation NPC 4_F_TELEPORTER,{ mes "Players have donated " + .server_donate + " zeny."; mes "How much zeny do you want to donate?"; next; input .@donate; if (Zeny < .@donate) { mes "You need more zeny"; close; } else { Zeny -= .@donate; .server_donate += .@donate; mes "You donated " + .@donate + " z."; close; } }
-
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
-
101 downloads
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.