DevilzEye1 Posted April 6, 2021 Share Posted April 6, 2021 Was wondering if anyone has made a config for Interstellar Rift? The default server files use powershell to execute the server binary, can TCAdmin do this? If so, I'll attempt to make one, and upload the config when done, unless someone already did Link to comment Share on other sites More sharing options...
Dennis Posted April 6, 2021 Share Posted April 6, 2021 Yes, that is possible. Just set the "Executable" to be the .ps1 file. What's the content of the script? Link to comment Share on other sites More sharing options...
DevilzEye1 Posted April 6, 2021 Author Share Posted April 6, 2021 $startCount = 0 $crashCount = 0 $arguments = "-server" while ($true) { $startCount++ Write-Output "$(Get-Date -Format o): Starting server with arguments ($($arguments))... Start count: $($startCount)" $process = Start-Process $(Resolve-Path "IR.exe") $arguments -PassThru $crashFilePath = "$($env:APPDATA)\InterstellarRift\$($process.Id).crashed" while (!$process.HasExited) { if ($(Get-Item $crashFilePath -ErrorAction SilentlyContinue) -ne $null) { $crashCount++ $Host.UI.WriteErrorLine("$(Get-Date -Format o): Server crashed... Restarting server. Crash count: $($crashCount)") Stop-Process -InputObject $process Remove-Item $crashFilePath break } Start-Sleep 1 } foreach ($childProcess in $(Get-WmiObject win32_process | where { $_.ParentProcessId -eq $process.Id })) { Stop-Process -Id $childProcess.ProcessId } } Link to comment Share on other sites More sharing options...
Dennis Posted April 6, 2021 Share Posted April 6, 2021 You don't need to start it with the PowerShell script. You can simply start it using the executable file "IR.exe". All the script seems to do is restart if the process crash - and that's already something TCAdmin does Link to comment Share on other sites More sharing options...
DevilzEye1 Posted April 6, 2021 Author Share Posted April 6, 2021 (edited) excellent, ill get it set up and test it out, not sure what to use for the query protocol though, is there a cheat sheet for that part of adding a game? to determine how a game is queried? Edited April 7, 2021 by DevilzEye1 Link to comment Share on other sites More sharing options...
DevilzEye1 Posted April 7, 2021 Author Share Posted April 7, 2021 forgot to mention, the server saves the entire configuration, workshop files, and save files in the %appdata%\Roaming\InterstellarRift directory, this will be a problem, any workarounds since TCAGame user doesnt have such directory? Link to comment Share on other sites More sharing options...
Dennis Posted April 7, 2021 Share Posted April 7, 2021 They do, they just can't access it. Unless you can specify something like a savepath in a configuration file or parse it as a command line parameter when starting the server, you can't do anything about it. Link to comment Share on other sites More sharing options...
DevilzEye1 Posted April 7, 2021 Author Share Posted April 7, 2021 welp, to my knowledge, i have yet to find a commandline argument that can specify a savepath of any kind, and i googled all night last night... i see that other hosting providers have the game available under a panel of some sort, must be a way... somehow... my search continues then. thank you for the insight though! Link to comment Share on other sites More sharing options...
jungleNZ Posted April 8, 2021 Share Posted April 8, 2021 from a developer: It's currently not possible to change to another folder, however it is possible to have multiple servers running on the same machine. use the -serverAddition 2 argument, and it'll look for or create a file named Config_02.json instead of Config.json . Same with userdb_02 and server_02.json you can use different numbers in the argument to run -if i recall correctly- up to 9 different servers on the same machine Link to comment Share on other sites More sharing options...
Dennis Posted April 8, 2021 Share Posted April 8, 2021 10 hours ago, DevilzEye1 said: welp, to my knowledge, i have yet to find a commandline argument that can specify a savepath of any kind, and i googled all night last night... i see that other hosting providers have the game available under a panel of some sort, must be a way... somehow... my search continues then. thank you for the insight though! There's nothing wrong with using the %appdata% folder in TCAdmin. The game server will work as usual. 1 Link to comment Share on other sites More sharing options...
DevilzEye1 Posted April 9, 2021 Author Share Posted April 9, 2021 Alrighty, I'll have it run like that and just manually configure it via the desktop, thank you Link to comment Share on other sites More sharing options...
DevilzEye1 Posted May 6, 2021 Author Share Posted May 6, 2021 For any who look for this server in the future, here is my working config Instructions: Import as new or existing, remember to select your interstellar rift game if updating Go to "Steam Settings" and input your steam username and password (follow TCA help guide for activating account with steam guard if neccessary) This is a Windows Config and tested/working on Windows Server 2019 IsR - Windows.xml 1 Link to comment Share on other sites More sharing options...
Jus61 Posted November 9, 2021 Share Posted November 9, 2021 15:21:25,076 [Game.Universe.Galaxy] {Saving} (John Doe) ERROR: System saves timed out, save not complete! Failed systems : Sentinel Prime 15:21:25,076 [Game.Universe.Galaxy] {Saving} (John Doe) ERROR: Sentinel Prime has no ghost client Link to comment Share on other sites More sharing options...
Jus61 Posted November 12, 2021 Share Posted November 12, 2021 Steam update does not work ( I am logged in to Steam ) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now