Pages:
Author

Topic: Seuntjie' Dice bot programmers mode discussion. - page 14. (Read 125390 times)

full member
Activity: 319
Merit: 100
quick question, does the simulator use its own "dummy" server seed and client seed, with the same type of algorithm the sites use? or else wouldn't the data be pointless?

copy/paste my similar question and Seuntjie answer in other topic.


Quote from: houseworx on December 29, 2017, 12:05:22 AM
Seuntjie, can you please tell me, how dicebot simulation are worked?!

in simulations, are taked effect like in allmoust all dice site, and taken out that 1% house edge from numbers?!

its like 100% same, and there is no difference, like i was playing in default dice game site with fixed 1% house edge?!

Quote
The simulations use the same provably fair methods as the site that is selected and are usually pretty accurate. It uses the same edge as the site. But since everything is random, a simulation might show you winning after a million bets but when you actually run it, it might bust after 100 bets.

if it make sense for your question...
member
Activity: 64
Merit: 10
quick question, does the simulator use its own "dummy" server seed and client seed, with the same type of algorithm the sites use? or else wouldn't the data be pointless?
full member
Activity: 319
Merit: 100
here are script, maybe its one of us work.

Code:
basebet = 0.00000010
nextbet = basebet
roundprofit = 0
chance = 49.5

function dobet()

roundprofit += currentprofit

   if (win) then
      if (roundprofit < 0) then
        nextbet = previousbet + basebet
                print ("WIN")
print(nextbet)
      else
          nextbet = basebet
         print ("WIN")
print(nextbet)
        end

if roundprofit > 0 then roundprofit = 0 end
end
     if (!win) then
        nextbet = previousbet
print ("LOSE")
print(nextbet)
        end
     end
end
end

I was usiging it like base from what im tryin to do what I need, but im confused, I need some thing what I cant get out to work properly.

please help to add that kind of stuff:

if its "first lose" then first bet will be chance "A" after than one bet if it was failed, chances are chaning to chance "B" till win. (better to be with "if current streak section")
when win, and "round profit" are below 0, then start to play on chance "B" till roundprofit > 0, (not like first "recover round" where start from chance "A" first bet, and only after this first bet was chance "B")
chance "A" need to be changed only the in first lose after winnins/losings and try to recover only one time, till first fail(first losing round recover) and not every second recovery rounds. (maybe will need two chance like, A1, A2, but after i will see what im asking, i will can edit it properly byself - i think)

and ofc after win and roundprofit are more than 0, they are changed to base chance "C"

and same thing with that first "Recovery round i want increase previousbet with multiplier after X currentstreak" but every second recovery round if roundprofit is below 0 i want to increase from first bet.

hope that some1 are understand what Im asking, and want...

thanks.



up, any1?!
legendary
Activity: 1717
Merit: 1125
no it doesn't reset to 1 sat high always.Instead it follows the bet direction(high or low) of the previous bet if it was a win .And if that was a loss it keeps on switching direction and doubling the bet amount.

Ok... I edited the code... it will now ONLY switch High/Low on a loss... if it wins, it will continue High or Low (the same as the previous winning bet).

Code:
basebet = 0.00000001
chance = 47.5 -- Freebitcoin has 2.5% HouseEdge!!?!
bethigh = true

nextbet = basebet

function dobet()

  if win then
    nextbet = basebet
  else
    nextbet = previousbet * 2
    bethigh = !bethigh
  end

end



thankyou HCP

You could do this in the advanced mode by setting the multiplier on loss to 2 and just setting the "switch high/low" setting after 1 loss in the advanced bet settings tab.
Also, freebitcoin has a 5% edge, but a huge faucet.

edge = 100-(chance*payout)
full member
Activity: 319
Merit: 100
here are script, maybe its one of us work.

Code:
basebet = 0.00000010
nextbet = basebet
roundprofit = 0
chance = 49.5

function dobet()

roundprofit += currentprofit

   if (win) then
      if (roundprofit < 0) then
        nextbet = previousbet + basebet
                print ("WIN")
print(nextbet)
      else
          nextbet = basebet
         print ("WIN")
print(nextbet)
        end

if roundprofit > 0 then roundprofit = 0 end
end
     if (!win) then
        nextbet = previousbet
print ("LOSE")
print(nextbet)
        end
     end
end
end

I was usiging it like base from what im tryin to do what I need, but im confused, I need some thing what I cant get out to work properly.

please help to add that kind of stuff:

if its "first lose" then first bet will be chance "A" after than one bet if it was failed, chances are chaning to chance "B" till win. (better to be with "if current streak section")
when win, and "round profit" are below 0, then start to play on chance "B" till roundprofit > 0, (not like first "recover round" where start from chance "A" first bet, and only after this first bet was chance "B")
chance "A" need to be changed only the in first lose after winnins/losings and try to recover only one time, till first fail(first losing round recover) and not every second recovery rounds. (maybe will need two chance like, A1, A2, but after i will see what im asking, i will can edit it properly byself - i think)

and ofc after win and roundprofit are more than 0, they are changed to base chance "C"

and same thing with that first "Recovery round i want increase previousbet with multiplier after X currentstreak" but every second recovery round if roundprofit is below 0 i want to increase from first bet.

hope that some1 are understand what Im asking, and want...

thanks.



up, any1?!
newbie
Activity: 51
Merit: 0
no it doesn't reset to 1 sat high always.Instead it follows the bet direction(high or low) of the previous bet if it was a win .And if that was a loss it keeps on switching direction and doubling the bet amount.

Ok... I edited the code... it will now ONLY switch High/Low on a loss... if it wins, it will continue High or Low (the same as the previous winning bet).

Code:
basebet = 0.00000001
chance = 47.5 -- Freebitcoin has 2.5% HouseEdge!!?!
bethigh = true

nextbet = basebet

function dobet()

  if win then
    nextbet = basebet
  else
    nextbet = previousbet * 2
    bethigh = !bethigh
  end

end



thankyou HCP
HCP
legendary
Activity: 2086
Merit: 4361
no it doesn't reset to 1 sat high always.Instead it follows the bet direction(high or low) of the previous bet if it was a win .And if that was a loss it keeps on switching direction and doubling the bet amount.

Ok... I edited the code... it will now ONLY switch High/Low on a loss... if it wins, it will continue High or Low (the same as the previous winning bet).

Code:
basebet = 0.00000001
chance = 47.5 -- Freebitcoin has 2.5% HouseEdge!!?!
bethigh = true

nextbet = basebet

function dobet()

  if win then
    nextbet = basebet
  else
    nextbet = previousbet * 2
    bethigh = !bethigh
  end

end
newbie
Activity: 51
Merit: 0
Quote
Does it just keep doubling on every loss? or is there are limit to what the nextbet should be? So, on a loss streak it will be:

yes it is a standard martingale that doubles on every loss and there is no limit until the balance is insufficient to double anymore.

Quote
And just confirming that it always resets to 1 sat, High? because you said:

no it doesn't reset to 1 sat high always.Instead it follows the bet direction(high or low) of the previous bet if it was a win .And if that was a loss it keeps on switching direction and doubling the bet amount.


HCP
legendary
Activity: 2086
Merit: 4361
Does it just keep doubling on every loss? or is there are limit to what the nextbet should be? So, on a loss streak it will be:

1 - High
2 - Low
4 - High
8 - Low
16 - High
32 - Low
...
Where to stop?

And just confirming that it always resets to 1 sat, High? because you said:
Quote
.... Again if this bet wins then nextbet is placed with basebet of 1 sat and 2X payout on bethigh=false....

.... and resets back to basebet of 1 sats on 2X payout and bethigh=true if win.



This script is UNTESTED

WARNING: It will just keep betting until it runs out of money or your nextbet is larger than your balance!
Code:
basebet = 0.00000001
chance = 47.5 -- Freebitcoin has 2.5% HouseEdge!!?!
bethigh = true

nextbet = basebet

function dobet()

  if win then
    nextbet = basebet
  else
    nextbet = previousbet * 2
    bethigh = !bethigh
  end

end
newbie
Activity: 51
Merit: 0
i want to write a code which does the following bet functions on freebitco.in:

There is a base bet of 1 sats. It is placed on 2X payout and bet high =true.If this bet wins then nextbet is placed with same conditions .But if it losses then nextbet is placed with 2sats on 2X payout and bethigh=false.Again if this bet wins then nextbet is placed with basebet of 1 sat and 2X payout on bethigh=false and if the bet was lost, then bet amount becomes 4 sats on 2X payout and bethigh=true.Again the nextbet becomes 8 sats on 2 X payout and bethigh=false if lost and resets back to basebet of 1 sats on 2X payout and bethigh=true if win.
full member
Activity: 319
Merit: 100
here are script, maybe its one of us work.

Code:
basebet = 0.00000010
nextbet = basebet
roundprofit = 0
chance = 49.5

function dobet()

roundprofit += currentprofit

   if (win) then
      if (roundprofit < 0) then
        nextbet = previousbet + basebet
                print ("WIN")
print(nextbet)
      else
          nextbet = basebet
         print ("WIN")
print(nextbet)
        end

if roundprofit > 0 then roundprofit = 0 end
end
     if (!win) then
        nextbet = previousbet
print ("LOSE")
print(nextbet)
        end
     end
end
end

I was usiging it like base from what im tryin to do what I need, but im confused, I need some thing what I cant get out to work properly.

please help to add that kind of stuff:

if its "first lose" then first bet will be chance "A" after than one bet if it was failed, chances are chaning to chance "B" till win. (better to be with "if current streak section")
when win, and "round profit" are below 0, then start to play on chance "B" till roundprofit > 0, (not like first "recover round" where start from chance "A" first bet, and only after this first bet was chance "B")
chance "A" need to be changed only the in first lose after winnins/losings and try to recover only one time, till first fail(first losing round recover) and not every second recovery rounds. (maybe will need two chance like, A1, A2, but after i will see what im asking, i will can edit it properly byself - i think)

and ofc after win and roundprofit are more than 0, they are changed to base chance "C"

and same thing with that first "Recovery round i want increase previousbet with multiplier after X currentstreak" but every second recovery round if roundprofit is below 0 i want to increase from first bet.

hope that some1 are understand what Im asking, and want...

thanks.

HCP
legendary
Activity: 2086
Merit: 4361
Change the "if currPayout > maxPayout then" block to set a 'flag' rather than setting to stop().

Then check for the flag before then, this way dobet() will happen once after flag is set:

Again, this is UNTESTED

Code:
-- UNTESTED!!

-- Set these 3 values to match the site you're using and what you want your baseBet to be

houseEdge = 1 -- ie HE = 0.8% = 0.8, HE = 1.1% = 1.1
maxPayout = 9900 -- set this to site max! 9920x = Crypto-Games.net
basebet = 0.00000020

---------------------- Don't Edit below here ;) --------------------------

basePayout = 1.1 -- start at 1.1x payout
firstLossPayout = 2
currPayout = basePayout

nextbet = basebet
chance = (100 - houseEdge) / currPayout
bethigh = true
maxPayoutReached = false

function dobet()
 
  if win then
    --reset Payout to 1.1x
    currPayout = basePayout
  else
    if currPayout == basePayout then
      -- first loss
      currPayout = firstLossPayout
    else
      currPayout = currPayout + 1
    end
  end

  if maxPayoutReached then
    stop()
    nextbet = 0
  end

  if currPayout > maxPayout then
    maxPayoutReached = true
  else
    chance = (100 - houseEdge) / currPayout
  end

end   
[/quote]
newbie
Activity: 51
Merit: 0
How can I add a command to the following script so that the betting is stopped when the payout reaches 9900X or a chance equivalent to that payout.It should stop after placing one bet with 9900X.

Code:
-- UNTESTED!!

-- Set these 3 values to match the site you're using and what you want your baseBet to be

houseEdge = 1 -- ie HE = 0.8% = 0.8, HE = 1.1% = 1.1
maxPayout = 9900 -- set this to site max! 9920x = Crypto-Games.net
basebet = 0.00000020

---------------------- Don't Edit below here ;) --------------------------

basePayout = 1.1 -- start at 1.1x payout
firstLossPayout = 2
currPayout = basePayout

nextbet = basebet
chance = (100 - houseEdge) / currPayout
bethigh = true

function dobet()
 
  if win then
    --reset Payout to 1.1x
    currPayout = basePayout
  else
    if currPayout == basePayout then
      -- first loss
      currPayout = firstLossPayout
    else
      currPayout = currPayout + 1
    end
  end

  if currPayout > maxPayout then
    stop()
    nextbet = 0
  else
    chance = (100 - houseEdge) / currPayout
  end

end   
newbie
Activity: 31
Merit: 0
 Huh ???Any idea how to do that?
Thank you all for help
2 more questions

1. how can i make this script to start to bet basebet after 3 losses in the row?
2. how to make this script to bet 10% o the balance on 90% chance randomly every 20-50 won bets?

Code:
startbalance=balance
chance=49.5
multiplier=2
base=balance/1000
nextbet=base   
bethigh=false
resetstats()

function dobet()
base=balance/1000

  if math.random() < .5 then
  bethigh = !bethigh
end
   if win then

      if profit > balance/2000 then
        resetstats()

        nextbet=base
      else
        nextbet=previousbet
      end

   else
      nextbet=previousbet*multiplier
   end

   if balance - startbalance > 0.00100000 then
            stop()
      ching()
   end
end

full member
Activity: 319
Merit: 100
Seuntjie, HCP, Chilly2k anyone can help me please, I cant figure out by myself.

what I want:

start()

-he will bet basebet without increasing(nextbet=previousbet*multiplier1)
-after X currentstreak, he will start increase basebet(nextbet=previousbet*multiplier2) till win.
-if he are winning and profit more X then he are reseting stats and reset to basebet, and first X streak without increase nextbet like from start, and after X currentstreak again increasing till win.
-if he are winning and profit below X then(nextbet=previousbet*multiplier3) AND he will increasing nextbet with multiplier2 from first bet, not from X currentstreak.

*I need only, after function dobet win, lose, else sections.


thanks, hope for replies! Smiley


anyone please?!
newbie
Activity: 31
Merit: 0
Thank you all for help
2 more questions

1. how can i make this script to start to bet basebet after 3 losses in the row?
2. how to make this script to bet 10% o the balance on 90% chance randomly every 20-50 won bets?

Code:
startbalance=balance
chance=49.5
multiplier=2
base=balance/1000
nextbet=base   
bethigh=false
resetstats()

function dobet()
base=balance/1000

  if math.random() < .5 then
  bethigh = !bethigh
end
   if win then

      if profit > balance/2000 then
        resetstats()

        nextbet=base
      else
        nextbet=previousbet
      end

   else
      nextbet=previousbet*multiplier
   end

   if balance - startbalance > 0.00100000 then
            stop()
      ching()
   end
end
hero member
Activity: 813
Merit: 507
Is there any way to combine this 2 scripts?
 Sad
OK
i have 2 scripts that you helped me to build
this one is betting on 49.5 and doubles the bet on lose but does not reset on first win only resets when reaches 100 sat profit and stops on 1000 total profit  and changes hi lo randomly.
Code:
startbalance=balance
chance=49.50
multiplier=2
base=0.00000001
nextbet=base   
bethigh=true
function dobet()
   
   if win then
      if profit > 0.00000100 then
        resetstats()
        nextbet=basebet
      else
        nextbet=previousbet
      end

   else
      nextbet=previousbet*multiplier
   end

   if balance - startbalance > 0.00001000 then
      nextbet=0
      stop()
      ching()
   end
end

what i want add to it is what the second script does it hunts for rows of numbers below 1% or above 99% and if streak is 3 it bets 1% on oposite as in this script
Code:
basebet= 0.00000001
nextbet=basebet
chance=49.5

highCount=0
lowCount=0
previousbetBackup=basebet

function dobet()

    if lastBet.Roll > 99 then
        highCount = highCount+1
    else
        highCount = 0
    end

    if lastBet.Roll < 1 then
        lowCount = lowCount+1
    else
        lowCount = 0
    end

    if highCount >= 3 then
        bethigh = false
        nextbet = balance * 0.01
        chance=90.0
    else if lowCount >= 3 then
        bethigh = true
        nextbet = balance * 0.01
        chance=90.0
    else
        chance=49.5

        if win then     
            nextbet = basebet
        else   
            nextbet = previousbetBackup*2
        end
previousbetBackup = nextbet
    end

end
end
end

So i need one script to do it all combine them.

I simply used the second script added the balance check at the end and exchanged the "if win" statement while using the previousbetBackup variable instead.
This should do the trick although I didnt test it.

Code:
startbalance=balance
basebet= 0.00000001
nextbet=basebet
chance=49.5
multiplier=2

highCount=0
lowCount=0
previousbetBackup=basebet

function dobet()

    if lastBet.Roll > 99 then
        highCount = highCount+1
    else
        highCount = 0
    end

    if lastBet.Roll < 1 then
        lowCount = lowCount+1
    else
        lowCount = 0
    end

    if highCount >= 3 then
        bethigh = false
        nextbet = balance * 0.01
        chance=90.0
    else
if lowCount >= 3 then
bethigh = true
nextbet = balance * 0.01
chance=90.0
else
chance=49.5

if win then
if profit > 0.00000100 then
resetstats()
nextbet=basebet
else
nextbet=previousbetBackup
end
else
nextbet=previousbetBackup*multiplier
end
previousbetBackup = nextbet
end
end

if balance - startbalance > 0.00001000 then
nextbet=0
stop()
ching()
end
end
newbie
Activity: 31
Merit: 0
Is there any way to combine this 2 scripts?
 Sad
OK
i have 2 scripts that you helped me to build
this one is betting on 49.5 and doubles the bet on lose but does not reset on first win only resets when reaches 100 sat profit and stops on 1000 total profit  and changes hi lo randomly.
Code:
startbalance=balance
chance=49.50
multiplier=2
base=0.00000001
nextbet=base   
bethigh=true
function dobet()
   
   if win then
      if profit > 0.00000100 then
        resetstats()
        nextbet=basebet
      else
        nextbet=previousbet
      end

   else
      nextbet=previousbet*multiplier
   end

   if balance - startbalance > 0.00001000 then
      nextbet=0
      stop()
      ching()
   end
end

what i want add to it is what the second script does it hunts for rows of numbers below 1% or above 99% and if streak is 3 it bets 1% on oposite as in this script
Code:
basebet= 0.00000001
nextbet=basebet
chance=49.5

highCount=0
lowCount=0
previousbetBackup=basebet

function dobet()

    if lastBet.Roll > 99 then
        highCount = highCount+1
    else
        highCount = 0
    end

    if lastBet.Roll < 1 then
        lowCount = lowCount+1
    else
        lowCount = 0
    end

    if highCount >= 3 then
        bethigh = false
        nextbet = balance * 0.01
        chance=90.0
    else if lowCount >= 3 then
        bethigh = true
        nextbet = balance * 0.01
        chance=90.0
    else
        chance=49.5

        if win then     
            nextbet = basebet
        else   
            nextbet = previousbetBackup*2
        end
previousbetBackup = nextbet
    end

end
end
end

So i need one script to do it all combine them.
full member
Activity: 319
Merit: 100
Seuntjie, HCP, Chilly2k anyone can help me please, I cant figure out by myself.

what I want:

start()

-he will bet basebet without increasing(nextbet=previousbet*multiplier1)
-after X currentstreak, he will start increase basebet(nextbet=previousbet*multiplier2) till win.
-if he are winning and profit more X then he are reseting stats and reset to basebet, and first X streak without increase nextbet like from start, and after X currentstreak again increasing till win.
-if he are winning and profit below X then(nextbet=previousbet*multiplier3) AND he will increasing nextbet with multiplier2 from first bet, not from X currentstreak.

*I need only, after function dobet win, lose, else sections.


thanks, hope for replies! Smiley
newbie
Activity: 31
Merit: 0
OK
i have 2 scripts that you helped me to build
this one is betting on 49.5 and doubles the bet on lose but does not reset on first win only resets when reaches 100 sat profit and stops on 1000 total profit  and changes hi lo randomly.
Code:
startbalance=balance
chance=49.50
multiplier=2
base=0.00000001
nextbet=base   
bethigh=true
function dobet()
   
   if win then
      if profit > 0.00000100 then
        resetstats()
        nextbet=basebet
      else
        nextbet=previousbet
      end

   else
      nextbet=previousbet*multiplier
   end

   if balance - startbalance > 0.00001000 then
      nextbet=0
      stop()
      ching()
   end
end

what i want add to it is what the second script does it hunts for rows of numbers below 1% or above 99% and if streak is 3 it bets 1% on oposite as in this script
Code:
basebet= 0.00000001
nextbet=basebet
chance=49.5

highCount=0
lowCount=0
previousbetBackup=basebet

function dobet()

    if lastBet.Roll > 99 then
        highCount = highCount+1
    else
        highCount = 0
    end

    if lastBet.Roll < 1 then
        lowCount = lowCount+1
    else
        lowCount = 0
    end

    if highCount >= 3 then
        bethigh = false
        nextbet = balance * 0.01
        chance=90.0
    else if lowCount >= 3 then
        bethigh = true
        nextbet = balance * 0.01
        chance=90.0
    else
        chance=49.5

        if win then     
            nextbet = basebet
        else   
            nextbet = previousbetBackup*2
        end
previousbetBackup = nextbet
    end

end
end
end

So i need one script to do it all combine them.
Pages:
Jump to: