Bitcoin Forum
October 02, 2025, 11:43:05 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 »
1  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: October 02, 2017, 01:15:22 AM
You have three possible states...

1. Base betting, waiting for a streak of losses
2. Betting high after 200 rolls under 99.34
3. Betting low after 200 rolls over 0.66

So you set the flags accordingly...

1. bettingHigh = false, bettingLow = false
2. bettingHigh = true, bettingLow = false
3. bettingLow = true, bettingHigh = false

You can then check things like:

Code:
  if lowcount > 200 then
    if bettingHigh then
      #we're already rolling high, so just keep counting
      ... Do other stuff? ...
    else
      #found a streak, and not currently betting, game on!
      chance = 0.66
      bethigh = false
      nextbet = previousbet * 1.00074
      bettingLow = true
    end
  elseif highcount > 200 then
    if bettingLow then
      #we're already rolling low
      ... Other stuff? ...
    else
      #found a streak
      chance = 0.66
      bethigh = true
      ... Etc etc etc
    end
  end

Hopefully that gets you moving in the right direction Wink

Ah~~~~~~~!!!! This make sense now!!!

I have three possible states.... I see!!!

Now let me work on my script again with this.
2  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: October 01, 2017, 05:02:59 AM
I've solved the both counts interfering issue with some double counting logic. I've tested it and it works great.
HCP's solution seems much more simple, I will have to study it more. Smiley

Code:

chance = 50
basebet = .0000001
highcount = 0
lowcount = 0
nextbet= basebet
bethigh = false
betcount = 1 -- I wanted to name this "highcount2" can I just make something up and let it count?
losecount = 1 -- This for "lowcount2"

function dobet()

if highcount > 200 and win then
chance = 50
nextbet = basebet
highcount = 0
betcount = 0
losecount += 200
end

if lowcount > 200 and win then
chance = 50
nextbet = basebet
lowcount = 0
losecount = 0
betcount +=200
end

if lastBet.Roll < 99.34 then
highcount += 1
betcount +=1
else
highcount = 0
end

if lastBet.Roll > 00.66 then
lowcount += 1
losecount +=1
else
lowcount = 0
end



if highcount >= 200 and losecount < 200 then
chance = .66
nextbet = previousbet*1.00725
bethigh = true
losecount = 0
end

if lowcount >= 200 and betcount <200 then
chance = .66
nextbet = previousbet*1.00725
bethigh = false
betcount = 0

end

end


With above script I have succeeded in doing martingale from both sides and counting from both sides without interfering each other.

What I really want to improve on this is that when I come out of a martingale win from low side, often times the high side have already accumulated over 200+ counts sometimes even 400+. How can I take advantage of that situation and make the starting bet accordingly?

Code:
if highcount >= 200 and losecount < 200 then
chance = .66
nextbet = previousbet*1.00725 ------- (if the highcount is 300, I want to make the betting amount higher)
bethigh = true
losecount = 0
end



So Could I add something like this before the dobet function?

Code:

newlowbet = basebet*1.00725^(lowcount-200)
newhighbet = basebet*1.00725^(highcount-200)




If I can do the above, how could I implement this in the script?




Thanks HCP for the help!!!! I really appreciate it!
3  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: September 30, 2017, 09:54:32 PM
Quote
They're just made up variables.... You can call them wherever you want...

In this case, they're what is known as a Boolean or True/False "flag" used to indicate a specific state...

Are we "betting high"?  Yes or No? Etc

Code:
  if highcount > 100 then
    chance = 0.66
    nextbet = previousbet*1.00725
    bethigh = true
    bettinghigh = true
  elseif lowcount > 100 then
    chance = 0.66
    nextbet = previoubet*1.00725
    bethigh = false
    bettinglow = true
  end

How would I define bettinghigh and bettinglow flags before the "function dobet()"?

Do I put like

Code:
bettinghigh = betting>=99.34
bettinglow = betting <=00.66

??


Quote
You will probably need to put in checks on the "bettingHigh = true" and "bettingLow = true" flags or you might find it switches from one to the other if both high and low hit 200+ streaks


I not sure how checking bettinghigh and bettinglow stops from both high and low bets from switching when both are over 200. Could you explain the logic a bit more?

Thank you.
4  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: September 30, 2017, 08:10:24 PM
PS. when should I use "elseif" instead of "if"
     What is "bettinghigh", "bettinglow" true/false ? What do they do?

https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-1-1-variables

It doesn't say anything about "elseif"

and "bettinghigh"?

What's the difference between "bethigh" and "bettinghigh"?

5  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: September 29, 2017, 09:22:02 PM
You could just create a 2nd "betcount" variable... and do the check and increment on that as well... so instead of betcount, use lowCount and highCount...

Code:
lowcount = 0
highcount = 0
...
function dobet()
...
  #check and reset on wins etc
...
  if lastBet.Roll < 99.34 then
    highcount += 1
  else
    highcount = 0
  end
  
  if lastBet.Roll > 0.66 then
    lowcount += 1
  else
    lowcount = 0
  end

  if highcount > 100 then
    chance = 0.66
    nextbet = previousbet*1.00725
    bethigh = true
    bettinghigh = true
  elseif lowcount > 100 then
    chance = 0.66
    nextbet = previoubet*1.00725
    bethigh = false
    bettinglow = true
  end

end
You will probably need to put in checks on the "bettingHigh = true" and "bettingLow = true" flags or you might find it switches from one to the other if both high and low hit 200+ streaks


One last thing... the "max expected" loss streak for that chance over 1,000,000 rolls is something like 1400-1500... so don't be too surprised when you suddenly hit a crazy 1000+ losing streak and find you've lost 0.1 BTC+ on your martingale #justSaying Wink



Hi, Thank you for the response on my script!!

I've been working on my script all night long and I succeeded to count both ways. Here is my improved script.


Code:
chance = 50
basebet = .0000002
highcount = 0
lowcount = 0
nextbet= basebet
bethigh = false

function dobet()

if highcount>200 and win then
chance = 50
nextbet= basebet
bethigh=false
highcount=0
end

if lowcount>200 and win then
chance = 50
nextbet= basebet
bethigh=true
lowcount=0
end

if lastBet.Roll <99.34 and lowcount<200  then
highcount +=1
end

if lastBet.Roll >=99.34 then
highcount = 0
end

if lastBet.Roll >00.66 and highcount<200 then
lowcount +=1
end

if lastBet.Roll <=00.66 then
lowcount = 0
end

if highcount >=200  and lowcount <200  then
chance = .66
nextbet = previousbet*1.00725
bethigh = true
end

if lowcount >=200 and highcount <200  then
chance = .66
nextbet = previousbet*1.00725
bethigh = false
end

end



end



However, when the martingale is triggered after 200 count, the other side stop counting at 199 so that I don't trigger the martinale on the high side while low side martingale is in action.

How could I make the other side keep counting yet it doesn't trigger the martingale to other side?

And when that is possible, Let's say after a win on a martingale on the low side, the high side has accumulated count of 400 counts, then I want to go into the high side martingale right away with the increased basebet amount that would have been betted if it was triggered at 200 count.

so when the accumulated count is 400, then I want it to start the martingale at higher bet amount instead of the basebet.


PS. when should I use "elseif" instead of "if"
     What is "bettinghigh", "bettinglow" true/false ? What do they do?

Thank you for the help!!



6  Economy / Gambling discussion / My first Script needs some help! on: September 28, 2017, 05:04:27 PM
Hi, I made my first script from watching tutorial youtube and other guides.

What it does is it searches for 200 rows of number < 99.34 while rolling 50% at 10satoshi. (This is because 10 satoshi gives me faster speed)

When it reaches 200 rolls It changes the chance to .66% and starts the martingale to look for high number above 99.34.

increase after each bet is 1.00725x

When I get a hit it goes back to searching for 200 rows again.

Code:
chance = 50

basebet = .0000001
betcount = 0
nextbet= basebet
bethigh = false

function dobet()

if betcount>100 and win then
chance = 50
nextbet= basebet
bethigh=false
betcount=0
end

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

if betcount >100 then
chance = .66
nextbet = previousbet*1.00725
bethigh = true
end

end

What I want to improve on my script is that I want to be able to search for not only high .66% numbers but also low .66% numbers at the same time.

And which ever rows of 200 comes first I can start martingale for lows or highs.

Can anybody help me?

Thank you.
7  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Wild Beast Block [WBB] on 1ex.trade, no PREMINE, Honest ! - the wild one on: February 15, 2017, 12:24:52 AM
1x.trade needs some interface make over big time. I like Bittrex's interface. It's simple, clean, easy to use.

I don't know anything about building an exchange, but I assume Peter can tweak it when he has time.

8  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Wild Beast Block [WBB] on 1ex.trade, no PREMINE, Honest ! - the wild one on: January 25, 2017, 01:48:21 AM
I just downloaded wbb wallet for mac and it says it's out of sync. How do I fix it?
Did anybody have the same issue?
Any help would be greatly appreciated.
Thanks.
9  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Wild Beast Block [WBB] on 1ex.trade, no PREMINE, Honest ! - the wild one on: January 20, 2017, 10:02:40 AM
WTB 12k WBB at 15k sats ;-)

only 1btc to 20k sat
don't wait, soon nothing at 20k

ok, I took it ;-)

O_O nice.
10  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Wild Beast Block [WBB] on 1ex.trade, no PREMINE, Honest ! - the wild one on: November 21, 2016, 06:13:32 AM
Who cares if someone was here longer than others. We all are just here to make some money aren't we?

I just hope to make some money with wbb and sell them when the time comes.

In the mean while, I enjoy reading updates in here to see how my horse is doing and enjoy some funny memes.

I presume Peter has majority of the wbb so if it goes up, that will be his reward.

He doesn't really need so called "community" in this thread I don't think.


11  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Bytecent: Peer-to-Peer Rewards Network - Bytecent.com | BytecentBounty.com on: October 20, 2016, 04:23:13 AM
Your Homepage is upside down. Go have a look.

I think it's only your eyes or your browser,everything fine here,they had a great homepage easy to navigate and graphics are great,update us if you are still seeing the same things but's working fine here .

Thank you for your kind words and support!

I use macbook safari browser.
I'm still seeing upside down images. The moving images in the middle the guy is holding a tablet is upside down.
All the text is good.
12  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Bytecent: Peer-to-Peer Rewards Network - Bytecent.com | BytecentBounty.com on: October 20, 2016, 01:53:05 AM
Your Homepage is upside down. Go have a look.
13  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Wild Beast Block [WBB] on 1ex.trade, no PREMINE, Honest ! - the wild one on: October 18, 2016, 05:04:18 AM
WBB has nowhere to go but up! choo choo~~
14  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Wild Beast Block [WBB] on 1ex.trade, no PREMINE, Honest ! - the wild one on: September 26, 2016, 09:07:44 PM
This coin isn't going under 200k satoshi, because I have unlimited amount of BTC to buy them all up.
Muhahahahaha~~~ go ahead and try dumpers.
15  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Wild Beast Block [WBB] on 1ex.trade, no PREMINE, Honest ! - the wild one on: September 01, 2016, 01:54:56 AM
I'm using black background. Looks clean and easy on my eyes.

It would be really good if the trading page had the 24 hour volume ranking on all the pairs, similar to poloniex, and bittrex.
I'm so used to looking at those rankings and see what is hot lately.
16  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Wild Beast Block [WBB] on 1ex.trade, no PREMINE, Honest ! - the wild one on: August 31, 2016, 01:22:33 AM
Nice little adjustment on the bid and sell box layout on the 1ex.trade.
^_^
17  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Wild Beast Block [WBB] on 1ex.trade, no PREMINE, Honest ! - the wild one on: August 27, 2016, 05:58:13 AM
1ex.trade

I don't understand why paring of "BTC,WBB" shows different from "WBB,BTC"
What is the difference?

There is no ask or bids on the BTC-WBB,
But there are lots of ask and bids on the WBB-BTC paring.

Also "distribution" graph seems to be out of proportion. They all look flat. The measure stick graph show same for someone with 20k or someone with 100k WBB.

18  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Wild Beast Block [WBB] on 1ex.trade, no PREMINE, Honest ! - the wild one on: August 26, 2016, 12:08:29 AM
1ex.trade

A little spelling mistake was found.

On the "trading account" box, it says:

   Account Num.                unnasigned

should be corrected to "unnasigned" ---> "unassigned"


PS. I was able to open wbb account and test deposit was successful. Thanks for the quick fix.






19  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Wild Beast Block [WBB] on 1ex.trade, no PREMINE, Honest ! - the wild one on: August 25, 2016, 05:07:22 AM
1ex.trade issues.

I'm trying to move some wbb to 1ex.trade and I can't seem to find how to do it.

Here is what I did.

I went to "account" and in the "crypto account" box I clicked "+add account"

I put the name and selected WBB

and I get this message: "Please specify a valid currency. No account to show"

Am I missing something here?
20  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Wild Beast Block [WBB] on 1ex.trade, no PREMINE, Honest ! - the wild one on: August 23, 2016, 01:13:40 AM
comments for the V2.

The background of the exchange should be just white or a solid colour.
The moving band of coin prices is distracting.

Sorry if I sound rude. It's just my 2 cent.

I'm going to move all my coins to the exchange. It is safe to do so now right?
Pages: [1] 2 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!