Commit Graph

43 Commits

Author SHA1 Message Date
Daniel Gibbs
a023b47ac5 Fixed curl check bug 2015-12-12 21:55:08 +00:00
Daniel Gibbs
9cf1775749 All servers now have new github branch select feature 2015-12-12 19:55:57 +00:00
Daniel Gibbs
c42eb866a9 As per issue #516
https://github.com/dgibbs64/linuxgsm/issues/516
2015-12-09 22:04:19 +00:00
Daniel Gibbs
83a0894d87 Updated configs to match gameserver-configs project
updated hostname and rconpassword
2015-10-29 23:04:57 +00:00
Daniel Gibbs
78780ab3b9 Updated servercfgdefault
servercfgdefault has been changed to the filename of the
lgsm-default.cfg name
2015-10-29 23:03:01 +00:00
Daniel Gibbs
a9d6acb1a6 changed to updateonstart="off"
changed to off/on instead of no/yes
2015-08-15 22:50:59 +01:00
Daniel Gibbs
dbbfb78d96 goldsource issue #438
Improvements to reliability of server downloads.
2015-07-04 22:55:02 +01:00
Daniel Gibbs
a8c39c9ab1 Speed up function loading
Removed sleep 1 from fn_runfunction to speed up loading of functions.
This will save me a lot of time waiting.
2015-07-04 18:54:48 +01:00
Daniel Gibbs
9eea49a923 Updates to fn_install_config
Made this function more consistent across different servers and changed
defaultconfig var to servercfgdefault
2015-07-03 22:31:09 +01:00
Daniel Gibbs
c1ad3e6716 added updateonstart variable
this new variable will allow the script to check for updates when
running the start command
2015-05-09 20:49:00 +01:00
Daniel Gibbs
58f1e2ace3 Removed --no-check-certificate from wget
--no-check-certificate presents a possible security risk.
--no-check-certificate is only used because older distros do not
recognise githubusercontent.com and will fail to download files. I have
decided to remove remove this option for now. It may be the case later
that I all this with older distros if there is a need for it.
2015-05-03 12:29:24 +01:00
wb
bcb36f368b Updated wget URL for repository
changed linuxgameserver to linuxgsm across 33 files
2015-03-21 14:54:16 -06:00
Poil
7df2d8c602 True selfname. Remove stupid code 2015-01-25 21:37:43 +01:00
Daniel Gibbs
c912c4d2bd Major rename of functions
* 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.
2015-01-22 21:13:44 +00:00
Daniel Gibbs
13b2b2bbe3 Migrated scripts to use fn_functions
* Scripts have been migrated to use fn_functions
* Major changes please report any bug right away
2015-01-03 23:46:05 +00:00
Daniel Gibbs
0c1e6b996d Removed old appmanifest files
these files are no longer required as this should of now been fixed by
valve
2014-12-03 23:50:20 +00:00
Daniel Gibbs
8f549d689c All servers fully migrated to functions code
All servers have now been migrated to the new functions code. All
functions are now separated in there own file allowing to make quicker
changes to all servers code and simpler management of the code. For the
developer the code is now very scalable.
2014-12-03 23:21:25 +00:00
Daniel Gibbs
d216ef78d0 Added serverconfigs
Added remaining cfg files
2014-12-03 22:08:06 +00:00
Daniel Gibbs
c818a2adff migrated fn_loginstall
migrated fn_loginstall. Fixed issue with symbolic link for server logs
being created even if it does not exit for that server.
2014-11-23 22:53:42 +00:00
Daniel Gibbs
ca7cb32935 functions code now uses absolute paths
sometimes the code was not in the correct dir causing the function to be
re downloaded or not function. Now using absolute paths to make sure the
script uses the correct dir
2014-11-23 22:11:00 +00:00
Daniel Gibbs
450f350a4d wget and tmux error fix
* fixed some distros not downloading functions becuase of old
certificates. Added --no-check-certificate to anything wget code
relating to githubusercontent.com
* fixed tmux-error.tmp not being deleted correctly
2014-11-22 19:38:29 +00:00
Daniel Gibbs
c5f321dff4 Migrated to new split functions system
All scripts now have the new split functions system in-place.

Some functions now have there own file rather than being in the main
script file.
If the main script requires the file is will automatically download it
in the the functions dir for use.

Only a few functions currently do this. However if a change is made to a
function it will be migrated. In the long term this will reduce the need
for me to copy the same code over 20 times and drastically reduce the
time it takes me to make changes.
2014-11-14 20:14:00 +00:00
Daniel Gibbs
1102972221 Added tmux error checking
*Added tmux error checking - because of recent issues with some CentOS 7
installs not working with standard users. Errors will be reported to the
script logs.
*  Very minor bug fixes
* Version updates to all scripts
2014-10-06 23:05:30 +01:00
Daniel Gibbs
f3b2d9b4c7 Removed -autoupdate while resolve it not working
-autoupdate requires extra parms to work. I have removed this while I
decide how to resolve this
2014-09-27 11:51:08 +01:00
Daniel Gibbs
8689ccfb7f -autoupdate added to all Source/GldSrc servers
Should speed up server updates to servers. This switch should update and
restart the server as an update is released by Valve
2014-09-23 17:55:40 +01:00
Daniel Gibbs
fbd9120d76 Fixed gsquery installing in incorrect location 2014-09-20 17:13:12 +01:00
Daniel Gibbs
3e8b7b9982 Synced scripts and bug fixes
* Synced the scripts so all functions correctly match
* updated fn_autoip so 127.0.0.0 range should be ignored
* glibcfix function added where required
* Fixed update-restart bug causing the lockfile to be created in the
wrong directory #172
* gmodserver libsteamfix added
* General code tidy up
2014-09-20 11:43:59 +01:00
Scarsz
c0015e6089 Add quotes around steampass
https://github.com/dgibbs64/linuxgameservers/issues/174
2014-09-19 21:11:22 -07:00
Scarsz
5689cbe03a Add gsquery to supported servers
/nosleep
2014-09-17 23:17:30 -07:00
Daniel Gibbs
f8b462208b 100914 - Update debug and monitor
* Updated debug mode
* Monitor changes to monitor to clarify how to activate it
fixed  issue #156
2014-09-13 18:34:21 +01:00
Daniel Gibbs
20448a537f improved console logging removed +servercfgfile,
improved console logging so now does not require you to press return to
output the console to a log file.

removed +servercfgfile as was not required
2014-08-05 21:26:37 +01:00
Daniel Gibbs
c123316b63 Resolved lockfile full path bug
Fixed: If using full path to script lock file was not being detected in
monitor causing the monitor to not work. This broke automatic
monitoring.
2014-08-01 22:28:17 +01:00
Daniel Gibbs
db769cd26e Corrected line 2 server name 2014-07-23 21:18:24 +01:00
Daniel Gibbs
f170bf5167 Replaced lockfile for echoing date
removed lockfile command in favour of echoing date to a file. This will
remove the need for procmail but still achieve the same functionality
2014-07-10 12:28:06 +01:00
Daniel Gibbs
6b120e2e6c Monitor no longer starts server if stop used
If the administrator stops the server using the stop command the monitor
will disable itself preventing the server from starting back up on its
own
2014-06-24 20:31:52 +01:00
Daniel Gibbs
556d101781 major update 050214
* Fixed insserver. Now works on Debian and CentOS
*  Added validate feature now 4 options update, update-restart,
validate, validate-restart
* Improved consistency of error messages thanks to wrelam
* Fixed bug with fn_logmanager
* Added steam_appid.txt file to fix an error where the server would
crash
2014-02-06 01:05:52 +00:00
Daniel Gibbs
5780829dfe Improved fn_autoip error message
* Added more clarity on how to resolve the multiple IP issue
2014-01-31 16:36:43 +00:00
Daniel Gibbs
f3dd4ef29a added 2nd query on gsquery to prevent restart
* added 2nd query after delay on gsquery to prevent the script from
restarting during map change
* added +servercfgfile to start parameters to make multiple servers
easier. I will add more documentation on this soon.
2014-01-31 16:28:16 +00:00
Daniel Gibbs
0d41a75f5e Added tfcserver, updated steamclient variable
*Added tfcserver
*Changed steamclient variable so they will all be the same
2014-01-26 22:35:20 +00:00
Daniel Gibbs
be3c944510 Updated all appmanifest files 2014-01-26 21:13:13 +00:00
Daniel Gibbs
eef76fe3d3 Improved app 90 fix
Found x2 app 90 manifest files are required. I have created firstpass
and secondpass files. First pass downloads all manifest files . Then
second pass changes the manifest files to download the mod files

First pass app 90 downloads half life and cstrike files
Second pass  app 90 downloads the mod files.
2014-01-25 15:51:12 +00:00
Daniel Gibbs
65849803e2 Updated appmanifest locations 2014-01-25 14:53:02 +00:00
Daniel Gibbs
b99550bdba Added dodserver 2014-01-25 14:51:13 +00:00