Comments (17)
Yes please
Hi, this has been added in 6.1.0. Please see Saving Results in the Readme.
from dice-roller.
Yes please
from dice-roller.
Does not seem to work :/
Tried both with global settings and dice+:
from dice-roller.
Can you give me more information? Did you update the plugin?
Are there any errors in the developer console (Ctrl/Shift/i or Cmd/Alt/i)?
This works for me... π€
from dice-roller.
Yes, both obsidian and plugin are up to date.
main.ts:173 Uncaught (in promise) TypeError: Cannot set property '28' of undefined
at DiceRollerPlugin.eval (eval at (app.js:1), :2805:52)
at Generator.next ()
at fulfilled (eval at (app.js:1), :28:58)
from dice-roller.
Can you try 6.2.1?
from dice-roller.
Well I don't get the error in console now, but it still does not work. Neither global settings or +:/
from dice-roller.
Hmm, really bizarre. I can't get replicate this. Can you try closing and re-opening Obsidian, and if that doesn't work, uninstalling and re-installing the plugin?
from dice-roller.
Yeah, forgot to mention that. I've already done both of those things.
Reinstall only deleted my stored formulas but still does not work.
Testing on simple dice: 3d4 + 3
and dice+: 3d4 + 3
- switching to another note and back rerolls the dice.
You said there is a chance this does not work for you. I would pursue why this does not work, it might not work for other people more often.
I hope I'm using the plugin right, friday evening, maybe I've missed some simple step?
from dice-roller.
Ah, I think I may know why. Do they save if you close the note and re-open it?
from dice-roller.
Yes :)
Sometimes they change but that is when some popup shows preview of other page, which I guess is the same as swithing the note.
from dice-roller.
Btw I'm not sure how the plugins work, but can't you just store the result in the note itself?
Like 'dice: 3d6 + 10', roll -> 'dice: 3d6 + 10 = 15'?
This would be useful, because then I can just share the note with someone who would have the same result.
This approach would then be useful in statblock as well.
from dice-roller.
That could work for dice, but not the tag, table or block rollers. Iβm also not sure I would want the plugin to modify files.
I have a fix coming soon for the issue youβre running into, though.
from dice-roller.
Right.
Great, many thanks!
from dice-roller.
Okay, I think 6.3.0 will fix these issues. Please try it out and let me know.
from dice-roller.
Yeah, works fine with closing the note or swithing to another and back or going to edit mode and back.
However, dice change if you go to edit mode and change something within the paragraph, like:
"Test paragraph rolling dice+: 3d4 + 3
" -> "Test this paragraph rolling dice+: 3d4 + 3
"
It also changes sometimes if you quickly go to anoter note, close it and open the one with dice. This is kinda random and I'm not sure why it happens.
from dice-roller.
Thank you! I will try to investigate. The way this feature works isn't super robust - it's hard to find the context of which roller each result is tied to, especially if changes are made quickly, unfortunately.
from dice-roller.
Related Issues (20)
- π Dice-Mod folder suggester does not display HOT 1
- π Section Roller omit first two rows and adds an empty row
- Dice View not calculating dice rolls.
- β¨ FR - choose the dice rolled to get data from a table HOT 1
- Dice Roller stops working after it encountered a parsing error in a formula
- Bold text HOT 1
- π Inline rolls don't work on canvas cards
- π Min/Max rolls result in only min or max Value HOT 1
- π Inline dice rolls using keep/drop formatting returns sum that includes all dice HOT 1
- π Dice rolls with disadvantage are ignored when a modifier is present HOT 3
- π `dice: d20` rolls 100 d20s HOT 1
- π Error creating WebGL context - not show options menu HOT 1
- π Dice tray roll button only erases the formula and doesn't roll HOT 2
- π is-min and is-max are incorrectly applied with kl and kh
- Table roller doesn't query note per roll
- π Individual dice results cannot be seen in the mobile version of the plugin.
- 𧩠Pass min /max parameters to Lookup Table rollers
- 𧩠Static dice roller button (to the left of the result)
- 𧩠Refactor lexical parser to accept front matter fields in dice contexts
- π Not able to enable on ios
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dice-roller.