Bitcoin Forum
September 24, 2025, 01:49:09 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: December 21, 2017, 01:53:07 PM
You could probably set up an "array" and a counter to keep track of the last "x" bets... but the number would need to be kept to a "reasonable" level to prevent the memory usage getting too high and or the bot starting to slow down while it manipulates the array...

I'm not sure I understand what it is that you are wanting to do with these 10 results tho? Huh

Code:
...
betArray = {}
counter = 1 -- NOTE: LUA arrays indexed from 1 ;)
...
function dobet()
...
  betArray[counter] = lastbet.Roll
  counter = counter + 1
  ...
  if counter == 11 then
    -- do something based on the last 10 rolls ???
    -- count them up or something and then set chance according to results?
    counter = 1 -- reset counter
  end
...
end


friend,
can you look at below picture to see what happens.


I need your help to track the rolled numbers. for example you can see that in last 20 bets; like 10 times bet rolled number is between 0 to 30 or 70 to 100 so I lost my bet. what I want is to write a code and track these roll number and then define an if condition to do etc. for example to reset from base or whatever.
for example : if anytime in each 20 bets in a row 10 times rolled number was between 0 to 30 or 70 to 100 and we lost those bets then do bla bla bla...
I hope I could explain myself. thank you for your help btw.


2  Economy / Gambling / Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts! on: December 21, 2017, 05:27:18 AM
Thank you friends.

I think 999dice is the best choice as it is available on Seuntjies DiceBot as well. cheers Smiley
3  Economy / Gambling / Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts! on: December 20, 2017, 12:54:18 PM
People.

Is there any Dice website that allows to practice betting (different strategies) with Seuntjies DiceBot along with a fake credit ?  Undecided
4  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: November 09, 2017, 01:38:12 PM
Wow,

Thank you for your Help HCP, I will give it a try based on your codes.
btw that number 10 is just an imaginary number that I assume as a set of bets. actually I have a strategy in my mind that is kind of complicated, and its like if you got base amount profit it will be retested and it might gives profit based on how many wins or losses you have in a circle of bets, like lets say 10 bets.
the program should be defined to behave in a different way based on current bet is which bet out of this set of bets. and if y lossess/wins in row happens do this.... if its LWLWLW do that....initial chance could be x1.6 and also it changes the chance depending on if the last bet was win or loss or if it was y lossess/wins in row.
actually its all like brainstorming yet but Im trying to clean up my mind and work on it. its kind of fun for me.
what I meant to do with the result was for example if in that circle of 10 bets, the dice rolled to below number 30, 3 times in total (for example) then do....
cheers and thank you again that you share all your knowledge.
5  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: November 09, 2017, 06:57:49 AM
Hi There,

wanted to ask something. Is there anyway that we can track rolled results?

what I mean is for example lets say each circle of x bets we track the rolled result in we track the circle of bets based on rolled numbers: for example lets say if in each 10 bets 3 times rolled result was less than number 30 then do that etc.

Thank you.
6  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: May 31, 2017, 08:15:49 AM
your question is a bit ambiguous. Do you want your chance to increment and decrement by 1 (as in 66,67,68,67,68 etc) or increase and decrease by 1% (as is 66,66.66,67.3266,66.66,67.3266 etc)

I'm assuming you want to increment:

in pseduo code

if win then chance = chance +1

else chance = chance -1

if chance > 82 then chance = 82

if chance < 50 then chance 50.


Now just convert that to LUA and you're golden Smiley

Programming is basically english. Just set your rules out in as unambiguous terms as possible as I did above and you've written the program, then it's just a matter of syntax

Thank you seuntjie, Yes I meant increment and will try your codes. Smiley

believed or not your amazing bot is a reason I've become so interested in programming.

you're the best.
7  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: May 30, 2017, 12:28:54 PM
How is possible to increase chance by 1% after each win and decrease it by 1% after each lose.
Lets say starting chance is %66 and it can go up to %82 and and down to %50.
 Huh Huh frustrated, I tried a lot but seems my programming knowledge isnt good enough to code it myself.
8  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: May 28, 2017, 06:10:31 PM
HCP Works great!

Much appreciated buddy.
9  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: May 28, 2017, 11:47:36 AM
Thank you seuntjie for your help and explanation.
I haven't tried your codes yet but I got the idea. Smiley

I was wondering if you (or any other programmer here) have time and can help me how is possible to reset to base bet anytime when x amount of streak BTC is gained.
this amount should not be depending on the started balance, I mean not necessarily is profit.
for example when I started betting with the balance of 0.01 and I lost 0.001 (after few bets) then anytime I had a streak of winning of BTC 0.0005 I want the bot to goes to base bet.

note: it probably has the same function as on advanced mode "reset after x BTC streak win" yet I wanted to do some other stuff after this happened which is not possible on advanced mode.

Grateful if you can share your ideas.
10  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: May 24, 2017, 06:00:48 AM
sorry mates,

Maybe a silly question: but can you help me here instead of stop, to reset the bot again ?
means when I lost that amount, bot reconsider again the same amount of my new balance to bet.

  elseif balance < stopLossTarget then
    -- we lost too much
    stop()

  end

Thank you.
11  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: May 06, 2017, 02:45:32 PM
Hi mates,

First of all I wanted to really thank those who help here with coding.  Cheesy

I want some help from programmers here. You can imagine playing simple martingale.

1. how can I set the loss multiplier to multiple after each two losses in a row not after each 1 loss.  Huh

2. How I can code to play only with a certain amount of my bankroll. I mean lets say I have a bankroll of 0.02 btc but I want to bet with only 0.001 of my bankroll.
----I want when I reached to a certain level of profit, lets say for example once I reached to 0.0001 profit, bot will reset above data.... basically when I got 0.0001 profit then my balance will be 0.02 +0.0001 so at this point bot consider this as a rest point and again plays only with 0.001 out of my new total bankroll.
----What I mean by playing with certain amount of bankroll, is like if the next bet cause me to go less than that amount bot will stop the play and wont go for next bet. so in case that amount of my bankroll that I playing with went to a losing streak bot will stop.

I know that above stuff can be done in advanced mode, but I'm not getting the result that I want. sometimes when I enable lower limit option it doesn't work and cause me to lose more that I expected actually, specially when I get a losing streak and I restart the bot, even with resetting the states same happening. I tried to use stop or reset option when x.xx btc lost on advanced mode: what happens is bot never consider you profit levels and if you go to losing streak you will lose badly.

Thank you all. Wink

12  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: April 26, 2017, 03:26:07 PM
Hi people.
Can someone help me to code to reset after 2 wins in a row and if that not happened to reset on third win for example.

For example if Streaks of WLWLW happened  then reset to base.
I tried to do this in advanced mode but didnt get the result I wanted.
I've talked with seuntjie and he mentioned below :
The two reset options are completely independent. The “reset after 3 wins” setting does not know when the “reset after 2 wins in a row” setting last reset the bot. So you might end up getting 2 wins a row, so the one setting resets, then a third win, so the other settings reset, then another win, so the first settings resets again, etc. You won’t necessarily get a reset after exactly 3 wins with losses between them if the bot reset just before the first loss.

So basically What I want is to either " reset after 2 wins in a row" or if a 2 wins in a row didnt happen; bot reset to base automatically after x wins.
13  Economy / Gambling / Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts! on: April 16, 2017, 03:51:32 PM
Hi there!

Is there any option to reset to base condition when there is a WLWLWLWL.... streak ?
My system fails if I face too many WLWLWLWL, so how I can activate an option when for example I face 4 or 5 zigzag win & loose streak to automatically reset? ?

I use martingale:
After two loss multiplier x 
After two win multiplier y
and reset when 3 wins in a row.

the only option that I want to add is to reset when I face (WLWLWLWL....) OR (LWLWLWLWL...) streak!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!