TShock 4.5.18 for Terraria 1.4.3.6 该版本发布于2022-08-17 TShock 4.5.18
This version of TShock for Terraria adds updated and improved handling of SendTileRectangle packets. The previous approach acted on a "denylist" basis. That is to say, it attempted to parse out which actions were invalid, and denied based on patterns that matched that. Based on a cheating client that was recently released, @punchready implemented an alternative system, based on an allowlist approach. This approach, in contrast to the prior approach, only permits SendTileRectangle placements that specifically exist in the game, based on hand-analysis of the game logic. If you encounter any normal gameplay situations that render these fixes problematic, please send us a report. This should dramatically increase serverside security and prevent a host of exploits affecting TShock. Also included in this patch is a fix for an exploit that allowed users to place ice tiles in protected regions. This was revealed by a cheat developer to be a method for griefing some public servers with spawn protection.
Notable changes in this version
Fixed TSPlayer.GiveItem not working if the player is in lava. (@gohjoseph)
Only allow using Teleportation Potions, Magic Conch, and Demon Conch whilst holding them. (@drunderscore)
Updated server startup language to be more clear when encountering a fatal startup error. Now, the server gives more context as to what happened so that there's a better chance of people being able to help themselves. (@hakusaro)
Added -worldevil <type> command line argument (@NotGeri)
Fixed an exploit in which the Ice Block deletion allowance from the Ice Rod bypassed region protection, allowing for deleting all tiles in a protected region and/or replacing them with Ice Blocks. (@punchready)
Changed SendTileRect handling from a denylist to an allowlist with stricter checks. This prevents essentially all exploits involving this packet. Most notably this stops people from placing arbitrary tiles with arbitrary framing values, which are the root of most exploits. (@punchready)
Removed the config options TileRectangleSizeThreshold and KickOnTileRectangleSizeThresholdBroken because they are made obsolete by the new system, which will only allow valid rectangle sizes (at a maximum of only 4 by 4 tiles in 1.4.3.6). (@punchready)
重大更新 个人翻译了部分内容 TShock 5 for Terraria 1.4.4.7
Welcome to TShock for Terraria version 5! This version adds support for Terraria 1.4.4.7, a brand new internationalization/localization/translation system from (@pontaoski), support for .NET 6, OTAPI 3, and a whole host of new features. 欢迎使用TShock 5!在这个版本中,我们添加了一套全新的翻译系统,并添加了对.NET 6,OTAPI 3的支持,以及大量的新特性
Before installing, make a complete backup of your existing server and all files and folders, including tshock.sqlitedb and the tshock folder. We are not responsible for failed installations. Please make sure you backup your data. Severe data loss or gain may occur. 在更新前,务必备份当前服务器的所有文件,包括tshock.sqlite(数据库)和tshock文件夹。我们不保证您的更新能顺利完成,并对更新失败不负任何责任。请确保在更新前您已完成所有备份工作。诸如服务器数据丢失一类的意外事件可能会发生
BIG WARNING
警告
This version of TShock is "relatively safe" to use. We cannot guarantee perfect code, accuracy, or completeness of this version. 该版本TShock的运行“相对安全”。我们无法该版本的代码是完美的 Back up your server and back up all of the associated files before you install this version. 在安装此版本前务必备份所有与你的服务器有关的文件
(上图为GPL v3.0协议相关内容)