-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get dice chat data #115
Comments
No, I agree that it should be populating those fields. I'll put the necessary changes in a PR and update when it's merged. To confirm:
|
could this have something to do with the compatibility issues with Dice so Nice? (https://gitlab.com/riccisi/foundryvtt-dice-so-nice/-/issues/367) |
Dice Stats works with Dice So Nice on both PF2e and D&D but this most certainly can be be related to why dice so nice isn't working correctly with the system. |
If this is something the system could be modified to support it would probably fix multiple compatibility issues, I think there a few other modules that don't work wright with SotDL because of this. Not sure if this is helpful but I opened a separate issue for this here: #118 |
@jacobwojoski I just tested with v2.2.5 and was able to retrieve rolls from attributes and weapons. If you are able to confirm this is fixed, we can close the issue. |
@juanferrer unfortunately this didn't fix the issue with Dice so Nice where you can only see other player's rolls if they use the roll table (i.e. you don't see them if they do a challenge roll, weapon attack, etc). Was hoping that was related but I guess it's some other weird thing |
Ah, yeah. I didn't test DSN, only DiceStats. We'll have to investigate. |
I made a post for it on the DSN gitlab but haven't heard anything over there yet |
I was asked to add support of my mod dice-stats and was wondering how you post the chat msg's?
It seems like they're not posted as roll data objects like most systems.
I can't seem to even view the roll data anywhere in the msg object. The rolls arrays are empty (Chatmessage.rolls)
(View image at bottom)
All I can see is the raw html of the msg.context property.
I was wondering if there was any other way to get the data besides parsing the context as getting the die-type and value would be very difficult
Is there a hook or something that I dont know about that could be used?
The text was updated successfully, but these errors were encountered: