Phyzyprogrammer
Member
Offline
Activity: 90
Merit: 10
Visit www.btcscriptbot.wordpress.com to get latest
|
|
June 07, 2017, 07:57:08 PM |
|
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
Activity: 1717
Merit: 1125
|
|
June 07, 2017, 08:06:11 PM |
|
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
Activity: 90
Merit: 10
Visit www.btcscriptbot.wordpress.com to get latest
|
|
June 07, 2017, 08:10:52 PM |
|
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
Activity: 90
Merit: 10
Visit www.btcscriptbot.wordpress.com to get latest
|
|
June 07, 2017, 08:24:12 PM |
|
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 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 (OP)
Legendary
Offline
Activity: 1007
Merit: 1000
|
|
June 07, 2017, 09:12:21 PM |
|
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 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. 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
Activity: 1717
Merit: 1125
|
|
June 07, 2017, 09:20:28 PM |
|
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
Activity: 90
Merit: 10
Visit www.btcscriptbot.wordpress.com to get latest
|
|
June 07, 2017, 10:37:40 PM |
|
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
Activity: 90
Merit: 10
Visit www.btcscriptbot.wordpress.com to get latest
|
|
June 07, 2017, 10:49:36 PM |
|
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 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. 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
|
|
|
chilly2k (OP)
Legendary
Offline
Activity: 1007
Merit: 1000
|
|
June 08, 2017, 01:17:59 AM |
|
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 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. 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 If the code is at least running. Start adding print statements to fix your logic. Like print("Dobet entered") and later in the win path print("roll won") print(nextbet) to show you set nextbet. You can print text in quotes or the values of variables. And .. concatenates the output. so print("Nextbet = "..nextbet) should print Nextbet = 0.00000001 The pseudo-code example I gave at the end of my last update is the script your asking for without the values filled in. Look that over carefully and try to understand what it's doing. Also the programming language used is called LUA. You can search for LUA tutorials.
|
|
|
|
B4RF
|
|
June 08, 2017, 06:27:00 AM |
|
-snip-
bro hv done everything but still doing the same
I can write you the code when I am back at home from work but is this still the behaviour you are looking for? here is the full explaination sir (thank u in advanced)
let say i bet 0.00000002 and i win, i want it to go back to the basebet and bet 0.00000002 But if i bet 0.00000002 and loss, then i want it to multiply *2 of my loss so my next bet will be 0.00000004 then if i loss again i want it to still double up the nextbet to 0.00000008 till i win then i want it to go back to the basebet thats if i win (i only want 10 loss in a row b4 changing to the 90% chance)
EXAMPLE
it will look like this when the lossing occurs 0.00000002 0.00000004 0.00000008 0.00000016 0.00000032 0.00000064 0.00000128 0.00000256 0.00000512 0.00001024 till it reach 10losses but now lets assum its has reach 10losses
so when i get 10 losses i want the bet to change to 0.0003 with a 90%chance so if i dont win it i want it to change to 0.0006bet with 94%chance so if i dont win again i want the third bet to change to 0.001btc with a 95%chance so if i in anycase win or loss THIS 90% 94% 95% CHANCES i want it to go back to base bet and restart again
I think there might be just a missing variable change in your code. might be helpfull if you can post your current state.
|
▄▄▄████████▄▄▄ ▄██████████████████▄ ▄██████████████████████▄ ██████████████████████████ ████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ████████████████████████████ ██████████████████████████ ▀██████████████████████▀ ▀██████████████████▀ ▀▀▀████████▀▀▀
| | | | ███████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ███████ | | | | ▄▄██████████████▄▄ ▄██████████████████████▄ █████ ▄██████████████████████████▄ █████ ████ ▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄ ████ ▄██▀ ████ █████ ██████ █████ ████ ▄██▀ ████ █████ ██████ █████ ████ ██▀ ████ █████ ██████ █████ ████ ██ ████ ▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀ ████ ▄██████▄ ████████████████████████████ ████████ ███████▀ ▀███████ ▀██████▀ █████▀ ▀█████ ▀██████████████████████████▀ ▀▀████████████████████▀▀ | | |
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4363
<insert witty quote here>
|
|
June 08, 2017, 07:06:24 AM |
|
List of issues he is experiencing: 1. He has mispelled variables 2. his dobet() function is: function dobet() basebet = 0.00000001 end
So basically all his script will ever do after each roll is set the basebet to 0.00000001 and then do the next roll with whatever chance, and bethigh values were set at start. 3. He has pretty much zero knowledge of programming (despite having read Seuntjies tutorials 30 times) 4. He still hasn't figured out that the programming language is called LUA after being told at least 3 times from memory 5. He doesn't understand the logical flow of the script (fairly common mistake of people new to programming) I applaud chilly2k and Seuntjie for their initial patience in trying to help... but there is a reason there is a "simple" (and "advanced") mode... Phyzyprogrammer... if you are serious about wanting to learn to use the programmer mode and no just run other peoples scripts, read this: https://www.lua.org/pil/contents.html
|
|
|
|
sree6020
Newbie
Offline
Activity: 51
Merit: 0
|
|
June 08, 2017, 10:13:14 AM |
|
I wanna make a program which makes bets like this: There is a basebet equal to 0.00000001. This basebet is placed with chance of 90% and bethigh=true.It is rolled till a number less than 9.99 is rolled.When the number less than 9.99 is rolled ,then the next bet is placed with same chance and same condition at an amount equal to (1/8) th of balance.If that bet is a win then the bet is back to base bet and continue the cycle and if the bet was a loss ,then the nextbet is placed with an amount equal to remaining balance and chance 98% with bethigh=true.This bet is placed consecutively till the balance reaches an amount greater than or equal to initial balance.
|
|
|
|
Phyzyprogrammer
Member
Offline
Activity: 90
Merit: 10
Visit www.btcscriptbot.wordpress.com to get latest
|
|
June 08, 2017, 10:42:41 AM |
|
bro thanks alot GOD bless u alot for ur efforts ,, i just saw the (pseudo-code example) u gave me and am trying to work on it i will post an update on it very soon.. once am done 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 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. 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 If the code is at least running. Start adding print statements to fix your logic. Like print("Dobet entered") and later in the win path print("roll won") print(nextbet) to show you set nextbet. You can print text in quotes or the values of variables. And .. concatenates the output. so print("Nextbet = "..nextbet) should print Nextbet = 0.00000001 The pseudo-code example I gave at the end of my last update is the script your asking for without the values filled in. Look that over carefully and try to understand what it's doing. Also the programming language used is called LUA. You can search for LUA tutorials.
|
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
Activity: 90
Merit: 10
Visit www.btcscriptbot.wordpress.com to get latest
|
|
June 08, 2017, 10:52:21 AM |
|
WOW! bro u are such a kinded hearth and generous person i will really appricaiate it sir ,,,, here is my currrent status of my script below (and yes i still want it to perform the same process i said b4) 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
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
end
if (balance) >= profittarget then stop(); print(balance) print("TARGET ACHIEVED!!!")
end
end its working but not following the process sir -snip-
bro hv done everything but still doing the same
I can write you the code when I am back at home from work but is this still the behaviour you are looking for? here is the full explaination sir (thank u in advanced)
let say i bet 0.00000002 and i win, i want it to go back to the basebet and bet 0.00000002 But if i bet 0.00000002 and loss, then i want it to multiply *2 of my loss so my next bet will be 0.00000004 then if i loss again i want it to still double up the nextbet to 0.00000008 till i win then i want it to go back to the basebet thats if i win (i only want 10 loss in a row b4 changing to the 90% chance)
EXAMPLE
it will look like this when the lossing occurs 0.00000002 0.00000004 0.00000008 0.00000016 0.00000032 0.00000064 0.00000128 0.00000256 0.00000512 0.00001024 till it reach 10losses but now lets assum its has reach 10losses
so when i get 10 losses i want the bet to change to 0.0003 with a 90%chance so if i dont win it i want it to change to 0.0006bet with 94%chance so if i dont win again i want the third bet to change to 0.001btc with a 95%chance so if i in anycase win or loss THIS 90% 94% 95% CHANCES i want it to go back to base bet and restart again
I think there might be just a missing variable change in your code. might be helpfull if you can post your current state.
|
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
Activity: 90
Merit: 10
Visit www.btcscriptbot.wordpress.com to get latest
|
|
June 08, 2017, 11:00:35 AM |
|
thankx alot bro, am checking out the link right now,, and jh bless u List of issues he is experiencing: 1. He has mispelled variables 2. his dobet() function is: function dobet() basebet = 0.00000001 end
So basically all his script will ever do after each roll is set the basebet to 0.00000001 and then do the next roll with whatever chance, and bethigh values were set at start. 3. He has pretty much zero knowledge of programming (despite having read Seuntjies tutorials 30 times) 4. He still hasn't figured out that the programming language is called LUA after being told at least 3 times from memory 5. He doesn't understand the logical flow of the script (fairly common mistake of people new to programming) I applaud chilly2k and Seuntjie for their initial patience in trying to help... but there is a reason there is a "simple" (and "advanced") mode... Phyzyprogrammer... if you are serious about wanting to learn to use the programmer mode and no just run other peoples scripts, read this: https://www.lua.org/pil/contents.html
|
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 (OP)
Legendary
Offline
Activity: 1007
Merit: 1000
|
|
June 08, 2017, 11:01:31 AM |
|
WOW! bro u are such a kinded hearth and generous person i will really appricaiate it sir ,,,, here is my currrent status of my script below (and yes i still want it to perform the same process i said b4) 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
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
end
if (balance) >= profittarget then stop(); print(balance) print("TARGET ACHIEVED!!!")
end
end its working but not following the process sir Your code is not even close to the pseudo-code. 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.
Try again. I've already explained why that script above doesn't work. If you don't understand then try reading the reply by HCP. and if you still don't understand then I'm sorry but I can't help.
|
|
|
|
Phyzyprogrammer
Member
Offline
Activity: 90
Merit: 10
Visit www.btcscriptbot.wordpress.com to get latest
|
|
June 08, 2017, 11:36:20 AM |
|
thankx bro for ur reply, okay, hv just created new script and i think am 1% far away for it to start working so when ever i start it it brings this msg i dont think its error tho,(Please set starting bet using nextbet = x.xxxxxxxx) so what should i do here, there is the new script below 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.00000004 --I hope this are the varies and value u asked me to set b4 dobet function baseBet2=0.00000007 --I hope this are the varies and value u asked me to set b4 dobet function baseBet3=0.00000009 --I hope this are the varies and value u asked me to set b4 dobet function nextbet=baseBet
function dobet() chance=28.08 baseBet=0.00000001 end
if win then
nextbet=baseBet
else
nextbet=previousbet*baseBet
if currentstreak== -10 then
chance = chance1 nextbet=baseBet1 bethigh = false
end if currentstreak == -11 then chance = chance2 nextbet=baseBet2 bethigh = true
end
if currentstreak == -12 then
chance = chance3 nextbet=baseBet3 bethigh = false
end
if currentstreak < -12 then nextbet = basebet chance = default bethigh = false end end WOW! bro u are such a kinded hearth and generous person i will really appricaiate it sir ,,,, here is my currrent status of my script below (and yes i still want it to perform the same process i said b4) 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
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
end
if (balance) >= profittarget then stop(); print(balance) print("TARGET ACHIEVED!!!")
end
end its working but not following the process sir Your code is not even close to the pseudo-code. 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.
Try again. I've already explained why that script above doesn't work. If you don't understand then try reading the reply by HCP. and if you still don't understand then I'm sorry but I can't help.
|
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
Activity: 90
Merit: 10
Visit www.btcscriptbot.wordpress.com to get latest
|
|
June 08, 2017, 11:37:47 AM |
|
it still the same script tho i just modified some stuffs in it the way u told me to
|
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
|
|
|
B4RF
|
|
June 08, 2017, 09:13:52 PM |
|
WOW! bro u are such a kinded hearth and generous person i will really appricaiate it sir ,,,, here is my currrent status of my script below (and yes i still want it to perform the same process i said b4)
-snip-
wagered=0 chance0=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 baseBet=0.00000001 -- should the baseBet be up here? baseBet1=0.00030000 --I hope this are the varies and value u asked me to set b4 dobet function baseBet2=0.00060000 --I hope this are the varies and value u asked me to set b4 dobet function baseBet3=0.00100000 --I hope this are the varies and value u asked me to set b4 dobet function profitterget=0.00100000
nextbet=baseBet
function dobet() wagered=wagered+previousbet chance = chance0 if win then nextbet=baseBet else nextbet=previousbet*2 end if currentstreak==-10 then chance=chance1 nextbet=baseBet1 end if currentstreak==-11 then chance=chance2 nextbet=baseBet2 end if currentstreak==-12 then chance=chance3 nextbet=baseBet3 end if currentstreak<-12 then chance=chance0 nextbet=baseBet end if (balance) >= profittarget then print(balance) print("TARGET ACHIEVED!!!") stop(); end end
Sry for the late reply...I didnt test it since I had not much time and I removed the betHigh/betLow bs since that makes no sense @HCP you are actually right ... but I already sayd I will look into it and maybe it will help him to have one functioning code in his hands xD
|
▄▄▄████████▄▄▄ ▄██████████████████▄ ▄██████████████████████▄ ██████████████████████████ ████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ████████████████████████████ ██████████████████████████ ▀██████████████████████▀ ▀██████████████████▀ ▀▀▀████████▀▀▀
| | | | ███████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ██████████ ███████ | | | | ▄▄██████████████▄▄ ▄██████████████████████▄ █████ ▄██████████████████████████▄ █████ ████ ▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄ ████ ▄██▀ ████ █████ ██████ █████ ████ ▄██▀ ████ █████ ██████ █████ ████ ██▀ ████ █████ ██████ █████ ████ ██ ████ ▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀ ████ ▄██████▄ ████████████████████████████ ████████ ███████▀ ▀███████ ▀██████▀ █████▀ ▀█████ ▀██████████████████████████▀ ▀▀████████████████████▀▀ | | |
|
|
|
Phyzyprogrammer
Member
Offline
Activity: 90
Merit: 10
Visit www.btcscriptbot.wordpress.com to get latest
|
|
June 08, 2017, 10:14:42 PM |
|
thankx alot bro for ur efforts the script worked, BUT (worked upside down, the first bet is 28.08 chance but it went to bet at 94% chance , and again it stops after only one bet i get this error after the 1bet (Betting Stopped! [string "chunk"]:36: attempt to compare nil with number) pls what could be the error WOW! bro u are such a kinded hearth and generous person i will really appricaiate it sir ,,,, here is my currrent status of my script below (and yes i still want it to perform the same process i said b4)
-snip-
wagered=0 chance0=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 baseBet=0.00000001 -- should the baseBet be up here? baseBet1=0.00030000 --I hope this are the varies and value u asked me to set b4 dobet function baseBet2=0.00060000 --I hope this are the varies and value u asked me to set b4 dobet function baseBet3=0.00100000 --I hope this are the varies and value u asked me to set b4 dobet function profitterget=0.00100000
nextbet=baseBet
function dobet() wagered=wagered+previousbet chance = chance0 if win then nextbet=baseBet else nextbet=previousbet*2 end if currentstreak==-10 then chance=chance1 nextbet=baseBet1 end if currentstreak==-11 then chance=chance2 nextbet=baseBet2 end if currentstreak==-12 then chance=chance3 nextbet=baseBet3 end if currentstreak<-12 then chance=chance0 nextbet=baseBet end if (balance) >= profittarget then print(balance) print("TARGET ACHIEVED!!!") stop(); end end
Sry for the late reply...I didnt test it since I had not much time and I removed the betHigh/betLow bs since that makes no sense @HCP you are actually right ... but I already sayd I will look into it and maybe it will help him to have one functioning code in his hands xD
|
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
|
|
|
|