[ home ] [ pony / rp / canterlot / rules ] [ arch ]

/canterlot/ - Canterlot

Site related staff board
Name
Email
Subject
Comment
File
Flags  
Embed
Password (For file deletion.)

[Return][Go to bottom]

 No.2993

File: 1549167437956.jpg (46.8 KB, 512x512, 1:1, zubat-e53731efa9bc5c2d6261….jpg) ImgOps Exif Google

Editing a post changes dice rolls in the post (e.g., 1d6 = 6).

 No.2994

Why a Zubat?

 No.2995

File: 1549169425145.jpg (34.01 KB, 450x338, 225:169, 1381579965438.jpg) ImgOps Exif Google

>>2994
I picked it semi-randomly, like I often do.

 No.2996

I'm aware, but it's a complex problem to solve, believe it or not. Assuming people aren't deliberately trying to game it, I could probably hack something together.

Gawd I'm such a bum, I haven't hardly worked on the site in forever.

 No.3008

>>2996
Could you do something like
    hash_hmac('sha256', "$post_timestamp $post_ip $roll_counter", $secret_dice_seed)

for generating the random numbers, where
$roll_counter
is 1 for the first roll in the post, 2 for the second roll in the post, etc.?


[]
[Return] [Go to top]
[ home ] [ pony / rp / canterlot / rules ] [ arch ]