Bitcoin Forum
October 22, 2017, 06:45:39 AM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
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 »
  Print  
Author Topic: Seuntjie' Dice bot programmers mode discussion.  (Read 48468 times)
seuntjie
Legendary
*
Offline Offline

Activity: 1414



View Profile WWW
June 07, 2017, 04:24:33 PM
 #681

Code:
if win then

 nextbet=baseBet

else

 nextbet=baseBet

 end

Programming works from TOP DOWN. That's the last thing in your script. So you do everything, then at the end you say

If you I win set my bet to base bet, but if I lose, set my bet to base bet.

So if you win, what is your bet going to be?
If you lose, what is your bet going to be?
When is your bet going to be something else?

1508654739
Hero Member
*
Offline Offline

Posts: 1508654739

View Profile Personal Message (Offline)

Ignore
1508654739
Reply with quote  #2

1508654739
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508654739
Hero Member
*
Offline Offline

Posts: 1508654739

View Profile Personal Message (Offline)

Ignore
1508654739
Reply with quote  #2

1508654739
Report to moderator
Phyzyprogrammer
Member
**
Offline Offline

Activity: 70

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 07, 2017, 05:43:32 PM
 #682

Code:
if win then

 nextbet=baseBet

else

 nextbet=baseBet

 end

Programming works from TOP DOWN. That's the last thing in your script. So you do everything, then at the end you say

If you I win set my bet to base bet, but if I lose, set my bet to base bet.

So if you win, what is your bet going to be?
If you lose, what is your bet going to be?
When is your bet going to be something else?
[/quote

okay i get but have set it already ....
or do i need to put the amount again?
e.g
if win then

 nextbet=0.00000001

else

 nextbet=0.00000001

end

what am trying to do is to let the bet reset to basebet there back at the end of my last 95%chance bet (incase if i win or not)

hope am right sir

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
Phyzyprogrammer
Member
**
Offline Offline

Activity: 70

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 07, 2017, 06:10:35 PM
 #683

thankx alot for ur help bro,,
here is my complete script below

Code:
wagered=0   
 wagered=wagered+previousbet
 chance=28.08
 chance1=90.4  --I hope this are the varies and value u asked me to set b4 dobet function
 chance2=94     --I hope this are the varies and value u asked me to set b4 dobet function
 chance3=95     --I hope this are the varies and value u asked me to set b4 dobet function
 bethigh=false
 baseBet=0.00000001 -- should the baseBet be up here?
 baseBet1=0.00000020   --I hope this are the varies and value u asked me to set b4 dobet function
 baseBet2=0.00000030   --I hope this are the varies and value u asked me to set b4 dobet function
 baseBet3=0.00000050   --I hope this are the varies and value u asked me to set b4 dobet function
 profitterget=0.00100000
 nextbet=baseBet

function dobet()

 baseBet=0.00000001

end

if win then

 nextbet=baseBet

else

 nextbet=previousbet+baseBet

end

if currentstreak==-10 then

chance = chance1
betlow = false

 nextbet=baseBet1

else
 
 if win then

  nextbet=baseBet

else
 
chance = chance2
bethigh = true

 nextbet=baseBet2

else

if win then

 nextbet=baseBet

else

chance = chance3
bethigh = false

 nextbet=baseBet3

end

if win then

 nextbet=baseBet

else

 nextbet=baseBet

 end

 
if (balance) >= profittarget then
stop();
print(balance)
print("TARGET ACHIEVED!!!")

 end

end

but it dosnt start when ever i try to start it,,
i still get error(LUA ERROR!!
[string "chunk"]:44: attempt to compare nil with number)

pls what am i still doing wrong

pls help check if am right on the varies i created b4 the dobet function
and if i use it well in the script,,,


and also is the end of my script correct?

Code:
if win then

 nextbet=baseBet

else

 nextbet=baseBet

 end

cus am trying to reset it back to basebet

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
seuntjie
Legendary
*
Offline Offline

Activity: 1414



View Profile WWW
June 07, 2017, 06:14:41 PM
 #684

thankx alot for ur help bro,,
here is my complete script below

Code:
wagered=0   
 wagered=wagered+previousbet
 chance=28.08
 chance1=90.4  --I hope this are the varies and value u asked me to set b4 dobet function
 chance2=94     --I hope this are the varies and value u asked me to set b4 dobet function
 chance3=95     --I hope this are the varies and value u asked me to set b4 dobet function
 bethigh=false
 baseBet=0.00000001 -- should the baseBet be up here?
 baseBet1=0.00000020   --I hope this are the varies and value u asked me to set b4 dobet function
 baseBet2=0.00000030   --I hope this are the varies and value u asked me to set b4 dobet function
 baseBet3=0.00000050   --I hope this are the varies and value u asked me to set b4 dobet function
 profitterget=0.00100000
 nextbet=baseBet

function dobet()

 baseBet=0.00000001

end

if win then

 nextbet=baseBet

else

 nextbet=previousbet+baseBet

end

if currentstreak==-10 then

chance = chance1
betlow = false

 nextbet=baseBet1

else
 
 if win then

  nextbet=baseBet

else
 
chance = chance2
bethigh = true

 nextbet=baseBet2

else

if win then

 nextbet=baseBet

else

chance = chance3
bethigh = false

 nextbet=baseBet3

end

if win then

 nextbet=baseBet

else

 nextbet=baseBet

 end

 
if (balance) >= profittarget then
stop();
print(balance)
print("TARGET ACHIEVED!!!")

 end

end

but it dosnt start when ever i try to start it,,
i still get error(LUA ERROR!!
[string "chunk"]:44: attempt to compare nil with number)

pls what am i still doing wrong

pls help check if am right on the varies i created b4 the dobet function
and if i use it well in the script,,,


and also is the end of my script correct?

Code:
if win then

 nextbet=baseBet

else

 nextbet=baseBet

 end

cus am trying to reset it back to basebet

check the spelling of your variables.


run the script as it is (if you can get it to run) and see what happens.

chilly2k
Legendary
*
Offline Offline

Activity: 920


View Profile
June 07, 2017, 06:18:54 PM
 #685

Code:
if win then

 nextbet=baseBet

else

 nextbet=baseBet

 end

Programming works from TOP DOWN. That's the last thing in your script. So you do everything, then at the end you say

If you I win set my bet to base bet, but if I lose, set my bet to base bet.

So if you win, what is your bet going to be?
If you lose, what is your bet going to be?
When is your bet going to be something else?

okay i get but have set it already ....
or do i need to put the amount again?
e.g
if win then

 nextbet=0.00000001

else

 nextbet=0.00000001

end

what am trying to do is to let the bet reset to basebet there back at the end of my last 95%chance bet (incase if i win or not)

hope am right sir

That's where your getting confused.  The Bot doesn't bet and jump around in the dobet function.  EVERY bet goes through the whole dobet function.  

So, with those statements at the end of the function, EVERY time a roll is made the last thing your going to do, before the next roll, is set nextbet to .00000001.    Here is an incomplete example.

Code:
basebet = 0.00000001
nextbet = basebet

function dobet()

if win then
   nextbet= basebet
else
   nextbet = prevoiusbet * 2
   if currentstreak == -10 then
      chance = 92
      nextbet = 57
      bethigh = true
   end
end

    this creates and set the variable basebet to .00000001
   and then sets the built in variable (nextbet) to the value of basebet
it just defines the dobet function at this time.  It doesn't run just yet.  

The bot gets control back and communicates with the dice site and does it's first roll.
when it gets the results back it calls the dobet function.

for this script, if the bet won, it sets nextbet to basebet and ends (returns to the bot for the next roll)

if the roll lost it takes the else path, it always sets the nextbet to the last bet * 2.  it then checks the currentstreak built in
  and if it's -10 (10 loses) it sets the chance, nextbet and bethigh. and goes back to the bot, if the currentstreak was not equal to
-10 it just ended and returned for the next roll.  Note it doesn't change chance or bethigh.  

You could add additional if statements at the end to check for other loss streaks and set things as you want, and as the last one make it
if currentstreak > -X then
  and always reset stuff.  
Don't code ==-15 because you could end up in the code with the currentstreak = -16....  or -17 if you have really bad luck.    
  
                        


Phyzyprogrammer
Member
**
Offline Offline

Activity: 70

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 07, 2017, 06:52:59 PM
 #686

hello thankx for ur effort sir,

my script as started working but its not performing some actions

1- it dosnt +the previous bet with the basebet
2- if the current streak is 10 it still wont change the bet to the nextbet it just continue to bet with the basebet on and on

Code:
wagered=0   
 wagered=wagered+previousbet
 chance=28.08
 chance1=90.4  --I hope this are the varies and value u asked me to set b4 dobet function
 chance2=94     --I hope this are the varies and value u asked me to set b4 dobet function
 chance3=95     --I hope this are the varies and value u asked me to set b4 dobet function
 bethigh=false
 baseBet=0.00000001 -- should the baseBet be up here?
 baseBet1=0.00000020   --I hope this are the varies and value u asked me to set b4 dobet function
 baseBet2=0.00000030   --I hope this are the varies and value u asked me to set b4 dobet function
 baseBet3=0.00000050   --I hope this are the varies and value u asked me to set b4 dobet function
 profitterget=0.00100000
 nextbet=baseBet

function dobet()

chance = 28.08

 baseBet=0.00000001

end

if win then

 nextbet=baseBet

else

 nextbet=previousbet+baseBet  -- it dse not perform this action

end

if currentstreak==-10 then  -- it dosnt perform this action too and any of the action below also.. but its just betting on with the base bet

chance = chance1
betlow = false

 nextbet=baseBet1

end
 
 if win then

  nextbet=baseBet

else
 
chance = chance2
bethigh = true

 nextbet=baseBet2

end

if win then

 nextbet=baseBet

else

chance = chance3
bethigh = false

 nextbet=baseBet3

end

 nextbet=baseBet

end
 
if (balance) >= profittarget then
stop();
print(balance)
print("TARGET ACHIEVED!!!")

 end

end


pls what should i do

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
chilly2k
Legendary
*
Offline Offline

Activity: 920


View Profile
June 07, 2017, 06:59:20 PM
 #687

hello thankx for ur effort sir,

my script as started working but its not performing some actions

1- it dosnt +the previous bet with the basebet
2- if the current streak is 10 it still wont change the bet to the nextbet it just continue to bet with the basebet on and on

Code:
wagered=0   
 wagered=wagered+previousbet
 chance=28.08
 chance1=90.4  --I hope this are the varies and value u asked me to set b4 dobet function
 chance2=94     --I hope this are the varies and value u asked me to set b4 dobet function
 chance3=95     --I hope this are the varies and value u asked me to set b4 dobet function
 bethigh=false
 baseBet=0.00000001 -- should the baseBet be up here?
 baseBet1=0.00000020   --I hope this are the varies and value u asked me to set b4 dobet function
 baseBet2=0.00000030   --I hope this are the varies and value u asked me to set b4 dobet function
 baseBet3=0.00000050   --I hope this are the varies and value u asked me to set b4 dobet function
 profitterget=0.00100000
 nextbet=baseBet

function dobet()

chance = 28.08

 baseBet=0.00000001

end

if win then

 nextbet=baseBet

else

 nextbet=previousbet+baseBet  -- it dse not perform this action

end

if currentstreak==-10 then  -- it dosnt perform this action too and any of the action below also.. but its just betting on with the base bet

chance = chance1
betlow = false

 nextbet=baseBet1

end
 
 if win then

  nextbet=baseBet

else
 
chance = chance2
bethigh = true

 nextbet=baseBet2

end

if win then

 nextbet=baseBet

else

chance = chance3
bethigh = false

 nextbet=baseBet3

end

 nextbet=baseBet

end
 
if (balance) >= profittarget then
stop();
print(balance)
print("TARGET ACHIEVED!!!")

 end

end


pls what should i do

I told you it would fail.....


bro i have recorrect it and i tested it thankx alot for the hint sir,,,
so when i corrected it and started it i got a error (LUA ERROR!!
[string "chunk"]:14: attempt to perform arithmetic on global 'baseBet' (a nil value)
)

Code:
wagered=0   
 wagered=wagered+previousbet
 chance=28.08
 bethigh=false
 profitterget=0.00100000
 nextbet=baseBet

function dobet()

chance = 28.08

 baseBet=0.00000001

end

if win then

 nextbet=baseBet

else

 nextbet=previousbet+baseBet

end

if currentstreak==-10 then

chance = 90.4
betlow = false

 nextbet=0.00000020

end
 
 if win then

  nextbet=baseBet

else
 
chance = 94
bethigh = true

 nextbet=0.00000030

end

if win then

 nextbet=baseBet

else

chance = 95
bethigh = false

 nextbet=0.00000050

end

if win then

 nextbet=baseBet

else

 nextbet=baseBet

 end

 
if (balance) >= profittarget then
stop();
print(balance)
print("TARGET ACHIEVED!!!")

 end

end

Everything before the "function dobet()"   gets done ONCE when you start the script.  baseBet is your variable (you created it).  You can't use it until you define it and set a value to it.  LUA doesn't know what to do with nextbet = baseBet.  because you didn't tell it what baseBet is.  You have  baseBet=0.00000001 after the dobet funtion line.  You need to move that, or copy it to the init statements before the line that trys to set nextbet.
  If you want to reset baseBet after each roll you can leave it after dobet, but if you want the script to change it at some point, you should just set it in the beginning and not after each bet. 

Also you have ...
Code:
if win then
   nextbet=baseBet
else
   chance = 94
   bethigh = true
   nextbet=0.00000030
end

if win then
   nextbet=baseBet
else
   chance = 95
   bethigh = false
   nextbet=0.00000050
end

if win then
   nextbet=baseBet
else
   nextbet=baseBet
end


  nextbet is ALWAYS going to be baseBet.  After each roll dobet gets run.  win is going to be either true or false the whole time dobet runs.  So if you roll and you win, your going to set nextbet = baseBet 3 times, if you lose, you'll set it to 30 Sat then 50 and then back to baseBet.  Also chance will be 95% and bethigh will be false. 

  If this doesn't make sense now, it will once you correct the baseBet setting....     

Phyzyprogrammer
Member
**
Offline Offline

Activity: 70

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 07, 2017, 07:10:14 PM
 #688

okay u mean i should try

if win then

 baseBet1=0.00000020
nextbet=baseBet

 else

 chance = chance3
nextbet=baseBet1
bethighlow = false

end

or like this?

if win then

nextbet=baseBet

 else

 chance = chance3
baseBet1=0.00000020
nextbet=baseBet1
bethighlow = false

end

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
Phyzyprogrammer
Member
**
Offline Offline

Activity: 70

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 07, 2017, 07:15:26 PM
 #689

update,,,
bro none of it is working i tried it but still doing the same


okay u mean i should try

if win then

 baseBet1=0.00000020
nextbet=baseBet

 else

 chance = chance3
nextbet=baseBet1
bethighlow = false

end

or like this?

if win then

nextbet=baseBet

 else

 chance = chance3
baseBet1=0.00000020
nextbet=baseBet1
bethighlow = false

end

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
seuntjie
Legendary
*
Offline Offline

Activity: 1414



View Profile WWW
June 07, 2017, 07:16:40 PM
 #690

okay u mean i should try

if win then

 baseBet1=0.00000020
nextbet=baseBet

 else

 chance = chance3
nextbet=baseBet1
bethighlow = false

end

or like this?

if win then

nextbet=baseBet

 else

 chance = chance3
baseBet1=0.00000020
nextbet=baseBet1
bethighlow = false

end

Explain to me what:

if win then
....
else
....
end

does.

Phyzyprogrammer
Member
**
Offline Offline

Activity: 70

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 07, 2017, 07:25:55 PM
 #691

okay u mean i should try

if win then

 baseBet1=0.00000020
nextbet=baseBet

 else

 chance = chance3
nextbet=baseBet1
bethighlow = false

end

or like this?

if win then

nextbet=baseBet

 else

 chance = chance3
baseBet1=0.00000020
nextbet=baseBet1
bethighlow = false

end

Explain to me what:

if win then
....
else
....
end

does.


if win the
nextbet=basebet
else
chance=chance1 --(which is the 90% chance b4 the dobet function)
nextbet=basebet1 --(which is the 0.00000020 with 90% chance)
betlow=false

end
end

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
seuntjie
Legendary
*
Offline Offline

Activity: 1414



View Profile WWW
June 07, 2017, 07:40:20 PM
 #692

that's not what I asked.

Explain to me in english what it does.

Phyzyprogrammer
Member
**
Offline Offline

Activity: 70

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 07, 2017, 07:57:08 PM
 #693

what if dose is that it check if u win or what u want it to check then
what then dose is that u tell it what u want to let happen next
then end is to finish it

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
seuntjie
Legendary
*
Offline Offline

Activity: 1414



View Profile WWW
June 07, 2017, 08:06:11 PM
 #694

what if dose is that it check if u win or what u want it to check then
what then dose is that u tell it what u want to let happen next
then end is to finish it

and the else part?

Phyzyprogrammer
Member
**
Offline Offline

Activity: 70

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 07, 2017, 08:10:52 PM
 #695

what if dose is that it check if u win or what u want it to check then
what then dose is that u tell it what u want to let happen next
then end is to finish it

and the else part?

if any of ur predition is not true then the else part  it should do the one that is similler to the false prediction

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
Phyzyprogrammer
Member
**
Offline Offline

Activity: 70

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 07, 2017, 08:24:12 PM
 #696

pls check my script .....
at the end i changed it from

if win then
 nextbet=baseBet
else
 nextbet=baseBet
end
 end
 
 TO

end

 nextbet=baseBet

end

THATS WHY IT STARTED WORKING BUT STILL NOT FOLOWING THEPROCESS IT SHOULD FOLLOW


hello thankx for ur effort sir,

my script as started working but its not performing some actions

1- it dosnt +the previous bet with the basebet
2- if the current streak is 10 it still wont change the bet to the nextbet it just continue to bet with the basebet on and on

Code:
wagered=0   
 wagered=wagered+previousbet
 chance=28.08
 chance1=90.4  --I hope this are the varies and value u asked me to set b4 dobet function
 chance2=94     --I hope this are the varies and value u asked me to set b4 dobet function
 chance3=95     --I hope this are the varies and value u asked me to set b4 dobet function
 bethigh=false
 baseBet=0.00000001 -- should the baseBet be up here?
 baseBet1=0.00000020   --I hope this are the varies and value u asked me to set b4 dobet function
 baseBet2=0.00000030   --I hope this are the varies and value u asked me to set b4 dobet function
 baseBet3=0.00000050   --I hope this are the varies and value u asked me to set b4 dobet function
 profitterget=0.00100000
 nextbet=baseBet

function dobet()

chance = 28.08

 baseBet=0.00000001

end

if win then

 nextbet=baseBet

else

 nextbet=previousbet+baseBet  -- it dse not perform this action

end

if currentstreak==-10 then  -- it dosnt perform this action too and any of the action below also.. but its just betting on with the base bet

chance = chance1
betlow = false

 nextbet=baseBet1

end
 
 if win then

  nextbet=baseBet

else
 
chance = chance2
bethigh = true

 nextbet=baseBet2

end

if win then

 nextbet=baseBet

else

chance = chance3
bethigh = false

 nextbet=baseBet3

end

 nextbet=baseBet

end
 
if (balance) >= profittarget then
stop();
print(balance)
print("TARGET ACHIEVED!!!")

 end

end


pls what should i do

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
chilly2k
Legendary
*
Offline Offline

Activity: 920


View Profile
June 07, 2017, 09:12:21 PM
 #697

pls check my script .....
at the end i changed it from

if win then
 nextbet=baseBet
else
 nextbet=baseBet
end
 end
 
 TO

end

 nextbet=baseBet

end

THATS WHY IT STARTED WORKING BUT STILL NOT FOLOWING THEPROCESS IT SHOULD FOLLOW


hello thankx for ur effort sir,

my script as started working but its not performing some actions

1- it dosnt +the previous bet with the basebet
2- if the current streak is 10 it still wont change the bet to the nextbet it just continue to bet with the basebet on and on

Code:
wagered=0   
 wagered=wagered+previousbet
 chance=28.08
 chance1=90.4  --I hope this are the varies and value u asked me to set b4 dobet function
 chance2=94     --I hope this are the varies and value u asked me to set b4 dobet function
 chance3=95     --I hope this are the varies and value u asked me to set b4 dobet function
 bethigh=false
 baseBet=0.00000001 -- should the baseBet be up here?
 baseBet1=0.00000020   --I hope this are the varies and value u asked me to set b4 dobet function
 baseBet2=0.00000030   --I hope this are the varies and value u asked me to set b4 dobet function
 baseBet3=0.00000050   --I hope this are the varies and value u asked me to set b4 dobet function
 profitterget=0.00100000
 nextbet=baseBet

function dobet()

chance = 28.08

 baseBet=0.00000001

end

if win then

 nextbet=baseBet

else

 nextbet=previousbet+baseBet  -- it dse not perform this action

end

if currentstreak==-10 then  -- it dosnt perform this action too and any of the action below also.. but its just betting on with the base bet

chance = chance1
betlow = false

 nextbet=baseBet1

end
 
 if win then

  nextbet=baseBet

else
 
chance = chance2
bethigh = true

 nextbet=baseBet2

end

if win then

 nextbet=baseBet

else

chance = chance3
bethigh = false

 nextbet=baseBet3

end

 nextbet=baseBet

end
 
if (balance) >= profittarget then
stop();
print(balance)
print("TARGET ACHIEVED!!!")

 end

end


pls what should i do
  You really need to understand the logic of your script.  Lets say the bot rolled and you lost.  dobet() is entered
it does.
chance = 28.08

 baseBet=0.00000001

end

end is the end of the function, nothing after that matters.   It can get tricky because you have to also end an if/else group.   

Here is your code with better formatting so you can spot error's easier. 

Code:
wagered=0   
wagered=wagered+previousbet  <---  There is no previous bet at this point.  This doesn't do anything. 
chance=28.08
chance1=90.4 
chance2=94   
chance3=95   
bethigh=false
baseBet=0.00000001
baseBet1=0.00000020   
baseBet2=0.00000030 
baseBet3=0.00000050   
profitterget=0.00100000  <  This is misspelled... 
nextbet=baseBet

function dobet()

   chance = 28.08
   baseBet=0.00000001

end   < This ends the function dobet()  Nothing after this matters....   IE Get rid of this.......

   if win then
      nextbet=baseBet
   else
      nextbet=previousbet+baseBet  -- it dse not perform this action
   end

   if currentstreak==-10 then  -- it dosnt perform this action too and any of the action below also.. but its just betting on with the base bet
      chance = chance1
      betlow = false               --  betlow is not a valid name. 
      nextbet=baseBet1
   end
 
   if win then
      nextbet=baseBet
   else
      chance = chance2
      bethigh = true
      nextbet=baseBet2
   end

   if win then                        -- No matter what you did above this is the only block that will matter.
      nextbet=baseBet
   else
      chance = chance3
      bethigh = false
      nextbet=baseBet3
   end

   nextbet=baseBet               -- and now your just setting nextbet to always be equal to basebet   

end                                 -- Again not sure what this is for
 
if (balance) >= profittarget then
   stop();
   print(balance)
   print("TARGET ACHIEVED!!!")
end

end --This should be at the end of the

You can have nested if statement. 

if win then
else
   nextbet = previousbet * 2
   if currentstreak == -10 then
      do your 10 lose stuff
   end
   if currentstreak == -11 then
      11 lose
   end
   if currentstreak == -12 then
      12 lose
   end
   if currentstreak < -12 then
        reset everything
      nextbet = basebet
      chance = default
      bethigh = whatever you want it to be.
   end
end

   Then you could add the profit stuff.  But I would make sure the main code is working before adding stuff.  It makes it easier to catch any errors. 

seuntjie
Legendary
*
Offline Offline

Activity: 1414



View Profile WWW
June 07, 2017, 09:20:28 PM
 #698

I'm not going to try anymore.

 Phyzyprogrammer you shouldn't be using the programmer mode. Use the advanced mode or PAY chilly2k or HCP to write your script for you.

Phyzyprogrammer
Member
**
Offline Offline

Activity: 70

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 07, 2017, 10:37:40 PM
 #699

okay pls b4 u leave me pls kindly tell me what programming languag can i learn in other to create dicebot script
thankx alot

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
Phyzyprogrammer
Member
**
Offline Offline

Activity: 70

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 07, 2017, 10:49:36 PM
 #700

pls check my script .....
at the end i changed it from

if win then
 nextbet=baseBet
else
 nextbet=baseBet
end
 end
 
 TO

end

 nextbet=baseBet

end

THATS WHY IT STARTED WORKING BUT STILL NOT FOLOWING THEPROCESS IT SHOULD FOLLOW


hello thankx for ur effort sir,

my script as started working but its not performing some actions

1- it dosnt +the previous bet with the basebet
2- if the current streak is 10 it still wont change the bet to the nextbet it just continue to bet with the basebet on and on

Code:
wagered=0   
 wagered=wagered+previousbet
 chance=28.08
 chance1=90.4  --I hope this are the varies and value u asked me to set b4 dobet function
 chance2=94     --I hope this are the varies and value u asked me to set b4 dobet function
 chance3=95     --I hope this are the varies and value u asked me to set b4 dobet function
 bethigh=false
 baseBet=0.00000001 -- should the baseBet be up here?
 baseBet1=0.00000020   --I hope this are the varies and value u asked me to set b4 dobet function
 baseBet2=0.00000030   --I hope this are the varies and value u asked me to set b4 dobet function
 baseBet3=0.00000050   --I hope this are the varies and value u asked me to set b4 dobet function
 profitterget=0.00100000
 nextbet=baseBet

function dobet()

chance = 28.08

 baseBet=0.00000001

end

if win then

 nextbet=baseBet

else

 nextbet=previousbet+baseBet  -- it dse not perform this action

end

if currentstreak==-10 then  -- it dosnt perform this action too and any of the action below also.. but its just betting on with the base bet

chance = chance1
betlow = false

 nextbet=baseBet1

end
 
 if win then

  nextbet=baseBet

else
 
chance = chance2
bethigh = true

 nextbet=baseBet2

end

if win then

 nextbet=baseBet

else

chance = chance3
bethigh = false

 nextbet=baseBet3

end

 nextbet=baseBet

end
 
if (balance) >= profittarget then
stop();
print(balance)
print("TARGET ACHIEVED!!!")

 end

end


pls what should i do
  You really need to understand the logic of your script.  Lets say the bot rolled and you lost.  dobet() is entered
it does.
chance = 28.08

 baseBet=0.00000001

end

end is the end of the function, nothing after that matters.   It can get tricky because you have to also end an if/else group.   

Here is your code with better formatting so you can spot error's easier. 

Code:
wagered=0   
wagered=wagered+previousbet  <---  There is no previous bet at this point.  This doesn't do anything. 
chance=28.08
chance1=90.4 
chance2=94   
chance3=95   
bethigh=false
baseBet=0.00000001
baseBet1=0.00000020   
baseBet2=0.00000030 
baseBet3=0.00000050   
profitterget=0.00100000  <  This is misspelled... 
nextbet=baseBet

function dobet()

   chance = 28.08
   baseBet=0.00000001

end   < This ends the function dobet()  Nothing after this matters....   IE Get rid of this.......

   if win then
      nextbet=baseBet
   else
      nextbet=previousbet+baseBet  -- it dse not perform this action
   end

   if currentstreak==-10 then  -- it dosnt perform this action too and any of the action below also.. but its just betting on with the base bet
      chance = chance1
      betlow = false               --  betlow is not a valid name. 
      nextbet=baseBet1
   end
 
   if win then
      nextbet=baseBet
   else
      chance = chance2
      bethigh = true
      nextbet=baseBet2
   end

   if win then                        -- No matter what you did above this is the only block that will matter.
      nextbet=baseBet
   else
      chance = chance3
      bethigh = false
      nextbet=baseBet3
   end

   nextbet=baseBet               -- and now your just setting nextbet to always be equal to basebet   

end                                 -- Again not sure what this is for
 
if (balance) >= profittarget then
   stop();
   print(balance)
   print("TARGET ACHIEVED!!!")
end

end --This should be at the end of the

You can have nested if statement. 

if win then
else
   nextbet = previousbet * 2
   if currentstreak == -10 then
      do your 10 lose stuff
   end
   if currentstreak == -11 then
      11 lose
   end
   if currentstreak == -12 then
      12 lose
   end
   if currentstreak < -12 then
        reset everything
      nextbet = basebet
      chance = default
      bethigh = whatever you want it to be.
   end
end

   Then you could add the profit stuff.  But I would make sure the main code is working before adding stuff.  It makes it easier to catch any errors. 

]





bro hv done everything but still doing the same

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
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 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!