Hello Guest

need help for a script

  • 3 Replies
  • 988 Views
*

siwalex

  • *
  • 2
  • +0/-0
    • View Profile
need help for a script
« on: October 31, 2018, 09:50:59 am »
Hello everybody.

Sorry for my little englsih...  :-[

Is it possible to help me for a DiceBot script?

I have discord (GRoZ#4570)

Please add me or i you want more informations, comment or PM me here.

Thank's you.

Have a good day

*

Krypton

  • **
  • 19
  • +0/-0
    • View Profile
Re: need help for a script
« Reply #1 on: November 01, 2018, 08:04:56 am »
what help u want?

*

siwalex

  • *
  • 2
  • +0/-0
    • View Profile
Re: need help for a script
« Reply #2 on: November 01, 2018, 10:36:01 am »
what help u want?

i want a script who the user choice a starting bet like 0.001 BTC.
then 49.5% chance for payout x2.
and the user choice a percentage like 10% and the script bet always 10%
for exemple :
bankroll 0.001 BTC
Bet 1 : (10% of bankroll) 0.0001 BTC -> win Bankroll = 0.0011 BTC
Bet 2 : (10% of bankroll) 0.00011BTC -> win Bankroll = 0.00120 BTC
Bet 3 : (10% always)  0.00012BTC -> lose Bankroll = 0.00108 BTC

i hope i was clear... i have a little english

*

Vaillant

  • *
  • 3
  • +0/-0
  • Contact me on Telegram : @VaillantTM
    • View Profile
Re: need help for a script
« Reply #3 on: November 02, 2018, 04:58:49 pm »
Here is your script, but I've done few simulations, and this strategy is very risky if you do lots of rolls, please be careful when using it...
In order to have a more safe strategy, you have a stoploss value, it stop the script if the balance if under this value and also a wintarget value if the balance is over this value.

Have Fun !

(To modify variable, just change values in BETTING SETTING)

Code: [Select]
-- SETUP
enablezz = false
enablesrc = false
bethigh = false

-- BETTING SETTING
basebet = 0.001 -- Choose bet
percent = 10
chance = 49.5

-- STRATEGY
wintarget = 0 -- Stop if reach this value (0 if no limit)
stoploss  = 0 -- Stop if reach this value(0 if no limit)
nextbet = basebet*(percent/100)

-- START
function dobet()

-- Check Balance
if balance >= wintarget and wintarget ~= 0 then
print("\n\nWinTarget Reach\n\n")
stop()
end
if balance <= stoploss and stoploss ~= 0 then
print("\n\nStoploss Reach\n\n")
stop()
end

if win then
basebet *= (1+(percent/100))
else
basebet *= (1-(percent/100))
end

print("\nBet : "..basebet)

nextbet = basebet*(percent/100)

end
« Last Edit: November 03, 2018, 01:08:30 am by Vaillant »