|
Dice!
Feb 27, 2013 6:40:03 GMT
Post by arek on Feb 27, 2013 6:40:03 GMT
Hey everyone, I just got finished setting up VDice here (including Advanced). What this means is that we now get the ability to roll virtual dice here on the forums. To roll dice, use the following bbcode: {roll range="<range>"} (replace the curly braces with square brackets: []) where <range> is in the standard (numdice)d(sides)+(modifier) format. Supported dice are: d4, d6, d8, d10, d12, d20, and d100, and you may roll up to 5 dice in a single roll. Unsupported rolls will show up as a "bad roll" (you'll know it if you get one of these). Here's an example of how it works: {roll="3d6"} (curly braces again due to VDice attempting to interpret the roll) 3d6Have fun --Arek
|
|
|
Dice!
Feb 27, 2013 14:51:08 GMT
Post by FunkySwerve on Feb 27, 2013 14:51:08 GMT
I'm guessing it's possible to game this by editing posts? We'll probably need some rules about edited posts and dice rolls.
Funky
|
|
|
Dice!
Feb 27, 2013 14:55:27 GMT
Post by sirivor on Feb 27, 2013 14:55:27 GMT
Neat!
1d100
EDIT: I couldn't figure out a way to get a new roll by editing my post, though perhaps someone smarter than me could do so.
|
|
|
Dice!
Feb 27, 2013 15:14:36 GMT
Post by CataclysmicDeath on Feb 27, 2013 15:14:36 GMT
1d100 Kewl
|
|
|
Dice!
Feb 27, 2013 15:20:03 GMT
Post by CataclysmicDeath on Feb 27, 2013 15:20:03 GMT
Well I found a way And I aint smart......so that is like go me lol. If you do the roll, then edit the post and delete the die roll code, save the post and then edit it again to re add the code you can get a new number. My previous roll on the post above was 83, I did what I just described and came out with 90. I guess you'd have to be pretty fast to do it without anyone noticing Cata
|
|
|
Dice!
Feb 27, 2013 15:37:38 GMT
Post by buddhamind on Feb 27, 2013 15:37:38 GMT
It's pretty easy to see if someone has edited a post by the "Last Edit: 15 minutes ago by CataclysmicDeath" in the bottom right corner. So maybe just count any edits as invalidating the roll? Otherwise we'd need a forum mod to see if the roll part had been edited.
d20 100 10-20 12 6+5
Interestingly, it looks like some of the syntax that is documented on the link Arek provided is incorrect. You must always specify N number of dice. So you can't use the low-high, dS, S, or S+F syntax.
Arek, this is really cool functionality. Thanks for setting it up.
|
|
|
Dice!
Feb 27, 2013 15:39:39 GMT
Post by sirivor on Feb 27, 2013 15:39:39 GMT
Ah, Cata is right, that is indeed possible. I thought I had tried the edit-save-edit and it hadn't worked, but perhaps I was mistaken. As buddhamind points out though, a simple rule about not editing roll posts should be easy enough?
|
|
|
Dice!
Feb 27, 2013 20:53:19 GMT
Post by desocupado on Feb 27, 2013 20:53:19 GMT
3d4 1d20 6d100 You are number 1d4
|
|
|
Dice!
Feb 28, 2013 6:43:19 GMT
Post by arek on Feb 28, 2013 6:43:19 GMT
To answer your query, FunkySwerve, VDice implements several protections against cheating. One such feature is that rolls are saved, so editing a post doesn't change the outcome. Also, the only syntaxes listed in the linked thread that are supported here are NdS and NdS+M. All others should come up as the "red X" die. Further, to prevent abuse somewhat, you can't have more than 5 dice (5dS) in a single roll, and only d4, d6, d8, d10, d12, d20, and d100 are supported. Again, have fun with this, folks :-) --Arek
|
|
|
Dice!
Feb 28, 2013 6:59:57 GMT
Post by arek on Feb 28, 2013 6:59:57 GMT
It's pretty easy to see if someone has edited a post by the "Last Edit: 15 minutes ago by CataclysmicDeath" in the bottom right corner. So maybe just count any edits as invalidating the roll? Otherwise we'd need a forum mod to see if the roll part had been edited. d20 100 10-20 12 6+5Interestingly, it looks like some of the syntax that is documented on the link Arek provided is incorrect. You must always specify N number of dice. So you can't use the low-high, d S, S, or S+ F syntax. Arek, this is really cool functionality. Thanks for setting it up. I decided not to support the low-high, S, and S+ F syntaxes for 2 reasons: - Determining which die set to use for such ranges is problematic and
- Although it becomes obvious if you quote someone's message with dice in it, low-high can be used to cheat (e.g. [ roll=19-20 ]).
As for why I don't support the dS syntax, it's simply because of the way I've set the patterns up. Do you think enough people would use it to warrant me putting in the extra time to support it? --Arek
|
|
|
Dice!
Feb 28, 2013 7:09:42 GMT
Post by chirality on Feb 28, 2013 7:09:42 GMT
What is the purpose of this here?
Supporting codes like this is a necessity on "PbP" forums and I used to really enjoy messing around with them for all kinds of random things other than "ingame" dice rolls.
I imagine this would offer an option for people to do loot split rolls on the forums? In a flashier and more visual way than relying on a DM to post numbers?
I mean to address your question of "would enough people use this to warrant expanding the functionality"
Like buddha says this is really cool.
But I'm not clear on what people would be needing it for?
|
|
|
Dice!
Feb 28, 2013 7:14:26 GMT
Post by arek on Feb 28, 2013 7:14:26 GMT
Well I found a way And I aint smart......so that is like go me lol. If you do the roll, then edit the post and delete the die roll code, save the post and then edit it again to re add the code you can get a new number. My previous roll on the post above was 83, I did what I just described and came out with 90. I guess you'd have to be pretty fast to do it without anyone noticing Cata This only works if you delete all die rolls from your post. It doesn't work if you only delete some of them, and I'm not sure it'll work in all cases even then...and as mentioned, it becomes obvious if a post was edited. There is a way around this, tho, so I'd say that you're on your honor that you won't game the system....and if the system is to be used for serious situations, then an uninterested party (or a DM) should probably do the rolling. I mostly put it in so that folks could have fun with it. --Arek
|
|
|
Dice!
Feb 28, 2013 7:29:03 GMT
Post by buddhamind on Feb 28, 2013 7:29:03 GMT
As for why I don't support the dS syntax, it's simply because of the way I've set the patterns up. Do you think enough people would use it to warrant me putting in the extra time to support it? Nope. Not worth the extra effort. Just a quick observation after a couple minutes of playing around with the code.
|
|
|
Dice!
Feb 28, 2013 8:16:58 GMT
Post by chirality on Feb 28, 2013 8:16:58 GMT
It's cool to have either way. The graphic/visual interface is interesting, I'd never seen that before. More fun stuff to play with is never a bad thing...heck the new avatar thingy made me forget how much time I used to waste with avatars...now I'm back at it after getting bored of the proboards one...and just when I thought I found a great .gif then I stumbled upon one I couldn't say no to...(edit: and shamelessly stole, ah well, props to kujon at deviantart for it )
|
|
|
Dice!
Feb 28, 2013 8:27:04 GMT
Post by CataclysmicDeath on Feb 28, 2013 8:27:04 GMT
Arek, yup it's pretty obvious when a post is edited, I only mentioned it cause Funky mentioned abou tit being easy to game, so thought I'd try to see if I could hehe.
Tis a pretty kewl function.
Cata
|
|