franklintdv
Newbie
Offline
Activity: 10
Merit: 0
|
|
March 04, 2016, 10:48:26 PM |
|
Hi, i need a simple code when if i won the bet i keep the same bet but reduce the chance, something like this, its possible to do?
chance= 98 nextbet = balance*(0.01)
function dobet() if win then chance = previouschance(-1) nextbet = lastbet else chance = 98 nextbet = balance*(0.01) end end
i really need a help because i dont know how to code
Pretty close, Try this chance= 98 nextbet = balance* .01 function dobet() if win then chance = chance - 1 -- nextbet = lastbet Not needed, but you could put nextbet = previousbet else chance = 98 nextbet = balance*.01 end end Thanks, works greate, but its not a good strategy...
|
|
|
|
chilly2k (OP)
Legendary
Offline
Activity: 1007
Merit: 1000
|
|
March 05, 2016, 12:32:00 AM |
|
Hi, i need a simple code when if i won the bet i keep the same bet but reduce the chance, something like this, its possible to do?
chance= 98 nextbet = balance*(0.01)
function dobet() if win then chance = previouschance(-1) nextbet = lastbet else chance = 98 nextbet = balance*(0.01) end end
i really need a help because i dont know how to code
Pretty close, Try this chance= 98 nextbet = balance* .01 function dobet() if win then chance = chance - 1 -- nextbet = lastbet Not needed, but you could put nextbet = previousbet else chance = 98 nextbet = balance*.01 end end Thanks, works greate, but its not a good strategy... You gave it a try. Now you can start tweaking it, and try other things. That's the great thing about using the programmer mode. Hopefully you didn't lose to much.
|
|
|
|
franklintdv
Newbie
Offline
Activity: 10
Merit: 0
|
|
March 08, 2016, 01:46:24 PM |
|
I tried writing a new code that would just let the decimals do whatever they want, but update the minimum bet as my balance grew... chance=49.95 multiplier=0.4 minbet=0.01 divfactor=11763.8342980769
function dobet() if previousbet*(1-multiplier)<minbet and win then minbet=balance/divfactor nextbet=minbet elseif win then nextbet = previousbet*(1-multiplier) else nextbet = previousbet*(1+multiplier) end end
Same deal as before. 15-25 bets and then 999dice cuts my api connection off. have you tried running this script on another site? It seems that 999dice is doing weird things overall. It lets me keep playing on safedice. Thanks I'm trying your script at just-dice but after an hour its just stop the bets.
|
|
|
|
seuntjie
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
March 09, 2016, 10:40:10 AM |
|
I tried writing a new code that would just let the decimals do whatever they want, but update the minimum bet as my balance grew... chance=49.95 multiplier=0.4 minbet=0.01 divfactor=11763.8342980769
function dobet() if previousbet*(1-multiplier)<minbet and win then minbet=balance/divfactor nextbet=minbet elseif win then nextbet = previousbet*(1-multiplier) else nextbet = previousbet*(1+multiplier) end end
Same deal as before. 15-25 bets and then 999dice cuts my api connection off. have you tried running this script on another site? It seems that 999dice is doing weird things overall. It lets me keep playing on safedice. Thanks I'm trying your script at just-dice but after an hour its just stop the bets. Does the script stop the betting or does the bot disconnect?
|
|
|
|
seuntjie
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
March 09, 2016, 10:41:08 AM |
|
I'm trying your script at just-dice but after an hour its just stop the bets.
Yeah, I found my code didn't even run as intended once I got it to run more than 15 hands I quit after a couple hundred to fix it Code has a tendancy to do what you tell it instead of what you want.
|
|
|
|
franklintdv
Newbie
Offline
Activity: 10
Merit: 0
|
|
March 09, 2016, 02:34:53 PM |
|
I'm trying your script at just-dice but after an hour its just stop the bets.
Yeah, I found my code didn't even run as intended once I got it to run more than 15 hands I quit after a couple hundred to fix it Code has a tendancy to do what you tell it instead of what you want. I'm enjoying the results of your script so far. But since he is not doing what you want maybe you can explain to anyone who can solve the problem helps you. The bot obeys what you program without flaws , it may be something you did wrong.
|
|
|
|
debuni
Legendary
Offline
Activity: 1162
Merit: 1002
|
|
March 11, 2016, 11:58:00 PM |
|
Hi,
I'm having a strange problem with 999dice.
My script stop working after 10-15 bets without any reason and 999dice is unacceptable from the bot till I restart it. Balance is getting to 0.00000000, manual betting is not working, etc - like 999dice are blocking connections from the bot just 2-3 seconds after I ran it.
I'm using the same script in PD and SafeDice for over 100K bets without any fault.
999Dice and SafeDice are those with lower house edge of the supported list?
Any ideas? Thanks.
|
|
|
|
seuntjie
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
March 13, 2016, 07:58:20 AM |
|
ok I can see that there is a real problem here and something similar happens with fortunejack, so there seems to be a problem with the programmer mode. While i acknowledge that this is a problem, my priority for the next release is to make sure FJ runs stable in the advanced mode and then I want to continue work on version 4 of the bot, where most of the components of the bot will be redesigned and this should help fix the programmer mode.
If I can find anything obvious causing the problem in the programmer mode before the Fj release, I'll try to get it fixed.
|
|
|
|
debuni
Legendary
Offline
Activity: 1162
Merit: 1002
|
|
March 13, 2016, 09:15:23 PM |
|
ok I can see that there is a real problem here and something similar happens with fortunejack, so there seems to be a problem with the programmer mode. While i acknowledge that this is a problem, my priority for the next release is to make sure FJ runs stable in the advanced mode and then I want to continue work on version 4 of the bot, where most of the components of the bot will be redesigned and this should help fix the programmer mode.
If I can find anything obvious causing the problem in the programmer mode before the Fj release, I'll try to get it fixed.
Thank you. I think it could be because of too many bets/sec. Can I set it in Programming mode bets/sec? As I see there is such setting in Advanced mode. But cannot find variable name in Programming mode.
|
|
|
|
seuntjie
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
March 14, 2016, 04:17:31 PM |
|
The bet speed setting is active as long as it's enabled regardless of the mode you're using.
|
|
|
|
debuni
Legendary
Offline
Activity: 1162
Merit: 1002
|
|
March 14, 2016, 04:51:55 PM |
|
The bet speed setting is active as long as it's enabled regardless of the mode you're using.
Understood. Tested. Just to know, even on just 1Bet/Sec bot is stopping after ~15 bets on 999dice.
|
|
|
|
Kavalskiy
Newbie
Offline
Activity: 2
Merit: 0
|
|
March 16, 2016, 06:19:29 PM |
|
Hi, I have some idea but can not implement it. Maybe somone can help me) For example, i have some sequences of bets (5 for example), and i want that the bot bettin it sequences randomly 1st sequence: 0.00000001 Low 0.00000002 Low 0.00000004 High 0.00000008 High 2nd 0.00000001 Low 0.00000002 High 0.00000004 High 0.00000008 Low 3rd 0.00000001 High 0.00000002 Low 0.00000004 High 0.00000008 Low etc... help please)! thank you!
|
|
|
|
chilly2k (OP)
Legendary
Offline
Activity: 1007
Merit: 1000
|
|
March 16, 2016, 06:57:46 PM |
|
Hi, I have some idea but can not implement it. Maybe somone can help me) For example, i have some sequences of bets (5 for example), and i want that the bot bettin it sequences randomly 1st sequence: 0.00000001 Low 0.00000002 Low 0.00000004 High 0.00000008 High 2nd 0.00000001 Low 0.00000002 High 0.00000004 High 0.00000008 Low 3rd 0.00000001 High 0.00000002 Low 0.00000004 High 0.00000008 Low etc... help please)! thank you!
I'm sure you could create a table/array in LUA, but I don't have the time to look it up right this second. The key would be to use the math.random() function. something like sequencenum = math.random(1,size of table variable) Then use sequencenum to index into that table to the selected sequence. If I have time later I'll look it up.
|
|
|
|
Kavalskiy
Newbie
Offline
Activity: 2
Merit: 0
|
|
March 16, 2016, 08:34:07 PM |
|
well, I better wait
|
|
|
|
janggernaut
Legendary
Offline
Activity: 2366
Merit: 1130
|
|
March 26, 2016, 03:37:05 AM |
|
hello, just want ask how to make a script in seunjti bot, if we want random chance ? let say i want minimum chance is 1% n max 5%, start bet at 0.00000001 , if lose increase 10% , and if win, reset. thank you
|
|
|
|
janggernaut
Legendary
Offline
Activity: 2366
Merit: 1130
|
|
March 26, 2016, 02:13:41 PM |
|
hello, just want ask how to make a script in seunjti bot, if we want random chance ? let say i want minimum chance is 1% n max 5%, start bet at 0.00000001 , if lose increase 10% , and if win, reset. thank you
So the chance to win changes? If so, by how much? So the bet starts at 0.00000001 and increases by 10% after every loss? And after a win it goes back to 0.00000001? nope, just random chance on % win, from 1% - 5%, yes.
|
|
|
|
chilly2k (OP)
Legendary
Offline
Activity: 1007
Merit: 1000
|
|
March 26, 2016, 02:49:43 PM |
|
hello, just want ask how to make a script in seunjti bot, if we want random chance ? let say i want minimum chance is 1% n max 5%, start bet at 0.00000001 , if lose increase 10% , and if win, reset. thank you
So the chance to win changes? If so, by how much? So the bet starts at 0.00000001 and increases by 10% after every loss? And after a win it goes back to 0.00000001? nope, just random chance on % win, from 1% - 5%, yes. This should do it. Didn't test it, but it's pretty simple. Also it always bets high, you can change the bethigh = true to false to bet low. And the chance is always a whole number 1-5 chance = math.random(1,5) bethigh = true basebet = 0.00000001 nextbet = basebet
function dobet()
chance = math.random(1,5)
if (win) then nextbet = basebet else nextbet = previousbet * 1.1 end
end
|
|
|
|
janggernaut
Legendary
Offline
Activity: 2366
Merit: 1130
|
|
March 26, 2016, 10:36:15 PM Last edit: March 26, 2016, 11:15:49 PM by janggernaut |
|
hello, just want ask how to make a script in seunjti bot, if we want random chance ? let say i want minimum chance is 1% n max 5%, start bet at 0.00000001 , if lose increase 10% , and if win, reset. thank you
So the chance to win changes? If so, by how much? So the bet starts at 0.00000001 and increases by 10% after every loss? And after a win it goes back to 0.00000001? nope, just random chance on % win, from 1% - 5%, yes. This should do it. Didn't test it, but it's pretty simple. Also it always bets high, you can change the bethigh = true to false to bet low. And the chance is always a whole number 1-5
chance = math.random(1,5) bethigh = true basebet = 0.00000001 nextbet = basebet
function dobet()
chance = math.random(1,5)
if (win) then nextbet = basebet else nextbet = previousbet * 1.1 end
end
seems cool, i'll give it a try, thank you very much for helping me dude ok, im already tried it, its cool, but its just betting from range 1%-5%, (1%, 2%, 3%, 4%, n 5%). but can i betting at other %? example : at 3.5%, 2.75%, 1.13%, etc, so its really random chance from 1%-5%, not just 1, 2, 3, 4, n 5%, thank you in advance
|
|
|
|
chilly2k (OP)
Legendary
Offline
Activity: 1007
Merit: 1000
|
|
March 26, 2016, 11:26:04 PM |
|
hello, just want ask how to make a script in seunjti bot, if we want random chance ? let say i want minimum chance is 1% n max 5%, start bet at 0.00000001 , if lose increase 10% , and if win, reset. thank you
So the chance to win changes? If so, by how much? So the bet starts at 0.00000001 and increases by 10% after every loss? And after a win it goes back to 0.00000001? nope, just random chance on % win, from 1% - 5%, yes. This should do it. Didn't test it, but it's pretty simple. Also it always bets high, you can change the bethigh = true to false to bet low. And the chance is always a whole number 1-5
chance = math.random(1,5) bethigh = true basebet = 0.00000001 nextbet = basebet
function dobet()
chance = math.random(1,5)
if (win) then nextbet = basebet else nextbet = previousbet * 1.1 end
end
seems cool, i'll give it a try, thank you very much for helping me dude ok, im already tried it, its cool, but its just betting from range 1%-5%, (1%, 2%, 3%, 4%, n 5%). but can i betting at other %? example : at 3.5%, 2.75%, 1.13%, etc, so its really random chance from 1%-5%, not just 1, 2, 3, 4, n 5%, thank you in advance I thought you might ask something like that. Try this. math.random() returns a value between 0 and 1. So by adding that to the prior chance you'll get the fractions. I'm sure there is another way to do it with just one math.random, but I can't think of it off the top of my head.
chance = math.random(1,5) chance += math.random() bethigh = true basebet = 0.00000001 nextbet = basebet
function dobet()
chance = math.random(1,5) chance += math.random()
if (win) then nextbet = basebet else nextbet = previousbet * 1.1 end
end
|
|
|
|
janggernaut
Legendary
Offline
Activity: 2366
Merit: 1130
|
|
March 27, 2016, 12:06:45 AM |
|
hello, just want ask how to make a script in seunjti bot, if we want random chance ? let say i want minimum chance is 1% n max 5%, start bet at 0.00000001 , if lose increase 10% , and if win, reset. thank you
So the chance to win changes? If so, by how much? So the bet starts at 0.00000001 and increases by 10% after every loss? And after a win it goes back to 0.00000001? nope, just random chance on % win, from 1% - 5%, yes. This should do it. Didn't test it, but it's pretty simple. Also it always bets high, you can change the bethigh = true to false to bet low. And the chance is always a whole number 1-5
chance = math.random(1,5) bethigh = true basebet = 0.00000001 nextbet = basebet
function dobet()
chance = math.random(1,5)
if (win) then nextbet = basebet else nextbet = previousbet * 1.1 end
end
seems cool, i'll give it a try, thank you very much for helping me dude ok, im already tried it, its cool, but its just betting from range 1%-5%, (1%, 2%, 3%, 4%, n 5%). but can i betting at other %? example : at 3.5%, 2.75%, 1.13%, etc, so its really random chance from 1%-5%, not just 1, 2, 3, 4, n 5%, thank you in advance I thought you might ask something like that. Try this. math.random() returns a value between 0 and 1. So by adding that to the prior chance you'll get the fractions. I'm sure there is another way to do it with just one math.random, but I can't think of it off the top of my head.
chance = math.random(1,5) chance += math.random() bethigh = true basebet = 0.00000001 nextbet = basebet
function dobet()
chance = math.random(1,5) chance += math.random()
if (win) then nextbet = basebet else nextbet = previousbet * 1.1 end
end
ok, i'll give it a try now, thank you very much dude ok, the RESULT is very NICE, i like it, thank you once again for helping me dude!
|
|
|
|
|