7D2D RAT 2.0 Alpha -- 64 Bit (Alpha 19 Compatible) (DEPRECATED, See RAT 3.0 now)

7D2D RAT 2.0 Alpha -- 64 Bit (Alpha 19 Compatible) (DEPRECATED, See RAT 3.0 now) 2065

If you host your server on the same machine as RAT, you want this update. Fixes an issue where Game World Name was populated the Game World Seed value as well.

Doesn't really "break" anything, but would affect your world generation not using the seed you may have intended.
  • Like
Reactions: BIA_RIGGS
  • Fixed: *** Possible RAT exploit of impersonation of another player. *** No known reports of this being exploited, but found and fixed. This would only affect RAT seeing one player as another player, nothing internal to the game.
  • Changed: Server Configuration values are saved more frequently when navigating around RAT
  • Added: Support for BCM player chat. Chat should no longer be duplicated when a player has a color or group assigned to them (Reported by: PhantomGhost)
  • Changed: 'Player New Connected' event now happens when the player spawns into the world, instead of a 60 second delay.
  • Changed: Server Login Confirmation field is now scrollable (Requested by: PlaT)
  • Fixed: You can again use cursor movements in the console/chat windows as well as CTRL-A/C, etc. (Reported by: PlaT)
  • Changed: World Gen Size maximum now set to 32768 (Note, this is twice the MAXIMUM recommended by TFP). I doubled it, because there's always SOMEONE wanting to push the limits.
  • Changed: Game World is now a text box instead of a dropdown to support A17 game worlds (Reported by: StompyNZ)
  • Fixed: RAT Exception on Saveworld timer could occur, no longer throws an exception, but root cause is still unknown (Reported by: PlaT)
  • Added: Event Help for new Conditionals/RAT Commands (Reported by: Njinir)
  • Added: On Connection Commands. Check the Remote tab. Basically perform the commands in the box, when RAT connects to the server. (Requested by: PlaT)
  • Fixed: SaveGamePath was not properly being read/displayed (Reported by: Goshawkdm)
  • Added: Currency System - You can now charge, or give players "currency" for doing actions within the game.
    See the Misc tab in RAT for a few bank settings (like enabling it!)

    This opens up a lot of possiblities if you get creative, examples:
    Giving new players X currency for joining your server the first time.
    Giving regular players X currency for joining the server once a day (just add a 24H cooldown)
    Giving currency for killing zombies and animals
    Taking currency for killing players (or even giving it!)

    Thes are just some of the ideas. All of these can be used with the RAT Conditional statments to prevent abuse, or put in specific checks
    like making sure the player has as specific level, Admin level, cooldowns, etc.
  • Added: New RAT Conditional: HASFUNDS
    HASFUNDS:{player_steamid},AMOUNT -- only passes if the player has AMOUNT currency in their bank account
  • Added: New RAT Event Commands:
    .BANKBALANCE:{player_steamid} -- sets new RAT variables (see below)
    .BANKMODIFY:{player_steamid},AMOUNT -- AMOUNT can be a negative to remove currency
    .BANKWITHDRAW:{player_steamid},AMOUNT -- AMOUNT is how much currency to convert to Duke tokens
  • Added: New RAT Event
    Player Killed Zombie (or animals)
  • Added: New RAT variables
    {bank_balance} - The players current balance
    {bank_max} - The maximum amount players are allowed to store in their bank.
    {bank_exchange_rate} - The exchange rate applied to a withdrawl of currency. aka, exchange rate of 10%, player removes 1000 currency, player gets 900 dukes.
    {bank_exchange_value} - The currency value the player gets, after the exchange rate is applied
  • Like
Reactions: BIA_RIGGS
  • Added: Event command, CANCELSHUTDOWN. Will stop any RAT countdown timers in progress. (Requested by: mansellb55)
  • Fixed: dbNull exception could occur when listing scheduled restarts (Reported by: PlaT)
  • Added: RAT Conditional "ISFRIEND", to check if someone is a friend of someone, syntax is: ISFRIEND:<FirstFriend>,<FriendofFirstFriend>
  • Added: RAT Conditional "NOTISFRIEND", to check if someone is NOT a friend of someone, syntax is: NOTISFRIEND:<FirstFriend>,<FriendofFirstFriend>
  • Fixed: Multiple issues with Server config setting and checkboxes
  • Fixed: RAT would in some circumstances, not restart a server when it should
  • Added: RAT Support Discord link to the help menu
  • Like
Reactions: BIA_RIGGS
This fixes an error when clicking the FAQ link from the help menu.

Changelog:

  • Fixed: Archive Inactive players and inactive days now correctly save their values to the database
  • Fixed: Startup Telnet Connection Delay now correctly saves to the database
  • Fixed: Server name not displaying in the RAT titlebar (Reported by: Njinir)
  • Changed: A LOT of interal refactoring, specifically on RAT Events and internal server objects
  • Removed: The majority of the "Save" buttons in RAT (See next message for more)
  • Added: Auto save feature, RAT will automatically save your settings unless otherwise noted (by existing Add/Save buttons) (Requested By: Allexio and pretty much everyone else)
  • Added: All events now have access to the Conditionals, so you can check ALEVEL, PLEVEL when a player joins the server, spawns, etc. (Requested by: Njinir)
  • Added: "Save" menu option, File -> Save, feel good option, does this automatically, but if you feel the need, click this as often as you'd like.
  • Added: Events are now automatically saved, no need to click the "Save Event" button, but you can if makes you feel better.
  • Added: GameName field now only accepts allowed characters to be entered. A-Z, a-z, 0-9, dot (.), underscore (_), dash (-) and space ( ) (Requested by: Allexio)
  • Changed: Increased block durability modifier maximum from 100% to 999% (Requested by: Noonegoes21)
  • Fixed: Adding a new event would sometimes not reenable the event editor text areas. (Reported by: mansellb55)
  • Fixed: Internal processes were being checked for a running server, even when the server was remotely hosted
  • Removed: Shutdown Messages from RAT Settings (Reported by: Quicken)
  • Removed: Shutdown Messages from manual shutdown window
  • Added: Tooltips on mouse overs on the shutdown window
  • Added: Two new Events, SERVER SHUTDOWN SECONDS and SERVER SHUTDOWN MINUTES. This means you can now customize these messages/events however you'd like.
    Example Shutdown Minutes Script:
    say "The server is restarting in {shutdown_minutes} minute(s)."
    .DSAY:The server is restarting in {shutdown_minutes} minute(s).

    Example Restart Script:
    say "The server is restarting"
    .DSAY:The 7D2D Server is restarting
    shutdown
  • Added: Server shutdown button to the "Remote" tab, stopping a remote server is possible, you just can't restart it with RAT.
  • Fixed: Crash when outputing current player data to a file, when using XML as the output format (Reported by: Njinir)
  • Fixed: Player inventory was not displaying (Reported by: Gareee)
  • Fixed: Gametime now updates every 10 seconds
  • Added: New RAT FAQ by Allexio, click Help -> RAT FAQ to view it. Special thanks to Allexio for taking the time to create this!
  • Fixed: Saving teleport locations now uses your current location, instead of where you were up to 60 seconds before...
  • Changed: Moved scheduled restarts to the primary tab list. Scheduled Restarts now work for both local and remote servers, although remote servers only stop on schedule, not restart (as they can't be remotely restarted by RAT)
  • Added: Color picker to event editor, click it, select a color, the color will be inserted into the Script section of events at the cursor location (Requested by: Instant)
  • Like
Reactions: BIA_RIGGS
  • Fixed: Archive Inactive players and inactive days now correctly save their values to the database
  • Fixed: Startup Telnet Connection Delay now correctly saves to the database
  • Fixed: Server name not displaying in the RAT titlebar (Reported by: Njinir)
  • Changed: A LOT of interal refactoring, specifically on RAT Events and internal server objects
  • Removed: The majority of the "Save" buttons in RAT (See next message for more)
  • Added: Auto save feature, RAT will automatically save your settings unless otherwise noted (by existing Add/Save buttons) (Requested By: Allexio and pretty much everyone else)
  • Added: All events now have access to the Conditionals, so you can check ALEVEL, PLEVEL when a player joins the server, spawns, etc. (Requested by: Njinir)
  • Added: "Save" menu option, File -> Save, feel good option, does this automatically, but if you feel the need, click this as often as you'd like.
  • Added: Events are now automatically saved, no need to click the "Save Event" button, but you can if makes you feel better.
  • Added: GameName field now only accepts allowed characters to be entered. A-Z, a-z, 0-9, dot (.), underscore (_), dash (-) and space ( ) (Requested by: Allexio)
  • Changed: Increased block durability modifier maximum from 100% to 999% (Requested by: Noonegoes21)
  • Fixed: Adding a new event would sometimes not reenable the event editor text areas. (Reported by: mansellb55)
  • Fixed: Internal processes were being checked for a running server, even when the server was remotely hosted
  • Removed: Shutdown Messages from RAT Settings (Reported by: Quicken)
  • Removed: Shutdown Messages from manual shutdown window
  • Added: Tooltips on mouse overs on the shutdown window
  • Added: Two new Events, SERVER SHUTDOWN SECONDS and SERVER SHUTDOWN MINUTES. This means you can now customize these messages/events however you'd like.
    Example Shutdown Minutes Script:
    say "The server is restarting in {shutdown_minutes} minute(s)."
    .DSAY:The server is restarting in {shutdown_minutes} minute(s).

    Example Restart Script:
    say "The server is restarting"
    .DSAY:The 7D2D Server is restarting
    shutdown
  • Added: Server shutdown button to the "Remote" tab, stopping a remote server is possible, you just can't restart it with RAT.
  • Fixed: Crash when outputing current player data to a file, when using XML as the output format (Reported by: Njinir)
  • Fixed: Player inventory was not displaying (Reported by: Gareee)
  • Fixed: Gametime now updates every 10 seconds
  • Added: New RAT FAQ by Allexio, click Help -> RAT FAQ to view it. Special thanks to Allexio for taking the time to create this!
  • Fixed: Saving teleport locations now uses your current location, instead of where you were up to 60 seconds before...
  • Changed: Moved scheduled restarts to the primary tab list. Scheduled Restarts now work for both local and remote servers, although remote servers only stop on schedule, not restart (as they can't be remotely restarted by RAT)
  • Added: Color picker to event editor, click it, select a color, the color will be inserted into the Script section of events at the cursor location (Requested by: Instant)
  • Like
Reactions: BIA_RIGGS
  • Fixed: Settings on the remote tab are disabled
  • Fixed: RAT freezing when certain conditions were met when using grabbag and guarenteed items (Reported by: Njinir)
  • Fixed: Save Game Location folder browser did not allow you to go up the folder tree (Reported by: sLimLong136)
  • Fixed: Entities no longer show up as invalid (red) in the display window (Reported by: Njinir)
  • Fixed: You can now spawn entities through the grabbag system again. Spawns them a random distance between about 2-20 feet away from the player.
  • Fixed: When spawning entities through grab bags, the "Watch Out!" message will now only display once if more than one entity is spawned.
  • Changed: Removed unused Backup Start and Backup Complete messages from the Backup tab. Please edit the associated events for these if you'd like to change the messages. (Reported by: Ozzland)
  • Fixed: Archive inactive players function. Now works with A17 save game structure. Uses the "Save Game Location" on the backup tab, so set that to use this function.
  • Fixed: When opening a different RAT database, the telport destinations were not being reloaded. (Reported by Njinir)
Change Log:

  • Changed: Moved VAC bans to the Security tab, removed the security 2 tab (Requested by: Allexio)
  • Added: New "Enabled" checkbox in the IRC settings window. The IRC status will no longer display in the status bar unless this is checked. (Requested by: Allexio)
  • Added: New checkbox for "Use Server Settings", this will use the settings from the server configuration tab in order to connect to your server. Helps to prevent errors, etc. (Requested by: Allexio)
  • Changed: Removed redundant tab controls on the UI, renamed "Telnet" tab to "Remote" and moved it to the primary tab bar. (Requested by: Allexio)
  • Changed: Redid grabbags internally so that you will now see the local name for items, instead of the itemID.
  • Removed: Deprecated serverconfig value ZombiesRun
  • Added: New serverconfig values for zombie speeds (on Settings 2 tab): ZombieMove, ZombieMoveNight, ZombieFeralMove, ZombieBMMove
  • Added: Invalid items in grabbags are now displayed with a red background. If you see this, you need to remove this item and add it back in again. Usually caused when the game server items are updated. Invalid items are also written to the RAT Log
  • Fixed: Exception when a grabbag items meta data was outside of the valid range
  • Fixed: Game world backups should be working again, Added new field on Backup tab 'Save Game Location'. Make sure you set this correctly, and test the backup/restore functionality before you HAVE to rely on it. ;)
NOTE: After you upgrade, please click Tools -> Import Items/Blocks to assure you can spawn items, grab bags work, etc.

  • Fixed: .NET framework version errors when installing on Windows Server (Hopefully, let me know if you still get this error)
  • Fixed: Incorrect main assembly name (Reported by: brotherjia)
  • Added: Each players game stage is now a column on the player list (Requested by: Khurune)
  • Changed: Server Login Confirmation box max length changed from 100 to 1024 (Requested by: zneale)
  • Fixed: Maximum party XP range changed from 1000 to 10000 (Reported by: Sorbic)
  • Fixed: Internal Game Item list is now updated after doing an import of game items, not just on RAT startup
  • Fixed: Grabbags should function correctly again
  • Changed: Set max grabbag quality of items to 6 (new game max), if you have items set above 6 quality, please reset them to appropriate values
  • Fixed: Player inventorys should display now. There is a slight delay (1-3 seconds) while the inventory is displayed, I'll work to make that better later.
  • Changed: Cleaned up output to the console window, no more internal RAT messages, etc.
  • Added: Support for serverconfig.xml variable ServerDisabledNetworkProtocols (On the Game Settings 1 tab) (Reported by: unseenkiller)
  • Fixed: Buffs are back in town. See the dropdown on the player tab, if nothing is there, use Tools -> Import Buffs to populate the dropdown.
  • Fixed: Discord does not auto reconnect (Reported by: NakedSwede)
  • Fixed: Item spawn window now works better, updated to max quality 6 as well. Also now uses localized version of item names.