I don't know where you've found those formulas but they seem more complicated than RHavar's code.
- X is uniformly distributed on [0,1] because it comes from the seed
- The result is then divided by 100 to get the crash multiplier
I have derived formula on my own. It's basically the same. What you are showing are the steps to find the result from coding point-of-view. But in compact form it's exactly same as the second formula I derived in the OP, let me show you how:
Step 1: Starting point -> 99 / (1-X)
Step 2: Inserting the value of X in the formula:
-snip
Yes you're right it's
X=H/E // 2. r = 52 most significant bits
seed = seed.slice(0, nBits/4)
const r = parseInt(seed, 16)
// 3. X = r / 2^52
let X = r / Math.pow(2, nBits) // uniformly distributed in [0; 1)
// 4. X = 99 / (1-X)
X = 99 / (1 - X)
~
But I don't think that Roobet uses the old algorithm as there are already huge number of players that win a big amount in playing Roobet's crash game. And how are you even sure that they are using RHavar's code and not their own? I think only those famous betting platforms with crash games back then only uses that, and new innovating ones are making their own adjustments with the code.
Just because Roobet is growing successfully, that doesn't mean it is a pioneer of Bitcoin Gambling Industry! Stop believing gambling sites blindly. Here's the proof that Roobet's crash game is based on the same algorithm (taken right from the '
Fairness' page of Roobet):

Do you see a red box? Can you read the formula inside? Isn't it same to the one in OP?
Don't think that I will write random things anywhere on forum without any knowledge. If I was sure enough to include that line in OP, it does mean that I am sure about the fact. Period!
You're right it's the v1 formula
https://github.com/Dexon95/Bustabit/blob/master/gameserver/server/lib.jsBut in this version the house edge is computed like that as far as I understand :
// In 1 of 101 games the game crashes instantly.
if (divisible(hash, 101))
return 0;
// Use the most significant 52-bit from the hash to calculate the crash point
var h = parseInt(hash.slice(0,52/4),16);
var e = Math.pow(2,52);
return Math.floor((100 * e - h) / (e - h));While in the Roobet version, 101 is replaced by 25.
It means there is an instant crash every 25 round games, ie 4 times out of 100.
So we can assume the house edge is at 4% on Roobet...