MNblockhead
A Title Much Cooler Than Anything on the Old Site
I actually hate playing on VTT's because (as least on the ones I've used), the results of die rolls are incredibly wonky. Multiple repeated numbers, 8d6 lightning bolts that deal 17 damage, attacks made with advantage that miss multiple times- it's a mess, and the only reason it isn't a complete disaster is that it effects the NPC's as well, lol.
One of my tech-savvy friends claims that it's because generating true random numbers is a hassle and the easier method is just have programs poll the Windows time clock for numbers. I don't know for sure, I just know that I'd rather play with dice than not.
Foundry explains how it randomizes its dice rolls and why they should be as random as physical dice. I've pasted their explanation below. The last paragraph is very interesting to me. I don't have enough technical knowledge to ensure I'm reading this right. But it sounds like a set of random numbers are pregenerated and cached when a user connects to a session. So, let's say you are rolling poorly in a session. Could you just log out and re-log in the hope the your next set of random numbers will be better? Since they are all random, it probably doesn't make sense to do so, maybe you are logging out just before a string of good numbers. But I'm curious.It’s likely that the VTT’s pRNG is more random than your physical dice. The human mind can’t grok true randomness.
There is also a module to integrate Random.org's true random number generator for Foundry dice rolling. Foundry-TrueRNG/README.md at master · kidfearless/Foundry-TrueRNG. I'm not sure I see much need to bother with this. The argument is that Foundry's method uses pseudorandom number generator (PRNG), which means it produces sequences that appear random but are ultimately deterministic if the seed is known. Random.org (TrueRNG): Uses atmospheric noise to generate numbers, which is genuinely random and non-deterministic. For game purposes, I don't think it matters--though that seems a bit hypocritical for a guy who bought "precision" dice. I guess I'm more about form over function after all.

Mersenne Twister PRNG
How does Foundry Virtual Tabletop handle randomization?Foundry utilizes a Mersenne Twister pseudorandom number generator for all of its dice rolls. It was originally developed in 1997 by Makoto Matsumoto and Takuji Nishimura to rectify most of the flaws found in older PRNGs.
It is fast, reliably random over long periods of usage, and easily implemented, which has led to its widespread use in numerous programming languages. In fact, this pseudorandom number generator is the most widely used general-purpose PRNG in existence, and widely viewed as the most reliable for use in dice and other gaming impelementations.
The Mersenne Twister utilizes a seed number that the internal mathematics use to determine the set of random numbers generated. In Foundry VTT, this seed is set at the time each user connects, giving them a unique set of rolls for the rest of that session.
Advanced Dice | Foundry Virtual Tabletop
The official website and community for Foundry Virtual Tabletop.

Finally, this relatively short video gives a good explanation of all of this in less time that it takes to read this post:
Last edited: