Resetting Seed!
Betting 0.0000004 at 48% chance to win, high
Resetting Seed!
Betting 0.0000001 at 48% chance to win, low
Resetting Seed!
Similarly, calling resetseed on 999dice has no effect, since it's reset for every bet anyway. (to the effect that no request is actually sent to the site when you call resetseed)
If you want to see the values being used so you can make sure that it is actually changing then add these print() calls at the beginning of dobet():
...
function dobet()
print("client: " .. lastBet.clientseed)
print("server: " .. lastBet.serverseed)
-- all your other code goes here
end
You should see the client/server seeds output to the console for every roll and that the client and server seeds are changing every single time.
Additionally, you could probably store the values in a temporary variable and then check to make sure that the values are different from the previous roll and call stop() if they are not. But it sounds like your plan to use the same seed for 70 rolls and then change it will not work with 999Dice
Now that YOLOdice is closed, I'm looking for an alternative that works at a similar rate with small amounts (I prefer altcoins) so I can continue running my scripts. Any recommendation is welcome.
and have an inbuilt exchange system (with "OKish" rates) between currencies if required.