Bitcoin Forum
June 20, 2024, 08:38:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Gambling / Re: Seuntjies DiceBot - possible bug found on: October 22, 2016, 02:26:29 PM
Hello Seuntjie

I was trying to implement a fibonacci progression and everytime i try to bet 0.00000001*3 it just stuck there. so i cannot move higher on a loss or lower on a win
below is the relevant part of my script, together with a screenshot of what happened


Code:
chance=49.5
initbase=0.00000001
base=initbase
nextbet=base
---------------
---------------
--------------
function dobet()
if (win) then
if previousbet<=2*base then
nextbet=base
end
if previousbet==3*base then
nextbet=2*base
end
if previousbet==5*base then
nextbet=3*base
end
if previousbet==8*base then
nextbet=5*base
end

if (!win) then
if previousbet<=base then
nextbet=2*base
end
if previousbet==2*base then
nextbet=3*base
end
if previousbet==3*base then
nextbet=5*base
end
if previousbet==5*base then
nextbet=8*base
end
end
I tried to add in a screenshot but it did not work here below is a list of my bets and the result
   13358463981   10/20/2016 6:05:55 AM   0.00000003   True   49.50   22.37   -0.00000003   3937
   13358463854   10/20/2016 6:05:54 AM   0.00000003   False   49.5   67.5   -0.00000003   3936
   13358463747   10/20/2016 6:05:53 AM   0.00000003   True   49.50   21.67   -0.00000003   3935
   13358463656   10/20/2016 6:05:52 AM   0.00000003   True   49.50   97.6   0.00000003   3934
   13358463490   10/20/2016 6:05:51 AM   0.00000003   False   49.5   72.67   -0.00000003   3933
   13358463347   10/20/2016 6:05:50 AM   0.00000003   False   49.5   0.11   0.00000003   3932
   13358463155   10/20/2016 6:05:48 AM   0.00000003   True   49.50   27.88   -0.00000003   3931
   13358463059   10/20/2016 6:05:46 AM   0.00000003   False   49.5   45.37   0.00000003   3930
   13358462929   10/20/2016 6:05:45 AM   0.00000003   True   49.50   29.08   -0.00000003   3929
   13358462782   10/20/2016 6:05:44 AM   0.00000003   True   49.50   99.13   0.00000003   3928
   13358462648   10/20/2016 6:05:42 AM   0.00000002   False   49.5   58.51   -0.00000002   3927




Hi, If you don't mind me asking, why are you writing a Fibonacci script? The bot has it built in in the advanced mode. You can also access this function from the programmer mode using:

nextbet=fibonacci(win)

if you want to customize bets or add custom stop/reset conditions.

Re why it doesn't work: I'm not sure. I don't immediately see anything wrong with the script (although I mostly skimmed it). My guess is it might be a presicion error? Try printing out the previousbet, base*3 etc etc for every bet. That might give you some insight.



I don't mind you asking at all. i did it that way because i am a novice programmer and wanted to be able to manipulate my bet sizes, since i wasnt sure i can do it using existing functions. And i wanted to do other stuff once the progression is at the 8th or so....
i will go ahead and use this function

Thanks
Another thing, if i wanted to reset to level0 on win after a certain level, and still want to use the function fibonacci, how would i go about it? Like i want to run until i win 0.00000034 then i reset to 0.00000001. What is the equivalent to reset to base in this case?
2  Economy / Gambling / Re: Seuntjies DiceBot - possible bug found on: October 22, 2016, 02:15:13 PM
Hello Seuntjie

I was trying to implement a fibonacci progression and everytime i try to bet 0.00000001*3 it just stuck there. so i cannot move higher on a loss or lower on a win
below is the relevant part of my script, together with a screenshot of what happened


Code:
chance=49.5
initbase=0.00000001
base=initbase
nextbet=base
---------------
---------------
--------------
function dobet()
if (win) then
if previousbet<=2*base then
nextbet=base
end
if previousbet==3*base then
nextbet=2*base
end
if previousbet==5*base then
nextbet=3*base
end
if previousbet==8*base then
nextbet=5*base
end

if (!win) then
if previousbet<=base then
nextbet=2*base
end
if previousbet==2*base then
nextbet=3*base
end
if previousbet==3*base then
nextbet=5*base
end
if previousbet==5*base then
nextbet=8*base
end
end
I tried to add in a screenshot but it did not work here below is a list of my bets and the result
   13358463981   10/20/2016 6:05:55 AM   0.00000003   True   49.50   22.37   -0.00000003   3937
   13358463854   10/20/2016 6:05:54 AM   0.00000003   False   49.5   67.5   -0.00000003   3936
   13358463747   10/20/2016 6:05:53 AM   0.00000003   True   49.50   21.67   -0.00000003   3935
   13358463656   10/20/2016 6:05:52 AM   0.00000003   True   49.50   97.6   0.00000003   3934
   13358463490   10/20/2016 6:05:51 AM   0.00000003   False   49.5   72.67   -0.00000003   3933
   13358463347   10/20/2016 6:05:50 AM   0.00000003   False   49.5   0.11   0.00000003   3932
   13358463155   10/20/2016 6:05:48 AM   0.00000003   True   49.50   27.88   -0.00000003   3931
   13358463059   10/20/2016 6:05:46 AM   0.00000003   False   49.5   45.37   0.00000003   3930
   13358462929   10/20/2016 6:05:45 AM   0.00000003   True   49.50   29.08   -0.00000003   3929
   13358462782   10/20/2016 6:05:44 AM   0.00000003   True   49.50   99.13   0.00000003   3928
   13358462648   10/20/2016 6:05:42 AM   0.00000002   False   49.5   58.51   -0.00000002   3927




Hi, If you don't mind me asking, why are you writing a Fibonacci script? The bot has it built in in the advanced mode. You can also access this function from the programmer mode using:

nextbet=fibonacci(win)

if you want to customize bets or add custom stop/reset conditions.

Re why it doesn't work: I'm not sure. I don't immediately see anything wrong with the script (although I mostly skimmed it). My guess is it might be a presicion error? Try printing out the previousbet, base*3 etc etc for every bet. That might give you some insight.



I don't mind you asking at all. i did it that way because i am a novice programmer and wanted to be able to manipulate my bet sizes, since i wasnt sure i can do it using existing functions. And i wanted to do other stuff once the progression is at the 8th or so....
i will go ahead and use this function

Thanks
3  Economy / Gambling / Re: Seuntjies DiceBot - possible bug found on: October 20, 2016, 04:25:43 AM
Hello Seuntjie

I was trying to implement a fibonacci progression and everytime i try to bet 0.00000001*3 it just stuck there. so i cannot move higher on a loss or lower on a win
below is the relevant part of my script, together with a screenshot of what happened


Code:
chance=49.5
initbase=0.00000001
base=initbase
nextbet=base
---------------
---------------
--------------
function dobet()
if (win) then
if previousbet<=2*base then
nextbet=base
end
if previousbet==3*base then
nextbet=2*base
end
if previousbet==5*base then
nextbet=3*base
end
if previousbet==8*base then
nextbet=5*base
end

if (!win) then
if previousbet<=base then
nextbet=2*base
end
if previousbet==2*base then
nextbet=3*base
end
if previousbet==3*base then
nextbet=5*base
end
if previousbet==5*base then
nextbet=8*base
end
end
I tried to add in a screenshot but it did not work here below is a list of my bets and the result
   13358463981   10/20/2016 6:05:55 AM   0.00000003   True   49.50   22.37   -0.00000003   3937
   13358463854   10/20/2016 6:05:54 AM   0.00000003   False   49.5   67.5   -0.00000003   3936
   13358463747   10/20/2016 6:05:53 AM   0.00000003   True   49.50   21.67   -0.00000003   3935
   13358463656   10/20/2016 6:05:52 AM   0.00000003   True   49.50   97.6   0.00000003   3934
   13358463490   10/20/2016 6:05:51 AM   0.00000003   False   49.5   72.67   -0.00000003   3933
   13358463347   10/20/2016 6:05:50 AM   0.00000003   False   49.5   0.11   0.00000003   3932
   13358463155   10/20/2016 6:05:48 AM   0.00000003   True   49.50   27.88   -0.00000003   3931
   13358463059   10/20/2016 6:05:46 AM   0.00000003   False   49.5   45.37   0.00000003   3930
   13358462929   10/20/2016 6:05:45 AM   0.00000003   True   49.50   29.08   -0.00000003   3929
   13358462782   10/20/2016 6:05:44 AM   0.00000003   True   49.50   99.13   0.00000003   3928
   13358462648   10/20/2016 6:05:42 AM   0.00000002   False   49.5   58.51   -0.00000002   3927


4  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: September 10, 2016, 11:38:07 AM
Hello All
I have an idea about a strategy i wanted to program in dicebot but i am lost

the idea is a modified version of fibonacci progression that goes like this

Bet 5,8,13,20 and 30 which is maximum on a loss
if you win on 5, stay there. if not move to next level(Cool, if you win move back, if not move to 13. keep doing that until you reach 30.

when you lose 5(30), you set a target to 30*2 (which means from then on you will be looking to earn twice as much as what you lost, which is 60 profit), then bet base (5). if you lose that, add the loss to the previous target, meaning that if you lose 5 set target to 60, then bet 5, if you lose it, make your target 65 then bet 5 again, until you win, then reduce your target by 5.
Once you hit a win, adjust the target and then bet half the size of your target. if you win, bet the other half, if you win it then go back to level 4 (20) bet, and continue going down until you are back at 1 (5) and repeat the process.

Anybody can help put that in a script so that we all can test it?

Thanks

Aima

Edit: here below is an attempt at coding for this strategy but it is not working.

Code:
function dobet() -- 
if(win) then --
losecount=losecount-=1
if(losecount<2) then --
nextbet = basebet
losecount=0
end
if(losecount==2) then --
end
if(losecount==3) then --
nextbet = level3bet
end
if(losecount==4) then --
nextbet = level4bet
end
if(losecount==5) then --
nextbet = level5bet
end
if(profittarget>1) then --
profittarget=profittarget+currentprofit
if(profittarget/2<level5bet*18) then
nextbet=profittarget/2
else
nextbet=maxlevelbet
end
end
else if (profittarget<1) then
profittarget=0
losecount=4
nextbet=level4bet
end
end

if (!win) then
losecount=losecount+=1
if(losecount==1) then -- basebet has just lost
end
if(losecount==2) then --
end
if(losecount==3) then --
nextbet = level4bet
end
if(losecount==4) then --
nextbet = level5bet
end
if(losecount==5) then --
profittarget=level4bet*2
end
if(losecount>5) then --
nextbet = basebet
profittarget=profittarget+currentprofit
end
end
end
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!