Update v13.1 Native File Browser, Cloud Manager, Rewind Time & More!
Author: CHRY,
published 3 years ago,
[h3]Update v13.1 Native File Browser, Cloud Manager & Rewind Time Improvements, Optimizations, and much more![/h3]
This patch we wanted to focus on bug fixing, optimizations, and working through the feedback the community has provided for us on our new feedback website: https://tabletopsimulator.nolt.io/roadmap
We have found the feedback website to be instrumental in helping us work on the most important features and the fixes you guys would like to see, and we will continue to use this for our future updates.
Since going live we have implemented 96 suggestions left by the community on nolt!
If you have any feedback of suggestions of your own you can head on over to [url=https://tabletopsimulator.nolt.io/]https://tabletopsimulator.nolt.io/[/url]
[h3][b]Native File Browser[/b][/h3]
[img]https://clan.cloudflare.steamstatic.com/images//5854753/9b1a8f06692e5d6f0e942ce0400ebd3eed491fbc.png[/img]
[list]
[*] Added a native file browser as an alternative to the built-in one. (your OS file browser)
[*] The native file browser supports selecting multiple files where applicable.
[*] VR still uses the built-in file browser to ensure interaction still works.
[*] Added console command `file_browser_native` and also added it to the misc settings menu.
[/list]
[h3][b]Cloud Manager Improvements[/b][/h3]
[list]
[*] Cloud Management should overall work much better and be less frustrating to use. [url=https://tabletopsimulator.nolt.io/52]https://tabletopsimulator.nolt.io/52[/url]
[*] Cloud manager can now upload multiple files at once using the new native file browser.
[*] Fixed cloud manager reseting to the root path every time you upload or delete something.
[*] Fixed cloud manager folders not showing up until you open the cloud manager one more time. [url=https://tabletopsimulator.nolt.io/310]https://tabletopsimulator.nolt.io/310[/url]
[/list]
[h3][b]Rewind Time Improvements[/b][/h3]
[img]https://clan.cloudflare.steamstatic.com/images//5854753/76d234f46d38c39f82144086d9bb3986aea00292.png[/img]
[list]
[*] Rewind and fast-forward has been revamped with better controls and more information. [url=https://tabletopsimulator.nolt.io/393]https://tabletopsimulator.nolt.io/393[/url]
[*] Can now rewind time in multiple steps with the new time slider.
[*] Can now see the number of time steps in each direction.
[*] Rewind states now are only being created if something has changed since the last rewind state.
[*] Rewind now works for promoted players instead of just the host.
[/list]
[h3][b]General[/b][/h3]
[list]
[*] Updated Unity to 2019.4.23 for bug and stability improvements.
[*] Added support for multiple auto save files. The default is now 3 and can be changed in the console and misc settings. [url=https://tabletopsimulator.nolt.io/582]https://tabletopsimulator.nolt.io/582[/url]
[*] Broadcast message now appear at the top to better match up with the sliding out animation and fades out smoother. [url=https://tabletopsimulator.nolt.io/448]https://tabletopsimulator.nolt.io/448[/url]
[*] Renamed save file "Expand" to "Search" to better reflect what it does.
[*] Added Custom Music to the save file "Search" to make it easier to bring over music from one save to another.
[*] Added Music to Workshop asset tags.
[*] Added "chat_input_clear_on_dismiss" console property. May be set to OFF to allow clicking away from the chat input field without losing partially written chat messages.
[*] Rotation values now store their data as strings instead of objects in the save file.
[*] Added EpochTime to save files.
[*] Changed misc option / console command "keyboard_single_digit_draw" to "keyboard_single_digit_by_default" - it is now used whenever you type on any component (e.g. when changing component states). If enabled you can still type higher numbers by starting with a `0`. [url=https://tabletopsimulator.nolt.io/187]https://tabletopsimulator.nolt.io/187[/url]
[*] Added "end_turn" command. [url=https://tabletopsimulator.nolt.io/130]https://tabletopsimulator.nolt.io/130[/url]
[*]Grouping individual cards will now give the formed deck any tags which *all* the cards share. [url=https://tabletopsimulator.nolt.io/657]https://tabletopsimulator.nolt.io/657[/url]
[/list]
[h3][b]Optimizations[/b][/h3]
[list]
[*] Greatly reduced the lock up when spawning lots of objects, such as when loading a save file.
[*] Reduced ram usage by about ~100 MB thanks to shader stripping.
[*] Save/Workshop file "Search" is now much faster with less chance of a hard lock up.
[*] Optimized network serialization to generate less garbage and cause less stutters.
[*] Optimized under the hood cloning code.
[*] Save file info now caches significantly faster (Less waiting when opening the Games menu).
[*] Reduced network bandwidth for impact sounds.
[/list]
[h3][b]Lua[/b][/h3]
[code]
[list]
[*] Added previous turn color player as second param for onPlayerTurn event.
[*] Added Object.getZones() that returns all the zones that the object is interacting with. [url=https://tabletopsimulator.nolt.io/219]https://tabletopsimulator.nolt.io/219[/url]
[*] Added onObject(Enter/Leave)Zone that works on all zones instead of just scripting zones. [url=https://tabletopsimulator.nolt.io/85]https://tabletopsimulator.nolt.io/85[/url]
[*] Added support for all zones with getObjects(). https://tabletopsimulator.nolt.io/613
[*] Added UI.loading bool to see if the UI is still loading on this Object.
[*] Added lua object.getJson(bool indented) to disable indenting.
[*] Added (Global) tryObjectRotate(object, spin, flip, player_color, old_spin, old_flip). spin & flip values [0, 360] degrees.
[*] Added (Object) tryRotate(spin, flip, player_color, old_spin, old_flip).
[*] Added (Universal) onObjectRotate(object, spin, flip, player_color, old_spin, old_flip).
[*] Added (Object) onRotate(spin, flip, player_color, old_spin, old_flip).
[*] Added (Universal) onPlayerPing(player, position). [url=https://tabletopsimulator.nolt.io/28]https://tabletopsimulator.nolt.io/28[/url]
[*] Added (LayoutZone) `object.LayoutZone.getOptions()`, `.setOptions({options table})`, `.layout()`
[*] Added (LayoutZone) `onGroupSort(table group, bool reversed)` and `onZoneGroupSort(object zone, table group, bool reversed)` lua events: return table in desired sorted order, or false to allow default zone behaviour. If present they take precedence over the selected sort in the zone options.
[/list]
[list]
[*] Ensured LuaWebRequest's text no longer raises a null reference exception when no downloadHandler is set.
[*] Object.getData() now correctly omits null value keys.
[*] Fixed being able to addAttachment with the Table bricking the game. [url=https://tabletopsimulator.nolt.io/413]https://tabletopsimulator.nolt.io/413[/url]
[*] Fixed being unable to lua object.deal() to index hands greater than 1. [url=https://tabletopsimulator.nolt.io/400]https://tabletopsimulator.nolt.io/400[/url]
[*] Fixed issue with on[Enter/Leave]ScriptingZone was firing multiple times in a row. [url=https://tabletopsimulator.nolt.io/176]https://tabletopsimulator.nolt.io/176[/url]
[*] Fixed Book setHighlight()/clearHighlight() bug. [url=https://tabletopsimulator.nolt.io/270]https://tabletopsimulator.nolt.io/270[/url]
[*] Fixed minor bug whereby RPCLookAt was using the yaw after validating the pitch (instead of validating the yaw).
[*] Fixed lua Player.getAvailableColors() can have repeats. https://tabletopsimulator.nolt.io/536
[*] Fixed issue with tryObjectEnter/tryObjectEnterContainer only firing for the first object dropped in a bag. [url=https://tabletopsimulator.nolt.io/150]https://tabletopsimulator.nolt.io/150[/url]
[*] Fixed tryObjectEnter/tryObjectEnterContainer not being passed the object entering when the container was a stack. [url=https://tabletopsimulator.nolt.io/477]https://tabletopsimulator.nolt.io/477[/url]
[*] Fixed data/JSON round-tripping i.e. spawnObjectData({data=JSON.decode(JSON.encode(container.getData()))}).
[*] Fixed Lua core mishandling of nil table inserts i.e. table.insert(tab, 1, nil).
[/list]
[/code]
[h3][b]Lua Player Action APIs[/b][/h3]
An API that fires when a user performs an action. You may return false to prevent the action.
As opposed to onObject* events, actions are fired once per user action, rather than once per object affected.
[b]Added (Universal) onPlayerAction(player, action, targets). targets is a list of Objects and action will be one of:[/b]
[code]
onPlayerAction(player, action, targets), new actions:
[list]
[*] Player.Action.Select
[*] Player.Action.PickUp
[*] Player.Action.RotateIncrementalLeft (Q)
[*] Player.Action.RotateIncrementalRight (E)
[*] Player.Action.RotateOver (Alt + F, whilst held)
[*] Player.Action.FlipIncrementalLeft (Alt + Q, whilst held)
[*] Player.Action.FlipIncrementalRight (Alt + E, whilst held)
[*] Player.Action.FlipOver (F)
[*] Player.Action.Copy (Ctrl + C / Menu Copy / Menu Clone)
[*] Player.Action.Cut (Ctrl + X / Menu Cut)
[*] Player.Action.Delete (Delete / Backspace / Menu Delete)
[*] Player.Action.Group (G)
[*] Player.Action.Paste (Ctrl + V / Menu Paste)
[*] Player.Action.Randomize (R / Menu Roll)
[*] Player.Action.Under (U)
[/list]
Nolt Link: [url=https://tabletopsimulator.nolt.io/520]https://tabletopsimulator.nolt.io/520[/url]
[/code]
[b]Player.Action is not a table, but you may still do:[/b]
[code]
[list]
[*] for name, value in pairs(Player.Action) do
[*] log(Player.Action)
[/list]
[/code]
Nolt Links:
[list]
[*] [url=https://tabletopsimulator.nolt.io/35]https://tabletopsimulator.nolt.io/35[/url]
[*] [url=https://tabletopsimulator.nolt.io/69]https://tabletopsimulator.nolt.io/69[/url]
[*] [url=https://tabletopsimulator.nolt.io/379]https://tabletopsimulator.nolt.io/379[/url]
[/list]
[h3][b]Lua Value and Value Flags[/b][/h3]
[list]
[*] Value now persisted in ObjectState.
[*] Summing of Value now takes into consideration stacks. [url=https://tabletopsimulator.nolt.io/12]https://tabletopsimulator.nolt.io/12[/url]
[*] Objects with differing Value or ValueFlags are no longer stackable.
[*] Selected objects will now have their `value` summed according to their tags.
[*] value_flags will continue to work like before, but are now deprecated in favor of object tags.
[/list]
[h3][b]Fixes[/b][/h3]
[list]
[*] Fixed (on|try)(Object)?Rotate not firing for click+release or short throws of dice & coins.
[*] Fixed an issue loading custom assetbundles when they were created and destroyed in very quick succession. [url=https://tabletopsimulator.nolt.io/486]https://tabletopsimulator.nolt.io/486[/url]
[*] Fixed a potential memory leak with custom assets.
[*] Fixed voice chat not working with MacOS 10.13 as minimum.
[*] Fixed global contextual menu bugging out. [url=https://tabletopsimulator.nolt.io/428]https://tabletopsimulator.nolt.io/428[/url]
[*] Fixed issue with objects not hiding as fast inside hidden zones. [url=https://tabletopsimulator.nolt.io/249]https://tabletopsimulator.nolt.io/249[/url]
[*] Fixed issue with lua onLoad() not triggering when the game has been running for a while. [url=https://tabletopsimulator.nolt.io/437]https://tabletopsimulator.nolt.io/437[/url]
[*] Fixed {verifycache} on url checking Last-Modified header being case sensitive. [url=https://tabletopsimulator.nolt.io/521]https://tabletopsimulator.nolt.io/521[/url]
[*] Fixed Fog Of War not working correctly with multiple collider objects.
[*] Fixed GM pointer not hiding in fog of war zones.
[*] Fixed Fog of War revealer contextual text being offset.
[*] Fixed stacking of objects (stacks) in the presence of tags.
[*] Fixed a event memory leak on Tablet.
[*] Fixed inversed hiders i.e. Hands.hiding = 2 (Reverse) hiding mode.
[*] Fixed destroy all text tools not working. [url=https://tabletopsimulator.nolt.io/253]https://tabletopsimulator.nolt.io/253[/url]
[*] Fixed issue with mahjong tiles rotating strangely. [url=https://tabletopsimulator.nolt.io/140]https://tabletopsimulator.nolt.io/140[/url]
[*] Fixed snap visualizer revealing hidden objects in hands.
[*] Fixed issue with Custom AssetBundles hierarchy being indeterminate when using a secondary bundle. [url=https://tabletopsimulator.nolt.io/637]https://tabletopsimulator.nolt.io/637[/url]
[*] Fixed bug with chips stacking with wrong names and wrong objects. [url=https://tabletopsimulator.nolt.io/478]https://tabletopsimulator.nolt.io/478[/url]
[*] Fixed typo in LayoutZone HorizontalSpread value, you might need to set this value again for your save file. [url=https://tabletopsimulator.nolt.io/585]https://tabletopsimulator.nolt.io/585[/url]
[*] Fixed zone click interactions.
[*] Fixed objects hiding when they shouldn't.
[*] Fixed missing "Pass Turn" option in hotseat mode. [url=https://tabletopsimulator.nolt.io/595]https://tabletopsimulator.nolt.io/595[/url]
[*] Fixed 3D pointer being visible beneath 2D pointer when using picture-in-picture. [url=https://tabletopsimulator.nolt.io/397]https://tabletopsimulator.nolt.io/397[/url]
[*] Fixed highlighting not working in VR. [url=https://tabletopsimulator.nolt.io/425]https://tabletopsimulator.nolt.io/425[/url]
[*] Fixed XML UI buttons not working correctly in Hotseat mode. [url=https://tabletopsimulator.nolt.io/243]https://tabletopsimulator.nolt.io/243[/url]
[*] Fixed user defined hotkeys not working while hovering over UI. [url=https://tabletopsimulator.nolt.io/519]https://tabletopsimulator.nolt.io/519[/url]
[*] Fixed tags not syncing on player connect. [url=https://tabletopsimulator.nolt.io/431]https://tabletopsimulator.nolt.io/431[/url]
[*] Fixed player hands failing to load when loading a save file. [url=https://tabletopsimulator.nolt.io/492]https://tabletopsimulator.nolt.io/492[/url]
[*] Fixed issues with translated URLs: not cleaning up correctly and not working for UI assets.
[*] Fixed issue with music persisting through loading different mods. [url=https://tabletopsimulator.nolt.io/107]https://tabletopsimulator.nolt.io/107[/url]
[*] Fixed issue with the table and some objects being white when connecting to host. [url=https://tabletopsimulator.nolt.io/432]https://tabletopsimulator.nolt.io/432[/url]
[*] Fixed reverse Hidden Zones overlapping stopping hiding. [url=https://tabletopsimulator.nolt.io/456]https://tabletopsimulator.nolt.io/456[/url]
[/list]
[h3]v13.1 Hotfix 1:[/h3]
[list]
[*] Fixed sticky not working correctly on Objects.
[*] Fixed GMNotes spacing issue.
[*] Fixed jointed objects not being grabbed correctly.
[*] Fixed lua tryObjectEnterContainer deleting the object when return false.
[*]
[/list]
[h3]v13.1 Hotfix 2[/h3]
[list]
[*] Fixed chip dupe bug when they are stacked.
[/list]