Bitcoin Forum
December 14, 2024, 03:49:18 AM *
News: Latest Bitcoin Core release: 28.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 125469 times)
DCP
Member
**
Offline Offline

Activity: 110
Merit: 10


View Profile
August 30, 2017, 02:43:00 AM
 #821

If resetstats() keeps crashing your script... you can probably work around it by just tracking the profit yourself using a user created profit variable... as it seems the only "stats" you're using is "profit"...

Code:
runProfit = 0
startBalance = balance
...

function dobet()

  runProfit = balance - startBalance

  if win then
    ...
    if (runProfit > 0.000001) then
      -- "reset stats"
      startBalance = balance
      runProfit = 0
      
    end

    ...
    if ((runProfit < -0.0000005) and (runProfit >= -0.0000020)) and (currentstreak == 2) then
    ...

  else
    ...
  end

end


Then you just replace all instances of "profit" with "runProfit" etc...

THANK YOU SO MUCH!  I really appreciate you taking the time to post this.


H ~ O ~ D ~ L
thrilled
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
September 03, 2017, 10:28:08 PM
 #822

Hi everyone!

I am in dire need of having a customised script created, but I am certainly no programmer. I know exactly what I want in the script just that I can create it myself.

Therefor I wonder if there are any kind soul willing to assist me here? I can donate $10 to the kind soul helping me out here (paypal required).

Please send me a PM if you have time and skills to assist me.

Best Regards!

/Thrilled
thrilled
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
September 06, 2017, 01:37:55 PM
 #823

A quick question....

I am trying to get the withdrawal function to work on 999d.

The code used here is:

 if balance >= targetBalance then
    ching()                                  
    withdraw(withdrawAmount,withdrawAddress)

And in the beginning I have the following settings:

-- withdraw settings
withdrawAddress="my address here ofc"
withdrawAmount=50   -- amount to withdraw

I can see the messages in the console saying:

Betting 13.0161111551561 at 95% chance to win, low
Withdrawing 50 to
Betting 0.00002 at 95% chance to win, low
Withdrawing 50 to

Nothing gets withdrawn and it's just getting into a loop since the balace says it should withdraw...

However I can just easy withdraw the same amount by clicking the withdraw button in Dicebot and enter the same amount and address.

Anyone have an idea what's failing?

/Mikael
 
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
September 06, 2017, 02:15:07 PM
 #824

A quick question....

I am trying to get the withdrawal function to work on 999d.

The code used here is:

 if balance >= targetBalance then
    ching()                                  
    withdraw(withdrawAmount,withdrawAddress)

And in the beginning I have the following settings:

-- withdraw settings
withdrawAddress="my address here ofc"
withdrawAmount=50   -- amount to withdraw

I can see the messages in the console saying:

Betting 13.0161111551561 at 95% chance to win, low
Withdrawing 50 to
Betting 0.00002 at 95% chance to win, low
Withdrawing 50 to

Nothing gets withdrawn and it's just getting into a loop since the balace says it should withdraw...

However I can just easy withdraw the same amount by clicking the withdraw button in Dicebot and enter the same amount and address.

Anyone have an idea what's failing?

/Mikael
 

Try using withdrawAddress='my address here ofc'
instead of withdrawAddress="my address here ofc"

Also, to test if your syntax is correct, you can withdraw directly from the console. So you can start your script, stop it after one bet, then use withdraw(withdrawAmount,withdrawAddress) from the console. If it works, it will work from the script, if it doesn't, somethings wrong. (Withdrawing like this POSSIBLY won't update your balance in the bot immediately. It might take a minute to update your balance. Check your withdrawal history on 999dice to see if it worked)

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4363

<insert witty quote here>


View Profile
September 06, 2017, 02:20:43 PM
 #825

What currency are you using? BTC or DOGE or ?? Huh

The bot seems to be setup to calculate BTC values in the withdrawal code (ie. 1 BTC = 100,000,000 satoshis):
Code:
pairs.Add(new KeyValuePair<string, string>("Amount", (Amount*100000000m).ToString("0",System.Globalization.NumberFormatInfo.InvariantInfo)));

Given that you're betting "13.016.." and withdrawing "50"... either you're some kind of "whale" or you're wagering and attempting to withdraw in a currency other than BTC Wink

If this is the case, then I suspect that the final amount calculated is not correct and the bot is not reporting the error/failure message from the site correctly.

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


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

Activity: 1717
Merit: 1125



View Profile WWW
September 06, 2017, 03:46:32 PM
 #826

What currency are you using? BTC or DOGE or ?? Huh

The bot seems to be setup to calculate BTC values in the withdrawal code (ie. 1 BTC = 100,000,000 satoshis):
Code:
pairs.Add(new KeyValuePair<string, string>("Amount", (Amount*100000000m).ToString("0",System.Globalization.NumberFormatInfo.InvariantInfo)));

Given that you're betting "13.016.." and withdrawing "50"... either you're some kind of "whale" or you're wagering and attempting to withdraw in a currency other than BTC Wink

If this is the case, then I suspect that the final amount calculated is not correct and the bot is not reporting the error/failure message from the site correctly.


The calculation is irrelevant, almost all cryptocurrencies use 8 decimal places and 999dices API uses the smallest that currencies equivalent of a satoshi for all calls and currencies. 1 "Dogetoshi" = 0.00000001 Doge. Also, the same withdrawal function is used when using the withdrawal button, which he stated works correctly, so it's likely an error in the script.

thrilled
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
September 06, 2017, 04:22:16 PM
 #827

What currency are you using? BTC or DOGE or ?? Huh

The bot seems to be setup to calculate BTC values in the withdrawal code (ie. 1 BTC = 100,000,000 satoshis):
Code:
pairs.Add(new KeyValuePair<string, string>("Amount", (Amount*100000000m).ToString("0",System.Globalization.NumberFormatInfo.InvariantInfo)));

Given that you're betting "13.016.." and withdrawing "50"... either you're some kind of "whale" or you're wagering and attempting to withdraw in a currency other than BTC Wink

If this is the case, then I suspect that the final amount calculated is not correct and the bot is not reporting the error/failure message from the site correctly.


It's doge Smiley Otherwise I would be a rich gambler Tongue Also basically the only reason I am running it on 999d since they allow minimum bets lower the 1 on Doge.

But I see your point!.. So maybe the withdrawal amount should be in the above case 5000000000 (assuming 50*100000000m)??

I will do as seuntjie advised and test it in console directly...

I will get back to you on the results
thrilled
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
September 06, 2017, 04:30:15 PM
 #828

Thanks Seuntjie!

As you mentioned.....

The problem was that I was missing the ' before and after the address.

Now it's working as it should!

Big Thanks!

/mikael
dimondimon
Member
**
Offline Offline

Activity: 270
Merit: 10


View Profile
September 07, 2017, 06:34:53 AM
 #829

How to write correctly, what would be chosen in accordance with the passes, I want to add chances for the game
Code:
maxlos = 261     lp = 5   
maxlos0 = 113    lp0 = 10  

lp=5 ---It's a game

lp0=10 --It's a game
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4363

<insert witty quote here>


View Profile
September 07, 2017, 07:58:55 AM
 #830

I'm not sure exactly what you're asking... Huh

You want to set maxlos = 261 AND lp =5?
Code:
if <some condition is true> then
  maxlos = 261
  lp = 5
elseif <some other condition is true> then
  maxlos0 = 113
  lp0 = 10
end

or you want maxlos to equal a specific value when lp is equal to a certain value?

Code:
if lp==5 then
  maxlos = 261
else if lp==10 then
  maxlos = 113
end

or you want lp to be a certain value when maxlos equals a certain value?

Code:
if maxlos==113 then
  lp=10
else if maxlos==261 then
  lp=5
end


You'll have to be more specific with what you're actually trying to achieve...

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
thrilled
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
September 09, 2017, 02:34:27 AM
 #831

Hi all experts!

I have a questions for you....

In my script I have the following line to have it withdraw:

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

if balance>=target  then ching()
 withdraw(withdrawAmount,withdrawAddress)
   resetSettings()
end

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

The problem I experience is that it starts to withdraw at the set limit I have and takes the amount I have chosen to withdraw... but for some reason it the repeats it over and over until the money was gone....

Which in my case was a really shitty move Sad I was willing to take a 30% fee on the test withdrawal but I DIDN'T want to have a 30% on 9 withdrawals in a row, which caused me to loose 30% of my balance Sad

I will attach a bit of the log:

Betting 0.000000107 at 0.99% chance to win, high
Withdrawing 0.001 to 1HSPqbFBRQDT1pKyGk1mp2UZKQNzUdt43x
---bet lost--- 
 ==================================================
 
Betting 0.000000114 at 0.99% chance to win, low
Withdrawing 0.001 to 1HSPqbFBRQDT1pKyGk1mp2UZKQNzUdt43x
---bet lost--- 
 ==================================================
 
Betting 0.000000121 at 0.99% chance to win, high
Withdrawing 0.001 to 1HSPqbFBRQDT1pKyGk1mp2UZKQNzUdt43x
---bet lost--- 
 ==================================================
 
Betting 0.000000128 at 0.99% chance to win, low
Withdrawing 0.001 to 1HSPqbFBRQDT1pKyGk1mp2UZKQNzUdt43x
---bet lost--- 

Can someone please guide me how to over come this.... I don't understand why he repeated since target is:

target=0.0085

and withdraw:

withdrawAmount=0.001   -- amount to withdraw

To me he should recheck the balance and see that it was now 0.001 less and thus not withdrawing anymore Sad I hope it's not an issue with the site being slow to update the balance and fooling the dicebot to think that the balance remains the same? O.o

If that would be the case can I in some way initiate a pause directly after the first withdrawal to give the site time to update?

/T
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
September 09, 2017, 09:46:48 AM
 #832

Hi all experts!

I have a questions for you....

In my script I have the following line to have it withdraw:

Code:

if balance>=target  then ching()
 withdraw(withdrawAmount,withdrawAddress)
resetSettings()
end


The problem I experience is that it starts to withdraw at the set limit I have and takes the amount I have chosen to withdraw... but for some reason it the repeats it over and over until the money was gone....

Which in my case was a really shitty move Sad I was willing to take a 30% fee on the test withdrawal but I DIDN'T want to have a 30% on 9 withdrawals in a row, which caused me to loose 30% of my balance Sad

I will attach a bit of the log:
Code:
Betting 0.000000107 at 0.99% chance to win, high
Withdrawing 0.001 to 1HSPqbFBRQDT1pKyGk1mp2UZKQNzUdt43x
---bet lost---  
 ==================================================
  
Betting 0.000000114 at 0.99% chance to win, low
Withdrawing 0.001 to 1HSPqbFBRQDT1pKyGk1mp2UZKQNzUdt43x
---bet lost---  
 ==================================================
  
Betting 0.000000121 at 0.99% chance to win, high
Withdrawing 0.001 to 1HSPqbFBRQDT1pKyGk1mp2UZKQNzUdt43x
---bet lost---  
 ==================================================
  
Betting 0.000000128 at 0.99% chance to win, low
Withdrawing 0.001 to 1HSPqbFBRQDT1pKyGk1mp2UZKQNzUdt43x
---bet lost---  
Can someone please guide me how to over come this.... I don't understand why he repeated since target is:

target=0.0085

and withdraw:

withdrawAmount=0.001   -- amount to withdraw

To me he should recheck the balance and see that it was now 0.001 less and thus not withdrawing anymore Sad I hope it's not an issue with the site being slow to update the balance and fooling the dicebot to think that the balance remains the same? O.o

If that would be the case can I in some way initiate a pause directly after the first withdrawal to give the site time to update?

/T


What site does this happen on?
At most sites the balance is either returned with the bet result OR the bot forces an update to the balance after a withdrawal, but there are sites where it's not possible, or where the next bet can be placed before the balance is updated. Typically, the balance is updated every 30 seconds OR every minute if the bot can't force updates to the balance.

Easiest solution (until I can find out what exactly caused it) would be to track your balance on your own and do the deduction when you withdrawal, then sync the balances when the bot has updated it.

Code:
--all your variables
internalbalance = 0--the balance variable only gets set after the first bet, so you can't use it yet

function dobet()

if internalbalance =0 --if internal balance has not yet been set
or math.abs(internalbalance+currentprofit-balance)<0.0005 then --or if the balances are close enough that the withdrawal reflects on your balance
internalbalance =balance
else
internalbalance +=currentprofit
end

--your bet logic


if internalbalance >target then
--withdraw
internalbalance -=withdrawalamount
end


Disclaimer: My code is untested and not checked for any errors. Use and adapt at your own risk

houseworx
Full Member
***
Offline Offline

Activity: 319
Merit: 100


View Profile
September 11, 2017, 02:21:12 AM
Last edit: September 11, 2017, 02:31:20 AM by houseworx
 #833

How to write correctly, what would be chosen in accordance with the passes, I want to add chances for the game
Code:
maxlos = 261     lp = 5   
maxlos0 = 113    lp0 = 10  

lp=5 ---It's a game

lp0=10 --It's a game

hah, where you get this demo version script?! Cheesy
it will not be that easy to add percentage in that script how you think Tongue
i can make however many percentages you want in it(in theory, but it take big time if you want in hundreds...), but not for free.

dlja skoka raznix procentof hochew etot script zdelat?! mogu prodat, na kak mnoga hochew(pochti/teureticheski) nu chitaj bolshe raznie procenti=dlinej script=dolshe pisat nada=bolshe stoit budet Smiley


████          O W N R   W A L L E T          ████   VISA PREPAID CARD    ████  Use crypto to pay in stores with OWNR  ████
❱❱❱❱ ❱❱❱ ❱❱ ❱     Buy, send, receive and exchange crypto        VISA    mastercard   SPA    UnionPay     ❰ ❰❰ ❰❰❰ ❰❰❰❰
BLOG       TWITTER     ██ █▌█ ▌     Manage crypto and VISA card in OWNR Wallet app    ▐ █▐█ ██     REDDIT   YOUTUBE
houseworx
Full Member
***
Offline Offline

Activity: 319
Merit: 100


View Profile
September 12, 2017, 05:04:41 PM
 #834

hi please can you tell me why the jump in rates from 2 Satoshi to 147,
http://pastenow.ru/d5869f41b0849ff29db302ebb260a41f

i was said it to you, in VK, its 999dice bug, i have many times been bugs when i tested script there, so its bad place to play... but maybe you are edited script and make some kind of mistake, but i think its bug in 999dice.

but there is some mistake, you have ~2m bankroll and divider 190000, so your basebet need to be ~11, there i think you did some edits in script... but how i said 999dice, has betting bugs, he time after time, made "late bets" with last percetnage increasing, in next work basebet percentage.

████          O W N R   W A L L E T          ████   VISA PREPAID CARD    ████  Use crypto to pay in stores with OWNR  ████
❱❱❱❱ ❱❱❱ ❱❱ ❱     Buy, send, receive and exchange crypto        VISA    mastercard   SPA    UnionPay     ❰ ❰❰ ❰❰❰ ❰❰❰❰
BLOG       TWITTER     ██ █▌█ ▌     Manage crypto and VISA card in OWNR Wallet app    ▐ █▐█ ██     REDDIT   YOUTUBE
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4363

<insert witty quote here>


View Profile
September 12, 2017, 07:08:45 PM
 #835

hi please can you tell me why the jump in rates from 2 Satoshi to 147,
http://pastenow.ru/d5869f41b0849ff29db302ebb260a41f
Without seeing your script, there is no way to tell why your script is doing anything...  The most likely scenario is a logic error in the script that is setting your  bet amount incorrectly. Especially if you are using "% of balance" calculations (I think sometimes balance value might lag)... or a variable is not being reset an still holds an "old" value so your bet amount calculation returns an unexpected value.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
houseworx
Full Member
***
Offline Offline

Activity: 319
Merit: 100


View Profile
September 12, 2017, 09:43:54 PM
Last edit: September 13, 2017, 11:34:56 PM by houseworx
 #836

hi please can you tell me why the jump in rates from 2 Satoshi to 147,
http://pastenow.ru/d5869f41b0849ff29db302ebb260a41f
Without seeing your script, there is no way to tell why your script is doing anything...  The most likely scenario is a logic error in the script that is setting your  bet amount incorrectly. Especially if you are using "% of balance" calculations (I think sometimes balance value might lag)... or a variable is not being reset an still holds an "old" value so your bet amount calculation returns an unexpected value.
-----


it kind of bugs will be only in 999dice, if you open more than one bot at same time, you will see more bugs in betsizing... its not script fault.

████          O W N R   W A L L E T          ████   VISA PREPAID CARD    ████  Use crypto to pay in stores with OWNR  ████
❱❱❱❱ ❱❱❱ ❱❱ ❱     Buy, send, receive and exchange crypto        VISA    mastercard   SPA    UnionPay     ❰ ❰❰ ❰❰❰ ❰❰❰❰
BLOG       TWITTER     ██ █▌█ ▌     Manage crypto and VISA card in OWNR Wallet app    ▐ █▐█ ██     REDDIT   YOUTUBE
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4363

<insert witty quote here>


View Profile
September 13, 2017, 02:28:03 AM
 #837

...
   if a == balance then
      n = balance/devider1
   end
...
   bet = n
...
   bet = bet * (100 + ch * bonus)/100
...
   nextbet = bet
...
as far as i can tell, nextbet is only ever set to bet... bet is set to either n or that "bet * (100 + ch * bonus)" value... given that n is set from balance/divider, it's  more than plausible that your bet jumps from 2 sats to 147 sats if your balance is high enough or the ch*bonus value works out that way...

Also, i think it was Seuntjie who mentioned that some sites delay updating "balance" value... which may be a contributing factor.


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


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

Activity: 1717
Merit: 1125



View Profile WWW
September 13, 2017, 06:26:05 AM
 #838

...
   if a == balance then
      n = balance/devider1
   end
...
   bet = n
...
   bet = bet * (100 + ch * bonus)/100
...
   nextbet = bet
...
as far as i can tell, nextbet is only ever set to bet... bet is set to either n or that "bet * (100 + ch * bonus)" value... given that n is set from balance/divider, it's  more than plausible that your bet jumps from 2 sats to 147 sats if your balance is high enough or the ch*bonus value works out that way...

Also, i think it was Seuntjie who mentioned that some sites delay updating "balance" value... which may be a contributing factor.




999dice returns the balance with the bet result. The delayed balance updates should only happen after withdrawals/tips if it is delayed at all.

sree6020
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
September 17, 2017, 12:56:14 PM
Last edit: September 19, 2017, 03:02:57 AM by sree6020
 #839

That's a little tricky because you don't specify the "payout" when using scripts... you specify the "chance" and the site calculates the payout... and because sites have different house edge, the payouts and chances are not the same across all sites... Undecided

So, what you do is work out the "House Edge"... hopefully the site tells you what it is... then use that and the multiplier to work out what the chance is... also, figure out what the maxPayout number is for the site you're using and set that as well!

Code:
-- UNTESTED!!

-- Set these 3 values to match the site you're using and what you want your baseBet to be

houseEdge = 0.8 -- ie HE = 0.8% = 0.8, HE = 1.1% = 1.1
maxPayout = 9920 -- set this to site max! 9920x = Crypto-Games.net
basebet = 0.00001000

---------------------- 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


Hi HCP Th@nkzzz for helping me.



I want a small change to this code like this : when a loss happens at 1.1X payout ,nextbet is placed for an amount which is equal to basebet/10(and not the same amount) on 2 X payout and that same bet is placed on 3X,4X etc until a win. And when the win happens the bet is back to base bet and 1.1X payout. Can Anyone  help me with that.
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
September 21, 2017, 06:44:45 AM
 #840

I understand that the 999dice Scam?then which site is better to play

I have not had any issues with 999dice and their provably fair system is fine. Most-all complaints I have heard about 999dice scamming is the same as you hear about any other site - sore losers.

Any site listed on my site is fine to play on: https://bot.seuntjie.com

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!