chilly2k (OP)
Legendary
Offline
Activity: 1007
Merit: 1000
|
|
April 28, 2017, 11:56:47 PM |
|
Ok so i want it to be Lo Lo Hi Hi Lo Lo Lo Hi Hi Hi multiply on lose going to the next bet on win I know that what i have is not working but i need to know why? chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = false function dobet() if !win then else nextbet=previousbet*multiplier else ----What to put there if i want tit to be this chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = false if !win then nextbet=previousbet*multiplier else chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = false if !win then nextbet=previousbet*multiplier else chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = true if !win then nextbet=previousbet*multiplier else chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = true if !win then nextbet=previousbet*multiplier chance=7.14 multiplier=1.1 base=0.00000001 bethigh = false if !win then nextbet=previousbet*multiplier else chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = false if !win then nextbet=previousbet*multiplier else chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = false if !win then nextbet=previousbet*multiplier else chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = true if !win then nextbet=previousbet*multiplier chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = true if !win then nextbet=previousbet*multiplier chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = true if !win then nextbet=previousbet*multiplier ---- now i want it to go to bet 1 end end dobet runs after EVERY bet. So if your first check for !win is true, it's true for all of your checks. It doesn't do the first check and roll, then do the second and roll. So your code just needs to check if !win. once. You can then use other variables to keep track of where you are in your sequence. Ok so i want it to be Lo Lo Hi Hi Lo Lo Lo Hi Hi Hi Does this mean you want the bot to bet on the low side 2 times then the high side 2 times then low 3 then high 3, then back to the top? You'll have to look this up. But there is a way to create an array in LUA it might be something like betseq = {"Lo","Lo","Hi","Hi","Lo" etc......} then make rollcounter = 1 and bethigh = false These would go in the beginning before the dobet function. then right after dobet rollcounter += 1 //bump roll counter to point to the next place in the array. if betseq[rollcounter] == "Lo" then bethigh = false else bethigh = true end if rollcounter == 10 then //reset roll counter when you hit the end of the array. rollcounter = 0 end
|
|
|
|
AMONRA75
|
|
April 29, 2017, 12:04:35 AM |
|
hi guy!
i need to set chance from array like this: chance = {48,50,52,54}
and when win set chance random from the array
anyone help me?
|
|
|
|
Nicoletta
Newbie
Offline
Activity: 31
Merit: 0
|
|
April 29, 2017, 12:51:56 AM |
|
Ok so i want it to be Lo Lo Hi Hi Lo Lo Lo Hi Hi Hi multiply on lose going to the next bet on win I know that what i have is not working but i need to know why? chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = false function dobet() if !win then else nextbet=previousbet*multiplier else ----What to put there if i want tit to be this chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = false if !win then nextbet=previousbet*multiplier else chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = false if !win then nextbet=previousbet*multiplier else chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = true if !win then nextbet=previousbet*multiplier else chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = true if !win then nextbet=previousbet*multiplier chance=7.14 multiplier=1.1 base=0.00000001 bethigh = false if !win then nextbet=previousbet*multiplier else chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = false if !win then nextbet=previousbet*multiplier else chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = false if !win then nextbet=previousbet*multiplier else chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = true if !win then nextbet=previousbet*multiplier chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = true if !win then nextbet=previousbet*multiplier chance=7.14 multiplier=1.1555 base=0.00000001 bethigh = true if !win then nextbet=previousbet*multiplier ---- now i want it to go to bet 1 end end dobet runs after EVERY bet. So if your first check for !win is true, it's true for all of your checks. It doesn't do the first check and roll, then do the second and roll. So your code just needs to check if !win. once. You can then use other variables to keep track of where you are in your sequence. Ok so i want it to be Lo Lo Hi Hi Lo Lo Lo Hi Hi Hi Does this mean you want the bot to bet on the low side 2 times then the high side 2 times then low 3 then high 3, then back to the top? You'll have to look this up. But there is a way to create an array in LUA it might be something like betseq = {"Lo","Lo","Hi","Hi","Lo" etc......} then make rollcounter = 1 and bethigh = false These would go in the beginning before the dobet function. then right after dobet rollcounter += 1 //bump roll counter to point to the next place in the array. if betseq[rollcounter] == "Lo" then bethigh = false else bethigh = true end if rollcounter == 10 then //reset roll counter when you hit the end of the array. rollcounter = 0 end Thanks for some pointer but now it is way over my level. I wonder if i will put the counter would it not count lost multiplied games to?
|
|
|
|
chilly2k (OP)
Legendary
Offline
Activity: 1007
Merit: 1000
|
|
April 29, 2017, 01:51:17 AM |
|
Thanks for some pointer but now it is way over my level. I wonder if i will put the counter would it not count lost multiplied games to?
Yes as I showed it, it would just bet lo lo hi hi lo lo lo etc. it doesn't check if the bet won or lost. Which is exactly what you asked for. Notice I didn't say wanted..... You need to be very explicit, when your asking for something to be programmed. My idea and your often will not be the same... If you just wanted to switch after a win you could move that code to the else path of your !win if statement. If you think about it. The initialization part of the script is almost like filling in the website getting ready to make your first bet. The Dobet function is the thought process you go thought for every other bet. So you roll the first time. What are you going to do if you win, And what are you going to do if you lose. if win then This is what I'm going to do if I win. else This is what I'm going to do if I lose end When the bot hits the last end statement (ending the function) it rolls again. and dobet gets called again with the new results.
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4363
<insert witty quote here>
|
|
April 29, 2017, 02:01:31 AM |
|
You'll have to look this up. But there is a way to create an array in LUA it might be something like betseq = {"Lo","Lo","Hi","Hi","Lo" etc......}
Yep, that is exactly how you create an "array" (in LUA they are "tables")... And just a FYI, the convention in LUA is to index Arrays from 1... don't start counting at 0 like you would in C or Java etc hi guy!
i need to set chance from array like this: chance = {48,50,52,54}
and when win set chance random from the array
anyone help me?
Firstly, don't call your array "chance"... that is a built in variable that the bot uses to send the chance value to the dicesite chanceArray = {48,50,52,54}
if win then chance = chanceArray[math.random(#chanceArray)] end
This will pick a "random" value from the chanceArray... the #chanceArray value is the number of items in the Array... so you can add more values or take some out and the code will still run without generating an "Index Out of Bounds" type error
|
|
|
|
BossMacko
|
|
April 29, 2017, 02:45:32 AM |
|
Using bot and you will lose all in the end. The site can generate the roll number to make you lose. . They can check your ip, your location,your multi account, your profit,... It is true that in the long run you will lose using DiceBot, But dicebot is being used by people who are busy in their daily life and want their account to still play even if they are busy. If you have a big bankroll and you used a bot betting small amount then you'll have the chance to win even if you run it 1 week as long as your bankroll can manage to recover from many losing streak.
|
|
|
|
chilly2k (OP)
Legendary
Offline
Activity: 1007
Merit: 1000
|
|
April 29, 2017, 03:28:37 AM |
|
Using bot and you will lose all in the end. The site can generate the roll number to make you lose. . They can check your ip, your location,your multi account, your profit,... All true. Except you can verify the rolls. Legit sites wouldn't risk scamming you for 1 BTC when they can end up with thousand in legitimate profit. It's not the sites causing you to lose, it's your luck, and the longer you try to beat the house, the more you'll lose. I've run scripts and doubled my bankroll several times, but they always end up losing in the long run. Enjoy the game, not the results.
|
|
|
|
AMONRA75
|
|
April 29, 2017, 08:28:53 AM |
|
You'll have to look this up. But there is a way to create an array in LUA it might be something like betseq = {"Lo","Lo","Hi","Hi","Lo" etc......}
Yep, that is exactly how you create an "array" (in LUA they are "tables")... And just a FYI, the convention in LUA is to index Arrays from 1... don't start counting at 0 like you would in C or Java etc hi guy!
i need to set chance from array like this: chance = {48,50,52,54}
and when win set chance random from the array
anyone help me?
Firstly, don't call your array "chance"... that is a built in variable that the bot uses to send the chance value to the dicesite chanceArray = {48,50,52,54}
if win then chance = chanceArray[math.random(#chanceArray)] end
This will pick a "random" value from the chanceArray... the #chanceArray value is the number of items in the Array... so you can add more values or take some out and the code will still run without generating an "Index Out of Bounds" type error tnx a lot i try this!
|
|
|
|
psy112
|
|
April 29, 2017, 10:03:34 AM |
|
Hi, I use bots a lot for my gambling, but since I have zero experience in coding I need some help adding a feature to one of my scripts. This is the code I want modified: chance = 90 bethigh = true basebet = 0.00000200 nextbet = basebet
-- SET PROFIT TARGET profittarget= 1.0000000
function dobet() if (win) then chance = 90.00 nextbet = basebet else if chance == 19.80 then nextbet = previousbet * 1.255 else chance = 19.80 nextbet = 0.00000060 bethigh = !bethigh end end
if (balance) >= profittarget then
ching() alarm() print("Your Balance is ") print(balance) print(" ") print("TARGET ACHIEVED!!!") print(" ") print("You Won ") print(profit) print(" for this Session") print(" ") stop() print(" ") end
end
I want to add the feature invest on it, so that when I hit my profit target it auto invest the profit and the restarts. I'm using the script together with seuntjies bot on Just-dice. Where should i add the invest part and restart?
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4363
<insert witty quote here>
|
|
April 29, 2017, 12:50:56 PM |
|
You can't restart the bot once you call stop(), the only way for it to start up again is to enter start() in the console window like you do to initially start the script running... So, instead of issuing the stop() command, just track your profit amount, when it reaches the target you're happy with, use the invest() command and then reset back to initial script settings and continue NOTE: I'm not sure if this will work with any site... I've never used the invest() command, but there seems to be invest() code for just-dice in the dicebot code, so I'm assuming it works ... startBalance = balance runProfit = 0 profitTarget = 1.0 -- Set this to how much PROFIT you want to make before you invest, not the balance! ....
function dobet()
runProfit = balance - startBalance
if (win) then --do win stuff else -- do loss stuff end
if runProfit >= profitTarget then ching() alarm() print("Your Balance is " .. balance) print() print("TARGET ACHIEVED!!!") print() print("You Won " .. runProfit .. " for this Session") print()
print("Investing: " .. runProfit) invest(runProfit) -- invest winnings -- reset back to beginning and continue startBalance = balance runProfit = 0 chance = 90 bethigh = true nextbet = basebet
print(" ") end
end
|
|
|
|
chilly2k (OP)
Legendary
Offline
Activity: 1007
Merit: 1000
|
|
April 29, 2017, 01:39:57 PM |
|
You'll have to look this up. But there is a way to create an array in LUA it might be something like betseq = {"Lo","Lo","Hi","Hi","Lo" etc......}
Yep, that is exactly how you create an "array" (in LUA they are "tables")... And just a FYI, the convention in LUA is to index Arrays from 1... don't start counting at 0 like you would in C or Java etc Good to know, I program in so many languages it's tough to keep track. I actually did start that table with an index of 1. I reset the index to 0 because it will be incremented before checking it. Call it dumb luck... hi guy!
i need to set chance from array like this: chance = {48,50,52,54}
and when win set chance random from the array
anyone help me?
Firstly, don't call your array "chance"... that is a built in variable that the bot uses to send the chance value to the dicesite chanceArray = {48,50,52,54}
if win then chance = chanceArray[math.random(#chanceArray)] end
This will pick a "random" value from the chanceArray... the #chanceArray value is the number of items in the Array... so you can add more values or take some out and the code will still run without generating an "Index Out of Bounds" type error That's slick. I didn't know about the #, I'll have to keep this in mind. Thanks for all of your tips and tricks...
|
|
|
|
psy112
|
|
April 29, 2017, 07:48:39 PM |
|
You can't restart the bot once you call stop(), the only way for it to start up again is to enter start() in the console window like you do to initially start the script running... So, instead of issuing the stop() command, just track your profit amount, when it reaches the target you're happy with, use the invest() command and then reset back to initial script settings and continue NOTE: I'm not sure if this will work with any site... I've never used the invest() command, but there seems to be invest() code for just-dice in the dicebot code, so I'm assuming it works ... startBalance = balance runProfit = 0 profitTarget = 1.0 -- Set this to how much PROFIT you want to make before you invest, not the balance! ....
function dobet()
runProfit = balance - startBalance
if (win) then --do win stuff else -- do loss stuff end
if runProfit >= profitTarget then ching() alarm() print("Your Balance is " .. balance) print() print("TARGET ACHIEVED!!!") print() print("You Won " .. runProfit .. " for this Session") print()
print("Investing: " .. runProfit) invest(runProfit) -- invest winnings -- reset back to beginning and continue startBalance = balance runProfit = 0 chance = 90 bethigh = true nextbet = basebet
print(" ") end
end
Ok that probably why i got a lot of luna errors when i tried putting in the invest() and start() commando after stop(). I'll give yours a try to see if it works thanks for the help so far
|
|
|
|
Nicoletta
Newbie
Offline
Activity: 31
Merit: 0
|
|
April 29, 2017, 08:52:40 PM |
|
OK thanks so to bo more specific i want the bot to do
bet1 1 satoshi high chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet2 bet2 1 satoshi high chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet2 bet3 1 satoshi low chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet4 bet4 1 satoshi low chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet5 bet5 1 satoshi high chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet6 bet6 1 satoshi high chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet7 bet7 1 satoshi high chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet8 bet8 1 satoshi low chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet9 bet9 1 satoshi low chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet10 bet10 1 satoshi high chances 49.5% if lose it will bet previous amount *2 until wins if win wait 10 seconds check if the profit is higher than 0.001 if yes stop if not go to bet 1
I am not even trying to put it into a code it sound so simple hihi hihi hihihi lololo but now it is getting so complicated.
Anyone could write it so i could see how it should look like?
|
|
|
|
ponchofcult
Newbie
Offline
Activity: 5
Merit: 0
|
|
April 29, 2017, 09:40:53 PM |
|
yes sorry and i left some things, like base bet ok i will change some numbers that are wrong and put only the information if you understant better that i want
Base bet:0.00000001 on every L-L-L-W multiply the last bet and the losses count from the LAST WIN only (the last reset i think) BUT if W-W return to base bet (0.00000001) and reset the streak count in W-L-W-L-W return to base bet and reset the streak count too
shorter and i think is the same that i want, more logic thank you so much, if you can or you have a guide with every variable and their function could help me the next time, the website is a litle confussing an excel table could be great, thanks
This is that I have for now chance=33.0 --sets your chance for placing a bet nextbet=0.0000001 --sets your first bet. switchcount=0 bethigh=true --bet high when true, bet low when false enablezz=false --set to true to use high/low switching --settings from advanced mode enablesrc=false --set to true to use stop/reset conditions --settings from advanced mode function dobet() if win then nextbet=previousbet*losses switchcount=0 end end its all for now i get LUA error if i set some "=" or "currentstreak" or "then" on every losses i can multiply lasbet for losses but if WW the ressult will be 0, 0 losses * 0.00000001 will be 0 right? and on WLWLW ? thank you guys
|
|
|
|
seuntjie
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
April 29, 2017, 10:33:55 PM |
|
You can't restart the bot once you call stop(), the only way for it to start up again is to enter start() in the console window like you do to initially start the script running... So, instead of issuing the stop() command, just track your profit amount, when it reaches the target you're happy with, use the invest() command and then reset back to initial script settings and continue NOTE: I'm not sure if this will work with any site... I've never used the invest() command, but there seems to be invest() code for just-dice in the dicebot code, so I'm assuming it works ... startBalance = balance runProfit = 0 profitTarget = 1.0 -- Set this to how much PROFIT you want to make before you invest, not the balance! ....
function dobet()
runProfit = balance - startBalance
if (win) then --do win stuff else -- do loss stuff end
if runProfit >= profitTarget then ching() alarm() print("Your Balance is " .. balance) print() print("TARGET ACHIEVED!!!") print() print("You Won " .. runProfit .. " for this Session") print()
print("Investing: " .. runProfit) invest(runProfit) -- invest winnings -- reset back to beginning and continue startBalance = balance runProfit = 0 chance = 90 bethigh = true nextbet = basebet
print(" ") end
end
Ok that probably why i got a lot of luna errors when i tried putting in the invest() and start() commando after stop(). I'll give yours a try to see if it works thanks for the help so far Take a look at the tutorials linked on https://bot.seuntjie.com/programmermode.aspx, specifically https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-02-processIt will give you an overview of the process the bot follows every time a bet is placed. Calling stop, then invest/withdraw/tip, the invest/withdraw/tip commands will still be executed/processed, as the whole dobet function is completed. But you cannot start the bot again after stopping it from within the script. It should never be necessary to do so as all of the functions that can be called from the programmer mode as synchronous and serial. Edit: Also, see https://bot.seuntjie.com/features.aspx for a list of features that is enabled for the supported sites.
|
|
|
|
ponchofcult
Newbie
Offline
Activity: 5
Merit: 0
|
|
April 30, 2017, 01:32:40 AM |
|
yes sorry and i left some things, like base bet ok i will change some numbers that are wrong and put only the information if you understant better that i want
Base bet:0.00000001 on every L-L-L-W multiply the last bet and the losses count from the LAST WIN only (the last reset i think) BUT if W-W return to base bet (0.00000001) and reset the streak count in W-L-W-L-W return to base bet and reset the streak count too
shorter and i think is the same that i want, more logic thank you so much, if you can or you have a guide with every variable and their function could help me the next time, the website is a litle confussing an excel table could be great, thanks
This is that I have for now chance=33.0 --sets your chance for placing a bet nextbet=0.0000001 --sets your first bet. switchcount=0 bethigh=true --bet high when true, bet low when false enablezz=false --set to true to use high/low switching --settings from advanced mode enablesrc=false --set to true to use stop/reset conditions --settings from advanced mode function dobet() if win then nextbet=previousbet*losses switchcount=0 end end its all for now i get LUA error if i set some "=" or "currentstreak" or "then" on every losses i can multiply lasbet for losses but if WW the ressult will be 0, 0 losses * 0.00000001 will be 0 right? and on WLWLW ? thank you guys http://prnt.sc/f2en6e it might help, i'm going forward but now i dont know why him cant do the multiply previousbet*losses always he bet 10 why is not taking effect? thank you
|
|
|
|
chilly2k (OP)
Legendary
Offline
Activity: 1007
Merit: 1000
|
|
April 30, 2017, 01:46:52 AM |
|
OK thanks so to bo more specific i want the bot to do
bet1 1 satoshi high chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet2 bet2 1 satoshi high chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet2 bet3 1 satoshi low chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet4 bet4 1 satoshi low chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet5 bet5 1 satoshi high chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet6 bet6 1 satoshi high chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet7 bet7 1 satoshi high chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet8 bet8 1 satoshi low chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet9 bet9 1 satoshi low chances 49.5% if lose it will bet previous amount *2 until wins if win it wait 2 seconds go to the bet10 bet10 1 satoshi high chances 49.5% if lose it will bet previous amount *2 until wins if win wait 10 seconds check if the profit is higher than 0.001 if yes stop if not go to bet 1
I am not even trying to put it into a code it sound so simple hihi hihi hihihi lololo but now it is getting so complicated.
Anyone could write it so i could see how it should look like?
Your still not being clear. If you lose I'm assuming you stay at the same bet (high/low) until you win. Once that win happens, what next? Continue on your bet sequence or restart from bet1? betseq = {"Lo","Lo","Hi","Hi","Lo" etc......} rollcounter = 1 bethigh = false basebet = .00000001 nextbet = basebet
function dobet()
if win then rollcounter += 1 --bump roll counter to point to the next place in the array. if betseq[rollcounter] == "Lo" then bethigh = false else bethigh = true end if rollcounter == 10 then --reset roll counter when you hit the end of the array. rollcounter = 0 end nextbet = basebet --reset the next bet in case you lost some bets else --you lost nextbet = previousbet * 2
rollcounter = 0 -- if you want to restart from bet1 else delete to continue the sequence end end
I didn't add any of the profit checking. Play with this and see how it works. Also you need to finish betseq. and answer the question in the code.
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4363
<insert witty quote here>
|
|
April 30, 2017, 08:22:19 AM |
|
OK thanks so to bo more specific i want the bot to do
... wait 2 seconds ... wait 2 seconds ... wait 10 seconds ...
Firstly, why would you want the bot to wait around so much? Most people use the bot to try to increase the betting speed??!? something like this should run through your high/low steps... ( NOTE: this code has NOT been tested)... EDIT: Hah, didn't realise there was another page... so only just saw chilly2k's code, which is pretty much identical to what I came up with... The only real difference, being that my code has the profit check stop() included... great minds think alike I guess bethighArray = {true, true, false, false, true, true, true, false, false, false} stepCount = 1
bethigh = bethighArray[stepCount]
basebet = 0.00000001
nextbet = basebet chance = 49.5
startBalance = balance profitTarget = 0.001
function dobet()
runProfit = balance - startBalance
if (win) then stepCount = stepCount + 1 if stepCount > #bethighArray then -- check profit if runProfit > profitTarget then stop() else --reset stepCount = 1 end end nextbet = basebet bethigh = bethighArray[stepCount] else nextbet = previousbet * 2
end
end
|
|
|
|
Nicoletta
Newbie
Offline
Activity: 31
Merit: 0
|
|
April 30, 2017, 12:47:57 PM |
|
Thank you It looks like i need to learn a lot. But i am on my way
|
|
|
|
psy112
|
|
April 30, 2017, 02:04:29 PM Last edit: May 02, 2017, 02:16:12 PM by psy112 |
|
You can't restart the bot once you call stop(), the only way for it to start up again is to enter start() in the console window like you do to initially start the script running... So, instead of issuing the stop() command, just track your profit amount, when it reaches the target you're happy with, use the invest() command and then reset back to initial script settings and continue NOTE: I'm not sure if this will work with any site... I've never used the invest() command, but there seems to be invest() code for just-dice in the dicebot code, so I'm assuming it works ... startBalance = balance runProfit = 0 profitTarget = 1.0 -- Set this to how much PROFIT you want to make before you invest, not the balance! ....
function dobet()
runProfit = balance - startBalance
if (win) then --do win stuff else -- do loss stuff end
if runProfit >= profitTarget then ching() alarm() print("Your Balance is " .. balance) print() print("TARGET ACHIEVED!!!") print() print("You Won " .. runProfit .. " for this Session") print()
print("Investing: " .. runProfit) invest(runProfit) -- invest winnings -- reset back to beginning and continue startBalance = balance runProfit = 0 chance = 90 bethigh = true nextbet = basebet
print(" ") end
end
One thing i notice was that you took away the 19.8% part of the script ;P it only goes for 90% now edit: lol after reading thru I saw that I should ad the do win and do lose stuff my self ;P lol Thanks for the help
|
|
|
|
|