RAT and A18

Trekkan

NomadSoft Owner/Developer
Staff member
Oct 11, 2011
3,568
176
63
53
Hillsboro, OR
www.nomadsoft.net
All,

First, yes I will be updating RAT to work with A18. I've been busy, so updates to RAT have been slow lately.

Second, the current version of RAT (2040) will work with A18, HOWEVER there is one thing to be aware of.

The DropOnDeath value in serverconfig.xml has been changed in A18. All of the values have shifted one. This means, when RAT sets this value, it is going to be one off of what you actually set it for (until I update RAT). Also note, that if you don't run RAT on the same machine as you 7D2D server, all of this doesn't affect you. You can continue to use RAT as before.

There are two things you can do to work around this.

1) Set the Drop on Death value one higher (I think its higher) than you actually want it to be. Then, when RAT is updated, move this back to the setting you want it to be (so its still correct).

2) In RAT, go into Settings, uncheck the box that says "Automatically update serverconfig.xml file when starting the server". This will prevent RAT from writing a new serverconfig.xml file when you start your server. This also means that none of the settings changes you make on the "Server Config" tab will take affect, so you'll need to manually edit your serverconfig.xml file for now.

1108

You will also need to download new versions of the BCM and Allocs mods. So make sure you delete the old ones in your Mods folder and use the latest version of each.

I'll try and get RAT updated as son as I can and then you won't have to worry about this. But I wanted to put this in a forum post for now so everyone knows what's up.
 
Last edited:
After updating everything I can confirm rat ran our server just fine, only exception was it can;t seem to shut the server down and I had to use taskmanager to shut it down properly.
 
I'm running a18 and I have the newest alloc and BCM, when I attempted to spawn 1000 7.62 rounds the console started spamming nullreferenceexception: object reference not set to an instance of an object . Then eventually the server crashed and I can't get back into it anymore.

Hey there in RAT, please click Tools -> Import Items & Blocks. When a new version of the game is released, often items are added/removed/updated and this changes the games internal item IDs. By running the above command, this will generate a new list of ids.

After updating everything I can confirm rat ran our server just fine, only exception was it can;t seem to shut the server down and I had to use taskmanager to shut it down properly.

Yeah, this isn't a RAT thing. Its a problem with the "shutdown" command, not actually killing the process. And that is a 7d2d game server thing. I reported it, but it wasn't fixed in the last update. I'd recommend reporting it yourself, so they get more reports of it being an actual problem.
 
Will do. Btw, I'm trying to remember how to select between two different servers with rat. I still have a folder with shortcuts referencing the database files for the games in two folders within the rat install.

Is it documented somewhere how to set this up? (I'm foggy on how we did it last time.)
 
Will do. Btw, I'm trying to remember how to select between two different servers with rat. I still have a folder with shortcuts referencing the database files for the games in two folders within the rat install.

Is it documented somewhere how to set this up? (I'm foggy on how we did it last time.)
A Doc Form not that i know of just the same forum post that has been up for some time.
You would need to just look around a little.
and in short.
1. a rat shortcut per server.
2. a DB copy per server.
3. all shortcuts linking to their respected DB
4. in each Rat shortcut make sure all links to each server is correct.
5. that's rats side done.
 
Will do. Btw, I'm trying to remember how to select between two different servers with rat. I still have a folder with shortcuts referencing the database files for the games in two folders within the rat install.

Is it documented somewhere how to set this up? (I'm foggy on how we did it last time.)

Two things.

1, download the new BCM. That'll fix the shutdown issue

2, Running multiple instances here: [DOC] - Running Multiple Instances of RAT
 
Using RAT with A18, has anyone else had an issue where one or more players are being reset to lv1 each time the server is restarted?

Looking in the database the players progression is there, kills / deaths but level and game stage are reset to 1, all points in pool or used are gone and all books used are gone.

I am also seeing 1k backups assuming it doesn't hold much if anydata... is that really the size a backup should be and if so what are we backing up?
 
Using RAT with A18, has anyone else had an issue where one or more players are being reset to lv1 each time the server is restarted?

Looking in the database the players progression is there, kills / deaths but level and game stage are reset to 1, all points in pool or used are gone and all books used are gone.

I am also seeing 1k backups assuming it doesn't hold much if anydata... is that really the size a backup should be and if so what are we backing up?

Hey there! I've not heard of any such thing with player levels and RAT, and also RAT doesn't do anything with player levels. They are just displayed in RAT from what the server says they are. So I'd think the problem is something to do with where the player data files are being stored and maybe a file permissions issue. At least that's what it sounds like.

For the 1K backups, check this thread: Backups not working

There's some good information there by other RAT users about how things changed in A17 (and thus A18) that might help. If you're still having trouble, please start a new thread in the Bug reports section to make sure I track it. =)
 
Trekkan made it as a hotfix you can find it on discord as that's where he posted it.
It is for A18+ update tfp made to fix some changed values with drop on death and he fixed the logs so logging works again when using rat to start the server.
All you need to do is replace the 2.0.4.0 rat exe with the hotfix one an use it as you did