jase:
The "problem" with RPoL's die roller is that it's so complex, coming up with simple syntax to do the rolls is near on impossible. We've got something now so people can make links in sheets etc, but that's pretty unintuitive.
What I was thinking, but it'll take a lot of work, is more of a "Publish these rolls in my next post" option in the dice roller. That way players don't have to worry about the complex syntax that would otherwise be required, and there can be a second (system controlled) post after their next post that the GM can see the rolls in. The other advantage of that is users can see their roll results before they post, and compose the message accordingly.
Is the dice roller log "accessible" by RPOL, or is it along the lines of a plain text file that just keeps appending new data on top?
If it's an actual log, or if it could be read and turned into a readable temporary file by code, it may be possible for an "insert my last die roll" kind of scriptlet in a similar way that the italics/private line/text color tags get inserted. The dice roller knows which player rolls what automatically when inserting the name, so reversing should be possible -- determining based on the name which player it is using the "insert my last roll" call (dealing with multiple character users might be tricky as heck though).
Conceivably it could populate a dropdown automatically, with a dropdown selection of the player's "last X rolls" is insertable at the post creation cursor like a private line. Or even simpler, don't try to determine which player is which, simply list the "last X rolls" from the die roller log and let any given player insert any given roll -- if they insert the wrong roll they will just try again.
Just some other ideas of random complexity:
When a user presses "roll die" and the result is populated, also stick that result into a specialized cookie with a timestamp. Then some mechanism on the post creation/edit screen can retrieve the most recent die result from the cookie file. This is kind of making the "copy + paste" handled in the background. Not sure what cookies can accomplish, maybe even represent all/most past rolls made by the user from a given machine and browser/session per game?
A link to open a "mini" dice roller window popup from the post creation/edit screen. Contains only the "manual" field, a description box, and a "roll" button perhaps, but when you 'roll' it inserts the results at your present cursor position on the post creation screen in addition to posting the result in the normal dice roller screen. Functionally a shaved-down dice roller screen. Will use whatever game-specific Game Setting/Special Dice setting the player's die roller is currently on (not sure if that's persistent -- cookie per game?)
Link to open up a full-sized dice roller screen in a popup (maybe the mobile site code would fit?). Same mechanism of pasting results in two places at once upon a roll.
EDIT: Oh, this wasn't Development section sorry.
This message was last edited by the user at 01:56, Sat 01 Mar 2014.