Hello Guest

Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Programmer Mode / Can anybody help me to write a script
« Last post by desuxgod on May 23, 2021, 12:17:40 pm »
So idea is:
Bot catch series less than 5000 or more than 5000.
Min bet 0,00000001
On loose streak we need 5 rolls, after that we suppose that loose streak continue and raise bet "balance/1000"
If loose bets back to minimum
If win we raise until 1st loose
12
Programmer Mode / Re: nextbet incrise proportionally to the balance
« Last post by Seuntjie on May 17, 2021, 05:10:52 pm »
Is your balance large enough for you to place a viable bet with that factor? Secondly is it large enough to see a viable increase from that factor?

For example if your balance is 0.00010000, your bet would be 0.00010000/1410526=0.000000000007, which is obviously far below minimum bet.
If your balance is 1, you first bet would be 0.00000071. Meaning your balance after the bet would be 1.00000071 (assuming 2x payout), thus making your second bet 0.00000071.... It could take hundreds of bets before you see a 1 sat increase in your bet size.

Also, see the tutorials on https://forum.seuntjie.com/index.php?topic=2.0, specifically the one about variables. There are built in variables that tracks bets, wins and losses and functions to reset those values if needed.
13
Programmer Mode / nextbet incrise proportionally to the balance
« Last post by pettt on May 17, 2021, 04:32:03 pm »
hi, im trying to made a script, i want the basebet increse based on the new balace after each win. i tried, balance/1410526, but the balance dont change, so i tried that:

function dobet()
totalbets+=1
if (win) then
nextbet = (balance+previousbet)/1410526
won     = won+1
lose    = 0
else
nextbet = (previousbet * iol)
lose    = lose+1
won     = 0
end

what is wrong?
14
Programmer Mode / Target reached.. now restart again
« Last post by Davillen on May 14, 2021, 09:47:33 pm »
Hi Everyone,

So I created a script that I combined together using other scripts.  It's running exactly how I want it to.  The only issue is I want it to restart the script on it's own once it reaches the target instead of having it stop.

Below is my script.  If anyone can help me it would be greatly appreciated.

Thank You

-------------------------------------------------------------------------------------------------------

chance        = 33
martimulti    = 1.011
basebet       = .025
startbalance  = balance
nextbet       = basebet
savefactor    = 1.031
target        = 2.30
targetbalance = 2.30
bethigh       = true
low           = 0
high          = 0
losecount     = 0
stopnow       = false
totallose     = 0
wincount      = 0
nextwinbet    = basebet * martimulti
go            = false
set           = false
maxbet        = 0.030

-- set profit target here (Final Balance after Winning)
profittarget = balance + 0.1
function dobet()

--Randomizer
r=math.random(2)

if r == 1 then
bethigh=true
else
bethigh=false
end

if betcount == 1 then
betcount = 9
resetseed();
else
betcount=betcount+1
end

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

if (lastBet.roll < chance) then
low += 1
end
if (lastBet.roll > (100 - chance)) then
high += 1
end

if (win) then
wincount += 1
totallose = 0
newbalance = balance
if (high > low) then
bethigh = true
else
bethigh = false
end
if (wincount == 1 and go) then
nextbet = nextwinbet
go = false
set = false
else
nextbet = basebet
end
if (wincount == 1 and previousbet != basebet) then
if (stopnow) then stop() end
martimulti = 1.031
nextwinbet = basebet * martimulti
set = true
losecount = 0
if (balance > targetbalance) then
invest((balance - targetbalance)+target)
targetbalance = targetbalance + target
newbalance = targetbalance
end
if (newbalance > startbalance * savefactor) then
invest(balance-startbalance)
targetbalance = startbalance + target
startbalance = startbalance * savefactor
end
end
if (wincount == 1) then go = true end
else
if (wincount == 1 and previousbet != basebet ) then
nextwinbet = previousbet * martimulti
martimulti = martimulti / 1.2
if (martimulti < 1.031) then martimulti = 1.031 end
losecount += 1
print(losecount)
else

end
wincount = 0
totallose = totallose + 1
if (totallose == 1.031) then go = true end
nextbet = basebet
end

end
15
General Discussion / Re: Introductions
« Last post by ahamshep on May 11, 2021, 07:51:13 pm »
Hello all.

I'm ahamshep.

I'm from Canada although I now live in Mexico.

I was looking for something to experiment with my very limited programing knowledge when I happened upon Seuntjie's dice bot.  I've been having a lot of fun with it and am greatful to Seuntjie for creating it.

I'm a Linux user, so I have been running the bot using wine.  For the most part the bot runs fairly well in Linux this way.

I've timidly looked at some of the C# code of the dicebot itself, but I'm not there yet.

I've been curious to find out which sites everyone feels are good, and trustworthy.

have fun everyone.
16
Programmer Mode / Re: High Low Array
« Last post by ahamshep on May 11, 2021, 07:25:57 pm »
only changes once high to low or vice versa

Code: [Select]
`x = {false, true, false, false, true, false, true, true}    for i = 0, 7 do        z = x[i]    endbethigh = z`

someone explain why it is not working in array sequence

I'm not sure if you solved this already.  Your for loop is probably working fine, but it is looping to the end and giving you the last result.  since the dicebot executues the dobet function in a loop already you don't really need another loop, you just need a way to iterate through your array.

for example you could use a couple if statements and a counter.

Code: [Select]
`count += 1x = {false, true, false, false, true, false, true, true}if count >= 8 then    count = 0end    bethigh = x[count]`
this should iterate through your array and reset once the count hits 8 "the number of elements in your array"
17
Programmer Mode / Re: How to make automatic bet apply to growing balance?
« Last post by Seuntjie on May 10, 2021, 07:16:36 am »
Here is a sample script that does something similar to what you want: https://bot.seuntjie.com/scripts.aspx?id=8
18
Programmer Mode / How to make automatic bet apply to growing balance?
« Last post by JustC on May 09, 2021, 09:11:31 pm »
Hello,
is there a possibility to let the bot bet a certain amount proportional to the balance? I don't mean a factor because this is stable in my case. The balance is growing but the bot is always betting the same. So is it possible for the program to recognize and use the new balance to make it grow exponentially?
19
Bugs and Suggestions / Re: "Please slow down" Question and report / betting stucks
« Last post by Seuntjie on May 08, 2021, 10:03:15 am »
Primedice and Stake has rate limits, that error you're seeing comes directly from the site. Meaning you can only make x amount of requests to the site in a certain time interval before they start blocking requests. As I've mentioned before in several threads, you work around this by:

Closing the site in your browser (just having it open can cause the error. If you're chatting and/or betting while the bot is running, it also induces the error. Even if you're using different accounts).
Running only 1 bot from your IP
setting the bot speed setting in the advanced mode to a value that works for you (I've found around 1 bet/s to work well, you might find a bit higher or lower works for you). The bot speed setting is applied even when using the programmer mode.
20
Bugs and Suggestions / Re: "Please slow down" Question and report / betting stucks
« Last post by GodAscorbin on May 07, 2021, 07:15:01 am »
hey, i got the same issure.
no matter what script, or autobet or anything else, primedice and stake seem to be broken.
after some bets it always say "slow down"

since every other Dicesite works for me - i guess primedice changed something in the API or else :/
i dont guess it will be fixed soon....
Pages: 1 [2] 3 4 ... 10