232 Commits

Author SHA1 Message Date
Ben Peddell
d2e8f30e3c Wait for SteamCMD to download mod
When `workshop_download_item` is executed, the Steam API will
download not just the specified mod, but also every other
mod that has ever been installed by that SteamCMD instance.
Wait for those to download and update when downloading the mod.
2015-12-09 04:40:31 +10:00
Ben Peddell
8aa42357c9 Take RCONPort from GameUserSettings.ini with default 2015-12-09 03:33:43 +10:00
Ben Peddell
2d30e7bbc2 Fix retrieving settings from ini file
The `sed -n` was missed, thus causing arkmanager to be unable
to get the password or RCON port from GameUserSettings.ini

Fixes: 30aea93bd6572df640d04951617bbe477571dea7
2015-12-08 02:57:40 +10:00
Fez Vrasta
720027f574 Merge pull request #308 from klightspeed/1.4#versionoption
Add --version option
2015-12-02 14:09:41 +01:00
Ben Peddell
349aca899b Return 1 from checkupdate when an update is required 2015-12-02 20:12:39 +10:00
Ben Peddell
d09ac2b8d7 Return the status of the last command 2015-12-02 20:12:01 +10:00
Ben Peddell
ecfb7027c5 Add --version option 2015-12-02 20:04:58 +10:00
Ben Peddell
30aea93bd6 Add defaults for Port, QueryPort, RCONPort and serverMap 2015-11-26 16:48:29 +10:00
Ben Peddell
f859df13ac Prevent multiple updates from occurring concurrently 2015-11-24 00:09:32 +10:00
Fez Vrasta
63c2abad6e Merge pull request #256 from klightspeed/1.4#fixupdateneeded
Fix mod update not being detected
2015-11-02 13:20:59 +01:00
Ben Peddell
346de3731d Fix typo in upgrade-tools when running as root 2015-11-02 00:46:51 +10:00
Ben Peddell
83de3cbb66 Fix mod update not being detected 2015-10-31 17:18:16 +10:00
Ben Peddell
ba82be2ef4 Add missing .modbranch file creation 2015-10-27 03:13:47 +10:00
Fez Vrasta
63f26a86a2 Merge pull request #244 from klightspeed/1.4-dev#dumbterm
Pull #241 from master into 1.4-dev
2015-10-24 17:20:20 +02:00
Ben Peddell
365986ddb0 Move TERM fixup into arkmanager 2015-10-24 15:02:10 +10:00
Fez Vrasta
63dda70950 Merge pull request #236 from klightspeed/1.4-dev#multihomefix
Fix error in MultiHome support
2015-10-21 19:06:07 +02:00
Ben Peddell
a08d087b8c Change to the ark server root directory
This was implemented in 4d30f26, but was subsequently
eliminated in 1.2
2015-10-19 00:38:42 +10:00
Ben Peddell
9dc9b34eac Fix error in MultiHome support 2015-10-13 23:29:02 +10:00
Fez Vrasta
60ed29322b Merge pull request #232 from klightspeed/1.4-dev#fixes2
1.4 fixes
2015-10-13 14:44:38 +02:00
Ben Peddell
1b814b99d6 Add support for MultiHome setting 2015-10-13 11:45:10 +10:00
Ben Peddell
29b952eda1 Exit arkmanager after upgrade 2015-10-12 06:27:20 +10:00
Ben Peddell
aeafb3f5b9 Fix error with checkupdate when steam unreachable
Fixes: 0e6dfc2 (Don't report update available if steam unreachable)
2015-10-11 17:18:13 +10:00
Ben Peddell
0e6dfc2922 Don't report update available if steam unreachable 2015-10-09 06:39:45 +10:00
Ben Peddell
01edcab4a1 Remove mod id from from workshop acf on installmod 2015-10-09 06:39:45 +10:00
Ben Peddell
e2f8a3e9c5 Check Query port when determining if server is up 2015-10-09 06:39:45 +10:00
Fez Vrasta
51b5e5c6e7 Merge pull request #226 from klightspeed/1.4-dev#checkonline2
Query Steam API for server status
2015-10-08 16:47:40 +02:00
Ben Peddell
9cdd7e3939 Query Steam API for server status 2015-10-08 08:37:13 +10:00
Ben Peddell
c97ed485f5 useconfig now does nothing when useconfig main is used 2015-10-06 17:16:28 +10:00
Ben Peddell
7b5d8b60f2 Add run command to arkmanager 2015-10-06 17:16:28 +10:00
Ben Peddell
1efb536c13 Fix hotfix detection; don't downgrade 2015-10-03 09:24:20 +10:00
Ben Peddell
23efbf8d0d Abort upgrade is arkstChannel is invalid 2015-10-01 08:29:11 +10:00
Ben Peddell
fa7649d92b Allow user to specify arkflag_log="" 2015-09-29 23:31:57 +10:00
Ben Peddell
d27eff2861 Log the command used to launch the server 2015-09-29 11:13:46 +10:00
Ben Peddell
17dd16a830 Add support for -opt=val options using arkopt_opt=val 2015-09-29 10:44:23 +10:00
Ben Peddell
167781e34f Allow non-anonymous steamcmd login 2015-09-29 10:44:23 +10:00
Ben Peddell
e4d42183e3 Default to Windows mod; record mod branch 2015-09-29 10:44:15 +10:00
Ben Peddell
14b82cc7eb Fix autorestart 2015-09-28 13:11:07 +10:00
Fez Vrasta
1ed472ac6d Merge pull request #197 from klightspeed/1.4-dev#fixmodupdate
Fix error in mod file update time comparison
2015-09-26 15:06:55 +02:00
Fez Vrasta
5d1a5d3cb5 Merge pull request #193 from klightspeed/1.4-dev#fixrootcmd
Fix error in running as root
2015-09-26 15:06:27 +02:00
Ben Peddell
098f19d147 Add option to select mod OS
The Linux version of some mods don't work at all with the dedicated
server.  Allow the administrator to configure which mod branch
to grab (Windows or Linux).
2015-09-25 10:50:04 +10:00
Ben Peddell
18e91c07ae Fix error in mod file update time comparison 2015-09-25 10:32:57 +10:00
Ben Peddell
1505aa85ab Automatically su to steamcmd_user if run as root 2015-09-24 17:19:23 +10:00
Ben Peddell
a307643e90 Fix config variable fetching 2015-09-24 17:19:06 +10:00
Marius Linge
c9ddb5c87d Merge pull request #184 from Atriusftw/feature/BackupPreUpdate
Allow backing up prior to updating the server
2015-09-23 05:36:29 +02:00
Marius Linge
47c070a21c Adds the new command to arkmanager help 2015-09-23 02:35:12 +02:00
Marius Linge
cd69429405 Fixes typo from last commit 2015-09-22 21:40:03 +02:00
Marius Linge
e58ad46797 Actually displays seconds instead of spamming 1 minute 2015-09-22 21:24:38 +02:00
Marius Linge
115f0c3ce7 Improves the backup on-request feature 2015-09-22 19:42:50 +02:00
Marius Linge
fee2e3040f Prevents version conflicts 2015-09-22 01:17:38 +02:00
Ben Peddell
034b84b2d0 Merge branch '1.3#flags' into 1.4-dev#flags 2015-09-21 04:49:33 +10:00