Tabletop Simulator

Berserk Games · Tabletop

Tabletop Simulator patch notes · Apr 8, 2021

Experiment

Update v13.1 Native File Browser, Cloud Manager, Rewind Time & More!

What's new in Update v13.1 Native File Browser, Cloud Manager, Rewind Time & More!: 101 changes to Tabletop Simulator, released Apr 8, 2021.

Balance · 2

  • Selected objects now have their value summed according to their tags.

    selected object value summing by tag
  • Summing of Value now takes stacks into consideration.

    value summing for stack

Content · 18

  • Added LayoutZone getOptions(), setOptions({options table}), and layout() methods.

    layoutzone options api
  • Added onObjectEnterZone and onObjectLeaveZone events that work on all zones, not just scripting zones.

    onobjectenterzone and onobjectleavezone event
  • Added global tryObjectRotate(object, spin, flip, player_color, old_spin, old_flip), with spin and flip values in [0, 360] degrees.

    tryobjectrotate global event
  • Added universal onPlayerPing(player, position).

    onplayerping event
  • Added UI.loading bool to check whether an object's UI is still loading.

    ui.loading flag
  • Added onGroupSort and onZoneGroupSort events that return a custom sort order or false to use default zone behaviour, taking precedence over zone option sorting.

    layoutzone group sort event
  • Added support for all zones in getObjects().

    getobjects on all zone
  • Added universal onObjectRotate(object, spin, flip, player_color, old_spin, old_flip).

    onobjectrotate universal event
  • Added object tryRotate(spin, flip, player_color, old_spin, old_flip).

    object tryrotate method
  • Added universal onPlayerAction(player, action, targets) event that fires once per user action and may return false to prevent it.

    onplayeraction universal event
  • Added an end_turn command.

    end_turn command
  • Added Player.Action values for select, pick up, rotate and flip, copy, cut, delete, group, paste, randomize, and under actions.

    player.action enum value
  • Custom Music was added to the Search save file to make moving music between saves easier.

    custom music in save file search
  • Added a bool parameter to object.getJson to disable indenting.

    object.getjson indentation option
  • Music was added as a Workshop asset tag.

    music workshop asset tag
  • Added Object.getZones(), which returns all zones the object is interacting with.

    object.getzones api
  • Added object onRotate(spin, flip, player_color, old_spin, old_flip).

    object onrotate event
  • Added the previous turn color player as a second parameter to the onPlayerTurn event.

    previous turn color parameter for onplayerturn

Controls · 4

  • Renamed keyboard_single_digit_draw to keyboard_single_digit_by_default, applied whenever typing on any component; starting with 0 still allows higher numbers.

    single digit keyboard entry default
  • Added a native OS file browser as an alternative to the built-in one, with multi-file selection where applicable.

    native file browser option
  • Added chat_input_clear_on_dismiss console property; setting it OFF keeps partially written chat messages when clicking away.

    chat input clear on dismiss
  • VR continues to use the built-in file browser so interaction still works.

    vr file browser

System · 17

  • Rewind states are only created when something has changed since the last rewind state.

    rewind state creation
  • Greatly reduced the lock-up when spawning many objects, such as when loading a save file.

    object spawning lock-up
  • Save file info caches significantly faster, reducing waiting when opening the Games menu.

    save file info caching speed
  • Rewind now works for promoted players, not just the host.

    rewind availability for promoted player
  • Optimized under-the-hood cloning code.

    cloning code performance
  • Unity was updated to 2019.4.23 for bug and stability improvements.

    unity engine version
  • EpochTime was added to save files.

    epochtime in save file
  • Reduced RAM usage by about 100 MB through shader stripping.

    ram usage
  • Rotation values are now stored as strings instead of objects in the save file.

    rotation value storage format
  • Grouping individual cards gives the formed deck any tags all the cards share.

    deck tag inheritance on grouping
  • value_flags continues to work but is deprecated in favor of object tags.

    value_flags deprecation
  • Objects with differing Value or ValueFlags are no longer stackable.

    stackability of objects with differing value or valueflag
  • Save and Workshop file Search is much faster with less chance of a hard lock-up.

    search performance
  • Reduced network bandwidth used for impact sounds.

    impact sound network bandwidth
  • Value is now persisted in ObjectState.

    value persistence in objectstate
  • Optimized network serialization to generate less garbage and cause fewer stutters.

    network serialization garbage
  • Multiple auto save files are supported; the default is now 3 and can be changed in the console and misc settings.

    auto save file count

UI · 8

  • Cloud manager can now upload multiple files at once via the native file browser.

    cloud manager multi-file upload
  • Broadcast messages now appear at the top and fade out more smoothly.

    broadcast message position and fade
  • Rewind and fast-forward were revamped with better controls and more information.

    rewind and fast-forward control
  • Time can now be rewound in multiple steps using a new time slider.

    multi-step rewind time slider
  • Cloud management overall works better and is less frustrating to use.

    cloud manager usability
  • The number of time steps in each direction can now be seen.

    rewind time step count display
  • The save file "Expand" was renamed to "Search" to better reflect what it does.

    save file rename
  • Added the file_browser_native console command and a misc settings menu option for it.

    file browser console command and misc settings entry

Fix · 52

  • Fixed chips stacking with wrong names and wrong objects.

    chip stacking names and object
  • Fixed an issue loading custom assetbundles that were created and destroyed in very quick succession.

    custom assetbundle load on quick create/destroy
  • Fixed an event memory leak on Tablet.

    tablet event memory leak
  • Fixed Player.getAvailableColors() returning repeated colors.

    player.getavailablecolors duplicate
  • Fixed Lua core mishandling of nil table inserts such as table.insert(tab, 1, nil).

    nil table insert handling
  • Fixed chip duplication bug when chips are stacked.

    chip dupe bug when stacked
  • Fixed 3D pointer being visible beneath 2D pointer when using picture-in-picture.

    3d pointer visibility with picture-in-picture
  • Fixed Fog of War revealer contextual text being offset.

    fog of war revealer contextual text offset
  • Fixed stacking of objects (stacks) in the presence of tags.

    stacking with tag
  • Fixed destroy all text tools not working.

    destroy all text tool
  • Fixed cloud manager folders not appearing until the cloud manager was opened again.

    cloud manager folder visibility
  • Fixed Book setHighlight() and clearHighlight() bug.

    book highlight set/clear
  • Fixed lua onLoad() not triggering when the game has been running for a while.

    onload not triggering after long uptime
  • Fixed translated URLs not cleaning up correctly and not working for UI assets.

    translated url cleanup and ui asset support
  • Fixed data/JSON round-tripping such as spawnObjectData with JSON.decode(JSON.encode(container.getData())).

    data/json round-tripping
  • Fixed voice chat not working with MacOS 10.13 as minimum.

    voice chat on macos 10.13
  • Fixed the table and some objects being white when connecting to host.

    white table and objects on host connect
  • Fixed tryObjectEnter and tryObjectEnterContainer only firing for the first object dropped in a bag.

    tryobjectenter bag handling
  • Fixed cloud manager resetting to the root path every time something is uploaded or deleted.

    cloud manager root path reset
  • Fixed XML UI buttons not working correctly in hotseat mode.

    xml ui buttons in hotseat mode
  • Fixed global contextual menu bugging out.

    global contextual menu
  • Fixed Fog Of War not working correctly with multiple collider objects.

    fog of war with multiple collider
  • LuaWebRequest text no longer raises a null reference exception when no downloadHandler is set.

    luawebrequest text null reference
  • Fixed tryObjectEnterContainer deleting the object when returning false.

    tryobjectentercontainer deleting object on false
  • Fixed player hands failing to load when loading a save file.

    player hands loading from save file
  • Fixed RPCLookAt using yaw after validating pitch instead of validating yaw.

    rpclookat yaw validation
  • Fixed objects hiding when they shouldn't.

    objects hiding incorrectly
  • Fixed tags not syncing on player connect.

    tag syncing on player connect
  • Fixed addAttachment with the Table bricking the game.

    addattachment crash with table
  • Fixed GMNotes spacing issue.

    gmnotes spacing
  • Fixed reverse Hidden Zones overlapping and stopping hiding.

    reverse hidden zone overlap
  • Fixed sticky not working correctly on Objects.

    sticky behaviour on object
  • Fixed object.deal() being unable to index hands greater than 1.

    object.deal to hands above 1
  • Fixed snap visualizer revealing hidden objects in hands.

    snap visualizer revealing hidden object
  • Fixed jointed objects not being grabbed correctly.

    jointed object grabbing
  • Fixed highlighting not working in VR.

    highlighting in vr
  • Fixed music persisting through loading different mods.

    music persisting across mod load
  • Fixed inversed hiders, i.e. Hands.hiding = 2 (Reverse) hiding mode.

    reverse hiding mode
  • Fixed zone click interactions.

    zone click interaction
  • Fixed onEnterScriptingZone and onLeaveScriptingZone firing multiple times in a row.

    scripting zone enter/leave repeated firing
  • Fixed onRotate and tryRotate events not firing for click and release or short throws of dice and coins.

    rotate events for click-release and short throw
  • Fixed indeterminate Custom AssetBundles hierarchy when using a secondary bundle.

    custom assetbundles hierarchy with secondary bundle
  • Fixed missing Pass Turn option in hotseat mode.

    pass turn option in hotseat mode
  • Fixed a potential memory leak with custom assets.

    custom asset memory leak
  • Fixed mahjong tiles rotating strangely.

    mahjong tile rotation
  • Fixed typo in LayoutZone HorizontalSpread value; save files may need this value set again.

    layoutzone horizontalspread typo
  • Fixed tryObjectEnter and tryObjectEnterContainer not receiving the entering object when the container is a stack.

    tryobjectentercontainer object argument for stack
  • Fixed objects not hiding as fast inside hidden zones.

    hidden zone hiding speed
  • Fixed GM pointer not hiding in fog of war zones.

    gm pointer hiding in fog of war
  • Fixed user defined hotkeys not working while hovering over UI.

    user defined hotkeys over ui
  • Fixed {verifycache} on URL checking the Last-Modified header case-sensitively.

    verifycache last-modified header check
  • Object.getData() now correctly omits keys with null values.

    object.getdata null key