How to take over two existing servers ?

Glucoz

New member
Feb 22, 2022
16
0
0
45
Hey Guys,

I have a Windows Server 2019 VM running two distinct instances of 7DTD A20.2.
I've written a custom powershell script to backup and auto-restart each 7DTD instance should they fail.
Then I remember the good old RAT tool I used back on A16 I think.

Anyway, I don't really remember if RAT supports managing multiple 7DTD instances running on the same machine (both are installed in dedicated folders, with dedicated serverconfig.xml etc... It it does, could you explain me how that would work ?
Secondly, about the Allocs mod, is this something users will have to install as well ?
On one server I have mostly Windows players, but also one guy on Mac and another one on Linux Mint. Would Allocs be compatible too ?
Thanks in advance
 
Hey there! RAT does in fact support multiple instances and the latest release of RAT cleared up the last couple of things needed for RAT 3 to work for multiple instances.

That being said, the RAT 2.0 documentation here: [DOC] - Running Multiple Instances of RAT

Is still accurate, and once you do that, you should be good.

As for Alloc's mod, that is only server side, so only you need to install it, none of your players have to do anything at all. =)
 
hi
Hey there! RAT does in fact support multiple instances and the latest release of RAT cleared up the last couple of things needed for RAT 3 to work for multiple instances.

That being said, the RAT 2.0 documentation here: [DOC] - Running Multiple Instances of RAT

Is still accurate, and once you do that, you should be good.

As for Alloc's mod, that is only server side, so only you need to install it, none of your players have to do anything at all. =)

hi, thanks a bunch for the prompt reply
I have RAT running and I can start/stop the server from RAT
The RAT "Server connection" is green, but in the RAT log i keep seeing :

Error getting response from WebAPI: The remote server returned an error: (403) Forbidden
Error getting response from WebAPI: Unable to connect to the remote server
 
It doesn't look like you have Alloc's mod installed? That is a requirement for a lot of functionality to work. This document might help: FAQ - I can't see the game time, or my players in the players list!

I do, I did my homework (and a bit of research on these forums) before asking you this question ;-)
In the game console I can see this :


Code:
2022-02-22T20:47:17 1251.126 INF Executing command 'version' by Terminal Window
Game version: Alpha 20.2 (b2) Compatibility Version: Alpha 20.2
Mod Allocs command extensions: 22
Mod Allocs server fixes: 24
Mod Allocs MapRendering and Webinterface: 39
 
ok I got it working but I'm now getting some wild .Net exception every 30 seconds

Screenshot from 2022-02-22 21-24-17.png

To make RAT work, here's the things I did :

  • Open local fw port from 8080 to 8090 for the domain and private profiles (this is on Windows Server 2022)
  • Enabled Telnet and Control Panel
  • Waited a bit more for the game to be fully started before connecting RAT
  • Reset RAT webtoken in Server Settings
  • Did the test described here for the webtoken (FAQ - I can't see the game time, or my players in the players list!), I do see a reply when hitting the API
If interested you can find enclosed the .Net exception
 

Attachments

I've had another report of there being a crash when getting the game time (but through a different process), I'll check that code tonight when I get off of work and see what I can find. Thanks!
 
I've had another report of there being a crash when getting the game time (but through a different process), I'll check that code tonight when I get off of work and see what I can find. Thanks!

By the way, I'm not sure why, but the .Net error are no longer there.
The only thing that changed is the game that got updated to 20.3, that's all
 
Good to hear, just wish I knew what it was for sure. If you're using the latest version of RAT, I did fix the crash error I posted about earlier in this thread. Maybe that was it as well. Either way, glad it is working now!
 
Good to hear, just wish I knew what it was for sure. If you're using the latest version of RAT, I did fix the crash error I posted about earlier in this thread. Maybe that was it as well. Either way, glad it is working now!

Yes I'm using the latest RAT version.
Great this has been solved.

By the way, if a new version is published, is there some kind of notification within RAT ?