Start Stop Restart, logrotate Script Wolfenstein Enemy Territory Server # etserver.sh v0.7a 08.April.2017 ETc|#Jay.# # needed packages: apt-get install screen # features: # - ./etserver.sh start [what is it doing? -> starts etserver.] # - ./etserver.sh stop [what is it doing? -> stops etserver.] # - ./etserver.sh restart [what is it doing? -> stops the etserver if running then it restarts etserver.] # - ./etserver.sh restart_log [what is it doing? -> stops the etserver if running, renames your server.log/etconsole.log/admin.logcrash.log to name_of_log_day_month_year.log and moves it to a log folder. then it restarts etserver.] # # For logrotate + autorestart ET server every day, create a crontab. Example (4:30am every day): 30 4 * * * /home/etserver/etserver.sh restart_log # Only autorestart ET Server every day, create a crontab. Example (4:30am every day): 30 4 * * * /home/etserver/etserver.sh restart # If server crashed start it automaticly. Create a crontab. Example (check every minute if server down. if down start Et Server ): * * * * * /home/etserver/etserver.sh start # todo: - optimizing (logs....) # - # - # Backup your logs first. Use at your own risk (its alpha version!). # dont run as root, create a user as example etserver. Dont forget to give the file et300 and etserver.sh chmod 755 # ideas are welcome, report bugs to jay@clan-etc.de, support at http://www.clan-etc.de/phpBB3/viewtopic.php?f=29&t=3506
Jaymod 2.1.7 is outdated so i share it with the community.
Features are:
- You can change with this tool your jaymod 2.1.7 version to any name/number you want. - Second feature is, you have mp40 + thomson in all classes.
Use this tool at your own risk! Do a backup of your serverfiles first! I cant give you any guarantee of this tool. If your server crashs i give no help and no support.
the winrarfile includes sourcecode and compiled file.
how to compile?
only linux:
gcc -o jpatch jpatch.c
how to use?
./jpatch /path to the qagame/jaymod/qagame.mp.i386.so 'write here your jaymod version'