Pages:
Author

Topic: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts! - page 41. (Read 274857 times)

HCP
legendary
Activity: 2086
Merit: 4361
Sounds like the bot believes that it is receiving result data from the site that doesn't match with the bet that it just made...

looking at the code, this error is triggered by:
Code:
            if (bet.Guid!=LastBetPlaced || Last10Guids.Contains(bet.Guid))
            {
                
                Stop("Bet result received does not match last bet placed! Stopping for your safety.");
                //updateStatus("Bet result received does not match last bet placed!");
            }

Seems like the site is not returning a matchin GUID or one that matches one of the last 10 bets made... possibly a bad/delayed data packet from the site...

Although, I'm wondering if it should be !Last10Guids.Contains(bet.Guid) ? Huh
newbie
Activity: 46
Merit: 0
Can somebody explain me, what it's mean in the status dicebot:
Bet result received does not match last bet placed! Stopping for your safety., stopping

And in the console:
Betting Stopped!
Betting Stopped!

Becasue of this I downed to minus profit, the bot stopped bets at the red streaks Sad

I'm used this script:
Quote
basebet=0.00000001
nextbet=basebet
chance=49.5
highestBalance=balance

function dobet()

   if balance > highestBalance then
      nextbet=basebet
      highestBalance=balance
   else
      nextbet=previousbet+basebet
   end

end

It happened 2 times at me.
member
Activity: 270
Merit: 10
hi, you said today on yolodice that from programmer mode you can see how many bets back was the last stone such as less than 10,how to do it?What command to write?
legendary
Activity: 1717
Merit: 1125
Thanks for replying.

Yes I have selected the correct site from site menu.
At the bottom the bot say "Status/current action: disconnected".
And when I press the log in button with private key, I received a error message "Failed to log in to your acoount at yolodice".
And I also set the outpound TCP over port 4444.
I have done everything you mentioned but still but log in succesful.

By the way I am using windows 10.

What does it say in the status bar after trying to log in?
If it still says disconnected, can you email ([email protected]) me the contents of the dicebotlog.txt file?
newbie
Activity: 28
Merit: 0
Hi all, im unable to login yolodice even i put the correct private key without username at dicebot. Anyone can help?
Did you select the correct site from the site menu?
What does the bot say at the bottom of the screen after trying to log in?
YoloDice uses port 4444, please make sure your firewall/router allows outbound TCP traffic over the port.


Hi all, im unable to login yolodice even i put the correct private key without username at dicebot. Anyone can help?

I tried to use seuntjie bot yesterday to play at yolodice as well, I was able to login without problem but I could not bet. I got an error message, something like "forbidden" error 403 (not so sure about the exact message because I gave up after getting that message). I want to know about what is happening as well, so next time we know what to do if the same happen in the future.

You need to give your API key permission to play. Go to your account on YD, click on edit next to your API key and check the "play" checkbox, then save the changes.

Thanks for replying.

Yes I have selected the correct site from site menu.
At the bottom the bot say "Status/current action: disconnected".
And when I press the log in button with private key, I received a error message "Failed to log in to your acoount at yolodice".
And I also set the outpound TCP over port 4444.
I have done everything you mentioned but still but log in succesful.

By the way I am using windows 10.
legendary
Activity: 1717
Merit: 1125
Hi all, im unable to login yolodice even i put the correct private key without username at dicebot. Anyone can help?
Did you select the correct site from the site menu?
What does the bot say at the bottom of the screen after trying to log in?
YoloDice uses port 4444, please make sure your firewall/router allows outbound TCP traffic over the port.


Hi all, im unable to login yolodice even i put the correct private key without username at dicebot. Anyone can help?

I tried to use seuntjie bot yesterday to play at yolodice as well, I was able to login without problem but I could not bet. I got an error message, something like "forbidden" error 403 (not so sure about the exact message because I gave up after getting that message). I want to know about what is happening as well, so next time we know what to do if the same happen in the future.

You need to give your API key permission to play. Go to your account on YD, click on edit next to your API key and check the "play" checkbox, then save the changes.
legendary
Activity: 3066
Merit: 1312
Hi all, im unable to login yolodice even i put the correct private key without username at dicebot. Anyone can help?

I tried to use seuntjie bot yesterday to play at yolodice as well, I was able to login without problem but I could not bet. I got an error message, something like "forbidden" error 403 (not so sure about the exact message because I gave up after getting that message). I want to know about what is happening as well, so next time we know what to do if the same happen in the future.
newbie
Activity: 28
Merit: 0
Hi all, im unable to login yolodice even i put the correct private key without username at dicebot. Anyone can help?
newbie
Activity: 46
Merit: 0
Hello guys!

Can anybody help me with a small script?

The idea is:
Base: 0.00000001
chance: 20
on lose: +0.00000001 (same bet as basebet)
on win: if profit on balance in +, so go back to basebet, if not, so go to next bet +0.00000001 (same bet as basebet)
and so until the balance it reaches a profit.

I guess this short script does what you are looking for

Code:
basebet=0.00000001
nextbet=basebet
chance=49.5
highestBalance=balance

function dobet()

if balance > highestBalance then
nextbet=basebet
highestBalance=balance
else
nextbet=previousbet+basebet
end

end

It checks if you are in profit by using your highest balance throughout the run.

But if you have questions on the programmers mode then you should probably post that in this thread.

Thank you very much, B4RF! Smiley
Ok, did not know this about progers topic.
hero member
Activity: 813
Merit: 507
Hello guys!

Can anybody help me with a small script?

The idea is:
Base: 0.00000001
chance: 20
on lose: +0.00000001 (same bet as basebet)
on win: if profit on balance in +, so go back to basebet, if not, so go to next bet +0.00000001 (same bet as basebet)
and so until the balance it reaches a profit.

I guess this short script does what you are looking for

Code:
basebet=0.00000001
nextbet=basebet
chance=49.5
highestBalance=balance

function dobet()

if balance > highestBalance then
nextbet=basebet
highestBalance=balance
else
nextbet=previousbet+basebet
end

end

It checks if you are in profit by using your highest balance throughout the run.

But if you have questions on the programmers mode then you should probably post that in this thread.
newbie
Activity: 46
Merit: 0
Hello guys!

Can anybody help me with a small script?

The idea is:
Base: 0.00000001
chance: 20
on lose: +0.00000001 (same bet as basebet)
on win: if profit on balance in +, so go back to basebet, if not, so go to next bet +0.00000001 (same bet as basebet)
and so until the balance it reaches a profit.
legendary
Activity: 4004
Merit: 1250
Owner at AltQuick.com
Damn, I can't believe you are still doing this Cheesy

Hope all is well.
legendary
Activity: 1717
Merit: 1125
DiceBot 3.3.12 is now available for download! Get it from https://bot.seuntjie.com/botpage.aspx

Change Log

New Features
None


Changes
Added new currencies for Bitsler
Updated Bitsler login method - now requires Username, Password, API Key and 2fa code (if enabled).
Increased betting speed increased.


Bug Fixes

Bitvest betting speed set dynamically on login, should prevent (or at least reduce) number of stops when betting
Bitvest tipping fixed
Bitsler reset seed fixed
Simulation reset stats bug fixed
Nitrogen sports single bet bug fixed.
legendary
Activity: 1717
Merit: 1125
same thing

basebet=0.00000001
nextbet=basebet
chance=49.5
function dobet()

if win then
nextbet=previousbet*2
else
nextbet=basebet
end

bethigh=bethigh
print(currentprofit)

if lastbet.roll > 40 and lastbet.roll < 60 then
chance=40
else
chance=49.5
end


   if win then

--     switch high/low every win
--     bethigh = !bethigh

end

I`ve try to remove if win then  before -- switch  not working again

LUA ERROR!!
'end' expected after function body, got ''

Can`t get from where that`s coming

Read the message again. It doesn't say it found two quotes, it's quoting what it found. In other words, it was looking for the word end and found nothing.

Hint: every function that is declared and every if-else statement has to be closed of with an end.
hero member
Activity: 813
Merit: 507
Hey guys I`m trying to run a script but it seems i have a mistake somewhere i can`t find it where can someone help me with that i will be very grateful i want to make it switch low/high every bet and to double on losses  and i also added another function to change % between 40 and 60  roll .

basebet=0.00000001
nextbet=basebet
chance=49.5
function dobet()

If Iwin then
nextbet=previousbet*2
else
nextbet=basebet
end

bethigh=bethigh
print(currentprofit)

if lastbet.roll > 40 and lastbet.roll < 60 then
chance=40;
else
chance=49.5
end


   if win then

--     switch high/low every win
--     bethigh = !bethigh

   What error are you getting? 
Is Iwin maybe !win? 
Also you have a ; after you set the chance. 

But my best guess is your missing an end statement for the function 

wasn't the statement end ,either !win or ; I`ve try it it didn't work Sad
That`s what happen if i put ! and what happen if i take it out -->

LUA ERROR!!
assignment statement expected, got '!'
start()
LUA ERROR!!
assignment statement expected, got 'win'


Besides the mistakes chilly2k already mentioned you wrote If instead of if and at the end of your script there is an additional "if win then" which should be removed.
legendary
Activity: 1007
Merit: 1000
Hey guys I`m trying to run a script but it seems i have a mistake somewhere i can`t find it where can someone help me with that i will be very grateful i want to make it switch low/high every bet and to double on losses  and i also added another function to change % between 40 and 60  roll .

basebet=0.00000001
nextbet=basebet
chance=49.5
function dobet()

If Iwin then
nextbet=previousbet*2
else
nextbet=basebet
end

bethigh=bethigh
print(currentprofit)

if lastbet.roll > 40 and lastbet.roll < 60 then
chance=40;
else
chance=49.5
end


   if win then

--     switch high/low every win
--     bethigh = !bethigh

   What error are you getting? 
Is Iwin maybe !win? 
Also you have a ; after you set the chance. 

But my best guess is your missing an end statement for the function 
newbie
Activity: 39
Merit: 0
Nice job making this bot, thank you seuntjie Smiley
HCP
legendary
Activity: 2086
Merit: 4361
alternatively, if you want to double check if you missed any jackpot winning rolls... you can open the DiceBot.db file with an SQLite Database Browser and check the bet results that way Wink

legendary
Activity: 1717
Merit: 1125
Hey Seuntjies, I see you have BetKing as a dice option.  BetKing has a jackpot in play were "All you have to do to win is roll the dice twice in a row, containing five 5’s in the roll results" The only problem is that it looks like you have to keep track of this yourself and email them "If you win, please contact [email protected] or our Bitcointalk, Facebook or Twitter pages with your account details and the IDs of the two bets."

Anyway you can put this in your bot for BetKing where it stops after twice in a row after rolling five 5's and alerts us to the win???
No, you can use the programmer mode for that: https://bot.seuntjie.com/programmermode.aspx
newbie
Activity: 43
Merit: 0
Hey Seuntjies, I see you have BetKing as a dice option.  BetKing has a jackpot in play were "All you have to do to win is roll the dice twice in a row, containing five 5’s in the roll results" The only problem is that it looks like you have to keep track of this yourself and email them "If you win, please contact [email protected] or our Bitcointalk, Facebook or Twitter pages with your account details and the IDs of the two bets."

Anyway you can put this in your bot for BetKing where it stops after twice in a row after rolling five 5's and alerts us to the win???
Pages:
Jump to: