Existing server imported to RAT

bobbybdennis

New member
Aug 4, 2023
7
0
0
35
I am trying to import my current server that has been running for a few days into the RAT program. I couldn't find any documentation about setting up RAT with an existing server. Any help to this would be great, thank you .
 
Hey there.

You would go into the RAT settings:
1462
and set the Server Path to your current game. Then click the Import serverconfig.xml button. Then navigate to your existing serverconfig.xml file and select it. All of those settings will be imported into RAT.
 
Hey there.

You would go into the RAT settings:
View attachment 1462
and set the Server Path to your current game. Then click the Import serverconfig.xml button. Then navigate to your existing serverconfig.xml file and select it. All of those settings will be imported into RAT.
So I have all my server information there and i pressed import to the serverconfig.xml file but it I don't see anything that "starts" the server up anywhere or anyway ican see the status of it.
 
Make sure that the "Enabled" is on on that same screenshot above.
Then on the main RAT toolbar, you should see:
1463

So the Start Server and Shutdown/Restart. There are status lights at the bottom right of RAT

1464

Also, if you are running A21, make sure you are using RAT4, not RAT 3 as that is ONLY compatible with A20.
 
so i have the LOCAL SERVER as green, but i don't see anyone on the server (currently there were 12 on it) and i have no data within RAT , the only thing i notice it iS doing is when the server gets shut off it comes right back up due to the "enabled" being switched ON
 
Make sure you have connected RAT to the server via Telnet, its the first button the RAT toolbar. Without that, RAT only knows about the game server process, not any data related it.
 
Make sure you have connected RAT to the server via Telnet, its the first button the RAT toolbar. Without that, RAT only knows about the game server process, not any data related it.
Alright, so i am able to go to the web dashboard. but when i go to do createwebuser command , it says i do not have permission. .is there a file i need to update with something to allow me to have an account?
 
Make sure you set yourself as an admin (right click your name in the player list in RAT and set it there).

Copy and paste this to your webpermissions.xml making sure to just get the permissions section

<permissions>

<!-- For everyone -->
<permission module="web.map" permission_level="2000" /><!-- Map that everyone can see -->
<permission module="webapi.getstats" permission_level="2000" /><!-- Stats in the upper left -->

<!-- Only players logged in -->
<permission module="webapi.getplayerslocation" permission_level="1000" /><!-- Shows player location -->
<permission module="webapi.getlandclaims" permission_level="1000"/><!-- Shows players land claim -->

<!-- Moderator Only -->
<permission module="webapi.getplayerinventory" permission_level="10" /><!-- Shows player inventory -->
<permission module="webapi.viewallclaims" permission_level="10" /><!-- Shows all the players land claims -->
<permission module="webapi.viewallplayers" permission_level="10" /><!-- Shows all online and offline players -->
<permission module="webapi.gethostilelocation" permission_level="10" /><!-- Get zombies locations -->
<permission module="webapi.getanimalslocation" permission_level="10" /><!-- Get animals locations -->

<!-- Admin only -->
<permission module="webapi.getlog" permission_level="0" /><!-- Menu server log -->
<permission module="webapi.GetPlayerList" permission_level="0" /><!-- Menu player list -->
<permission module="webapi.getplayersonline" permission_level="0" /><!-- For API Call -->
<permission module="webapi.GetWebUIUpdates" permission_level="0" /><!-- For API Call -->
<permission module="webapi.executeconsolecommand" permission_level="0" /><!-- For API Call -->
<permission module="webapi.GetServerInfo" permission_level="0" /><!-- For API Call -->
<permission module="webapi.GetAllowedCommands" permission_level="0" /><!-- For API Call -->
<permission module="webapi.Null" permission_level="0" /><!-- For API Call -->
<permission module="webapi.GetPlayerInventories" permission_level="0" /><!-- For API Call -->

</permissions>
 
Make sure you set yourself as an admin (right click your name in the player list in RAT and set it there).

Copy and paste this to your webpermissions.xml making sure to just get the permissions section

<permissions>

<!-- For everyone -->
<permission module="web.map" permission_level="2000" /><!-- Map that everyone can see -->
<permission module="webapi.getstats" permission_level="2000" /><!-- Stats in the upper left -->

<!-- Only players logged in -->
<permission module="webapi.getplayerslocation" permission_level="1000" /><!-- Shows player location -->
<permission module="webapi.getlandclaims" permission_level="1000"/><!-- Shows players land claim -->

<!-- Moderator Only -->
<permission module="webapi.getplayerinventory" permission_level="10" /><!-- Shows player inventory -->
<permission module="webapi.viewallclaims" permission_level="10" /><!-- Shows all the players land claims -->
<permission module="webapi.viewallplayers" permission_level="10" /><!-- Shows all online and offline players -->
<permission module="webapi.gethostilelocation" permission_level="10" /><!-- Get zombies locations -->
<permission module="webapi.getanimalslocation" permission_level="10" /><!-- Get animals locations -->

<!-- Admin only -->
<permission module="webapi.getlog" permission_level="0" /><!-- Menu server log -->
<permission module="webapi.GetPlayerList" permission_level="0" /><!-- Menu player list -->
<permission module="webapi.getplayersonline" permission_level="0" /><!-- For API Call -->
<permission module="webapi.GetWebUIUpdates" permission_level="0" /><!-- For API Call -->
<permission module="webapi.executeconsolecommand" permission_level="0" /><!-- For API Call -->
<permission module="webapi.GetServerInfo" permission_level="0" /><!-- For API Call -->
<permission module="webapi.GetAllowedCommands" permission_level="0" /><!-- For API Call -->
<permission module="webapi.Null" permission_level="0" /><!-- For API Call -->
<permission module="webapi.GetPlayerInventories" permission_level="0" /><!-- For API Call -->

</permissions>
i don't see my self in the RAT program unfortunately, i don't see anyone. I am an admin on the server cuase i set it in the xml that controls permissions for that aspect.. also don't see the webpermissions.xml file anywhere
 
Make sure you click the "Server Connection" button on the main RAT toolbar to connect the telnet session. This is the actual connection to your server where RAT gets all of its information.
 
Make sure you click the "Server Connection" button on the main RAT toolbar to connect the telnet session. This is the actual connection to your server where RAT gets all of its information.
i mst have something messed up cause when i press that button it goes green on the TELNET part but then goes back to red really fast
 
i mst have something messed up cause when i press that button it goes green on the TELNET part but then goes back to red really fast

Check the console tab, see if there is anything there, also check the RATLog tab. Usually though, what you're seeing means that you have either/both of the telnet password or telnet port set incorrectly.
 
when i open RAT in the 7d2d batch file that starts the service this comes up ---

2023-08-11T21:47:52 111494.592 WRN [Web] Invalid Admintoken used from [::1]:52925
2023-08-11T21:48:09 111511.318 WRN Calling Animator.GotoState on Synchronize layer

In the RatLog - 2023-08-11 21:47:52 - Error getting response from WebAPI, common causes are that the game server has not fully started yet, your telnet connect is not connected, or an invalid webtoken. RAT will retry again in 60 seconds, if this error continues, make sure you have configured the Web Dashboard settings correctly. - The remote server returned an error: (403) Forbidden.


im sure there is something im overlooking, i will have to go through the .xml setup.. cause i think my dayz server is using port 8081