Jump to content

ARK: Survival Evolved (Supports Clusters)


Dennis

Recommended Posts

ARK: Survival Evolved (Supports Clusters)


Read before upgrading from version 1.x to 2.x!

Do not change the "Run As" user. This config depends heavily on the new "Run As Unique operating system user for each service" setting.

If you have existing services, go to System > Settings > Game Tools > Verify/repair game accounts. Select 'Update Run As User' and all of the servers that you're using for ARK hosting. 
Existing services will not have the "ClusterPath" variable set. If they are started with clustering enabled, an error will show, telling the user to execute a script that will set the "ClusterPath". This is only required once for new services.

Prerequisites

  • TCAdmin version 2.0.161.0 or later
  • 'screen' if you're on Linux

Installing screen
Debian/Ubuntu:

$ apt install screen

RHEL/CentOS/Fedora:

$ yum install screen

Installation

  1. Download the config
  2. Go to TCAdmin > System > Settings > Game & Voice Hosting > Game & Other Voice Servers > Import
  3. Save the config as a new config or chose "Overwrite existing config" if you which to overwrite your current ARK config. Remember to select ARK in the 'Update Game' field if you do
  4. Leave all other settings

Features

  • Steam Workshop installer/updater/uninstaller (using these scripts)
  • Shut down properly using custom script with rcon commands
  • Easy configuration of each service using variables and configuration editor
  • Predefined command line for each official map up to Crystal Isles
  • Support for custom maps
  • Support for clustering
  • Wipe server (wipe everything in ShooterGame/Saved/SavedArks)
  • Reset cluster
  • Restore backups

How do I setup a cluster?

You must have at least 2 servers to configure a cluster.

  1. Go to each server's command line
  2. Create a new custom command line
  3. Set 'Cluster ID'

When you set Cluster ID, the Cluster Path will automatically get set. On Windows, it's set to X:\Users\TCAGame_<TCAdminUserName>. On Linux, it's set to /home/tcagame_<tcadminusername>.


 

Link to comment
Share on other sites

4 hours ago, DennisMidjord said:
 

 

^^ This.

i did not even know it existed. This will save me so much time WOW.

So it just allows 1 database to be created?  

Thank you!

Edited by SHAD0WRAIDERZA
Link to comment
Share on other sites

Yes, it allows for automatic creation (during service setup) and deletion (after service is deleted) of a MySQL database for every TCAdmin server. Instead of creating it for each game, we has it setup as a global script ?

Link to comment
Share on other sites

Yes, it allows for automatic creation (during service setup) and deletion (after service is deleted) of a MySQL database for every TCAdmin server. Instead of creating it for each game, we has it setup as a global script
Cool! What if a clients wants another database? Is it possible to set limits? Sometimes people need more than 1

Sent from my SNE-LX1 using Tapatalk

Link to comment
Share on other sites

No, this will only create one database. You could customize the script to create multiple, but there's no reason to.

By using different table prefixes, you can work around having access to only one database.

Link to comment
Share on other sites

New version uploaded.

What's New in Version 1.1.0  

  • Added a script to properly shut down the server. Previously, the server didn't save during shutdown. This is now done using rcon, so make sure that you always set the rcon password through the configuration editor or the command line.
  • Changed "Wait for Exit" to 30 seconds.
Link to comment
Share on other sites

New version uploaded.

What's New in Version 1.1.0  

  • Added a script to properly shut down the server. Previously, the server didn't save during shutdown. This is now done using rcon, so make sure that you always set the rcon password through the configuration editor or the command line.
  • Changed "Wait for Exit" to 30 seconds.
Just want to point out wait for exit is under the text console tab.

Sent from my SNE-LX1 using Tapatalk

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...
4/16/2020 7:20:53 AM Error 1. Please contact support.
4/16/2020 7:20:53 AM System.Exception: Error 1. Please contact support. at Microsoft.Scripting.Interpreter.ThrowInstruction.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1) at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx) at Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope) at TCAdmin.SDK.Scripting.Engines.IronPythonEngine.Execute(Credentials credentials) at TCAdmin.SDK.Scripting.ScriptEngineManager.Execute() at TCAdmin.GameHosting.SDK.Objects.GameScript.ExecuteEventScripts(ScriptEngineManager scriptEngineManager, ServiceEvent eventScript, ObjectList scripts) at TCAdmin.GameHosting.Automation.AutomationProcesses.WorkshopInstall() at TCAdmin.GameHosting.Automation.AutomationProcesses.Start() at TCAdmin.TaskScheduler.ModuleApi.StepBase.Start(Object arguments)
Edited by tiweb
Link to comment
Share on other sites

  • 1 month later...

What's New in Version 1.1.1  

ARK recently deactivated the use of bRawSockets. This means that we can no longer use the same port for game port and query port.

  • Changed query port to gameport + 1 (you'll need to manually update for your existing servers)
  • Changed "Wait for Exit" to 3 seconds
  • Changed "Stop Delay" to 1 second
  • Removed custom ports that are no longer in use
  • Removed some custom scripts
  • Added command line for Crystal Isles
Link to comment
Share on other sites

What's New in Version 1.1.3  

  • New script for shutting down server (Thanks @LFA)
  • 'Remove steamapps after shutdown' and 'Wipe Server' rewritten (no longer requires Python 2.7 lib)
  • 'Remove steamapps after shutdown' actually executing after server being stopped, not after Steam update
  • 'Wipe Server' now executes in a popup
  • Custom images removed from custom scripts and links
  • References to Prima Servers removed
Link to comment
Share on other sites

Have you guys figured out the trick to being able to connect via the Epic Games browser? Crossplay is enabled and I can see the server and connect to it via a direct connect with IP:Port from another session however it always times out when trying to join from the server browser. Any help would be greatly appreciated. Thanks!

Link to comment
Share on other sites

Yes I've set the commandline to custom and added crossplay however the server does not always allow connection in EGS. Sometimes it will connect and sometimes timeout. Has anyone else experienced this? I've done a lot of troubleshooting to no avail. It could be the EGS coding I suppose.

Link to comment
Share on other sites

Using this config, was working fine until the update.

Tried using default ports 7777, 27015, 27020, have tried also using multiple other ports as recommended with no luck.

Any recommendations gratefully accepted.

PS. love the config options compared to default

Link to comment
Share on other sites

Hi, is it normal that with a new server the startup takes forever until it creates the *.map file ? With CrystalIsles it does not create slots at all and stops at 0/70 instead of 0/100

 

WL51jBf.png

 

wg6mXR9.png

 

After 20 min

nNw3fT8.png

 

jYo5LUO.png

Edited by Gotteshand
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 168 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use