Login | Register Login: Skin: Go To Top Lock User Bar
Logo
Page: 1 2 3 4 ... 6
NDim dice roller
 
Boc
User Avatar
Posted Image
Member Rank
Online Marker
Reputation: 157
Group:Admin
Posts:19,204
Joined:Jun 22, 2012
Post #1: 13th Feb 2021 4:59 PM 
HEY! So unlike most ndim feature requests, this is something that's actually doable without having access to the source code (albeit in a roundabout way). I threw this together and added it to FE, here's the code to add this to any NDim board (Code Editor > Below the Board):

Spoiler+


I'll update this post if/when I update this script. Right now it only works via Fast Reply (like I said it's roundabout so I have to manually hook it up to any button that can submit a post).

HOW IT WORKS
Just post the following (for example):

[ roll ]2d6[ / roll ]

(obv remove the spaces first)

Also, as a very basic way of not allowing people to fake a dice roll, if you try to straight-up post "Rolled:", it'll tack on a message letting the world know you could be a dirty cheater

Also also, if you have any improvement suggestions or find any bugs with it LMK!

PATCH NOTES
+ Now works with Add Reply, Fast Reply, and Quick Reply Box
+ Now works with PMs
+ No longer detects as cheater when quoting someone's roll
+ Added Roll button on Add Reply screen

Post Edited by Boc @ 23rd Feb 2022 10:00 AM
Posted Image
Posted Image
   
Dyl
User Avatar
Butt Not Even Visible
Member Rank
Offline Marker
Reputation: 80
Group:Moderator
Posts:13,554
Joined:Jun 25, 2012
Post #2: 13th Feb 2021 5:03 PM 
MVP
"So, uh, what are we saying here? If we save LA from a nuclear bomb, then you and I can get together for dinner and a movie?"
   
Curtis
User Avatar
First Place Dick
Member Rank
Offline Marker
Reputation: 1,170
Group:Admin
Posts:79,234
Joined:Jun 22, 2012
Post #3: 13th Feb 2021 5:05 PM 
Helllllllll yawwwww

This is gonna be a game changer for games here, we can come up with all kinds of new things to use it for. RnF folks are you ready for FE Dicevivor to become a thing?
Posted Image
   
Curtis
User Avatar
First Place Dick
Member Rank
Offline Marker
Reputation: 1,170
Group:Admin
Posts:79,234
Joined:Jun 22, 2012
Post #4: 13th Feb 2021 5:06 PM 
Very curious to see what ORG hosts can come up with too, either for challenges or twists or swaps or who knows
Posted Image
   
Curtis
User Avatar
First Place Dick
Member Rank
Offline Marker
Reputation: 1,170
Group:Admin
Posts:79,234
Joined:Jun 22, 2012
Post #5: 13th Feb 2021 5:09 PM 
Who's gonna find a way to run a dice based Mafia
Posted Image
   
Lamps
User Avatar
Sansa
Member Rank
Offline Marker
Reputation: 104
Group:Overlord
Posts:14,181
Joined:Oct 1, 2013
Post #6: 13th Feb 2021 5:10 PM 
FE dicevivor bb omg
 
   
mal
User Avatar
Pronouns: they/them
Member Rank
Offline Marker
Reputation: 104
Group:Overlord
Posts:12,650
Joined:Jun 26, 2012
Post #7: 13th Feb 2021 5:10 PM 
Rolled: 69 !!!POSSIBLE CHEATING DETECTED!!!
Posted Image
Posted ImagePosted ImagePosted Image
   
Lamps
User Avatar
Sansa
Member Rank
Offline Marker
Reputation: 104
Group:Overlord
Posts:14,181
Joined:Oct 1, 2013
Post #8: 13th Feb 2021 5:11 PM 
Rolled: 10 (6+4) [2d6]

Rolled: 75 (46+29) [2d100]
 
   
mal
User Avatar
Pronouns: they/them
Member Rank
Offline Marker
Reputation: 104
Group:Overlord
Posts:12,650
Joined:Jun 26, 2012
Post #9: 13th Feb 2021 5:11 PM 
It works wow love it
Posted Image
Posted ImagePosted ImagePosted Image
   
Curtis
User Avatar
First Place Dick
Member Rank
Offline Marker
Reputation: 1,170
Group:Admin
Posts:79,234
Joined:Jun 22, 2012
Post #10: 13th Feb 2021 5:13 PM 
Lamps @ 13/2/2021 17:10
FE dicevivor bb omg


Gonna be great!
Posted Image
   
Spin
User Avatar
Milk Bowl
Member Rank
Offline Marker
Reputation: 119
Group:Godfather
Posts:25,300
Joined:Feb 18, 2015
Post #11: 13th Feb 2021 5:17 PM 
Looks like I might have to resurrect another go at The Quick and The Dead mafia, and use dice rolls instead of Rock-Paper-Scissors.
 
   
John Snav
User Avatar
Confirmed misogynist
Member Rank
Offline Marker
Reputation: 120
Group:Overlord
Posts:16,277
Joined:Sep 18, 2014
Post #12: 13th Feb 2021 5:38 PM 
[roll]2d6[/roll]
Posted Image

Posted Image

Posted Image

Posted Image
   
John Snav
User Avatar
Confirmed misogynist
Member Rank
Offline Marker
Reputation: 120
Group:Overlord
Posts:16,277
Joined:Sep 18, 2014
Post #13: 13th Feb 2021 5:39 PM 
Rolled: 6 (3+3) [2d6]
Posted Image

Posted Image

Posted Image

Posted Image
   
John Snav
User Avatar
Confirmed misogynist
Member Rank
Offline Marker
Reputation: 120
Group:Overlord
Posts:16,277
Joined:Sep 18, 2014
Post #14: 13th Feb 2021 5:39 PM 
You meant ADD REPLY instead of Fast Reply smh
Posted Image

Posted Image

Posted Image

Posted Image
   
John Snav
User Avatar
Confirmed misogynist
Member Rank
Offline Marker
Reputation: 120
Group:Overlord
Posts:16,277
Joined:Sep 18, 2014
Post #15: 13th Feb 2021 5:39 PM 
Rolled: 6 !!!POSSIBLE CHEATING DETECTED!!!
Posted Image

Posted Image

Posted Image

Posted Image
   
2 Users Viewing (2 Guests)
  Announcements  
 
Hosted by N-Dimension Forums.
Create your own free forum today

Mobile Version | Mobile Settings | Report this Forum | Terms of Service