Post
Topic
Board Gambling
Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts!
by
HCP
on 27/12/2020, 19:02:53 UTC
If you really want to test your strategy you could play at crypto.games and use play money. This gave me an idea of how the bot works, also in programmer mode, without risking my real coins.
I hope it can work for you too.
That's actually a really good idea, and what I generally do with most of my scripts... test them with the "PLAY" currency on cryptogames... The only issue is that the minimum bet values (and current balances) are generally quite different for each currency Tongue

So I use an "if-then-else" at the top of the script that determines which currency is currently selected, and automatically adjusts the basebet amount and other variables as required. Something like this:
Code:
...
if currency == "btc" then
    -- CHANGE THESE ACCORDING TO YOUR BALANCE
    baseBet = 0.00000001
    target = 0.01170333
    maxLossStreak = 20
elseif currency == "doge" then
    -- CHANGE THESE ACCORDING TO YOUR BALANCE
    baseBet = 1
    target = 300000
    maxLossStreak = 60
elseif currency == "play" then
    -- CHANGE THESE ACCORDING TO YOUR BALANCE
    baseBet = 100
    target = 30000000
    maxLossStreak = 90
else
    print("no basebet set for this currency [" .. currency .. "]!!! -- STOPPING!")
    stop()
end
...