DICE PACKS BUNDLE
  1. #1

    Default text on input box issue

    I found an issue with the default text functionality of input fields.

    It should be possible to reproduce with the following setup
    • on the charsheet, create a list
    • each element in the list should contain a string with default text
    • create functionality to programmatically add an element to the list using DB.createchild, and set the text of that input field to something other than the default text


    Then it should be possible to reproduce the issue with the following steps:
    • host and client open the same sheet
    • host triggers the function to add a line to the sheet
    • result: client sees proper text, host sees default text


    In the cyberpunk red ruleset, we commented out the default text field on the input and the text updated as expected. It can be reproduced in revision: 27143 of the cyberpunk ruleset if the above steps don't work.

    The way to reproduce it there is:
    • create a character
    • give the character some base stats (to set health)
    • add character to the combat tracker
    • add an npc with a weapon to the combat tracker
    • enable manual dice entry
    • open up the main page of the character sheet as both a host and client
    • as the npc, roll damage set exactly 2 dice to 6s, any remaining can be just set to 1
    • set the next dice to any number
    • observe injury section on the character sheet between the client and the host

  2. #2
    Yes, it's a known issue. When using records shared across host/client, you should avoid using the default value; as they will conflict in-flight if other values are set via scripting. Only use scripting to set these.

    Regards,
    JPG

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Product Walkthrough Playlist

Log in

Log in