Fixing RAT 3 to work with A21

Trekkan

NomadSoft Owner/Developer
Staff member
Oct 11, 2011
3,569
176
63
Hillsboro, OR
www.nomadsoft.net
RAT 4 Beta is now available, download it here.

Please note, that this is a temporary work around while I work on RAT4, support for RAT3 is going to be very limited.

The problem:
The issue with the WebAPI token errors are that in A20, Allocs mod used the command "webtokens" to perform actions. In A21, that command was changed in favor of using what is now a TFP mod that will eventually EOL Allocs mod. Basically, the command functions differently.​
It was renamed to webtokens_legacy, but RAT still won't know you've made the change, unless you perform the steps below.​


To fix it:
Have your game server running and RAT connected as usual.​
In the console tab, type: webtokens_legacy add <PickAUserName> <PickAPassword> 0​
This will create a token with the specified user and password(token) at level 0, which is admin.​

CLOSE RAT​
Now, open your windows explorer and navigate to a folder that is SIMILAR to this:​
C:\Users\<YOURUSERNAME>\AppData\Local\Nomadsoft\RAT3.exe_Url_5qvquw1lh5wrrel1y4emmohdc4xhinfr\1.0.0.0​
and open the file user.config​
Replace WebTokenAdminUser and WebTokenAdminToken values with the above values you used for <PickAUserName> and <PickAPassword>​
Save the file​
Start RAT​

*** DO NOT Click the Reset Allocs Webtoken button in RAT Settings again, if you do, you'll have to do this entire process over.
 
Last edited:
says unknown command "webtokens_legacy"

I used the command "webtokens_legacy add name password 0"