Recently some exploits were discovered which some cheaters began abusing to crash clients. The vast majority of netcode had individual checks to ensure it was allowed to be called, but there were a few that were incorrectly implemented.
Rather than only fixing these cases I reworked how these checks are performed across literally all of the netcode, so that the same mistake can't be made again. In the process of reviewing the ~350 network message types I actually found another ~3 similar exploits which are now patched as well.
There may be some strange side effects of all these changes, in which case I'll try to get a patch out quickly or roll-back the update.
Edit: It seems the crash / log spam some players have been experiencing only happens if Discord is running, and is related to the latest version of the Discord API which Unturned updated to. I'm going to reapply the patch and disable the Discord Rich Presence integration for now.
Misc other changes:
Added Cannot_Spawn_With_Battery and Battery_Spawn_Charge_Multiplier options for vehicles.
Improved Curated maps list to include links to retired maps.
Fixed read/write setting of quite a few more meshes.
3.25.1.0 Update Notes
Additions:
Added Max_Walkable_Slope option to level config. [Default 59]
Improvements:
Improved vehicle UI to more clearly show when locked.
Tweaks:
Athens: Increased arena circle speed.
Athens: Buffed HMG damage higher.
Fixes:
Fixed a potential network vulnerability.
Fixed ~2,100 meshes incorrectly marked CPU readable.
Fixed compression type of ~1300 audio clips.
Maybe fixed gaps between doors and doorframes.
Athens: Fixed a detail on the Aprix pants.
3.25.0.0 Update Notes
Athens Arena | NEW Timed Curated Map:
Danaby, the creator of Bunker Arena among several other popular arena maps on the workshop, has just released his second curated arena map: Athens
This map is a big step up from Bunker Arena, and is now available in the official pool of arena maps!
Added several time-limited curated workshop skins to the Stockpile.
Added event for plugins to modify or cancel object and resource damage.
Added server options to tune the number of rewards from horde beacons.
Improvements:
Improved chart, GPS and compass items to be modable.
Improved vehicles granted by NPCs to be locked to the triggering player.
Tweaks:
Tweaked item respawn error messages to be more useful.
Tweaked visible range of quarry conveyors longer.
Tweaked vehicle sides blocked exit to be inside vehicle rather than at highest point.
Fixes:
Fixed mismatched shotgun ranges and added an error message to prevent it happening again.
Fixed applying stats from passive tactical attachments.
Fixed finding vehicle child colliders in some unexpected cases.
Fixed a bug preventing custom spawns on vanilla maps from using the server auto-download feature.
3.24.2.0 Update Notes
Update Notes:
Additions:
Added ability to ignore blueprints to avoid accidentally crafting them. Ignored blueprints are hidden when 'hide uncraftable blueprints' is enabled.
Added 'allowed IPs' field to workshop submission tool which enables server networks to have workshop items restricted to download only on their servers when using the WorkshopDownloadIDs.json feature.
Tweaks:
Tweaked harvesting plants to be cancellable by plugins with onHarvestPlantRequested.
Tweaked beds to only be placeable with a line of sight to center of torso.
Tweaked Snayperskya range up to 250 meters.
Tweaked ranges of all shotguns longer.
Tweaked PDW to have increased bullet drop.
[Hawaii]Tweaked boulders to use the same shader as used in other maps.
Fixes:
Fixed to clamp user interface scale into [0.5, 2] during startup.
Fixed melee weapon taking durability damage from misses.
Fixed potential issue with object foundations.
Ireland:
Following a popular run as a curated map Ireland has now moved on to the Workshop.
Saves and progress will carry over to the Workshop version if you decide to download it. There are several other exciting curated projects coming up - more info on them soon!
3.24.1.0 Update Notes
Update Notes:
Additions:
Added support for NPCs to sell vehicles by specifying _Type Vehicle and a _Spawnpoint in vendor asset.
Added support for animals to predictably spawn in arena mode.
Added Spawn_With_Max_Skills and Spawn_With_Stamina_Skills config options.
Added onApplyingDefaultSkills event to PlayerSkills for plugins.
Improvements:
Improved WorkshopDownloadIDs.json to properly support auto-updating maps.
Improved curse word list to be localizable.
Tweaks:
Tweaked vendor buying/selling list sorting to be disablable with Disable_Sorting flag.
Tweaked area and group messages to include [A] and [G] tags.
Tweaked talk-to prompt to show NPC name.
Fixes:
Fixed shadows on rich text labels that used capitals in color tags.
Fixed a small gap in the trim of House #09.
Fixed potential issue when sending chat messages from plugins.
Fixed work jeans item material.
Fixed amount of chromatic abberation and added option in preferences.json to control intensity.
[Greece] Fixed rotation of lighthouse.
[Greece] Large variety of quest and NPC related fixes.
[Ireland] Fixed damage of Dagger gun in easy mode.
3.24.0.0 Update Notes
Greece Update 3 of 3:
Spyjack, well known for his incredible use of NPC features in his "Tales of Terror" mod, has been hard at work since the initial launch of Greece on this huge NPC update!
Now available in-game these are some of the highest quality quests yet - from critical thinking puzzles (that still challenge him from time to time), to multi-stage construction, to some questlines with many alternative endings.
You can now make use of the rally racing tracks across Greece! Two Rally Car vehicle skins are now up on the Stockpile for purchase, the sales of which support the creators of Greece. The Greece Mystery Box has also been updated with a few new items.
By popular request Ireland has been extended to June 15th!
The Ireland team has been hard at work these past few weeks improving the map through smaller patches. For further details view the Ireland specific patch notes on the steam discussions:
Fixed naming issue with Ireland House #6 which caused it to be non existent for Linux users.
Fixed issue with trees looking quite broken for Mac and Linux users.
Fixed incorrect Nav data for several quests causing them to be impossible to complete.
Fixed bug causing underwater sounds to not play.
Fixed texture stretching and smoothing on many boulders.
Main Update Notes:
Additions:
Added tons of new content and features to Greece.
Added Rod of Asclepius, Warhammer and Corinthian Helmet to the Greece Mystery Box.
Added NRG and vT0 Rally Car skins to the Stockpile.
Added button to remove servers while on the favorites list screen.
Added thumbnail and server list description options in server config.
Added Gun_Damage_Multiplier and Melee_Damage_Multiplier options for vehicles and buildables.
Added Stun_Zombie_Always and Stun_Zombie_Never options for melee weapons.
Added ability for plugins to use 32x32 .png for chat message icons.
Added buildable damaged events for plugins to modify damage and whether it's allowed.
Added Bundle_Override_Path option for identical assets to share files.
Improvements:
Improved chat message display and added options for chat to Preferences.json.
Improved pause menu to open when alt-tabbing while in-game.
Improved performance of several post process effects.
Improved item despawn/respawn responsiveness. [May still need some tuning!]
Improved reliability of server favoriting features.
Tweaks:
Tweaked death music to only play in singleplayer.
Fixes:
Fixed pitch of certain sounds interfering with each other.
Fixed item context menu to respect UI scale setting.
Fixed item drag visual to respect UI scale setting.
Fixed attachments to respect UI scale setting.
Behind-The-Scenes Changes:
In response to requests to improve the stability of updates, and in part to learn more Continuous Integration (CI) best practices for Unturned II this is the first update to use a new build process using CI: my laptop is now set up to download changes as I make them and check the changes for issues, for example whether the game is still able to load all of the maps, or if any asset errors are reported, or if some files are missing. If any of these steps fail the update can't be released, and I'll get an email notification that something is amiss. I've also improved the update release process to be more automatic and less error-prone.
With the addition of server thumbnails and short rich text descriptions I've decided to hide the icons that used to clutter up the server browser, instead allowing hosts to specify what they consider important information. The thumbnail should be a 32x32 .png and makes network affiliation recognition quicker. You can also use rich text formatting e.g. , , in the short description underneath the server name. The in-game chat now supports plugins using 32x32 .png icons as well.
Several post process effects, specifically those for sun shafts and hallucinations dated back to Unity 3 and were written in JavaScript. These have been ported to C#, and the hallucination effects have been revamped to look more appealing.
Up Next:
This update has been a long time in the making! It's been a while since I've worked on 4.0 now, so I'll probably be putting some more focus back into that - especially to get the roadmap up soon. I've still got some important planned updates for 3.24.1.0 that I'll be prioritizing as well, such as re-investigating upgrading to a newer version of Unity.
3.23.9.1 Update Notes
Ireland Timed Curated Map:
Storm_Epidemic, Th3o, Diesel_Sisel and Misterl212 - creators of a ton of popular workshop content such as The Driftless are excited to unveil their latest project: Ireland!
Now available to play in-game officially for its debut, Ireland is very visually impressive with lots of new content and NPC questlines to explore. It will be featured until May 28th before becoming available on the workshop, though this may be extended pending your feedback!
Added Spawn_Quantity option for zombie kills conditions.
Improvements:
Improved sentries to shoot angry animals, and hostile sentries to shoot all animals.
Tweaks:
Tweaked pumpjack oil capacity to be configurable.
Tweaked yellow arena circle to be hidden when contractor pause is disabled.
Tweaked UI scale option to be available in the display menu.
Tweaked player life conditions to include status in text.
Included landscape v2 foliage example files from Germany.
Fixes:
Fixed time of day condition to start at midnight rather than dawn.
Fixed UI scale issues with in-game map.
Fixed UI scale effect on worldspace player name labels.
3.23.8.0 Update Notes
Update Notes:
Additions:
Added Impact Grenade. [ID 1520]
Added "Fuse_Length" throwable option and Explode_On_Impact option which works for flashbangs as well.
Added experimental ui.text_scale and ui.layout_scale options which make the game better playable on low (800x600) and high (4k) resolutions. You can give them a try by setting them from the terminal, or by adding some lines to Unturned/Execute.config or Unturned/Cloud/Execute.config: ui.text_scale # and ui.layout_scale # (e.g. ui.text_scale 0.5 for 50% of normal size, or ui.text_scale 2 for 200% size)
Added Arctic Alicepack. [ID 1511]
Added Arctic Ghillie Suit. [IDs 1512-1515]
Added Arctic Military Outfit. [IDs 1516-1519]
Improvements:
Improved vehicles left locked in safezone to unlock after one IRL hour. This can be adjusted with the Unlocked_After_Seconds_In_Safezone option, or disabled by setting to -1.
Tweaks:
Tweaked compare_flags condition to allow format text.
Tweaked Snow_0 collision to more closely match visual.
Fixed names of several assets which were potentially genericized.
Note: I'll be away visiting my family in Calgary this weekend, so no devlog post.
3.23.7.0 Update Notes
Update Notes
Additions:
Added alpha blended decal mode. [Default mode is still Masked, for an example look in the /Objects/Small/Decals folder.]
Added Player_Life_Health, Player_Life_Food, Player_Life_Water and Player_Life_Virus NPC condition types.
Added core military vehicles to examples folder to make custom versions for maps easier.
Added Boss_Nuclear zombie type for nuclear power plants on custom maps.
Tweaks:
Tweaked medium spherical boulders to have skybox variants.
Tweaked spirit zombie to be more visible in dark.
Fixes:
Fixed toggle skins option when swapping between remeshed items.
Fixed stat counter left-handed text. [Sorry! This should have been fixed ages ago, but the fix slipped through the cracks.]
Fixed snow_0/1 to be properly configured as snow.
Fixed devkit object placement to respect asset's can use flag.
Fixed zombie/animal player damage to trigger player damaged event.
Fixed door collision when moved with the admin editor serverside.
Upcoming
The majority of my time has been going into 4.x trying to get a really polished beta ready, but I've also been working with several teams on upcoming content: in the near future we should have the 3rd Greece update, and another 2+ maps from new curated teams are nearing completion.
3.23.6.0 Update Notes
Update Notes:
Additions:
Accepted a small number of skins from the curated workshop which use the mesh modification feature.
Added Spirit zombie type which is bullet resistant. [Disabled by default, but they can be enabled in the advanced config.]
Added -disableModule/ModuleName command line option.
Added streaming audio plugin to Community Module by Trojaner25.
Improvements:
Improved nighttime lights to be moddable. [See /Objects/Medium/Furniture/Light_3. Requires a child named "Light"]
Tweaks:
Tweaked examples to include more vines, as well as the barracks models.
Tweaked stat counter position on chainsaw to be more visible.
Tweaked chat to use non-rich color as default rich color.
Fixes:
Fixed an issue copying rich text in chat preview.
Fixed redirecting Cyrpus to Cyprus save.
Fixed defaulting to config available map.
[Cyprus] Fixed a mis-spelled location name.
Upcoming:
Update 3 of 3 to Greece which contains the full questlines has been growing continually complex, but should be on track for release soon. I've been chipping away at the task list for the next devlog, and am aiming to put a post up this weekend!