Pages:
Author

Topic: Seuntjie' Dice bot programmers mode discussion. - page 57. (Read 125483 times)

legendary
Activity: 1007
Merit: 1000
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.  
newbie
Activity: 2
Merit: 0
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!
legendary
Activity: 1162
Merit: 1002
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.
legendary
Activity: 1717
Merit: 1125
The bet speed setting is active as long as it's enabled regardless of the mode you're using.
legendary
Activity: 1162
Merit: 1002
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.
legendary
Activity: 1717
Merit: 1125
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.
legendary
Activity: 1162
Merit: 1002
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.

newbie
Activity: 10
Merit: 0
Quote from: franklintdv
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  Undecided 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.
legendary
Activity: 1717
Merit: 1125
Quote from: franklintdv
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  Undecided I quit after a couple hundred to fix it

Code has a tendancy to do what you tell it instead of what you want.
legendary
Activity: 1717
Merit: 1125
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...

Quote from: my lua
chance=49.95
multiplier=0.4
minbet=0.01
divfactor=11763.8342980769


function dobet()
if previousbet*(1-multiplier)   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?
newbie
Activity: 10
Merit: 0
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...

Quote from: my lua
chance=49.95
multiplier=0.4
minbet=0.01
divfactor=11763.8342980769


function dobet()
if previousbet*(1-multiplier)   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. 
legendary
Activity: 1007
Merit: 1000
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...  Shocked

   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.   
newbie
Activity: 10
Merit: 0
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...  Shocked
legendary
Activity: 1007
Merit: 1000
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
newbie
Activity: 10
Merit: 0
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
legendary
Activity: 1717
Merit: 1125
yeah, head over to https://bot.seuntjie.com/ and if you have a really small screen, scroll down a bit in the main window....
hero member
Activity: 784
Merit: 502
Right, so the script you posted here is in javascript. DiceBot uses LUA in the programmer mode.

As far as I can see, that's a simple martingale script. Also, it does not have the ability to generate a randomized hash on its own (unless I'm missing something) (i'm not even sure what you mean with this, but it doesn't do it as far as i can see).

If you mean to have the site randomize the seed, then yes, the bot can do it.
If you mean to set a random seed as generated by the script, then no, it can't do it and no site will ever allow it.



I've typed all of these words, but I'll be honest. I have no idea what your question is....



Sorry for the late reply.

Thanks for clarifying with the code.
At first I thought it uses LUA by interpreting this part:

Code:
}
if (parseFloat($('#balance').html()) > bconfig.want) {
var num = parseFloat($('#balance').html());
bconfig.want = num + 0.00000030;
bconfig.autoexit = num - 0.00000420;
bconfig.won++;
var total = num - bconfig.startbal;
console.log('Setting bconfig want to: ' + bconfig.want)
console.log('Setting autoexit to: ' + bconfig.autoexit)
console.log('Total won: ' + total + ' BTC')
}

Anyways I meant the site can randomize the seed and the bot can interpret on it accordingly.

Btw, may I know what are the dice sites Seuntjie' Dice bot currently works upon?
legendary
Activity: 1717
Merit: 1125
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...

Quote from: my lua
chance=49.95
multiplier=0.4
minbet=0.01
divfactor=11763.8342980769


function dobet()
if previousbet*(1-multiplier)   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.
legendary
Activity: 1717
Merit: 1125
Right, so the script you posted here is in javascript. DiceBot uses LUA in the programmer mode.

As far as I can see, that's a simple martingale script. Also, it does not have the ability to generate a randomized hash on its own (unless I'm missing something) (i'm not even sure what you mean with this, but it doesn't do it as far as i can see).

If you mean to have the site randomize the seed, then yes, the bot can do it.
If you mean to set a random seed as generated by the script, then no, it can't do it and no site will ever allow it.



I've typed all of these words, but I'll be honest. I have no idea what your question is....

legendary
Activity: 1717
Merit: 1125
In case of dice multipliers can this script be used?

Code:
bconfig = {
maxBet: 0.0004200,
wait: 3000,
autoexit: 0.00001,
want: 0.000014,
toggleHilo:false,
startbal: 0,
won: 0,
};
hilo = 'hi';
multiplier = 1;
rollDice = function() {
if ($('#double_your_btc_bet_lose').html() !== '') {
$('#double_your_btc_2x').click();
multiplier = 1;
if(bconfig.toggleHilo)toggleHiLo();
} else {
$('#double_your_btc_min').click();
multiplier = 1;
}
if (parseFloat($('#balance').html()) < (parseFloat($('#double_your_btc_stake').val()) * 2) ||
parseFloat($('#double_your_btc_stake').val()) > bconfig.maxBet) {
console.log($('#double_your_btc_min'));
}
if (parseFloat($('#balance').html()) < bconfig.autoexit) {
throw "exit";
}
if (parseFloat($('#balance').html()) > bconfig.want) {
var num = parseFloat($('#balance').html());
bconfig.want = num + 0.00000030;
bconfig.autoexit = num - 0.00000420;
bconfig.won++;
var total = num - bconfig.startbal;
console.log('Setting bconfig want to: ' + bconfig.want)
console.log('Setting autoexit to: ' + bconfig.autoexit)
console.log('Total won: ' + total + ' BTC')
}
$('#double_your_btc_bet_hi_button').click();
setTimeout(rollDice, (multiplier * bconfig.wait) + Math.round(Math.random() * 1000));
};
toggleHiLo = function() {
if (hilo === 'hi') {
hilo = 'hi';
} else {
hilo = 'hi';
}
};
var num = parseFloat($('#balance').html());
bconfig.startbal = num;
bconfig.want = num + 0.00000030;
bconfig.autoexit = num - 0.00000420;
rollDice();
setTimeout(function () { location.reload(1); }, 10*60*1000);

This script has the ability to generate randomized hash on its own.
But I think it will not work on majority of dice sites. Might have to give it a try before final reviewing.

Let me know if it an be implemented on Seuntjie bot's programmers mode?

I'll read through this script when i get home.
Pages:
Jump to: