Bitcoin Forum
June 27, 2024, 06:52:45 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 »  All
  Print  
Author Topic: Yet Another PrimeDice Bot - Java (Faster than AutoBet!)  (Read 13346 times)
daCoops (OP)
Member
**
Offline Offline

Activity: 82
Merit: 10


View Profile
October 23, 2014, 10:24:25 PM
Last edit: January 08, 2015, 10:55:34 AM by daCoops
 #1

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
DarkPirate2
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 23, 2014, 11:15:46 PM
 #2

Didn't even launch for me? Sad
daCoops (OP)
Member
**
Offline Offline

Activity: 82
Merit: 10


View Profile
October 23, 2014, 11:18:22 PM
 #3

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?
bigasic
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000



View Profile
October 23, 2014, 11:21:26 PM
 #4

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.
daCoops (OP)
Member
**
Offline Offline

Activity: 82
Merit: 10


View Profile
October 23, 2014, 11:25:39 PM
 #5

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...
il_minatore
Sr. Member
****
Offline Offline

Activity: 292
Merit: 250



View Profile
November 06, 2014, 02:54:01 PM
 #6

I tried to compile but reports errors with json

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


(I'm a newbie...)

thanks
il_minatore
Sr. Member
****
Offline Offline

Activity: 292
Merit: 250



View Profile
November 06, 2014, 05:51:28 PM
 #7



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
daCoops (OP)
Member
**
Offline Offline

Activity: 82
Merit: 10


View Profile
November 07, 2014, 01:08:19 PM
 #8



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...
daCoops (OP)
Member
**
Offline Offline

Activity: 82
Merit: 10


View Profile
January 06, 2015, 03:01:12 PM
 #9

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...
vishesh
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
January 06, 2015, 03:21:29 PM
 #10

it  shows  me  error  Sad
CrackedLogic
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000



View Profile
January 06, 2015, 03:35:48 PM
 #11

Will you be adding a GUI? It seems pretty difficult to use for non-savvy users.

Shocked BUY GAMESWITHBTCITCOINFORDISCOUNTEDPRICES Shocked
sickhouse
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
January 06, 2015, 03:48:18 PM
 #12

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.

Turn off the news and read. Watch Psywar, learn something important about our society and PR, why and how it got started and how it brainwashes you.
sethminer14
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
January 06, 2015, 03:55:02 PM
 #13

GUI would be super helpful. I guess im not as tech savvy as I though... Huh Huh Huh

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
♥ ♦ ♣ ♠ SATOSHIBTCET 100% Provably Fair Bitcoin Video Poker & Casino Games » In-Game Faucet ♥ ♦ ♣ ♠
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
CrackedLogic
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000



View Profile
January 06, 2015, 03:57:01 PM
 #14

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 .

Shocked BUY GAMESWITHBTCITCOINFORDISCOUNTEDPRICES Shocked
daCoops (OP)
Member
**
Offline Offline

Activity: 82
Merit: 10


View Profile
January 06, 2015, 05:26:11 PM
 #15

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
baristor
Sr. Member
****
Offline Offline

Activity: 637
Merit: 262


View Profile
January 06, 2015, 06:08:35 PM
 #16

nice bot works well. but profit dno.
fixmod
Full Member
***
Offline Offline

Activity: 288
Merit: 100



View Profile
January 08, 2015, 10:33:17 AM
 #17

love the bot . thanks for making such a nice bot.

daCoops (OP)
Member
**
Offline Offline

Activity: 82
Merit: 10


View Profile
January 08, 2015, 10:34:32 AM
 #18

love the bot . thanks for making such a nice bot.


Many thanks!
Mitchell
Copper Member
Legendary
*
Offline Offline

Activity: 3962
Merit: 2207


Verified awesomeness ✔


View Profile WWW
January 08, 2015, 10:35:35 AM
 #19

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.

.
Duelbits
            ▄████▄▄
          ▄█████████▄
        ▄█████████████▄
     ▄██████████████████▄
   ▄████▄▄▄█████████▄▄▄███▄
 ▄████▐▀▄▄▀▌████▐▀▄▄▀▌██

 ██████▀▀▀▀███████▀▀▀▀█████

▐████████████■▄▄▄■██████████▀
▐██████████████████████████▀
██████████████████████████▀
▀███████████████████████▀
  ▀███████████████████▀
    ▀███████████████▀
.
         ▄ ▄▄▀▀▀▀▄▄
         ▄▀▀▄      █
         █   ▀▄     █
       ▄█▄     ▀▄   █
      ▄▀ ▀▄      ▀█▀
    ▄▀     ▀█▄▄▄▀▀ ▀
  ▄▀  ▄▀  ▄▀

Live Games

   ▄▄▀▀▀▀▀▀▀▄▄
 ▄▀ ▄▄▀▀▀▀▀▄▄ ▀▄
▄▀ █ ▄  █  ▄ █ ▀▄
█ █   ▀   ▀   █ █  ▄▄▄
█ ▀▀▀▀▀▀▀▀▀▀▀▀▀ █ █   █
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█  █▄█
█ ▀▀█  ▀▀█  ▀▀█ █  █▄█

Slots
.
        ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄
        █         ▄▄  █
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄       █
█  ▄▄         █       █
█             █       █
█   ▄▀▀▄▀▀▄   █       █
█   ▀▄   ▄▀   █       █

Blackjack
|█▀▀▀▀▀█▄▄▄
       ▀████▄▄
         ██████▄
▄▄▄▄▄▄▄▄█▀    ▀▀█
████████▄        █
█████████▄        █
██████████▄     ▄██
█████████▀▀▀█▄▄████
▀▀███▀▀       ████
   █          ███
   █          █▀
▄█████▄▄▄ ▄▄▀▀
███████▀▀▀
.
                 NEW!                  
SPORTS BETTING 
|||
[ Đ ][ Ł ]
AVAILABLE NOW

Advertisements are not endorsed by me.
daCoops (OP)
Member
**
Offline Offline

Activity: 82
Merit: 10


View Profile
January 08, 2015, 10:56:29 AM
 #20

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
Pages: [1] 2 3 4 »  All
  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!