Bitcoin Forum
May 04, 2024, 11:33:55 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 [29] 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 »
  Print  
Author Topic: Seuntjie' Dice bot programmers mode discussion.  (Read 125131 times)
ferryantoine
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 24, 2017, 06:00:48 AM
 #561

sorry mates,

Maybe a silly question: but can you help me here instead of stop, to reset the bot again ?
means when I lost that amount, bot reconsider again the same amount of my new balance to bet.

  elseif balance < stopLossTarget then
    -- we lost too much
    stop()

  end

Thank you.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714822435
Hero Member
*
Offline Offline

Posts: 1714822435

View Profile Personal Message (Offline)

Ignore
1714822435
Reply with quote  #2

1714822435
Report to moderator
1714822435
Hero Member
*
Offline Offline

Posts: 1714822435

View Profile Personal Message (Offline)

Ignore
1714822435
Reply with quote  #2

1714822435
Report to moderator
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
May 24, 2017, 06:39:30 AM
 #562

sorry mates,

Maybe a silly question: but can you help me here instead of stop, to reset the bot again ?
means when I lost that amount, bot reconsider again the same amount of my new balance to bet.

  elseif balance < stopLossTarget then
    -- we lost too much
    stop()

  end

Thank you.

This depends on your script. In the programmer mode, if you want to reset your strategy, YOU need to reset all of the applicable variables for your script. An easy way to do this might be to move all of the variable declarations usually done at the top of the script in a function called reset and just call the reset function outside of the dobet function.

for example:

Instead of:
Code:
base=1
test=2
max=100
min=0
startbal=balance
stoploss=startbal+10
chance=49.5
nextbet=base

function dobet()
--do your stuff here
if balance>stoploss then
base=1
test=2
max=100
min=0
startbal=balance
stoploss=startbal+10
chance=49.5
nextbet=base
end
--do your other stuff here
end


Try something like:
Code:
--declare your reset function
function reset()
base=1
test=2
max=100
min=0
startbal=balance
stoploss=startbal+10
chance=49.5
nextbet=base
end

--call the reset function before you start the script to initialize and instantiate your variables
reset()

function dobet()
--do your stuff here
if balance>stoploss then
--call the reset function to reset your script.
reset()
end
--do your other stuff here
end

ThePassenger
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile WWW
May 26, 2017, 07:15:53 PM
 #563

thank you for the help. I managed to figure it out on my own and the script does just what I want. Here it is to anyone who is interested.

Code:
chance=49.5
basebet=0.00000001
nextbet=basebet
resetseed()
lossCounter=0

function dobet()

if win then

 nextbet=previousbet

  if lossCounter >= 10 then
   nextbet=basebet
   lossCounter=0
  end

else


I like your script!! However, how would it be possible to start the same script but doing a prebetting? I mean, only after 5 row red sreak betting at basebet for example?
 lossCounter=lossCounter+1

 nextbet=previousbet*2

end

end

Thanks!

You can make significant profits with this script if you  set the lossCounter <= to a bigger number. But the risk/reward is a big one.
If you set it to 15 you will be seeing about $100/hour but open yourself up to losing it all on a 10+ losing streak. You also have to have a bigger bank roll to do that.  .3 btc minimum but even that can we wiped clean. 10-12 is very safe even with .1 btc, with 12 bringing in around $100-150/24 hours.
Skarner21
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500

Massive price drop coming...


View Profile WWW
May 26, 2017, 07:22:04 PM
 #564

Hi seuntjie let me ask if the downloading link in the front page of this thread is updated or not..
I would like to test this script trying to use it in some dice game to test and modify some settings with my own..
Do you have latest version or v3 is the final?

Make crypto as your bank.
chilly2k (OP)
Legendary
*
Offline Offline

Activity: 1007
Merit: 1000


View Profile
May 26, 2017, 08:16:25 PM
 #565

Hi seuntjie let me ask if the downloading link in the front page of this thread is updated or not..
I would like to test this script trying to use it in some dice game to test and modify some settings with my own..
Do you have latest version or v3 is the final?


    This thread is for help programming custom scripts, the link on the first page is to the other thread for the bot itself.  Page 1 of that thread should have the download link.  

seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
May 27, 2017, 02:57:17 PM
 #566

Hi seuntjie let me ask if the downloading link in the front page of this thread is updated or not..
I would like to test this script trying to use it in some dice game to test and modify some settings with my own..
Do you have latest version or v3 is the final?


You can always get the latest version of the bot at https://bot.seuntjie.com/botpage.aspx (or just on https://bot.seuntjie.com) as the page updates to the latest version whenever I upload one. It also shows the date that version was uploaded on, at the time of writing, the latest version is 3.3.4 and uploaded on May 15, 2017 (almost 2 weeks ago)

ferryantoine
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 28, 2017, 11:47:36 AM
 #567

Thank you seuntjie for your help and explanation.
I haven't tried your codes yet but I got the idea. Smiley

I was wondering if you (or any other programmer here) have time and can help me how is possible to reset to base bet anytime when x amount of streak BTC is gained.
this amount should not be depending on the started balance, I mean not necessarily is profit.
for example when I started betting with the balance of 0.01 and I lost 0.001 (after few bets) then anytime I had a streak of winning of BTC 0.0005 I want the bot to goes to base bet.

note: it probably has the same function as on advanced mode "reset after x BTC streak win" yet I wanted to do some other stuff after this happened which is not possible on advanced mode.

Grateful if you can share your ideas.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 28, 2017, 03:53:00 PM
 #568

just track "profit" during a winning streak...

Code:
... stuff ...
winStreakProfit = 0
... other stuff ...

function dobet ()

  if (win) then
    winStreakProfit = winStreakProfit + lastBet.profit
   
    if winStreakProfit >= 0.0005 then
      nextbet = basebet
    else
      nextbet = #insertBetStuffHere
    end
 
    ... other win stuff ...

  else

    winStreakProfit =0

    ... other loss stuff ...

  end

end

end

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
ferryantoine
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 28, 2017, 06:10:31 PM
 #569

HCP Works great!

Much appreciated buddy.
ferryantoine
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 30, 2017, 12:28:54 PM
 #570

How is possible to increase chance by 1% after each win and decrease it by 1% after each lose.
Lets say starting chance is %66 and it can go up to %82 and and down to %50.
 Huh Huh frustrated, I tried a lot but seems my programming knowledge isnt good enough to code it myself.
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
May 30, 2017, 12:51:41 PM
 #571

How is possible to increase chance by 1% after each win and decrease it by 1% after each lose.
Lets say starting chance is %66 and it can go up to %82 and and down to %50.
 Huh Huh frustrated, I tried a lot but seems my programming knowledge isnt good enough to code it myself.

your question is a bit ambiguous. Do you want your chance to increment and decrement by 1 (as in 66,67,68,67,68 etc) or increase and decrease by 1% (as is 66,66.66,67.3266,66.66,67.3266 etc)

I'm assuming you want to increment:

in pseduo code

if win then chance = chance +1

else chance = chance -1

if chance > 82 then chance = 82

if chance < 50 then chance 50.


Now just convert that to LUA and you're golden Smiley

Programming is basically english. Just set your rules out in as unambiguous terms as possible as I did above and you've written the program, then it's just a matter of syntax

ferryantoine
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 31, 2017, 08:15:49 AM
 #572

your question is a bit ambiguous. Do you want your chance to increment and decrement by 1 (as in 66,67,68,67,68 etc) or increase and decrease by 1% (as is 66,66.66,67.3266,66.66,67.3266 etc)

I'm assuming you want to increment:

in pseduo code

if win then chance = chance +1

else chance = chance -1

if chance > 82 then chance = 82

if chance < 50 then chance 50.


Now just convert that to LUA and you're golden Smiley

Programming is basically english. Just set your rules out in as unambiguous terms as possible as I did above and you've written the program, then it's just a matter of syntax

Thank you seuntjie, Yes I meant increment and will try your codes. Smiley

believed or not your amazing bot is a reason I've become so interested in programming.

you're the best.
AMONRA75
Full Member
***
Offline Offline

Activity: 148
Merit: 100


View Profile
June 01, 2017, 10:10:06 PM
 #573

hi all!

i need to make a script with this parameters:

chance array (20.00,21.00,22.00,23.00)

bet array (1000,2000,3000,4000)

nexbet = previousbet + array (16%,17%,18%,19%)


ex:   
1 bet : chance 20,00, bet 1000, nexbet 16% 
2 bet : chance 21,00, bet 2000, nexbet 17%
3 bet:  chance 22,00, bet 3000, nexbet 18%


anyone help me?

tnx 4 all
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
June 01, 2017, 11:08:36 PM
 #574

Sorry, I don't understand what it is that you're asking for...

what exactly do you mean by nextbet 16%?  Do you mean that the nextbet should be the previousbet increased by 16%? or that it should be 16% of the previous bet?

And you haven't specified if it should occur on win or loss or both?

Also, what are the conditions that it moves from "1 bet" values to "2 bet" values?

Huh


█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Phyzyprogrammer
Member
**
Offline Offline

Activity: 90
Merit: 10

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 02, 2017, 12:17:16 AM
 #575

@seuntjie pls could u help me with a save script for me to play with 0.01btc on dicebot using bitsler or primedice thank you

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
AMONRA75
Full Member
***
Offline Offline

Activity: 148
Merit: 100


View Profile
June 02, 2017, 08:21:47 AM
 #576

Sorry, I don't understand what it is that you're asking for...

what exactly do you mean by nextbet 16%?  Do you mean that the nextbet should be the previousbet increased by 16%? or that it should be 16% of the previous bet?

And you haven't specified if it should occur on win or loss or both?

Also, what are the conditions that it moves from "1 bet" values to "2 bet" values?

Huh



i have 3 arrays...one for chance, one for bet and one for on loose nexbet + %
if win i want change this arrays block like this:

first win :   chance 11.00 - bet 1000 - on loose nextbet + 16%
second win : chance 12.00 - bet 2000 - on loose nextbet + 17%
and more :   chance 13.00 - bet 3000 - on loose nextbet + 18%

but in block because if i use normal arrays all are random so ...chance 11:00 start with bet 2000 and on loose 18%



HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
June 02, 2017, 09:07:26 AM
 #577

Ok... that sort of clears things up a little bit Smiley

This should give you an idea of how to do it... if at any time you want to reset all the way back... just set count = 1

Code:
chances = {11,12,13}
bets = {1000,2000,3000}
increase = {1.16,1.17,1.18} -- 16%, 17% and 18%

count = 1

... do all your other stuff ...

chance = chances[count]
nextbet = bets[count]

function dobet()

  if (win) then
    ... win stuff ...
    count = count + 1
    if count > #chances then
      count = #chances  -- Don't go over max array size
    chance = chances[count]
    nextbet = bets[count]

  else
    ... loss stuff ...
    chance = chances[count]
    nextbet = previousbet * increase[count]   

  end

  ... whatever else you want ...

end

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
June 02, 2017, 09:17:58 AM
 #578

Ok... that sort of clears things up a little bit Smiley

Really? Because I still have no idea what he's talking about...

AMONRA75
Full Member
***
Offline Offline

Activity: 148
Merit: 100


View Profile
June 02, 2017, 09:31:43 AM
 #579

Ok... that sort of clears things up a little bit Smiley

This should give you an idea of how to do it... if at any time you want to reset all the way back... just set count = 1

Code:
chances = {11,12,13}
bets = {1000,2000,3000}
increase = {1.16,1.17,1.18} -- 16%, 17% and 18%

count = 1

... do all your other stuff ...

chance = chances[count]
nextbet = bets[count]

function dobet()

  if (win) then
    ... win stuff ...
    count = count + 1
    if count > #chances then
      count = #chances  -- Don't go over max array size
    chance = chances[count]
    nextbet = bets[count]

  else
    ... loss stuff ...
    chance = chances[count]
    nextbet = previousbet * increase[count]   

  end

  ... whatever else you want ...

end


great! i try this. tnx a lot!
Phyzyprogrammer
Member
**
Offline Offline

Activity: 90
Merit: 10

Visit www.btcscriptbot.wordpress.com to get latest


View Profile WWW
June 02, 2017, 02:38:28 PM
 #580

pls can any one here at least help me?
i really need a save script to use on bitsler on dicebot with a bankroll of 0.01btc
thankx in advance

visit (www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 [29] 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!