Author

Topic: Yet Another PrimeDice Bot - Java (Faster than AutoBet!) (Read 13394 times)

newbie
Activity: 34
Merit: 0
Is the bot officially or just personal's work?
I do believe the site should provide a bot.

It was my personal work. I developed it as I found the official PrimeDice auto roll very slow and flaky, so I coded my own Java bot one - and decided to release it open source for everyone!

Unfortunately, I don't use it anymore but obviously check out the thread now and again. Instead, I've moved onto my PocketRocketsCasino Javascript Dice Bot which is amazingly fast compared to this - just under 10 bets a second!

Could you share the bot for PRC please?
member
Activity: 82
Merit: 10
Is the bot officially or just personal's work?
I do believe the site should provide a bot.

It was my personal work. I developed it as I found the official PrimeDice auto roll very slow and flaky, so I coded my own Java bot one - and decided to release it open source for everyone!

Unfortunately, I don't use it anymore but obviously check out the thread now and again. Instead, I've moved onto my PocketRocketsCasino Javascript Dice Bot which is amazingly fast compared to this - just under 10 bets a second!
full member
Activity: 221
Merit: 100
"The only real valuable thing is intuition."
Anyone making any cheese off this one? Looks like it could be a winner but is it?
hero member
Activity: 532
Merit: 500
Is the bot officially or just personal's work?
I do believe the site should provide a bot.
full member
Activity: 140
Merit: 100
K guys I fixed it
https://drive.google.com/open?id=0BxEW9g68wMH4NzBselFLbG1qQVk&authuser=0
Turns the whole withdraw thing was causing all the problems.
Tip pls 1MAZoX324kTVqt3XcU5k4EvvfSdeodZwp7
member
Activity: 113
Merit: 10
Hi i cant start, no error, nothing appears. :/ what can i do?
hero member
Activity: 504
Merit: 500
Its giving me errors for now Sad
member
Activity: 82
Merit: 10
Hi - Does it throw out any error/debug messages to the command prompt?

I haven't used it for a long time, but I check this thread regularly - I'm just wondering whether PrimeDice have changed their API slightly? Looking at their API page it seems to be the same though... Not sure..
newbie
Activity: 4
Merit: 0
Hmm.. I'm getting a strange error from it. It worked fine before but now it suddendly just starts giving me errors.
newbie
Activity: 8
Merit: 0
This is not working for me when I put the first [target] @ 10, it worked fine for a bit, then when I check, it was changing to a 90% win rate after 5 losses? I'm sooo confused  Huh Also, it works perfectly with: 5 51.5 2.1 100000000, but when I try to edit it, it fucks up bad...  Cry
https://i.imgur.com/s1UIpr6.png

you need to find this part of the code:

Code:
if (direction.equals(LESS))
{
        direction = BIG;
}
else
{
        direction = LESS;
}

and change to

Code:
if (direction.equals(LESS))
{
direction = BIG;
target = (100 - target);
}
else
{
direction = LESS;
target = (100 - target);
}

Then recreate the jar file

I've created the jar file with the mentioned fix just in case you wanted to test it right away. All code is untouched except for the change I mentioned above.
http://www28.zippyshare.com/v/EQPtMShx/file.html
Thank's bb <3  Kiss
newbie
Activity: 34
Merit: 0
This is not working for me when I put the first [target] @ 10, it worked fine for a bit, then when I check, it was changing to a 90% win rate after 5 losses? I'm sooo confused  Huh Also, it works perfectly with: 5 51.5 2.1 100000000, but when I try to edit it, it fucks up bad...  Cry
https://i.imgur.com/s1UIpr6.png

you need to find this part of the code:

Code:
if (direction.equals(LESS))
{
        direction = BIG;
}
else
{
        direction = LESS;
}

and change to

Code:
if (direction.equals(LESS))
{
direction = BIG;
target = (100 - target);
}
else
{
direction = LESS;
target = (100 - target);
}

Then recreate the jar file

I've created the jar file with the mentioned fix just in case you wanted to test it right away. All code is untouched except for the change I mentioned above.
http://www28.zippyshare.com/v/EQPtMShx/file.html
newbie
Activity: 8
Merit: 0
This is not working for me when I put the first [target] @ 10, it worked fine for a bit, then when I check, it was changing to a 90% win rate after 5 losses? I'm sooo confused  Huh Also, it works perfectly with: 5 51.5 2.1 100000000, but when I try to edit it, it fucks up bad...  Cry
https://i.imgur.com/s1UIpr6.png
newbie
Activity: 34
Merit: 0
Finally got the features I wanted in... took a while as I have never programmed in Java but i guess it works... take a look
https://bitcointalksearch.org/topic/primedice-better-bot-fastest-lightest-advanced-java-based-bot-1018417

also sent you a tiny bit. Will send more soon.

Thanks again.
newbie
Activity: 34
Merit: 0

So after staring at the code for a few hours, I think I finally understand it a bit more. I've managed to do the mods that I needed. I'm not sure if they were done in the best coding practices but nonetheless they work.

No further help required at the moment. I just wanted to thank you for unselfishly releasing this code for the benefit of others. You are right, there are a lot of bots out there that may have malicious code. I myself have been a victim of such tricks so I'm glad to be able to compile from source thanks to you.

Cheers!
Blayzer

Hi Blayzer - I'm really glad that you found my bot, and that you can understand the code and recompile/mod it in a way that suits you. That was my main aim in coding it. I wanted to lay the code out and write code so it was as easy to follow as possible. Also, having it opensource ensures that there are no scams hidden away in there as you mention there are many out there.

My time is increasingly being taken up by hundreds of other things too - another reason why I wanted this version's source code to be released so that others can support it and modify it for themselves without having me as a bottleneck to their own progress.

If you win big using it then consider donating a little! Wink

Edit: - Actually I think you did just donate - if that was your transaction on 1st April - if so - Many thanks!


Hey thanks for the reply. I was beginning to think I was all alone on this thread.... hahaha

I will indeed donate when I get more BTC... unfortunately that wasn't mine.

cheers!
newbie
Activity: 34
Merit: 0
This section can pose some serious problems if you are using a multiplier other than 2x:
Code:
if (currentBet != null)
{
successHTTP = successHTTP + 1;
meStats.updateProfitSession(currentBet.getDouble("profit"));
if (!currentBet.getBoolean("win"))
{
//System.out.println("Lost Bet");
nextBetAmount = Math.round(nextBetAmount * increaseOnLossMultiplier);
//System.out.println("Next Bet Is = " + nextBetAmount);
lostCount = lostCount + 1;
if (lostCount == 5)
{
if (direction.equals(LESS))
{
direction = BIG;
}
else
{
direction = LESS;
}
}
}
else
{
nextBetAmount = baseBet;
lostCount = 0;
}

If you are running say a 1.5x multiplier @ <66, losing 5x in a row will change to >66 resulting in a 2.9x multiplier until you get another 5x loss in a row changing it back to <66 1.5x multiplier.

Actually it will shift direction after the first 5 losses and will continue until a win. It will only change direction again after a win and 5 losses again.
if you start low and have a loosing streak of 12, it will change to hi after the first 5 losses and continue 7 more times + the wins after that + the next losses after.
member
Activity: 82
Merit: 10

So after staring at the code for a few hours, I think I finally understand it a bit more. I've managed to do the mods that I needed. I'm not sure if they were done in the best coding practices but nonetheless they work.

No further help required at the moment. I just wanted to thank you for unselfishly releasing this code for the benefit of others. You are right, there are a lot of bots out there that may have malicious code. I myself have been a victim of such tricks so I'm glad to be able to compile from source thanks to you.

Cheers!
Blayzer

Hi Blayzer - I'm really glad that you found my bot, and that you can understand the code and recompile/mod it in a way that suits you. That was my main aim in coding it. I wanted to lay the code out and write code so it was as easy to follow as possible. Also, having it opensource ensures that there are no scams hidden away in there as you mention there are many out there.

My time is increasingly being taken up by hundreds of other things too - another reason why I wanted this version's source code to be released so that others can support it and modify it for themselves without having me as a bottleneck to their own progress.

If you win big using it then consider donating a little! Wink

Edit: - Actually I think you did just donate - if that was your transaction on 1st April - if so - Many thanks!
newbie
Activity: 34
Merit: 0
This section can pose some serious problems if you are using a multiplier other than 2x:
Code:
if (currentBet != null)
{
successHTTP = successHTTP + 1;
meStats.updateProfitSession(currentBet.getDouble("profit"));
if (!currentBet.getBoolean("win"))
{
//System.out.println("Lost Bet");
nextBetAmount = Math.round(nextBetAmount * increaseOnLossMultiplier);
//System.out.println("Next Bet Is = " + nextBetAmount);
lostCount = lostCount + 1;
if (lostCount == 5)
{
if (direction.equals(LESS))
{
direction = BIG;
}
else
{
direction = LESS;
}
}
}
else
{
nextBetAmount = baseBet;
lostCount = 0;
}

If you are running say a 1.5x multiplier @ <66, losing 5x in a row will change to >66 resulting in a 2.9x multiplier until you get another 5x loss in a row changing it back to <66 1.5x multiplier.

Hi Anonymoose - thanks for taking a look at it. I'm still a little confused as to how the multiplier changes within this code? The multiplier for raising the next bet amount after a loss doesn't change.

Or... are you referring to the part that if I'm betting at say <66, then flipping the sign to >66 will change the betting odds for that bet? If this is the case, then it probably should be (1-BetChance) when flipping from greater to lesser etc?

Or... are you referring to the part that if I'm betting at say <66, then flipping the sign to >66 will change the betting odds for that bet? If this is the case, then it probably should be (1-BetChance) when flipping from greater to lesser etc?

This.

Flipping the sign but keeping the number the same.  So if you are running at a 1.5x multiplier <66 flipping the sign should actually result in >33 to keep it @ 1.5x.  Just using 1.5x @ <66 as an example but applies to any multiplier other than 2x.

Hope this helps.


I found that this fixes it:

Code:

if (direction.equals(LESS))
{
direction = BIG;
target = (100 - target);
}
else
{
direction = LESS;
target = (100 - target);
}

newbie
Activity: 34
Merit: 0
Hi,

Thanks for creating such a lightweight and straightforward bot. So far, this is is one of my favorites.

If it's not too much to ask, may I request a bit of help on getting  a modification compiled?

Here's what I was trying to make happen:

I need to be able to set a percentage in place of the base bet in the string arguments so that as the balance increases, so will the base bet in proportion to the balance.

Ex. My bankroll is .01BTC so the percent I would set is 0.00152590218966964% setting my base bet to 0.00000153 approx and giving me around 16 maximum bets in the martingale (x2) strategy.

I looked through the code and it seems simple enough. I was thinking that a baseBetPercent variable (in place of the original baseBet) could store this percent value i was referring to and the nextBetAmount could be set to something like nextBetAmount = (CurrentBalance * baseBetPercent); or something to that extent.

I have a little background in programming so I thought id try to recompile it myself however I am unfamiliar with the eclipse compiler as well as the primedice variable for the users current balance.

I'm afraid I really need to ask your help on either doing a quick rewrite and recompile, or pointing me in the right direction so I could try it myself. I'm thinking however, that it might actually be easier for you to do the first suggestion as opposed to teaching me what to do. Regardless, whatever you are comfortable doing, I'd really appreciate it.

Again, great program as is, I hope I'm not asking too much.

Respectfully,
Blayzer


I think I managed a crude way to do it. Here's what I did.

I added

startBal = userStats.getDouble("balance");

after the line

meStats.parseStats(userStats);

and I changed the original nextBetAmount to nextBetAmount = Math.round(startBal * baseBet);

then I changed baseBet from int to double and used that variable as the multiplier I wanted. In this case 0.0000152590218966964
I exported to an executable jar and named it primebot2.jar and to run, I type in:

java -jar primebot2.jar myuser mypass 0.0000152590218966964 49.5 2.0 99999999

so far it seems to be working fine although I'm not sure if the variable startBal will update after every bet. I have a feeling it will only set it when it logs on...

perhaps there is a way to do it so that the variable updates after every bet? I'm hoping it doesnt slow down the bot significantly because speed is the beatu of this one.

Let me know how I can improve it please.

Thanks!

So after staring at the code for a few hours, I think I finally understand it a bit more. I've managed to do the mods that I needed. I'm not sure if they were done in the best coding practices but nonetheless they work.

No further help required at the moment. I just wanted to thank you for unselfishly releasing this code for the benefit of others. You are right, there are a lot of bots out there that may have malicious code. I myself have been a victim of such tricks so I'm glad to be able to compile from source thanks to you.

Cheers!
Blayzer
newbie
Activity: 34
Merit: 0
Hi,

Thanks for creating such a lightweight and straightforward bot. So far, this is is one of my favorites.

If it's not too much to ask, may I request a bit of help on getting  a modification compiled?

Here's what I was trying to make happen:

I need to be able to set a percentage in place of the base bet in the string arguments so that as the balance increases, so will the base bet in proportion to the balance.

Ex. My bankroll is .01BTC so the percent I would set is 0.00152590218966964% setting my base bet to 0.00000153 approx and giving me around 16 maximum bets in the martingale (x2) strategy.

I looked through the code and it seems simple enough. I was thinking that a baseBetPercent variable (in place of the original baseBet) could store this percent value i was referring to and the nextBetAmount could be set to something like nextBetAmount = (CurrentBalance * baseBetPercent); or something to that extent.

I have a little background in programming so I thought id try to recompile it myself however I am unfamiliar with the eclipse compiler as well as the primedice variable for the users current balance.

I'm afraid I really need to ask your help on either doing a quick rewrite and recompile, or pointing me in the right direction so I could try it myself. I'm thinking however, that it might actually be easier for you to do the first suggestion as opposed to teaching me what to do. Regardless, whatever you are comfortable doing, I'd really appreciate it.

Again, great program as is, I hope I'm not asking too much.

Respectfully,
Blayzer


I think I managed a crude way to do it. Here's what I did.

I added

startBal = userStats.getDouble("balance");

after the line

meStats.parseStats(userStats);

and I changed the original nextBetAmount to nextBetAmount = Math.round(startBal * baseBet);

then I changed baseBet from int to double and used that variable as the multiplier I wanted. In this case 0.0000152590218966964
I exported to an executable jar and named it primebot2.jar and to run, I type in:

java -jar primebot2.jar myuser mypass 0.0000152590218966964 49.5 2.0 99999999

so far it seems to be working fine although I'm not sure if the variable startBal will update after every bet. I have a feeling it will only set it when it logs on...

perhaps there is a way to do it so that the variable updates after every bet? I'm hoping it doesnt slow down the bot significantly because speed is the beatu of this one.

Let me know how I can improve it please.

Thanks!
newbie
Activity: 34
Merit: 0
Hi,

Thanks for creating such a lightweight and straightforward bot. So far, this is is one of my favorites.

If it's not too much to ask, may I request a bit of help on getting  a modification compiled?

Here's what I was trying to make happen:

I need to be able to set a percentage in place of the base bet in the string arguments so that as the balance increases, so will the base bet in proportion to the balance.

Ex. My bankroll is .01BTC so the percent I would set is 0.00152590218966964% setting my base bet to 0.00000153 approx and giving me around 16 maximum bets in the martingale (x2) strategy.

I looked through the code and it seems simple enough. I was thinking that a baseBetPercent variable (in place of the original baseBet) could store this percent value i was referring to and the nextBetAmount could be set to something like nextBetAmount = (CurrentBalance * baseBetPercent); or something to that extent.

I have a little background in programming so I thought id try to recompile it myself however I am unfamiliar with the eclipse compiler as well as the primedice variable for the users current balance.

I'm afraid I really need to ask your help on either doing a quick rewrite and recompile, or pointing me in the right direction so I could try it myself. I'm thinking however, that it might actually be easier for you to do the first suggestion as opposed to teaching me what to do. Regardless, whatever you are comfortable doing, I'd really appreciate it.

Again, great program as is, I hope I'm not asking too much.

Respectfully,
Blayzer
member
Activity: 82
Merit: 10
crimsonnoble of primedice made a bot being sold for 0.06 that works on primedice, it is faster than this, mainly meant for 9900x, TheTiger has made alot of 9900x in a couple hours, http://satoshibox.com/54ee51124c347bdee90083a4

Thanks for the hijack of this thread pointing to a link that no longer works...

If there is a bot that works faster than the one I've written that I think it would be good for the author to share info on how it's done. Otherwise I'm shouting FAKE and SCAM by yourself rkade.

I've searched for crimsonnoble, and have found a good post by them about botting on PrimeDice via a script in Javascript. The thread posts there have people saying they are getting an HTTP 429 response which is the code for "Too Many Requests" - i.e. the server can't handle the load, with recommendations to drop down to a speed of 1 second a bet.

Since I created this thread, I'd warn everyone that has to PAY to get a betting bot before a trial is probably getting scammed.
hero member
Activity: 602
Merit: 500
crimsonnoble of primedice made a bot being sold for 0.06 that works on primedice, it is faster than this, mainly meant for 9900x, TheTiger has made alot of 9900x in a couple hours, http://satoshibox.com/54ee51124c347bdee90083a4
well this is what i need..just like 99dice that has instant autbobet..

i just need fast roll not slow but it will save my time...
brand new
Activity: 0
Merit: 0
crimsonnoble of primedice made a bot being sold for 0.06 that works on primedice, it is faster than this, mainly meant for 9900x, TheTiger has made alot of 9900x in a couple hours, http://satoshibox.com/54ee51124c347bdee90083a4
newbie
Activity: 34
Merit: 0
This section can pose some serious problems if you are using a multiplier other than 2x:
Code:
			if (currentBet != null)
{
successHTTP = successHTTP + 1;
meStats.updateProfitSession(currentBet.getDouble("profit"));
if (!currentBet.getBoolean("win"))
{
//System.out.println("Lost Bet");
nextBetAmount = Math.round(nextBetAmount * increaseOnLossMultiplier);
//System.out.println("Next Bet Is = " + nextBetAmount);
lostCount = lostCount + 1;
if (lostCount == 5)
{
if (direction.equals(LESS))
{
direction = BIG;
}
else
{
direction = LESS;
}
}
}
else
{
nextBetAmount = baseBet;
lostCount = 0;
}

If you are running say a 1.5x multiplier @ <66, losing 5x in a row will change to >66 resulting in a 2.9x multiplier until you get another 5x loss in a row changing it back to <66 1.5x multiplier.

Hi Anonymoose - thanks for taking a look at it. I'm still a little confused as to how the multiplier changes within this code? The multiplier for raising the next bet amount after a loss doesn't change.

Or... are you referring to the part that if I'm betting at say <66, then flipping the sign to >66 will change the betting odds for that bet? If this is the case, then it probably should be (1-BetChance) when flipping from greater to lesser etc?

Or... are you referring to the part that if I'm betting at say <66, then flipping the sign to >66 will change the betting odds for that bet? If this is the case, then it probably should be (1-BetChance) when flipping from greater to lesser etc?

This.

Flipping the sign but keeping the number the same.  So if you are running at a 1.5x multiplier <66 flipping the sign should actually result in >33 to keep it @ 1.5x.  Just using 1.5x @ <66 as an example but applies to any multiplier other than 2x.

Hope this helps.
member
Activity: 82
Merit: 10
This section can pose some serious problems if you are using a multiplier other than 2x:
Code:
			if (currentBet != null)
{
successHTTP = successHTTP + 1;
meStats.updateProfitSession(currentBet.getDouble("profit"));
if (!currentBet.getBoolean("win"))
{
//System.out.println("Lost Bet");
nextBetAmount = Math.round(nextBetAmount * increaseOnLossMultiplier);
//System.out.println("Next Bet Is = " + nextBetAmount);
lostCount = lostCount + 1;
if (lostCount == 5)
{
if (direction.equals(LESS))
{
direction = BIG;
}
else
{
direction = LESS;
}
}
}
else
{
nextBetAmount = baseBet;
lostCount = 0;
}

If you are running say a 1.5x multiplier @ <66, losing 5x in a row will change to >66 resulting in a 2.9x multiplier until you get another 5x loss in a row changing it back to <66 1.5x multiplier.

Hi Anonymoose - thanks for taking a look at it. I'm still a little confused as to how the multiplier changes within this code? The multiplier for raising the next bet amount after a loss doesn't change.

Or... are you referring to the part that if I'm betting at say <66, then flipping the sign to >66 will change the betting odds for that bet? If this is the case, then it probably should be (1-BetChance) when flipping from greater to lesser etc?
newbie
Activity: 34
Merit: 0
This section can pose some serious problems if you are using a multiplier other than 2x:
Code:
			if (currentBet != null)
{
successHTTP = successHTTP + 1;
meStats.updateProfitSession(currentBet.getDouble("profit"));
if (!currentBet.getBoolean("win"))
{
//System.out.println("Lost Bet");
nextBetAmount = Math.round(nextBetAmount * increaseOnLossMultiplier);
//System.out.println("Next Bet Is = " + nextBetAmount);
lostCount = lostCount + 1;
if (lostCount == 5)
{
if (direction.equals(LESS))
{
direction = BIG;
}
else
{
direction = LESS;
}
}
}
else
{
nextBetAmount = baseBet;
lostCount = 0;
}

If you are running say a 1.5x multiplier @ <66, losing 5x in a row will change to >66 resulting in a 2.9x multiplier until you get another 5x loss in a row changing it back to <66 1.5x multiplier.
newbie
Activity: 34
Merit: 0
Bot works nice.  Thank you!  Cool

A tip for Windows users to get this running because there is not much of a howto.

First you need to make sure you have Java installed:

Click Start -> type cmd to open the Command Prompt
Then type java -version

If it can't find anything, you need to download and install it from the Java website. https://java.com/en/download/

Once that is done, extract the .zip file from GitHub to your desktop (can be anywhere but put it here for the tutorial)

In your command prompt window you need to make sure it is reading from the proper directory, by default it will be on:
C:\Users\YourComputerName>
So to point it to the proper folder type:
C:\Users\YourComputerName>cd Desktop\PrimeDiceBot-master

NOW you can type:
C:\Users\YourComputerName\Desktop\PrimeDiceBot-master>java -jar PrimeBot.jar

And the rest of the instructions will appear on the screen.  If you have any troubles feel free to PM me.

Thanks again daCoops for the bot!
hero member
Activity: 784
Merit: 1000
There shouldn't be a problem - all the code that I use here was taken from their API. If they didn't want people to automate the betting, then they shouldn't publish an API on their site.
I get it. Thanks!
Gonna try it soon
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
full member
Activity: 476
Merit: 100
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
Hey - that would be much appreciated if you could! Many thanks
How-to has been sent! Enjoy and good luck. Wink
member
Activity: 82
Merit: 10
If you need help with creating a release, just tell me and I will write you a nice how-to. Wink

Hey - that would be much appreciated if you could! Many thanks
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
If you need help with creating a release, just tell me and I will write you a nice how-to. Wink
member
Activity: 82
Merit: 10
I'm new with (real) bot things, but would PrimeDice let the users to use external bot? I don't want getting kicked Tongue

There shouldn't be a problem - all the code that I use here was taken from their API. If they didn't want people to automate the betting, then they shouldn't publish an API on their site.
hero member
Activity: 784
Merit: 1000
I'm new with (real) bot things, but would PrimeDice let the users to use external bot? I don't want getting kicked Tongue
member
Activity: 82
Merit: 10
I've uploaded the jar file to the repo now as well. I know it's not the correct thing to do for a code repo, but I'm getting a few PMs about people not being able to run this. More info is on the Readme.md on GitHub now. Hopefully people can at least get it running now  Smiley
You should use release for that (which is the clean and correct way). You can create releases (and upload Jar's to it) here.

Many thanks - I'll take a look at doing that. I'm new to Git & GitHub. Usually use SVN offline myself, but trying to learn Git is....well a git.
full member
Activity: 288
Merit: 100
its a dumb question, but im not savy with stuff like this but does this work on macs?
yes will work
full member
Activity: 168
Merit: 100
its a dumb question, but im not savy with stuff like this but does this work on macs?
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
I've uploaded the jar file to the repo now as well. I know it's not the correct thing to do for a code repo, but I'm getting a few PMs about people not being able to run this. More info is on the Readme.md on GitHub now. Hopefully people can at least get it running now  Smiley
You should use release for that (which is the clean and correct way). You can create releases (and upload Jar's to it) here.
sr. member
Activity: 462
Merit: 251

I'll make another bot to analyze your bot source

Thanks man you greate Cheesy


member
Activity: 82
Merit: 10
I've uploaded the jar file to the repo now as well. I know it's not the correct thing to do for a code repo, but I'm getting a few PMs about people not being able to run this. More info is on the Readme.md on GitHub now. Hopefully people can at least get it running now  Smiley
full member
Activity: 288
Merit: 100
if someone can add a preroll option that would be perfect.
member
Activity: 82
Merit: 10
Why don't you upload the source to Github? That way people can make adjustments and comments. Also checking out a source would be a lot easier if it was on Github or any Git related website for that matter.

Yep - just did that. Originally uploaded it to BitBucket, but then not as User friendly as GitHub for non registered people to browse, so it's now on GitHub..

https://github.com/daCoops/PrimeDiceBot
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
Why don't you upload the source to Github? That way people can make adjustments and comments. Also checking out a source would be a lot easier if it was on Github or any Git related website for that matter.
member
Activity: 82
Merit: 10
love the bot . thanks for making such a nice bot.


Many thanks!
full member
Activity: 288
Merit: 100
love the bot . thanks for making such a nice bot.
sr. member
Activity: 637
Merit: 262
nice bot works well. but profit dno.
member
Activity: 82
Merit: 10
Will you be adding a GUI? It seems pretty difficult to use for non-savvy users.
Or just simply post a guide on how to use this. That would satisfy the people who have no idea what to do with this.

Or that too, lets of some stress on you  Wink .


A GUI... will take a look into it but can't promise anything - mainly because I've never coded a GUI in Java before... won't be a fast turnaround - but why not, I'll give it a try
legendary
Activity: 1050
Merit: 1000
Will you be adding a GUI? It seems pretty difficult to use for non-savvy users.
Or just simply post a guide on how to use this. That would satisfy the people who have no idea what to do with this.

Or that too, lets of some stress on you  Wink .
member
Activity: 98
Merit: 10
GUI would be super helpful. I guess im not as tech savvy as I though... Huh Huh Huh
hero member
Activity: 490
Merit: 500
Will you be adding a GUI? It seems pretty difficult to use for non-savvy users.
Or just simply post a guide on how to use this. That would satisfy the people who have no idea what to do with this.
legendary
Activity: 1050
Merit: 1000
Will you be adding a GUI? It seems pretty difficult to use for non-savvy users.
newbie
Activity: 10
Merit: 0
it  shows  me  error  Sad
member
Activity: 82
Merit: 10
Hey All,

I know that a few people have contacted me about the bot for the source code - and I have sent it. I think that maybe the original links are not working anymore. Although I'm not actively coding this, it would be interesting to know if people have made any good mods or improvements to it etc

If there's still interest in it then I can maybe find a better place for the source code to host it...
member
Activity: 82
Merit: 10


Or you can PM me and I'll send it to you direct via email, along with the Eclipse project etc.

Let me know what people think.
Thanks


You had PM

Sorry - didn't check the thread in a while..

Eclipse Project sent.

Looks like the error you had means that it hasn't found the JSON jar file that it needs. It's within the zip I sent you. If it still brings up the error then you need to make sure that the Jar is included in the build path for the project within Eclipse.

Email / PM me direct if you still get problems...
sr. member
Activity: 292
Merit: 250


Or you can PM me and I'll send it to you direct via email, along with the Eclipse project etc.

Let me know what people think.
Thanks


You had PM
sr. member
Activity: 292
Merit: 250
I tried to compile but reports errors with json

"error: package org.json.simple does not exist"


(I'm a newbie...)

thanks
member
Activity: 82
Merit: 10
Is there a strategy to make it go faster? To me, I would think  you would just lost your money that much quicker. So, is it better to bet as fast as you can? Id like to know if there is an advantage.

Well my strategy was that with Martingale, you rely upon the odds to get you back in the Black after a loss and a big Bank. If you betting very low, e.g. 0.00000001 - then with a bank of say 0.01 or 0.1 etc, it would take 18 - 22 bad throws in a row at 51% win chance to bust you. VERY unlikely (although still possible). Obviously this wont make you rich if the betting is slow. The faster the betting with this strategy, the more money!

Even a gain of say 20 - 30 bets a minute will give you a lot of benefit over a few hours to a day...

That's how I've been using it. It's not foolproof, but there is no "Winning" strategy to any dice game that is purely statistics...
hero member
Activity: 924
Merit: 1000
Is there a strategy to make it go faster? To me, I would think  you would just lost your money that much quicker. So, is it better to bet as fast as you can? Id like to know if there is an advantage.
member
Activity: 82
Merit: 10
Didn't even launch for me? Sad

Did you run the jar file using the command line in the pic?

java -jar PrimeBot.jar

Any error message?
newbie
Activity: 2
Merit: 0
Didn't even launch for me? Sad
member
Activity: 82
Merit: 10
Hi All,

Yes yet another betting bot for Prime Dice, but just thought that I would share it with the community as some people might benefit. I prefer Java as a language, and I couldn't find any bots for PD in Java, and so I created this.

It's no frills to be perfectly honest - but it has a few advantages:

  • Speed: As fast as I can get it and as fast as PD allows (at the moment). I got frustrated by how slow the PrimeDice website Auto Bet was, and so I tried to make a bot that was faster. PD's website averaged ~80 bets per minute for my tests. My java bot averages ~110. From what I can gather, The PrimeDice website and/or Cloudflare rate limits requests coming into their website. I think that they must do this based on the Access Token used for the request, and possibly tracking IPs. It seems to be limited to roughly a request every 280 to 320 milliseconds. Sending too many bet requests results in an HTTP 429 response (Too Many Requests). My bot script tweaks the delay between each request, and gradually attempts to get faster as successful HTTP requests are processed, and pulls back the delay if too much.
  • Easy To Mod: I've just coded this as simple as problem to use the Martingale style strategy with a tweakable Multiplier. Nice and easy, but perfect for strategies that require high throughput of bets. The code is nicely laid out (I'm no expert coder and I knocked this up in a day.
  • No Browser / timeout errors: Again problems with auto bet where it freezes after a few hours. This doesn't do that.

Here's a screenshot:


The source code is posted here free. There's been a lot of scams and scares over bots and mystery scripts stealing bitcoins. This doesn't do that as you can read through the source code.

If it helps other people create betting bots and use it as a "boiler plate" for complex strategies then I'll be happy. I've tested it quite a bit and not many bugs so far. I've posted here both the runnable jar and the source code.

If you'd like to donate and show appreciation then be my guest! Bit Coin Address is:
1Gj9AtrqAKmqKUYzuc27dmiGpro4Bk7BEe

And/or you can affiliate me by
https://primedice.com/?ref=Cunter

Link to source code:
https://github.com/daCoops/PrimeDiceBot

Or you can PM me and I'll send it to you direct via email, along with the Eclipse project etc.

Let me know what people think.
Thanks
Jump to: