Skip to content

Character names missing from public dice rolls in Foundry v13 #1350

@goblinsnotebook

Description

@goblinsnotebook

Describe the bug
Dice rolls to FoundryVTT v13 don't show the character name when the roll is a public roll, only the foundry user name.

To Reproduce
Steps to reproduce the behavior:

  1. Load dndbeyond and foundry
  2. Set "Whisper rolls" to "Ask every time"
  3. Make a roll in "Whisper roll" mode
  4. Make a roll in "Public roll" mode
  5. In the dice roll chat messages, the whispered roll shows with the character name as title and the foundry user name as subtitle. The public roll shows just the foundry user name as title and no subtitle

Expected behavior
Both rolls show the character name as title with the foundry user name a subtitle

Screenshots
Whisper roll
Image

Public roll
Image

Browser Info (please complete the following information):

  • Browser: Chrome, version: 145.0.7632.160
  • Foundry Version: 13.351
  • Beyond 20 Version: 2.17.1

Additional context
Non-whisper rolls are set to OOC messages in src/fvtt/page-script.js, _postChatMessage().
Image
Then later on in the function, it is updated to ROLL when foundry version is under 13
Image
The v13 check was added here: f2e2112#diff-771290a0869d30f1ab810ec4753fcef7b758882abc55b0dc15ebaa37ae687656R183

Loaded it up in dev, removing the if (!fvtt_isNewer(fvttVersion, "13")) check and the rolls displayed correctly
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    unsurenot sure if to be implemented

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions