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

/canterlot/ - Canterlot

Site related staff board
Password (For file deletion.)

[Return][Go to bottom]


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).


Why a Zubat?


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

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


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.


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

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

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