sree6020
Newbie
Offline
Activity: 51
Merit: 0
|
|
December 30, 2017, 12:16:05 PM |
|
How can I add a command to the following script so that the betting is stopped when the payout reaches 9900X or a chance equivalent to that payout.It should stop after placing one bet with 9900X. -- UNTESTED!!
-- Set these 3 values to match the site you're using and what you want your baseBet to be
houseEdge = 1 -- ie HE = 0.8% = 0.8, HE = 1.1% = 1.1 maxPayout = 9900 -- set this to site max! 9920x = Crypto-Games.net basebet = 0.00000020
---------------------- Don't Edit below here ;) --------------------------
basePayout = 1.1 -- start at 1.1x payout firstLossPayout = 2 currPayout = basePayout
nextbet = basebet chance = (100 - houseEdge) / currPayout bethigh = true
function dobet() if win then --reset Payout to 1.1x currPayout = basePayout else if currPayout == basePayout then -- first loss currPayout = firstLossPayout else currPayout = currPayout + 1 end end
if currPayout > maxPayout then stop() nextbet = 0 else chance = (100 - houseEdge) / currPayout end
end
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4363
<insert witty quote here>
|
|
December 30, 2017, 09:54:40 PM |
|
Change the "if currPayout > maxPayout then" block to set a 'flag' rather than setting to stop(). Then check for the flag before then, this way dobet() will happen once after flag is set: Again, this is UNTESTED -- UNTESTED!!
-- Set these 3 values to match the site you're using and what you want your baseBet to be
houseEdge = 1 -- ie HE = 0.8% = 0.8, HE = 1.1% = 1.1 maxPayout = 9900 -- set this to site max! 9920x = Crypto-Games.net basebet = 0.00000020
---------------------- Don't Edit below here ;) --------------------------
basePayout = 1.1 -- start at 1.1x payout firstLossPayout = 2 currPayout = basePayout
nextbet = basebet chance = (100 - houseEdge) / currPayout bethigh = true maxPayoutReached = false
function dobet() if win then --reset Payout to 1.1x currPayout = basePayout else if currPayout == basePayout then -- first loss currPayout = firstLossPayout else currPayout = currPayout + 1 end end
if maxPayoutReached then stop() nextbet = 0 end
if currPayout > maxPayout then maxPayoutReached = true else chance = (100 - houseEdge) / currPayout end
end [/quote]
|
|
|
|
houseworx
|
|
January 02, 2018, 08:03:13 PM Last edit: January 04, 2018, 09:50:56 AM by houseworx |
|
here are script, maybe its one of us work. basebet = 0.00000010 nextbet = basebet roundprofit = 0 chance = 49.5
function dobet()
roundprofit += currentprofit
if (win) then if (roundprofit < 0) then nextbet = previousbet + basebet print ("WIN") print(nextbet) else nextbet = basebet print ("WIN") print(nextbet) end
if roundprofit > 0 then roundprofit = 0 end end if (!win) then nextbet = previousbet print ("LOSE") print(nextbet) end end end end
I was usiging it like base from what im tryin to do what I need, but im confused, I need some thing what I cant get out to work properly. please help to add that kind of stuff: if its "first lose" then first bet will be chance "A" after than one bet if it was failed, chances are chaning to chance "B" till win. (better to be with "if current streak section") when win, and "round profit" are below 0, then start to play on chance "B" till roundprofit > 0, (not like first "recover round" where start from chance "A" first bet, and only after this first bet was chance "B") chance "A" need to be changed only the in first lose after winnins/losings and try to recover only one time, till first fail(first losing round recover) and not every second recovery rounds. (maybe will need two chance like, A1, A2, but after i will see what im asking, i will can edit it properly byself - i think) and ofc after win and roundprofit are more than 0, they are changed to base chance "C" and same thing with that first "Recovery round i want increase previousbet with multiplier after X currentstreak" but every second recovery round if roundprofit is below 0 i want to increase from first bet. hope that some1 are understand what Im asking, and want... thanks.
|
|
|
|
sree6020
Newbie
Offline
Activity: 51
Merit: 0
|
|
January 04, 2018, 02:22:13 PM |
|
i want to write a code which does the following bet functions on freebitco.in:
There is a base bet of 1 sats. It is placed on 2X payout and bet high =true.If this bet wins then nextbet is placed with same conditions .But if it losses then nextbet is placed with 2sats on 2X payout and bethigh=false.Again if this bet wins then nextbet is placed with basebet of 1 sat and 2X payout on bethigh=false and if the bet was lost, then bet amount becomes 4 sats on 2X payout and bethigh=true.Again the nextbet becomes 8 sats on 2 X payout and bethigh=false if lost and resets back to basebet of 1 sats on 2X payout and bethigh=true if win.
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4363
<insert witty quote here>
|
|
January 04, 2018, 09:26:16 PM Last edit: January 05, 2018, 05:00:03 AM by HCP |
|
Does it just keep doubling on every loss? or is there are limit to what the nextbet should be? So, on a loss streak it will be: 1 - High 2 - Low 4 - High 8 - Low 16 - High 32 - Low ... Where to stop? And just confirming that it always resets to 1 sat, High? because you said: .... Again if this bet wins then nextbet is placed with basebet of 1 sat and 2X payout on bethigh=false....
.... and resets back to basebet of 1 sats on 2X payout and bethigh=true if win.
This script is UNTESTEDWARNING: It will just keep betting until it runs out of money or your nextbet is larger than your balance! basebet = 0.00000001 chance = 47.5 -- Freebitcoin has 2.5% HouseEdge!!?! bethigh = true
nextbet = basebet
function dobet()
if win then nextbet = basebet else nextbet = previousbet * 2 bethigh = !bethigh end
end
|
|
|
|
sree6020
Newbie
Offline
Activity: 51
Merit: 0
|
|
January 05, 2018, 04:34:01 AM |
|
Does it just keep doubling on every loss? or is there are limit to what the nextbet should be? So, on a loss streak it will be:
yes it is a standard martingale that doubles on every loss and there is no limit until the balance is insufficient to double anymore. And just confirming that it always resets to 1 sat, High? because you said:
no it doesn't reset to 1 sat high always.Instead it follows the bet direction(high or low) of the previous bet if it was a win .And if that was a loss it keeps on switching direction and doubling the bet amount.
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4363
<insert witty quote here>
|
|
January 05, 2018, 05:02:10 AM |
|
no it doesn't reset to 1 sat high always.Instead it follows the bet direction(high or low) of the previous bet if it was a win .And if that was a loss it keeps on switching direction and doubling the bet amount.
Ok... I edited the code... it will now ONLY switch High/Low on a loss... if it wins, it will continue High or Low (the same as the previous winning bet). basebet = 0.00000001 chance = 47.5 -- Freebitcoin has 2.5% HouseEdge!!?! bethigh = true
nextbet = basebet
function dobet()
if win then nextbet = basebet else nextbet = previousbet * 2 bethigh = !bethigh end
end
|
|
|
|
sree6020
Newbie
Offline
Activity: 51
Merit: 0
|
|
January 05, 2018, 06:16:27 AM |
|
no it doesn't reset to 1 sat high always.Instead it follows the bet direction(high or low) of the previous bet if it was a win .And if that was a loss it keeps on switching direction and doubling the bet amount.
Ok... I edited the code... it will now ONLY switch High/Low on a loss... if it wins, it will continue High or Low (the same as the previous winning bet). basebet = 0.00000001 chance = 47.5 -- Freebitcoin has 2.5% HouseEdge!!?! bethigh = true
nextbet = basebet
function dobet()
if win then nextbet = basebet else nextbet = previousbet * 2 bethigh = !bethigh end
end
thankyou HCP
|
|
|
|
houseworx
|
|
January 05, 2018, 07:51:55 AM |
|
here are script, maybe its one of us work. basebet = 0.00000010 nextbet = basebet roundprofit = 0 chance = 49.5
function dobet()
roundprofit += currentprofit
if (win) then if (roundprofit < 0) then nextbet = previousbet + basebet print ("WIN") print(nextbet) else nextbet = basebet print ("WIN") print(nextbet) end
if roundprofit > 0 then roundprofit = 0 end end if (!win) then nextbet = previousbet print ("LOSE") print(nextbet) end end end end
I was usiging it like base from what im tryin to do what I need, but im confused, I need some thing what I cant get out to work properly. please help to add that kind of stuff: if its "first lose" then first bet will be chance "A" after than one bet if it was failed, chances are chaning to chance "B" till win. (better to be with "if current streak section") when win, and "round profit" are below 0, then start to play on chance "B" till roundprofit > 0, (not like first "recover round" where start from chance "A" first bet, and only after this first bet was chance "B") chance "A" need to be changed only the in first lose after winnins/losings and try to recover only one time, till first fail(first losing round recover) and not every second recovery rounds. (maybe will need two chance like, A1, A2, but after i will see what im asking, i will can edit it properly byself - i think) and ofc after win and roundprofit are more than 0, they are changed to base chance "C" and same thing with that first "Recovery round i want increase previousbet with multiplier after X currentstreak" but every second recovery round if roundprofit is below 0 i want to increase from first bet. hope that some1 are understand what Im asking, and want... thanks. up, any1?!
|
|
|
|
seuntjie
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
January 05, 2018, 10:18:14 AM |
|
no it doesn't reset to 1 sat high always.Instead it follows the bet direction(high or low) of the previous bet if it was a win .And if that was a loss it keeps on switching direction and doubling the bet amount.
Ok... I edited the code... it will now ONLY switch High/Low on a loss... if it wins, it will continue High or Low (the same as the previous winning bet). basebet = 0.00000001 chance = 47.5 -- Freebitcoin has 2.5% HouseEdge!!?! bethigh = true
nextbet = basebet
function dobet()
if win then nextbet = basebet else nextbet = previousbet * 2 bethigh = !bethigh end
end
thankyou HCP You could do this in the advanced mode by setting the multiplier on loss to 2 and just setting the "switch high/low" setting after 1 loss in the advanced bet settings tab. Also, freebitcoin has a 5% edge, but a huge faucet. edge = 100-(chance*payout)
|
|
|
|
houseworx
|
|
January 09, 2018, 10:24:40 PM |
|
here are script, maybe its one of us work. basebet = 0.00000010 nextbet = basebet roundprofit = 0 chance = 49.5
function dobet()
roundprofit += currentprofit
if (win) then if (roundprofit < 0) then nextbet = previousbet + basebet print ("WIN") print(nextbet) else nextbet = basebet print ("WIN") print(nextbet) end
if roundprofit > 0 then roundprofit = 0 end end if (!win) then nextbet = previousbet print ("LOSE") print(nextbet) end end end end
I was usiging it like base from what im tryin to do what I need, but im confused, I need some thing what I cant get out to work properly. please help to add that kind of stuff: if its "first lose" then first bet will be chance "A" after than one bet if it was failed, chances are chaning to chance "B" till win. (better to be with "if current streak section") when win, and "round profit" are below 0, then start to play on chance "B" till roundprofit > 0, (not like first "recover round" where start from chance "A" first bet, and only after this first bet was chance "B") chance "A" need to be changed only the in first lose after winnins/losings and try to recover only one time, till first fail(first losing round recover) and not every second recovery rounds. (maybe will need two chance like, A1, A2, but after i will see what im asking, i will can edit it properly byself - i think) and ofc after win and roundprofit are more than 0, they are changed to base chance "C" and same thing with that first "Recovery round i want increase previousbet with multiplier after X currentstreak" but every second recovery round if roundprofit is below 0 i want to increase from first bet. hope that some1 are understand what Im asking, and want... thanks. up, any1?!
|
|
|
|
CiderWaffles
Member
Offline
Activity: 64
Merit: 10
|
|
January 18, 2018, 10:17:34 PM |
|
quick question, does the simulator use its own "dummy" server seed and client seed, with the same type of algorithm the sites use? or else wouldn't the data be pointless?
|
|
|
|
houseworx
|
|
January 18, 2018, 11:21:04 PM |
|
quick question, does the simulator use its own "dummy" server seed and client seed, with the same type of algorithm the sites use? or else wouldn't the data be pointless?
copy/paste my similar question and Seuntjie answer in other topic. Quote from: houseworx on December 29, 2017, 12:05:22 AM Seuntjie, can you please tell me, how dicebot simulation are worked?! in simulations, are taked effect like in allmoust all dice site, and taken out that 1% house edge from numbers?! its like 100% same, and there is no difference, like i was playing in default dice game site with fixed 1% house edge?! The simulations use the same provably fair methods as the site that is selected and are usually pretty accurate. It uses the same edge as the site. But since everything is random, a simulation might show you winning after a million bets but when you actually run it, it might bust after 100 bets. if it make sense for your question...
|
|
|
|
seuntjie
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
January 18, 2018, 11:36:15 PM |
|
quick question, does the simulator use its own "dummy" server seed and client seed, with the same type of algorithm the sites use? or else wouldn't the data be pointless?
copy/paste my similar question and Seuntjie answer in other topic. Quote from: houseworx on December 29, 2017, 12:05:22 AM Seuntjie, can you please tell me, how dicebot simulation are worked?! in simulations, are taked effect like in allmoust all dice site, and taken out that 1% house edge from numbers?! its like 100% same, and there is no difference, like i was playing in default dice game site with fixed 1% house edge?! The simulations use the same provably fair methods as the site that is selected and are usually pretty accurate. It uses the same edge as the site. But since everything is random, a simulation might show you winning after a million bets but when you actually run it, it might bust after 100 bets. if it make sense for your question... As for the unanswered part of your question, it uses a dummy seed yes.
|
|
|
|
CiderWaffles
Member
Offline
Activity: 64
Merit: 10
|
|
January 19, 2018, 05:42:37 AM |
|
|
|
|
|
ps_jb
|
|
January 20, 2018, 05:11:29 AM |
|
Guys, Could you please help me to put here a piece of code, which will bet every X bets Y amount of BTC with Z% of probability? X, Y, Z will be variables I will control: chance=49.5 multiplier=2 base=0.00000100 preroll=5 prebet=0.00000001 stretch=3 function dobet() tmp = currentstreak+preroll if win then nextbet=prebet else if tmp == 0 then nextbet=base end if tmp < 0 then if tmp %stretch == 0 then nextbet=previousbet*multiplier end end end end Thank you!
|
|
|
|
seuntjie
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
January 20, 2018, 04:20:47 PM |
|
Guys, Could you please help me to put here a piece of code, which will bet every X bets Y amount of BTC with Z% of probability? X, Y, Z will be variables I will control: chance=49.5 multiplier=2 base=0.00000100 preroll=5 prebet=0.00000001 stretch=3 function dobet() tmp = currentstreak+preroll if win then nextbet=prebet else if tmp == 0 then nextbet=base end if tmp < 0 then if tmp %stretch == 0 then nextbet=previousbet*multiplier end end end end Thank you! Have you looked at the programmer mode tutorials and tried to do it yourself? https://bot.seuntjie.com/programmermode.aspx
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4363
<insert witty quote here>
|
|
January 20, 2018, 09:13:16 PM |
|
A very simple implementation of the stated requirements. As setup, it will bet 0.00001000 BTC at 5% chance every 10 bets. I have no idea what effect this will have on the rest of the script, there could be strange behaviour with the "previousbet" if the (tmp%stretch==0) check results as true immediately after the "Y" bet is placed... as the value of previousbet will be your "Y" amount. WARNING: This code is completely untested, use at your own risk. chance=49.5 multiplier=2 base=0.00000100 preroll=5 prebet=0.00000001 stretch=3 x=10 y=0.00001000 z=5 count=0 function dobet() count=count+1 tmp = currentstreak+preroll if win then nextbet=prebet else if tmp == 0 then nextbet=base end if tmp < 0 then if tmp %stretch == 0 then nextbet=previousbet*multiplier end end end if count == x then nextbet = y chance = z count=0 end end
|
|
|
|
CiderWaffles
Member
Offline
Activity: 64
Merit: 10
|
|
January 21, 2018, 02:43:40 PM Last edit: January 21, 2018, 06:53:55 PM by CiderWaffles |
|
I think i found a way to boost the performance of Dicebot, i downloaded Wise Game Booster, and added Dicebot to it then optimised, it now pulls 40-50% of CPU power when before it only managed around 30. Ill probably have to simulate 1,000,000 spins and see if it takes less than it took me before (about a 10hrs), and im using a long range wifi dongle, the inbuilt wifi could handle dicebot and it was disconnecting and freezing all the time, im no expert but all problems from the last 4 days straight of using the bot have gone.
|
|
|
|
houseworx
|
|
January 21, 2018, 05:47:14 PM |
|
I think i found a way to boost the performance of Dicebot, i downloaded Wise Game Booster, and added Dicebot to it then optimised, it now pulls 40-50% of CPU power when before it only managed around 30. Ill probably have to simulate 1,000,000 spins and see if it takes less than it took me before (about a 10hrs).
i dont understand, you are happy that dicebot now takes 40-50% of cpu load, then before 30%? what kind of "performance" you get from this game booster?! or you talking about power(voltage) ?! i dont get. you get less cpu usage, less ram usage, less disk usage?! or what? if none of that, then about what performance you are talking?! maybe my english are not great, and i dont understand?!
|
|
|
|
|