* All functions names have been reviewed and renamed to make it easier
to identify what the function is for. This is for my benefit as there
are now over 50 functions to manage.
* New details feature. It has been reworked to add more useful info and
fix any bugs with details not always being displayed.
* Main script file e.g csgoserver should no longer require any updates
from this point. All code modifications should be made from the
functions. Any future edits would relate to server specific config.
* servername variable has been moved to its own function if name is
gathered from a config file. The same applies for ports, usernames and
passwords.
* new function fn_details_distro gathers all the required OS info for
fn_details and other functions that require this info
* Various improvements and bug fixes that I cannot remember.
fn_distrodetails to replace 3 functions and provide more in depth info
for fn_details and other functions that require distro and game server
info.
fn_load, fn_uptime and fn_distro are being depricated
The installer will do the following on an issue downloading the server
files in an attempt to fix the problem.
# Attempt 1-4: Standard attempt
# Attempt 5-6: Validate attempt
# Attempt 7-8: Validate, delete long name dir
# Attempt 9-10: Validate, delete long name dir, re-download SteamCMD
# Attempt 11: Failure
All goldsrc files will run a validate multiple times as well to reduce
the chance of the files not downloading due to a bug in steamCMD.
Fixed the server looping when it shouldnt
Sometimes I need to delete the SteamCMD dir for testing. I have added
functionality to automatically re download if missing. Will also prevent
any risk of steamcmd.sh command no found error.
Added fn_tmuxcheck for all the special people who do not know how to
RTFM or use Google then leave a comment asking what 'tmux: command not
found means' I'm not bitter...honest!
Added fn_tmuxcheck for all the special people who do not know how to
RTFM or use Google then leave a comment asking what 'tmux: command not
found means' I'm not bitter...honest!
* Major changes to terminal and log messages.
* More constant and improved wording of terminal and log messages.
* New local variable "modulename" that is displayed in terminal and log
messages.
* Added commented descriptions to most functions.
This moves all the defining functions to its own file and out of the
main script file. This has made the main scrip file much smaller and
moved most code to the functions dir
Created update checker using SteamCMD. After some advice from SteamDB on
Twitter I found out you can get depot files directly from SteamCMD.
SteamDB update checker is still present however is only used if steamcmd
fails (SteamDB advised they cannot guarantee the accuracy of there depot
files).
https://twitter.com/SteamDB/status/546720685260017664
There are 3 different update checkers available as a failover and will
run in the following order as required.
1. SteamCMD update checker
2. SteamDB.info update checker
3. Server Log update checker