Bitcoin Forum
April 19, 2024, 11:20:26 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 [45] 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 »
  Print  
Author Topic: Seuntjie' Dice bot programmers mode discussion.  (Read 125121 times)
jdquick
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
October 25, 2017, 03:18:44 PM
 #881

is there already a winning script what makes profits for a long time, every site takes a security value in behalf of the bank value.
when playing any type of martingale you will lost with long ranges at the end.


i blew up my freebitcoins a few times, by playing automatic in what order ever out of nothing ranges of lost 80 or 90 times in a row comes up, and no one can cover this one.


with my script and 0,1 of value, it will stand long by playing at 10 start at 25.
but i know it will blow up at the end.

1713568826
Hero Member
*
Offline Offline

Posts: 1713568826

View Profile Personal Message (Offline)

Ignore
1713568826
Reply with quote  #2

1713568826
Report to moderator
1713568826
Hero Member
*
Offline Offline

Posts: 1713568826

View Profile Personal Message (Offline)

Ignore
1713568826
Reply with quote  #2

1713568826
Report to moderator
1713568826
Hero Member
*
Offline Offline

Posts: 1713568826

View Profile Personal Message (Offline)

Ignore
1713568826
Reply with quote  #2

1713568826
Report to moderator
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713568826
Hero Member
*
Offline Offline

Posts: 1713568826

View Profile Personal Message (Offline)

Ignore
1713568826
Reply with quote  #2

1713568826
Report to moderator
1713568826
Hero Member
*
Offline Offline

Posts: 1713568826

View Profile Personal Message (Offline)

Ignore
1713568826
Reply with quote  #2

1713568826
Report to moderator
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
October 25, 2017, 09:51:39 PM
 #882

is there already a winning script what makes profits for a long time, every site takes a security value in behalf of the bank value.
when playing any type of martingale you will lost with long ranges at the end.
No. You're describing the gamblers unicorn Tongue

a +EV script (or method of gambling) would put all of the dicesites out of business. They rely on house edge and long term results to make money... theoretically, the more people gamble and the longer they gamble for, the more money the house should make.

If you're gambling to make money, you're doing it for the wrong reasons... especially if you cannot afford to lose every penny that you gamble.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
RUISILVA
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 29, 2017, 10:20:09 AM
 #883

Good morning everyone,
Sorry to be bothering with something that will be too simple to do, but since I am a beginner, I am not achieving my goal.
And the goal is that whenever a certain value exceeds xxx% of the balance, it will resume again to initial amount.
Trouble is, I'm not making it happen.
It always surpasses.
Can you help me?
Here is the script that I changed, but without success:




chance1=8.9109      -->11.11X payout
chance2=9.8020      -->10.10X payout
chance3=14.1400       -->7.77X Payout
chance4=17.8378       -->5.55X Payout
chance5=29.7297       -->3.33X Payout

m1=1.119            --> All multipliers are at 20% More Profit
m2=1.132
m3=1.178
m4=1.264
m5=1.515

target=5.00000000              --> Set your Target Profit here

betfactor=0.000012              --> "Safest" for 0.001 BTC and 0.1 Eth Bankroll
basebet=balance*betfactor      --> 1 satoshi basebet for 0.001 BTC and 100 Ethoshis for 0.1 Eth Bankroll
nextbet=basebet
chance=chance1
bethigh=false
betcount=0
session=0

wincount=0
lostchance=0
losecount=0
low=0
high=0
counter=0

resetseed()
-- resetstats()

function dobet()

betroll()
rstseed()
viewstats()
betcount+=1

if win then

   if profit>target then
      stop()
      print("TARGET REACHED!")
   end

   hilo()
   basebet=balance*betfactor

    if basebet<0.00000001 then
      basebet=0.00000001
      nextbet=basebet
   end

   nextbet=basebet
   wincount+=1
   losecount=0
   if wincount>0 then
      chance=chance1
      lostchance=1
   end

   if wincount>4 then
      chance=chance2
      lostchance=2
   end

   if wincount>14 then
      chance=chance3
      lostchance=3
   end

   if wincount>29 then
      chance=chance4
      lostchance=4
   end

   if wincount>49 then
      chance=chance5
      lostchance=5
   end

   if wincount>75 then
      chance=chance1
      lostchance=1
      wincount=0
      session+=1
      low=0
      high=0
   end



else


   if lostchance==1 then
      if chance==chance1 then
         if (balance)/64 < previousbet*m1          then
         
         nextbet=previousbet*m1
         print(balance)
         print("------Too high. Turn back 8------")
         end

         nextbet=basebet*m1
      else
         chance=chance1
         nextbet=previousbet*m1
      end
   end

   if lostchance==2 then
      if chance==chance2 then
         if (balance)/101 < previousbet*m2          then
         
         nextbet=basebet*m2
         print(balance)
         print("------Too high. Turn back 9------")
         end   
         nextbet=previousbet*m2
      else
         chance=chance1
         nextbet=previousbet*m2
      end
   end

   if lostchance==3 then
      if chance==chance3 then
         if (balance)/42 < previousbet*m3 then
         
         nextbet=basebet*m3
         print(balance)
         print("------Too high. Turn back 14------")
         end
         nextbet=previousbet*m3
      else
         chance=chance1
         nextbet=previousbet*m3
      end
   end

   if lostchance==4 then
      if chance==chance4 then
         if (balance)/27 < previousbet*m4 then
         
         nextbet=basebet*m4
         print(balance)
         print("------Too high. Turn back 17------")
         end

         nextbet=previousbet*m4
      else
         chance=chance1
         nextbet=previousbet*m4
      end
   end

   if lostchance==5 then
      if chance==chance5 then
         if (balance)/23 < previousbet*m5 then
         
         nextbet=basebet*m5
         print(balance)
         print("------Too high. Turn back 27------")
         end

         nextbet=previousbet*m5
      else
         chance=chance1
         nextbet=previousbet*m5
      end
   end


end

end

function hilo()

        if high > low then
   bethigh=true
        else
   bethigh=false
        end

        if (high-low) > 15 then
   bethigh=false
        end

        if (low-high)> 15 then
   bethigh=true
        end
end

function betroll()

   if (lastBet.roll < chance) then
      low += 1
   end

   if (lastBet.roll > (99.99 - chance)) then
      high += 1
   end

end

function rstseed()

if counter==500 then

   resetseed()
   counter=0
   low=0
   high=0
else

   counter+=1

end
end
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
October 29, 2017, 10:31:50 AM
 #884

The problem seems to be that you are always overwriting the "nextbet" value that is set within your "if" statements...

For instance... Look at the highlighted code below...

If balance/64 < previousbet*m1, you set "nextbet = previousbet*m1"... However the code then immediately sets "nextbet = basebet*m1" !!?! Huh
  if lostchance==1 then
      if chance==chance1 then
         if (balance)/64 < previousbet*m1          then
        
         nextbet=previousbet*m1
         print(balance)
         print("------Too high. Turn back 8------")
         end

         nextbet=basebet*m1

      else
         chance=chance1
         nextbet=previousbet*m1
      end
   end

It's the same for all your other IF blocks highlighted in the blue section... You set nextbet inside the innermost IF and then immediately overwrite the nextbet value! Shocked

Perhaps you are missing "else" statements? Huh

Also, I'm not sure if it's by design or you just got it mixed up, but the first block in blue sets to previousbet*mX inside the IF and then overwrite with basebet, but all the other blocks set to basebet*mX inside the IF and then overwrite with previousbet.

I'm not 100% sure what your choice is actually trying to achieve so that might be what you want, buy just thought I'd mention the inconsistency Wink

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
RUISILVA
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 29, 2017, 01:54:16 PM
 #885

Hello ....
Sorry, but I'm really a beginner in programming.
In the example that I intend to show you do the following:


if lostchance == 1 then
       if chance == chance1 then
                    if (balance) / 64 <previousbet * m1 then
        

  (whenever the total value in Balance / 64 is greater than the next bet, then you should not bet previousbet * m1 but return to nextbet = basebet * m)
         
        
  nextbet = previousbet * m1
          print (balance)
          print ("------ Too high. Turn back 8 ------")
          end

          nextbet = basebet * m1
       else
          chance = chance1
          nextbet = previousbet * m1
       end
    end


It turns out that I walk the hours  Shocked trying to solve this but I can not, I am a basic in this matter  Huh Huh Huh. I asked you to help me reread this formula if it is not too much trouble  Embarrassed
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
October 29, 2017, 05:59:14 PM
 #886

Hello ....
Sorry, but I'm really a beginner in programming.

....
snip
....I asked you to help me reread this formula if it is not too much trouble  Embarrassed

I, and most other users that help people on this thread, don't like just giving you the solution. If we just fix it for you, you don't learn why it wasn't working and you will remain a beginner for ever and continue asking us to fix your scripts for free for ever. Instead most of us try to point out your errors and guide you to fixing it on your own, so that you can learn how programming works and not make the same mistakes over and over again.

Look at the things that HCP pointed out and see if you can figure out what is wrong.

Tip: Programming works from top down
Code:
x=0
y=1
if y=1 then
x=2
end
x=3
print(x)

the program will always print 3 because x will always be set to 3. If you want it to be set to 2 if y =1 but 3 if y is NOT set to 1, then you need to use an else statement: https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-04-martingale-and-mini-if-tutorial

mezofix
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
November 04, 2017, 12:48:03 AM
 #887

hello i have this sequences but what should change that i want multipler basebet *3 if loss ? can u help me ?
this is code, is not mine of course,
thx

chance=49.75
minbet=0.00000001
seqnum=0

function dobet()
if seqnum>3 then seqnum=0 end
if seqnum==0 then betchoice=math.random(1,3) end

if betchoice==1 and seqnum==0 then
bethigh=false
nextbet=0.00000001
end
if betchoice==1 and seqnum==1 then
bethigh=false
nextbet=0.00000002
end
if betchoice==1 and seqnum==2 then
bethigh=true
nextbet=0.00000004
end
if betchoice==1 and seqnum==3 then
bethigh=true
nextbet=0.00000008
end

if betchoice==2 and seqnum==0 then
bethigh=false
nextbet=0.00000001
end
if betchoice==2 and seqnum==1 then
bethigh=true
nextbet=0.00000002
end
if betchoice==2 and seqnum==2 then
bethigh=true
nextbet=0.00000004
end
if betchoice==2 and seqnum==3 then
bethigh=false
nextbet=0.00000008
end

if betchoice==3 and seqnum==0 then
bethigh=true
nextbet=0.00000001
end
if betchoice==3 and seqnum==1 then
bethigh=false
nextbet=0.00000002
end
if betchoice==3 and seqnum==2 then
bethigh=true
nextbet=0.00000004
end
if betchoice==3 and seqnum==3 then
bethigh=false
nextbet=0.00000008
end



seqnum=seqnum+1

end
chilly2k (OP)
Legendary
*
Offline Offline

Activity: 1007
Merit: 1000


View Profile
November 04, 2017, 01:17:39 AM
 #888

hello i have this sequences but what should change that i want multipler basebet *3 if loss ? can u help me ?
this is code, is not mine of course,
thx

chance=49.75
minbet=0.00000001
seqnum=0

function dobet()
if seqnum>3 then seqnum=0 end
if seqnum==0 then betchoice=math.random(1,3) end

if betchoice==1 and seqnum==0 then
bethigh=false
nextbet=0.00000001
end
if betchoice==1 and seqnum==1 then
bethigh=false
nextbet=0.00000002
end
if betchoice==1 and seqnum==2 then
bethigh=true
nextbet=0.00000004
end
if betchoice==1 and seqnum==3 then
bethigh=true
nextbet=0.00000008
end

if betchoice==2 and seqnum==0 then
bethigh=false
nextbet=0.00000001
end
if betchoice==2 and seqnum==1 then
bethigh=true
nextbet=0.00000002
end
if betchoice==2 and seqnum==2 then
bethigh=true
nextbet=0.00000004
end
if betchoice==2 and seqnum==3 then
bethigh=false
nextbet=0.00000008
end

if betchoice==3 and seqnum==0 then
bethigh=true
nextbet=0.00000001
end
if betchoice==3 and seqnum==1 then
bethigh=false
nextbet=0.00000002
end
if betchoice==3 and seqnum==2 then
bethigh=true
nextbet=0.00000004
end
if betchoice==3 and seqnum==3 then
bethigh=false
nextbet=0.00000008
end



seqnum=seqnum+1

end

   What is basebet?  You don't use that in your script.  You have minbet and nextbet.   

if !win then
  nextbet = basebet * 3
end

mezofix
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
November 04, 2017, 01:43:38 AM
 #889

if lose want multipler *3
if win back to minbet
can u check this ?
chilly2k (OP)
Legendary
*
Offline Offline

Activity: 1007
Merit: 1000


View Profile
November 04, 2017, 02:51:17 AM
 #890

if lose want multipler *3
if win back to minbet
can u check this ?


if win then
   minbet
else
   multipler * 3
end

kostas159
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 06, 2017, 01:49:58 PM
 #891

Hello everyone i want to make a script but i need some help!!
The idea behind the script is to run 3 martingales until profit is made!
Let me give u some details for example!

starting balance is 0.00010000
chance 49.5
multiplyer 2.54

i split my balance to 3 sub-balances 1st is 0.00000090 2nd 0.00000900 3rd 0.00009000

What i want the script to do is start betting 0.00000008, if a lose happens it multiplies by 2.54.
If a losing streak of 3 occurs i want it to "go" to the 2nd sub-balance  and start betting 0.00000080. if lose multiply by 2.54 but if win i want it to
start betting again 0.00000080 until profit of   0.00001000
.
Finally if again 3 loses occur before reaching the profit target it goes to the 3rd sub-balances and martingales with 0.00000800 first bet .

I have made this script (my knowledge  is not good in scripting thats why i ask help Smiley  )

chance=49.5 --sets your chance for placing a bet
nextbet=0.00000008 --sets your first bet.


function dobet()

basebet=0.00000008
if profit > 0.00001000 then
resetstats()
end
if win then

  nextbet=0.00000008

 else

  nextbet=previousbet*2.54

 end

if currentstreak==-3 then

     nextbet=0.00000080
end
if currentstreak==-6 then

     nextbet=0.00000800
 
 end
if currentstreak==-10 then

     nextbet=0.00000001

end end end



What i cant figure out is how to make it  when it reaches the 2nd balance and wins one bet to restart betting 80 cause it goes back to 8!

Any help would be appreciated i think its simple for the advanced users here!



chilly2k (OP)
Legendary
*
Offline Offline

Activity: 1007
Merit: 1000


View Profile
November 06, 2017, 02:00:27 PM
 #892

Hello everyone i want to make a script but i need some help!!
The idea behind the script is to run 3 martingales until profit is made!
Let me give u some details for example!

starting balance is 0.00010000
chance 49.5
multiplyer 2.54

i split my balance to 3 sub-balances 1st is 0.00000090 2nd 0.00000900 3rd 0.00009000

What i want the script to do is start betting 0.00000008, if a lose happens it multiplies by 2.54.
If a losing streak of 3 occurs i want it to "go" to the 2nd sub-balance  and start betting 0.00000080. if lose multiply by 2.54 but if win i want it to
start betting again 0.00000080 until profit of   0.00001000
.
Finally if again 3 loses occur before reaching the profit target it goes to the 3rd sub-balances and martingales with 0.00000800 first bet .

I have made this script (my knowledge  is not good in scripting thats why i ask help Smiley  )

chance=49.5 --sets your chance for placing a bet
nextbet=0.00000008 --sets your first bet.


function dobet()

basebet=0.00000008
if profit > 0.00001000 then
resetstats()
end
if win then

  nextbet=0.00000008

 else

  nextbet=previousbet*2.54

 end

if currentstreak==-3 then

     nextbet=0.00000080
end
if currentstreak==-6 then

     nextbet=0.00000800
 
 end
if currentstreak==-10 then

     nextbet=0.00000001

end end end



What i cant figure out is how to make it  when it reaches the 2nd balance and wins one bet to restart betting 80 cause it goes back to 8!

Any help would be appreciated i think its simple for the advanced users here!





Try this.  I didn't test it, but it's pretty simple.  It should be close. 

Code:
chance=49.5 --sets your chance for placing a bet
nextbet=0.00000008 --sets your first bet.
basebet=0.00000008 -- moved to only set once
currentbase = basebet -- save the current base bet

function dobet()


if profit > 0.00001000 then
resetstats()
currentbase = basebet -- reset to base bet
end
if win then

  nextbet=currentbase -- reset to the current base

 else

  nextbet=previousbet*2.54

 end

if currentstreak==-3 then

     nextbet=0.00000080
     currentbase = nextbet -- save current base
end
if currentstreak==-6 then

     nextbet=0.00000800
     currentbase = nextbet  -- save current base
 
 end
if currentstreak==-10 then

     nextbet=0.00000001

end end end

kostas159
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 06, 2017, 02:13:43 PM
Last edit: November 06, 2017, 05:57:58 PM by kostas159
 #893

Thank you very much now it actually resets to the correct sub-balance 1rst bet, but it doesnt go to the 3rd sub-balance. I want it every 3 losing streak to go to the next balance! What i have made seems to be that i have to have 6 losing streeak to go to the 3rd sub-balance! Any ideas?

chilly2k plz can u  help ive broken my mind trying to figure it out Smiley!  i itried  currentstreak%3==0  as i read the tutorial (https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-04-martingale-and-mini-if-tutorial) but it does recognise only concequtive loses!
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
November 06, 2017, 08:33:00 PM
 #894

Thank you very much now it actually resets to the correct sub-balance 1rst bet, but it doesnt go to the 3rd sub-balance. I want it every 3 losing streak to go to the next balance! What i have made seems to be that i have to have 6 losing streeak to go to the 3rd sub-balance! Any ideas?
So you're saying that if you are on 2nd sub-balance... and you get a win... it should still stay on 2nd sub-balance and "keep betting 0.00000080 until profit is 0.00001000" right?

If so, you'll probably need to use a boolean flag to keep track of which sub-balance you are betting on... so you can put another if statement inside the "if currentstreak==-3 then" block, so that it will work when you have a streak of 3 losses... I'm not sure it'll work properly with the 3rd sub-balance, after 1 win, I think it will reset to 0.00000008 and start again... but you get the idea

I've made some changes to chilly's script... added in "balance2" flag... I think it should be close to what you are after, but do bear in mind, this is completely untested!

Code:
chance=49.5 --sets your chance for placing a bet
nextbet=0.00000008 --sets your first bet.
basebet=0.00000008 -- moved to only set once
currentbase = basebet -- save the current base bet
balance2 = false -- flag to indicate we are using 2nd sub-balance

function dobet()

if profit > 0.00001000 then
  resetstats()
  currentbase = basebet -- reset to base bet
  balance2 = false -- made our profit, reset to 1st sub-balance
end
if win then

    if balance2 == false then
        nextbet=currentbase -- reset to the current base
    else
        -- using 2nd sub-balance, start from 0.0000080 until profit > 0.00001000
        nextbet=0.00000080
    end

else

    nextbet=previousbet*2.54

end

if currentstreak==-3 then

   if balance2 == false then
       balance2 = true
       nextbet=0.00000080
       currentbase = nextbet -- save current base
   else
       --already betting 2nd sub-balance, move to 3rd sub-balance
       nextbet = 0.00000800
       currentbase = nextbet -- save current base
   end

end

if currentstreak==-10 then

     nextbet=0.00000001

end
end end

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
kostas159
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 06, 2017, 08:57:38 PM
 #895

"So you're saying that if you are on 2nd sub-balance... and you get a win... it should still stay on 2nd sub-balance and "keep betting 0.00000080 until profit is 0.00001000" right?"

Hello my friend this is exactly what i want to do! But u are right it resets on the first win of 3rd balance! Sad If u ever find a solution pls share it! 
chilly2k (OP)
Legendary
*
Offline Offline

Activity: 1007
Merit: 1000


View Profile
November 06, 2017, 09:17:19 PM
 #896

"So you're saying that if you are on 2nd sub-balance... and you get a win... it should still stay on 2nd sub-balance and "keep betting 0.00000080 until profit is 0.00001000" right?"

Hello my friend this is exactly what i want to do! But u are right it resets on the first win of 3rd balance! Sad If u ever find a solution pls share it!  

You need to check for 3 states.  So you need to create a new variable, lets say sub.  set sub = 1 in the beginning of the script.  Then set sub = 2 and sub = 3 in each of the blocks that set the currentbase.

   Change the check (in the if win block) in HCP's code from..  Aw heck easier just to do it.

Code:
chance=49.5 --sets your chance for placing a bet
nextbet=0.00000008 --sets your first bet.
basebet=0.00000008 -- moved to only set once
currentbase = basebet -- save the current base bet
sub = 1 -- flag to indicate we are using 2nd sub-balance

function dobet()

if profit > 0.00001000 then
  resetstats()
  currentbase = basebet -- reset to base bet
  sub = 1 -- made our profit, reset to 1st sub-balance
end
if win then

     nextbet=currentbase -- reset to the current base

else

    nextbet=previousbet*2.54

end

if currentstreak==-3 or currentstreak == -6 then

   if sub == 1 then
       sub = 2
       nextbet=0.00000080
       currentbase = nextbet -- save current base
   else
       sub = 3
       --already betting 2nd sub-balance, move to 3rd sub-balance
       nextbet = 0.00000800
       currentbase = nextbet -- save current base
   end

end

if currentstreak==-10 then

     nextbet=0.00000001

end
end end


   There are still some issues.  What happens if your on sub = 3 and you keep losing 6 in a row then have a win.  (I didn't do the math).  Also what happens once you get a win, after 10 loses in a row?  

kostas159
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 06, 2017, 11:07:14 PM
 #897

chilly2k your code is perfect it does what it is meant to do! i will now try to  put a condition to restart or to stop after having 3 loses in a row in the 3rd tier! Thanks a lot!!
kostas159
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 07, 2017, 09:55:43 PM
 #898

Hello, chilly2k i tested the script all day i made 100k shatoshi and finally busted! I am trying to play with the chances and to add more lvls (more sub-balances to the script) and made this:

enablersc=true
enablezz=true
chance=6.15 --sets your chance for placing a bet
nextbet=0.00000001 --sets your first bet.
basebet=0.00000001 -- moved to only set once
currentbase = basebet -- save the current base bet
sub = 1 -- flag to indicate we are using 2nd sub-balance


function dobet()

if profit > 0.00000030 then
  resetstats()
  currentbase = basebet -- reset to base bet
  sub = 1 -- made our profit, reset to 1st sub-balance
end
if win then

     nextbet=currentbase -- reset to the current base

else

    nextbet=previousbet*2.67



if currentstreak==-3 or currentstreak == -6 then

   if sub == 1 then
       sub = 2
       nextbet=0.00000002
       currentbase = nextbet -- save current base
   else
       sub = 3
       --already betting 2nd sub-balance, move to 3rd sub-balance
       nextbet = 0.00000003
       currentbase = nextbet -- save current base end
   

if currentstreak==-9 or currentstreak == -12 then
if sub == 3 then
       sub = 4
       nextbet=0.00000004
       currentbase = nextbet -- save current base
   else
       sub = 5
       --already betting 2nd sub-balance, move to 3rd sub-balance
       nextbet = 0.00000005
       currentbase = nextbet -- save current base

   end end end end end
             




I added 2 more lvls but when a 9 streak lose it doesn recognise that i go to 4th sub-balance and keeps multiplying the last bet! Why is it doing this!


HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
November 07, 2017, 10:32:09 PM
 #899

I added 2 more lvls but when a 9 streak lose it doesn recognise that i go to 4th sub-balance and keeps multiplying the last bet! Why is it doing this!
You have the "if currentstreak == -9" statement INSIDE the "if currentstreak == -3" block... so that code will never trigger, as it can't be -3 and -9 at the same time! Tongue

You should really learn to properly indent and align your code, so it is easier to see the code "blocks"... properly indented your code looks like this:
Code:
enablersc=true
enablezz=true
chance=6.15 --sets your chance for placing a bet
nextbet=0.00000001 --sets your first bet.
basebet=0.00000001 -- moved to only set once
currentbase = basebet -- save the current base bet
sub = 1 -- flag to indicate we are using 2nd sub-balance


function dobet()

  if profit > 0.00000030 then
    resetstats()
    currentbase = basebet -- reset to base bet
    sub = 1 -- made our profit, reset to 1st sub-balance
  end
  
  if win then
    nextbet=currentbase -- reset to the current base
  else
    nextbet=previousbet*2.67
    
    if currentstreak==-3 or currentstreak == -6 then
      if sub == 1 then
        sub = 2
        nextbet=0.00000002
        currentbase = nextbet -- save current base
      else
        sub = 3
        --already betting 2nd sub-balance, move to 3rd sub-balance
        nextbet = 0.00000003
        currentbase = nextbet -- save current base end
    

        if currentstreak==-9 or currentstreak == -12 then
          if sub == 3 then
            sub = 4
            nextbet=0.00000004
            currentbase = nextbet -- save current base
          else
            sub = 5
            --already betting 2nd sub-balance, move to 3rd sub-balance
            nextbet = 0.00000005
            currentbase = nextbet -- save current base
          end
        
        end
      
      end
    
    end

  end


It actually looks like you're missing an "end" statement?? I assume the app is interpreting some of your if blocks in an unexpected way. Anyway, by looking at properly indented code, you can see how your IF statements are nest incorrectly... and your if currentstreak==-9 is in the wrong place... I'm guessing it should probably be something like this:
Code:
enablersc=true
enablezz=true
chance=6.15 --sets your chance for placing a bet
nextbet=0.00000001 --sets your first bet.
basebet=0.00000001 -- moved to only set once
currentbase = basebet -- save the current base bet
sub = 1 -- flag to indicate we are using 2nd sub-balance


function dobet()

  if profit > 0.00000030 then
    resetstats()
    currentbase = basebet -- reset to base bet
    sub = 1 -- made our profit, reset to 1st sub-balance
  end
  
  if win then
    nextbet=currentbase -- reset to the current base
  else
    nextbet=previousbet*2.67
    
    if currentstreak==-3 or currentstreak == -6 then
      if sub == 1 then
        sub = 2
        nextbet=0.00000002
        currentbase = nextbet -- save current base
      else
        sub = 3
        --already betting 2nd sub-balance, move to 3rd sub-balance
        nextbet = 0.00000003
        currentbase = nextbet -- save current base end
      end
    
    elseif currentstreak==-9 or currentstreak == -12 then
      if sub == 3 then
        sub = 4
        nextbet=0.00000004
        currentbase = nextbet -- save current base
      else
        sub = 5
        --already betting 2nd sub-balance, move to 3rd sub-balance
        nextbet = 0.00000005
        currentbase = nextbet -- save current base
      end

    end

  end
    
end

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
kostas159
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 07, 2017, 10:42:07 PM
 #900

Thanks a lot HCP that works! I really want to learn to program some scripts, i have some very good ideas to implement , i try to study a lot the scripts others do and to understand how it works but its the beggining and its normal to find it difficult even for easy stuff.  Hope u guys continue helping people like me.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 [45] 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!