Bitcoin Forum

Bitcoin => Project Development => Topic started by: blayzer on April 09, 2015, 06:39:38 AM



Title: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: blayzer on April 09, 2015, 06:39:38 AM
4/25/2015 UPDATE v1.3 HERE:
https://bitcointalk.org/index.php?topic=1018417.msg11188934#msg11188934



Hi all,

Just wanted to give back to the community.

I basically modified this for my own use. I'm not a coder so the code may not be as clean as it should be however, it is safe and scam free. Nonetheless, use at your own risk.

Feel free to clean up or fix as needed. I'm giving you this just as the original creator gave the source. I hope it serves you well.
Feedback is good but please be constructive.

basically its code is from daCoops from this thread: https://bitcointalk.org/index.php?topic=833129

I just tried to add and improve the bot based on how I used it. Feel free to use it if it helps you.

Here are some of the added functionality:

• Base bet in max bets
• Base bet based on balance * multiplier i.e (balance * .25 will always be 25% of balance even if your balance grows or shrinks)
• Luck based bets - will reduce base bet by 1/2 if luck is over 100%
• Improved zig zag
• Randomize client seed after x losses
• Play warning alert after x losses
• Reset back to base bet after x losses
• Stop after x losses
• Auto Withdraw x amount when balance reaches a certain number
• Display Bet ID
• Display Roll result
• Display Nonce
• Display wins/losses
• Display Maximum bets
• Display luck
• Display current and longest losing streak


http://s17.postimg.org/poiv9j6wv/2015_04_09_10_46_46_pd.png

Program arguments (I suggest using a batch file)
Quote
java -jar PBBot.jar [Username] [Password] [Base Bet] [Base Betmode] [LuckBets] [Target] [Increase On Loss Multiplier] [ZigZag] [Randomize Seed] [Warning Alert] [Reset on Loss] [Stop on Loss] [Profit Target] [Withdraw on Balance] [Withdraw Amount] [Withdraw Address]
e.g.
java -jar PBBot.jar Bob Bob123 16 1 0 49.5 2.0 9 9 10 4 99 0.001 0.0024378  0.0011 1BtDA32VwButWhsE4343AqfJt3EnnvjPZL
   [Base Bet]:
      Your Base Bet. entering a value of 0.00000001, represents PrimeDice lowest bet - 0.00000001 BTC if used with the proper betmode.
   [Base Betmode]:
      1 specifies base bet will be treated as x number of max bets. 2 indicates it's a multiplier for the bankroll balance. 0 will set it as a direct base bet in 0.00000000 format.
   [LuckBets]:
      Set to 0 or 1. When enabled, base bet is reduced by 1/2 when luck is > 100% as loss is expected due to the law of large numbers. This gives player an extra bet in the event of a bad streak.
   [Target]:
      The Win Chance. e.g. 51.5 represents a win chance of 51.5%
   [Increase On Loss Multiplier]:
      The Factor increase to increase your bet on loss. CAUTION! This is a multiplier and NOT a Percentage. e.g. 2.1 Will Multiply Previous Bet * 2.1 on loss for next wager
   [ZigZag]:
      Switch hi/lo after this many losses.
   [Randomize Seed]:
      Randomize client seed after this many losses.
   [Warning Alert]:
      Play alert sound after this many losses (Windows Beep)
   [Reset on Loss]:
      reset back to base bet after this many losses
   [Stop on Loss]:
      stop betting after this many losses
   [Profit Target]:
      Target Profit for the session.
   [Withdraw on Balance]:
      Automatically withdraw when balance reaches this amount.
   [Withdraw Amount]:
      Withdraw this amount.
   [Withdraw Address]:
      Bitcoin address to receive withdrawal.

Please consider donating. Part of your donations will go to the original developer as well.
1BtDA32VwButWhsE4343AqfJt3EnnvjPZL

working .jar file:
http://www17.zippyshare.com/v/yWNtzwj7/file.html

source:
http://pastebin.com/HCigE76a

link to original source:
https://bitcointalk.org/index.php?topic=833129

Credits to the original source.


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: LiQuidx on April 09, 2015, 06:52:00 AM
Thanks. Looks interesting so i will give it a look..
Also be careful if you plan to use it.. I recommend reading the source code and compiling it yourself.


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: Zaih on April 09, 2015, 08:01:50 AM
Very nice! Trying now


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: boopy265420 on April 09, 2015, 08:09:53 AM
Fantastic definitely this one is must try and see what comes out. Thanks it is great work done by you.


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: blayzer on April 10, 2015, 01:42:26 AM
Thanks. Looks interesting so i will give it a look..
Also be careful if you plan to use it.. I recommend reading the source code and compiling it yourself.


Yes, I recompiled this myself. I placed a link to the one I recompiled for those who want to use it right away. I assure you there is no malicious code in it. I also Included the source should you wish to go through it and compile it yourself. The only thing I should warn you about is perhaps how neat the coding is. :)


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: pulluphf on April 11, 2015, 11:49:03 PM
This does not work at all for me  ???
https://i.imgur.com/7xxLcfm.png


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: tytanick on April 12, 2015, 08:07:33 AM
It is working, try this:

https://db.tt/CzyFM7qK


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: blayzer on April 13, 2015, 12:32:52 PM
This does not work at all for me  ???
https://i.imgur.com/7xxLcfm.png


Use the BTC format like 0.00000001 for 1 satoshi instead of just 1.

This is a change from the original one by daCoops


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: blayzer on April 13, 2015, 12:48:35 PM
Version 1.0.1

-Fixed updating of balance after withdraw.
-Some code cleaning

Please update to this version.

Source:
http://pastebin.com/kGSYvFAW

.jar file:
http://www26.zippyshare.com/v/akjdMydL/file.html


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: pulluphf on April 16, 2015, 10:15:33 PM
Could you make it so that there is a pre-roll option? Meaning, that it will wait for a certain loss streak before it starts betting.
For example, you can set the pre-roll bet value to 0.00000000 , then after 15 losses in a row it starts betting @ your base bet value, and then continues on with w/e your options are.
If you add this I'll love you <3
Also, could you add when insufficient funds, it goes all in option?

If it had all these options + what it has now I'd be a VERY happy camper.
Also one last request, could you make it so that on WIN it zigzags, so one more option: zigzag after x win streak : 0-∞
Code:
bet: 0.00000010,		// SET TO YOUR INITIAL START BET AFTER PREROLL
odds: 10, // winning chance
type: 1, // high / low roll (1 = low, 0 = high)
runs: 100000, // number of bets to make
pad_bet: 0.00000000, // bet to make while pre-rolling
prerolls: 15, // NUMBER OF LOSSES BEFORE STARTS BETTING
on_loss_multi: 1.1134, // multiply bet on loss (after pre-rolling) (1.1134 = 11.34% on LOSS)
stop_min: 0.00000000, // stop betting if number drops to/below this number
stop_max: 0.02000000, // stop betting if number reaches this number
all_in_save: false, // go all-in if bet is higher than balance
high_low_swap: false, // invert roll each bet
https://i.imgur.com/OX7DRLg.png


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: pulluphf on April 16, 2015, 10:50:27 PM
It is working, try this:

https://db.tt/CzyFM7qK
Thanks, fixed the issue, bet mode = 1 needed to =0 + add 0.0000000 in front of the 5 ^-^


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: blayzer on April 17, 2015, 09:07:31 AM
Could you make it so that there is a pre-roll option? Meaning, that it will wait for a certain loss streak before it starts betting.
For example, you can set the pre-roll bet value to 0.00000000 , then after 15 losses in a row it starts betting @ your base bet value, and then continues on with w/e your options are.
If you add this I'll love you <3
Also, could you add when insufficient funds, it goes all in option?

If it had all these options + what it has now I'd be a VERY happy camper.
Also one last request, could you make it so that on WIN it zigzags, so one more option: zigzag after x win streak : 0-∞
Code:
bet: 0.00000010,		// SET TO YOUR INITIAL START BET AFTER PREROLL
odds: 10, // winning chance
type: 1, // high / low roll (1 = low, 0 = high)
runs: 100000, // number of bets to make
pad_bet: 0.00000000, // bet to make while pre-rolling
prerolls: 15, // NUMBER OF LOSSES BEFORE STARTS BETTING
on_loss_multi: 1.1134, // multiply bet on loss (after pre-rolling) (1.1134 = 11.34% on LOSS)
stop_min: 0.00000000, // stop betting if number drops to/below this number
stop_max: 0.02000000, // stop betting if number reaches this number
all_in_save: false, // go all-in if bet is higher than balance
high_low_swap: false, // invert roll each bet
https://i.imgur.com/OX7DRLg.png

These are indeed great suggestions I'll see what I can do but I cant promise anything.
In the mean time, I think you can do all these features with Dice Bot.
Here's a link:
https://bitcointalk.org/index.php?topic=307425.0

I hope this helps.


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: tytanick on April 20, 2015, 03:58:35 PM
Hi
Your bot is pretty nice but it causes
Response Code : 429
after some hours
Too many connections

I guess you need to set some bigger delay ?


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: Chabacano on April 20, 2015, 10:32:44 PM
Thanks man its awesome, Im trying now, lets see how it works


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: blayzer on April 21, 2015, 12:41:34 AM
Hi
Your bot is pretty nice but it causes
Response Code : 429
after some hours
Too many connections

I guess you need to set some bigger delay ?

I'm not sure why this does it. The original code automatically adjusts speed when it gets too fast and should continue. Do you have another bot or browser oipen using the same account?

I will be releasing an updated one with a little bit more features shortly. you can also wait for that and try it if that would help.


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: blayzer on April 21, 2015, 05:58:44 AM
Hi
Your bot is pretty nice but it causes
Response Code : 429
after some hours
Too many connections

I guess you need to set some bigger delay ?

I'm not sure why this does it. The original code automatically adjusts speed when it gets too fast and should continue. Do you have another bot or browser oipen using the same account?

I will be releasing an updated one with a little bit more features shortly. you can also wait for that and try it if that would help.
I think I just saw the problem. From the way it looks, it seems to be a prob with the primedice api... will check on it in a bit


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: tytanick on April 21, 2015, 10:41:03 AM
also i think that there might be a problem with auto withdraw in script.
When it tries to do that, it receives the same error, over and over, and finally API block this account :)
So this might be a problem, now i blocked auto withdraw by setting 1Bitcoin so it wont withdraw for a loooong time and see what happens.

Also if you want to tune things up...

DATE       TIME         DEL BET ID   NONCE  ROLL  TARGET  STRK    BET PROFIT    SES PROFIT       BALANCE   WINS LOSSES  ROLLS   LUCK MAX
2015-04-21 12:36:01 294 4833505739  370994 64,13 < 20,00  3 17   -0,00000017    0,00014476    0,00366799    228    858   1086 104,97  38

In this code, it show MAX 38 - rounds using martiangle and specific options.
But this is calculated as bet*multiply^38 = MAX balance
but i saw that it screams "insuffiecent funds" on even 34/38 step
so this should be calculated as

bet*multiply^1 + bet*multiply^2 + bet*multiply^3 +bet*multiply^3 + ..... bet*multiply^38 <= Balance - then then MAX number will be correct.

Also if i will deposit or withdraw from webpage, scrips doesnt update balance.


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: syamster on April 21, 2015, 11:50:09 AM
good one, but what I am looking for is, I want to change the the 'Bet Range' frequently, instead of going with under 32,000 only, I want to change it to 36,000 in the second, then change it to some other... frequent changing of 'Bet Range', is this possible...


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: tytanick on April 21, 2015, 07:55:12 PM
everything is possible.


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: itod on April 22, 2015, 02:28:33 PM
I have an issue after receiving HTTP 200 response, here's the command line:

Code:
itod@ubuntu:~/Desktop$ java -jar PBBot101.jar myuser mypass 0.00000001 0 0 49.5 2.0 999 999 10 999 999 0.0001 0.1 0.1 1itod1vPdh4rCtaJiewNQjd4JnfZw7ZTN

And here's the response:

Code:
Primedice Better Bot 1.0.1 
Copyright (C) 2015 blayzer

Original code from daCoops (https://bitcointalk.org/index.php?topic=833129)

Please consider donating: 1BtDA32VwButWhsE4343AqfJt3EnnvjPZL

Initializing startup sequence...

System Settings:
Base Bet: 1.0E-8
Bet Mode: 0
Adjust on luck 0
Chance: 49.5
Zig Zag every 999 losses
Randomize Client Seed after 999 losses
Warning alert after: 10 losses
Reset base bet after: 999 losses
Stop betting after: 999 losses
Profit Target: 1.0E-4
Withdraw on Target: 0.1
Amount to Withdraw: 0.1
Withdraw Address: 1itod1vPdh4rCtaJiewNQjd4JnfZw7ZTN

Logging in...
Username: myuser
Password: mypass
Response Code : 200

Retrieving user info...
Response Code : 200
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: org.json.JSONException: JSONObject["address"] not a string.
at org.json.JSONObject.getString(JSONObject.java:658)
at PrimeBot.PrimeBot$UserStats.parseStats(PrimeBot.java:798)
at PrimeBot.PrimeBot.doStats(PrimeBot.java:757)
at PrimeBot.PrimeBot.main(PrimeBot.java:172)
... 5 more

What can be the reason?


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: tytanick on April 22, 2015, 04:04:39 PM
Caused by: org.json.JSONException: JSONObject["address"] not a string.
he doesnt like your wallet address :P

try using my address ?
1Bh5VJMf5VnjGXEVCU8MikncL5i5NEUaQv


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: sikaxchange on April 22, 2015, 04:43:59 PM
must confess this has been helpful thanks for sharing the Primedice Better Bot details


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: itod on April 22, 2015, 11:38:04 PM
Caused by: org.json.JSONException: JSONObject["address"] not a string.
he doesnt like your wallet address :P

try using my address ?
1Bh5VJMf5VnjGXEVCU8MikncL5i5NEUaQv


It's not quite a solution, isn't it? I might as well use 1BitcoinEaterAddressDontSendf59kuE (https://blockchain.info/address/1BitcoinEaterAddressDontSendf59kuE). Why it doesn't like perfectly good address like mine?


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: itod on April 24, 2015, 10:13:57 AM
Caused by: org.json.JSONException: JSONObject["address"] not a string.
he doesnt like your wallet address :P

try using my address ?
1Bh5VJMf5VnjGXEVCU8MikncL5i5NEUaQv


Definitely that was not the cause of the problem. I've tried 1BitcoinEaterAddressDontSendf59kuE (seriously) and donation 1BtDA32VwButWhsE4343AqfJt3EnnvjPZL address, all of them return the same error. Wander what might be the problem.


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: PremiumCodeX on April 24, 2015, 11:41:34 AM
Although I am junior yet in Java, according to my current knowledge there is no malicious code in this bot's source code and since you can build it yourself... Also, it was readable enough for me : - ) Thank you for sharing us the code!


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: blayzer on April 25, 2015, 03:00:57 AM
also i think that there might be a problem with auto withdraw in script.
When it tries to do that, it receives the same error, over and over, and finally API block this account :)
So this might be a problem, now i blocked auto withdraw by setting 1Bitcoin so it wont withdraw for a loooong time and see what happens.

Also if you want to tune things up...

DATE       TIME         DEL BET ID   NONCE  ROLL  TARGET  STRK    BET PROFIT    SES PROFIT       BALANCE   WINS LOSSES  ROLLS   LUCK MAX
2015-04-21 12:36:01 294 4833505739  370994 64,13 < 20,00  3 17   -0,00000017    0,00014476    0,00366799    228    858   1086 104,97  38

In this code, it show MAX 38 - rounds using martiangle and specific options.
But this is calculated as bet*multiply^38 = MAX balance
but i saw that it screams "insuffiecent funds" on even 34/38 step
so this should be calculated as

bet*multiply^1 + bet*multiply^2 + bet*multiply^3 +bet*multiply^3 + ..... bet*multiply^38 <= Balance - then then MAX number will be correct.

Also if i will deposit or withdraw from webpage, scrips doesnt update balance.


Hi,

I'm sorry to hear that your account was blocked. I believe the withdraw setting should be set so that it doesn't withdraw too quickly. I appreciate the feedback, I'm looking at fixing that max bets, in the mean time, I find that using a multiplier works better for me. (option 2). It's a bit more difficult to compute but with an excel sheet, it's quite easy. The updating of balance has been fixed in the 1.3 release.

I use the following:

1   1.0000000000000000000000000
2   0.3333333333333330000000000
3   0.1428571428571430000000000
4   0.0666666666666667000000000
5   0.0322580645161290000000000
6   0.0158730158730159000000000
7   0.0078740157480315000000000
8   0.0039215686274509800000000
9   0.0019569471624266100000000
10   0.0009775171065493650000000
11   0.0004885197850512950000000
12   0.0002442002442002440000000
13   0.0001220852154804050000000
14   0.0000610388817676860000000
15   0.0000305185094759972000000
16   0.0000152590218966964000000
17   0.0000076294527393550100000
18   0.0000038147118175957400000
19   0.0000019073522707982500000
20   0.0000009536752259018190000
21   0.0000004768373855769090000
22   0.0000002384186359449950000
23   0.0000001192093037616380000
24   0.0000000596046483281045000
25   0.0000000298023232758738000
26   0.0000000149011614158923000
27   0.0000000074505806524349800
28   0.0000000037252903123397000
29   0.0000000018626451527004000
30   0.0000000009313225754828400

The number on the left is the maximum bets you want to set. This is all based on 49.5% win chance and a 2.0 multiplier on loss.

Example, if you want 16 maximum bets based on your balance then set 0.0000152590218966964 as your multiplier and set 2 as your bet mode. If you have .01BTC then this sets the base bet at 0.00000153 and grows as your balance grows maintaining the 16 max bet setting.

I'm just cleaning up some code and I'll be releasing a newer version for you all to test out.

Thanks!



Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: blayzer on April 25, 2015, 03:02:01 AM
Although I am junior yet in Java, according to my current knowledge there is no malicious code in this bot's source code and since you can build it yourself... Also, it was readable enough for me : - ) Thank you for sharing us the code!

Thanks! You are right, no malicious code here.

Possibly the only thing bad about the code would be how messy it is...hahahaha


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: blayzer on April 25, 2015, 03:57:56 AM
NEW VERSION RELEASE 1.3

Changes:

• Auto Withdraw and Seed Change functions fixed
• Added stats for profits per min, hour, day
• Cleaned up code
• Added display modes

Quote
java -jar PBBot.jar [Username] [Password] [Base Bet] [Base Betmode] [LuckBets] [Target] [Increase On Loss Multiplier] [ZigZag] [Randomize Seed] [Warning Alert] [Reset on Loss] [Stop on Loss] [Profit Target] [Withdraw on Balance] [Withdraw Amount] [Withdraw Address] [Display Mode]
e.g.
java -jar PBBot.jar Bob Bob123 0.0000152590218966964 2 0 49.5 2.0 9 9 10 4 99 0.001 0.0024378  0.0011 1BtDA32VwButWhsE4343AqfJt3EnnvjPZL 3
   [Base Bet]:
      Your Base Bet. entering a value of 0.00000001, represents PrimeDice lowest bet - 0.00000001 BTC if used with the proper betmode.
   [Base Betmode]:
      1 specifies base bet will be treated as x number of max bets. 2 indicates it's a multiplier for the bankroll balance. 0 will set it as a direct base bet in 0.00000000 format. (Update: Mode 1 is still not fully implemented so I suggest using Mode 0 or 2 instead)
   [LuckBets]:
      Set to 0 or 1. When enabled, base bet is reduced by 1/2 when luck is > 100% as loss is expected due to the law of large numbers. This gives player an extra bet in the event of a bad streak.
   [Target]:
      The Win Chance. e.g. 51.5 represents a win chance of 51.5%
   [Increase On Loss Multiplier]:
      The Factor increase to increase your bet on loss. CAUTION! This is a multiplier and NOT a Percentage. e.g. 2.1 Will Multiply Previous Bet * 2.1 on loss for next wager
   [ZigZag]:
      Switch hi/lo after this many losses.
   [Randomize Seed]:
      Randomize client seed after this many losses.
   [Warning Alert]:
      Play alert sound after this many losses (Windows Beep)
   [Reset on Loss]:
      reset back to base bet after this many losses
   [Stop on Loss]:
      stop betting after this many losses
   [Profit Target]:
      Target Profit for the session.
   [Withdraw on Balance]:
      Automatically withdraw when balance reaches this amount.
   [Withdraw Amount]:
      Withdraw this amount.
   [Withdraw Address]:
      Bitcoin address to receive withdrawal.
   [Display Mode]:
      Set to 1,2,3,4, or 5. (See images below)


Display Mode 1: Most detailed display.
http://s28.postimg.org/hsn0nddfx/00_Display1.png

Display Mode 2: Headers with every line
Shows Bets / min, Estimated Hourly and Daily Profits
http://s24.postimg.org/9mh41krol/00_Display2.png

Display Mode 3: Same as Display Mode 2 but without headers
http://s17.postimg.org/ug8sh6can/00_Display3.png

Display Mode 4: Headers with every line
Shows Bet ID, Nonce, Wins, Losses, Rolls (STRK is LSTR or losing streak)
http://s16.postimg.org/np79s33yd/00_Display4.png

Display Mode 5: Same as Display Mode 4 but without headers
http://s23.postimg.org/cco8l2nu3/00_Display5.png



Item Descriptions:

BPM
Bets Per Minute - This is calculated using #bets placed / minutes elapsed

TARGET
The number needed to win the roll "<" means less than or ">" means greater than.

WSTR
Win Streaks. There are 2 numbers under this, the left indicating the current win streak and the right one is the longest win streak.

LSTR
Losing Streaks. There are 2 numbers under this, the left indicating the current losing streak and the right one is the longest losing streak.

MAX
Maximum bets based on the base bet

LUCK
The luck percentage displayed shows how many rolls you have won compared to how many you 'should' have won. For example, if you play 10 times with a 10% chance of winning and win two of the 10 rolls, your luck will show as 200%, since you have won twice as many as you 'should' have. Bet size is not taken into account when calculating luck, so it is possible to have a luck less than 100% and still show a profit if your winning bets risked more than your losing bets.

For example, suppose you are playing with a 50% chance to win (ie. a 1.98x payout). You bet 1 BTC and lose. You double up to 2 BTC and lose again. You double again and lose 4 BTC, and then double one more time to 8 BTC and win. You have played 4 times and won once. Your luck shows as 50% since you have won half as many games as you would expect to with a 50% chance of winning, but your profit is positive. You have lost 1+2+4 = 7 BTC and won 0.98*8 = 7.84 BTC for a profit of 0.84 BTC. (Source from Primedice.com)

BET AMOUNT
Your base bet

BET PROFIT
Profit from bet - can be different from BET AMOUNT depending on payout / chance

SES PROFIT
Profits since the bot was started

BALANCE
Your Account balance

PROFIT/SEC
Computed by Session Profits / Total seconds elapsed

PROFIT/MIN
Computed by Session Profits / (Total seconds elapsed / 60)

PROFIT/HR
Computed by Session Profits / (Total seconds elapsed / 3600)

PROFIT/DAY
Computed by Session Profits / (Total seconds elapsed / 86400)


LINKS:

.jar file
http://www15.zippyshare.com/v/R1WeI93J/file.html

.java source
http://pastebin.com/DjvUwYpW

Thanks!


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: tytanick on April 26, 2015, 01:27:01 PM
thx for update :)
Withdraw is ok i think, i need to test more.

15 -> 13 -> 12 -> 11 -> 9 :P

Beside this, anyone have "best" configuration for NOT LOSING ? ;) - meaby send to PM ? :)

Anyway, the MAX number has some bug, look at this:

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:14  17662   104,91  <20,00  0  6 37 36  16  100,05   -0,00004064   -0,00097547    0,00012938   -0,00012938   -0,00011404    0,00400055

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:14  17663   104,92  <20,00  0  6 38 36  15  100,04   -0,00009829   -0,00235885    0,00016173   -0,00016173   -0,00027577    0,00383882

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:15  17664   104,91  <20,00  0  6 39 36  13  100,03   -0,00017032   -0,00408764    0,00020216   -0,00020216   -0,00047793    0,00363666

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:15  17665   104,92  <20,00  0  6 40 36  12  100,03   -0,00026037   -0,00624892    0,00025270   -0,00025270   -0,00073063    0,00338396

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:16  17666   104,92  <20,00  0  6 41 36  11  100,02   -0,00037290   -0,00894968    0,00031588   -0,00031588   -0,00104651    0,00306808

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:17  17667   104,91  <20,00  0  6 42 36   9  100,02   -0,00051355   -0,01232519    0,00039485   -0,00039485   -0,00144136    0,00267323

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:17  17668   104,92  <20,00  0  6 43 36   7  100,01   -0,00068940   -0,01654565    0,00049356   -0,00049356   -0,00193492    0,00217967

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:18  17669   104,91  <20,00  0  6 44 36   5  100,01   -0,00090913   -0,02181907    0,00061695   -0,00061695   -0,00255187    0,00156272

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:18  17670   104,92  <20,00  0  6 45 36   1  100,00   -0,00118387   -0,02841292    0,00077119   -0,00077119   -0,00332306    0,00079153


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: blayzer on April 27, 2015, 03:14:25 AM
thx for update :)
Withdraw is ok i think, i need to test more.

15 -> 13 -> 12 -> 11 -> 9 :P

Beside this, anyone have "best" configuration for NOT LOSING ? ;) - meaby send to PM ? :)

Anyway, the MAX number has some bug, look at this:

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:14  17662   104,91  <20,00  0  6 37 36  16  100,05   -0,00004064   -0,00097547    0,00012938   -0,00012938   -0,00011404    0,00400055

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:14  17663   104,92  <20,00  0  6 38 36  15  100,04   -0,00009829   -0,00235885    0,00016173   -0,00016173   -0,00027577    0,00383882

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:15  17664   104,91  <20,00  0  6 39 36  13  100,03   -0,00017032   -0,00408764    0,00020216   -0,00020216   -0,00047793    0,00363666

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:15  17665   104,92  <20,00  0  6 40 36  12  100,03   -0,00026037   -0,00624892    0,00025270   -0,00025270   -0,00073063    0,00338396

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:16  17666   104,92  <20,00  0  6 41 36  11  100,02   -0,00037290   -0,00894968    0,00031588   -0,00031588   -0,00104651    0,00306808

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:17  17667   104,91  <20,00  0  6 42 36   9  100,02   -0,00051355   -0,01232519    0,00039485   -0,00039485   -0,00144136    0,00267323

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:17  17668   104,92  <20,00  0  6 43 36   7  100,01   -0,00068940   -0,01654565    0,00049356   -0,00049356   -0,00193492    0,00217967

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:18  17669   104,91  <20,00  0  6 44 36   5  100,01   -0,00090913   -0,02181907    0,00061695   -0,00061695   -0,00255187    0,00156272

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:18  17670   104,92  <20,00  0  6 45 36   1  100,00   -0,00118387   -0,02841292    0,00077119   -0,00077119   -0,00332306    0,00079153


Max bets is just more of a guide when you initially start. I'll look into the code again to see if there is anything wrong.


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: blayzer on April 28, 2015, 04:11:44 AM
thx for update :)
Withdraw is ok i think, i need to test more.

15 -> 13 -> 12 -> 11 -> 9 :P

Beside this, anyone have "best" configuration for NOT LOSING ? ;) - meaby send to PM ? :)

Anyway, the MAX number has some bug, look at this:

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:14  17662   104,91  <20,00  0  6 37 36  16  100,05   -0,00004064   -0,00097547    0,00012938   -0,00012938   -0,00011404    0,00400055

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:14  17663   104,92  <20,00  0  6 38 36  15  100,04   -0,00009829   -0,00235885    0,00016173   -0,00016173   -0,00027577    0,00383882

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:15  17664   104,91  <20,00  0  6 39 36  13  100,03   -0,00017032   -0,00408764    0,00020216   -0,00020216   -0,00047793    0,00363666

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:15  17665   104,92  <20,00  0  6 40 36  12  100,03   -0,00026037   -0,00624892    0,00025270   -0,00025270   -0,00073063    0,00338396

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:16  17666   104,92  <20,00  0  6 41 36  11  100,02   -0,00037290   -0,00894968    0,00031588   -0,00031588   -0,00104651    0,00306808

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:17  17667   104,91  <20,00  0  6 42 36   9  100,02   -0,00051355   -0,01232519    0,00039485   -0,00039485   -0,00144136    0,00267323

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:17  17668   104,92  <20,00  0  6 43 36   7  100,01   -0,00068940   -0,01654565    0,00049356   -0,00049356   -0,00193492    0,00217967

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:18  17669   104,91  <20,00  0  6 44 36   5  100,01   -0,00090913   -0,02181907    0,00061695   -0,00061695   -0,00255187    0,00156272

DATE       TIME       BETS      BPM  TARGET  WSTR  LSTR MAX    LUCK     PROFIT/HR    PROFIT/DAY    BET AMOUNT    BET PROFIT    SES PROFIT       BALANCE
2015-04-26 11:13:18  17670   104,92  <20,00  0  6 45 36   1  100,00   -0,00118387   -0,02841292    0,00077119   -0,00077119   -0,00332306    0,00079153


Hey,

See if this update fixes the MaxBets display.

.jar file v1.3.1
http://www47.zippyshare.com/v/aPkdRHjC/file.html



Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: CyberRoamer on April 28, 2015, 01:16:13 PM
I have an issue after receiving HTTP 200 response, here's the command line:

Code:
itod@ubuntu:~/Desktop$ java -jar PBBot101.jar myuser mypass 0.00000001 0 0 49.5 2.0 999 999 10 999 999 0.0001 0.1 0.1 1itod1vPdh4rCtaJiewNQjd4JnfZw7ZTN

And here's the response:

Code:
Primedice Better Bot 1.0.1 
Copyright (C) 2015 blayzer

Original code from daCoops (https://bitcointalk.org/index.php?topic=833129)

Please consider donating: 1BtDA32VwButWhsE4343AqfJt3EnnvjPZL

Initializing startup sequence...

System Settings:
Base Bet: 1.0E-8
Bet Mode: 0
Adjust on luck 0
Chance: 49.5
Zig Zag every 999 losses
Randomize Client Seed after 999 losses
Warning alert after: 10 losses
Reset base bet after: 999 losses
Stop betting after: 999 losses
Profit Target: 1.0E-4
Withdraw on Target: 0.1
Amount to Withdraw: 0.1
Withdraw Address: 1itod1vPdh4rCtaJiewNQjd4JnfZw7ZTN

Logging in...
Username: myuser
Password: mypass
Response Code : 200

Retrieving user info...
Response Code : 200
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: org.json.JSONException: JSONObject["address"] not a string.
at org.json.JSONObject.getString(JSONObject.java:658)
at PrimeBot.PrimeBot$UserStats.parseStats(PrimeBot.java:798)
at PrimeBot.PrimeBot.doStats(PrimeBot.java:757)
at PrimeBot.PrimeBot.main(PrimeBot.java:172)
... 5 more

What can be the reason?

Me too having same problem.
hey op check this problem
Here's the command line
Code:
java -jar pbbot13.jar [username] [password] 0.00000001 0 0 49.5 2.2 3 4 4 8 99 0.0001 0.1 0.001 164PuzrrJ7sDHXBRtYAnyyuAg5D16LuRnJ 2
nd same error


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: blayzer on April 28, 2015, 02:11:17 PM
I have an issue after receiving HTTP 200 response, here's the command line:

Code:
itod@ubuntu:~/Desktop$ java -jar PBBot101.jar myuser mypass 0.00000001 0 0 49.5 2.0 999 999 10 999 999 0.0001 0.1 0.1 1itod1vPdh4rCtaJiewNQjd4JnfZw7ZTN

And here's the response:

Code:
Primedice Better Bot 1.0.1 
Copyright (C) 2015 blayzer

Original code from daCoops (https://bitcointalk.org/index.php?topic=833129)

Please consider donating: 1BtDA32VwButWhsE4343AqfJt3EnnvjPZL

Initializing startup sequence...

System Settings:
Base Bet: 1.0E-8
Bet Mode: 0
Adjust on luck 0
Chance: 49.5
Zig Zag every 999 losses
Randomize Client Seed after 999 losses
Warning alert after: 10 losses
Reset base bet after: 999 losses
Stop betting after: 999 losses
Profit Target: 1.0E-4
Withdraw on Target: 0.1
Amount to Withdraw: 0.1
Withdraw Address: 1itod1vPdh4rCtaJiewNQjd4JnfZw7ZTN

Logging in...
Username: myuser
Password: mypass
Response Code : 200

Retrieving user info...
Response Code : 200
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: org.json.JSONException: JSONObject["address"] not a string.
at org.json.JSONObject.getString(JSONObject.java:658)
at PrimeBot.PrimeBot$UserStats.parseStats(PrimeBot.java:798)
at PrimeBot.PrimeBot.doStats(PrimeBot.java:757)
at PrimeBot.PrimeBot.main(PrimeBot.java:172)
... 5 more

What can be the reason?

Me too having same problem.
hey op check this problem
Here's the command line
Code:
java -jar pbbot13.jar [username] [password] 0.00000001 0 0 49.5 2.2 3 4 4 8 99 0.0001 0.1 0.001 164PuzrrJ7sDHXBRtYAnyyuAg5D16LuRnJ 2
nd same error

Please download the 1.3.1 version and let me know if you still get the same problem. Link is right above your post.


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: CyberRoamer on April 29, 2015, 12:14:12 AM
I have an issue after receiving HTTP 200 response, here's the command line:

Code:
itod@ubuntu:~/Desktop$ java -jar PBBot101.jar myuser mypass 0.00000001 0 0 49.5 2.0 999 999 10 999 999 0.0001 0.1 0.1 1itod1vPdh4rCtaJiewNQjd4JnfZw7ZTN

And here's the response:

Code:
Primedice Better Bot 1.0.1 
Copyright (C) 2015 blayzer

Original code from daCoops (https://bitcointalk.org/index.php?topic=833129)

Please consider donating: 1BtDA32VwButWhsE4343AqfJt3EnnvjPZL

Initializing startup sequence...

System Settings:
Base Bet: 1.0E-8
Bet Mode: 0
Adjust on luck 0
Chance: 49.5
Zig Zag every 999 losses
Randomize Client Seed after 999 losses
Warning alert after: 10 losses
Reset base bet after: 999 losses
Stop betting after: 999 losses
Profit Target: 1.0E-4
Withdraw on Target: 0.1
Amount to Withdraw: 0.1
Withdraw Address: 1itod1vPdh4rCtaJiewNQjd4JnfZw7ZTN

Logging in...
Username: myuser
Password: mypass
Response Code : 200

Retrieving user info...
Response Code : 200
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: org.json.JSONException: JSONObject["address"] not a string.
at org.json.JSONObject.getString(JSONObject.java:658)
at PrimeBot.PrimeBot$UserStats.parseStats(PrimeBot.java:798)
at PrimeBot.PrimeBot.doStats(PrimeBot.java:757)
at PrimeBot.PrimeBot.main(PrimeBot.java:172)
... 5 more

What can be the reason?

Me too having same problem.
hey op check this problem
Here's the command line
Code:
java -jar pbbot13.jar [username] [password] 0.00000001 0 0 49.5 2.2 3 4 4 8 99 0.0001 0.1 0.001 164PuzrrJ7sDHXBRtYAnyyuAg5D16LuRnJ 2
nd same error

Please download the 1.3.1 version and let me know if you still get the same problem. Link is right above your post.

Again getting same error

Edit: Nevermind fixed it. I had to see my deposit address once. Thanks for reply and the bot.
       I think you can take off Deposit Address From Script as I think it has no use.
       Just a Suggestion ;)


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: tytanick on May 07, 2015, 07:43:53 AM
Coul you add some randomizer to > or <  ?
I think that after longer session, primedice can predict what i will do, and with randomizer it cant.

"Randomize Head Tail" - thats it.

Is anyone have winning methodh ?


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: Bardman on May 08, 2015, 09:10:36 AM
Is there any bot that would work on phones? I mean an app that is a bot that you can use on smart phone devices and if its not, can it be made or are you able to make one? I think a lot of people would use it and would be pretty useful, i dont have the knowledge to do it thats why im asking.


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: tytanick on May 08, 2015, 01:34:37 PM
anyway, all bots i tested, and any amout, all end up in loosing finally.


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: itod on May 14, 2015, 07:14:16 AM
anyway, all bots i tested, and any amout, all end up in loosing finally.


What a surprise!  ;D

All bots drive you quickly where you would finally end if you are playing manually - to 0 balance. That's the nature of negative EV game as coin dice is. The only way to gain something is to stop while you are (temporarily) in green, and bots can hardly help you to stop playing. They could, but most people don't use them to stop on time, on the contrary.


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: aaaaa000 on May 20, 2015, 08:20:13 AM
Thanks for sharing. Works well.

If i have any inputs it would be to add a [SleepInmillisecondsBetweenEachBet] switch to avoid 429 .


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: hillsta89 on May 30, 2015, 03:19:44 AM
To avoid error 429 its not bet time, but amount of logins to there api/hr i think? To bump this thread abit can someone please recompile but remove the need to have a deposit address.. Thats the reason a few people are getting the error about the address, not the withdraw address. If your ip is restricted by primedice (Australia) you cant legally deposit, so the bot throws an error because it cannot read it from PrimeDice.. logging in via a non restricted proxy and it works fine - but slow. i removed the code but got no idea how to compile java. PM'd you blayzer if your out there still.


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: blayzer on May 30, 2015, 04:56:11 AM
To avoid error 429 its not bet time, but amount of logins to there api/hr i think? To bump this thread abit can someone please recompile but remove the need to have a deposit address.. Thats the reason a few people are getting the error about the address, not the withdraw address. If your ip is restricted by primedice (Australia) you cant legally deposit, so the bot throws an error because it cannot read it from PrimeDice.. logging in via a non restricted proxy and it works fine - but slow. i removed the code but got no idea how to compile java. PM'd you blayzer if your out there still.

Retrieving the deposit address happens together with the retrieval of balance and other user stats. This needs to happen to allow the basebet multiplier feature to work. removing the deposit address retrieval has no bearing on number of logins.

At the moment, I am swamped with other tasks so I may not be able to do any further work on this bot. I, too, did not know how to compile java. I just downloaded eclipse and googled the rest.



Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: ronimacarroni on June 03, 2015, 02:35:17 AM
I'm getting the same JSONobject["address"] problem
Please fix it dude.
I swear i'll donate if you do.  :-[


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: Simba84 on October 05, 2015, 11:38:05 AM
Hi, link to Bot v 1.3.1 doesn't work  :o Where I can download it?
Thanks


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: melisande on October 05, 2015, 12:50:21 PM
I check the features contain in this bot and i found them appealing because they are the features in every paid versions of this type of bot.
I will definitely give it a try.


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: KatokzRain on June 30, 2016, 12:06:51 PM
NEW VERSION RELEASE 1.3

Changes:

• Auto Withdraw and Seed Change functions fixed
• Added stats for profits per min, hour, day
• Cleaned up code
• Added display modes

Quote
java -jar PBBot.jar [Username] [Password] [Base Bet] [Base Betmode] [LuckBets] [Target] [Increase On Loss Multiplier] [ZigZag] [Randomize Seed] [Warning Alert] [Reset on Loss] [Stop on Loss] [Profit Target] [Withdraw on Balance] [Withdraw Amount] [Withdraw Address] [Display Mode]
e.g.
java -jar PBBot.jar Bob Bob123 0.0000152590218966964 2 0 49.5 2.0 9 9 10 4 99 0.001 0.0024378  0.0011 1BtDA32VwButWhsE4343AqfJt3EnnvjPZL 3
   [Base Bet]:
      Your Base Bet. entering a value of 0.00000001, represents PrimeDice lowest bet - 0.00000001 BTC if used with the proper betmode.
   [Base Betmode]:
      1 specifies base bet will be treated as x number of max bets. 2 indicates it's a multiplier for the bankroll balance. 0 will set it as a direct base bet in 0.00000000 format. (Update: Mode 1 is still not fully implemented so I suggest using Mode 0 or 2 instead)
   [LuckBets]:
      Set to 0 or 1. When enabled, base bet is reduced by 1/2 when luck is > 100% as loss is expected due to the law of large numbers. This gives player an extra bet in the event of a bad streak.
   [Target]:
      The Win Chance. e.g. 51.5 represents a win chance of 51.5%
   [Increase On Loss Multiplier]:
      The Factor increase to increase your bet on loss. CAUTION! This is a multiplier and NOT a Percentage. e.g. 2.1 Will Multiply Previous Bet * 2.1 on loss for next wager
   [ZigZag]:
      Switch hi/lo after this many losses.
   [Randomize Seed]:
      Randomize client seed after this many losses.
   [Warning Alert]:
      Play alert sound after this many losses (Windows Beep)
   [Reset on Loss]:
      reset back to base bet after this many losses
   [Stop on Loss]:
      stop betting after this many losses
   [Profit Target]:
      Target Profit for the session.
   [Withdraw on Balance]:
      Automatically withdraw when balance reaches this amount.
   [Withdraw Amount]:
      Withdraw this amount.
   [Withdraw Address]:
      Bitcoin address to receive withdrawal.
   [Display Mode]:
      Set to 1,2,3,4, or 5. (See images below)


Display Mode 1: Most detailed display.
http://s28.postimg.org/hsn0nddfx/00_Display1.png

Display Mode 2: Headers with every line
Shows Bets / min, Estimated Hourly and Daily Profits
http://s24.postimg.org/9mh41krol/00_Display2.png

Display Mode 3: Same as Display Mode 2 but without headers
http://s17.postimg.org/ug8sh6can/00_Display3.png

Display Mode 4: Headers with every line
Shows Bet ID, Nonce, Wins, Losses, Rolls (STRK is LSTR or losing streak)
http://s16.postimg.org/np79s33yd/00_Display4.png

Display Mode 5: Same as Display Mode 4 but without headers
http://s23.postimg.org/cco8l2nu3/00_Display5.png



Item Descriptions:

BPM
Bets Per Minute - This is calculated using #bets placed / minutes elapsed

TARGET
The number needed to win the roll "<" means less than or ">" means greater than.

WSTR
Win Streaks. There are 2 numbers under this, the left indicating the current win streak and the right one is the longest win streak.

LSTR
Losing Streaks. There are 2 numbers under this, the left indicating the current losing streak and the right one is the longest losing streak.

MAX
Maximum bets based on the base bet

LUCK
The luck percentage displayed shows how many rolls you have won compared to how many you 'should' have won. For example, if you play 10 times with a 10% chance of winning and win two of the 10 rolls, your luck will show as 200%, since you have won twice as many as you 'should' have. Bet size is not taken into account when calculating luck, so it is possible to have a luck less than 100% and still show a profit if your winning bets risked more than your losing bets.

For example, suppose you are playing with a 50% chance to win (ie. a 1.98x payout). You bet 1 BTC and lose. You double up to 2 BTC and lose again. You double again and lose 4 BTC, and then double one more time to 8 BTC and win. You have played 4 times and won once. Your luck shows as 50% since you have won half as many games as you would expect to with a 50% chance of winning, but your profit is positive. You have lost 1+2+4 = 7 BTC and won 0.98*8 = 7.84 BTC for a profit of 0.84 BTC. (Source from Primedice.com)

BET AMOUNT
Your base bet

BET PROFIT
Profit from bet - can be different from BET AMOUNT depending on payout / chance

SES PROFIT
Profits since the bot was started

BALANCE
Your Account balance

PROFIT/SEC
Computed by Session Profits / Total seconds elapsed

PROFIT/MIN
Computed by Session Profits / (Total seconds elapsed / 60)

PROFIT/HR
Computed by Session Profits / (Total seconds elapsed / 3600)

PROFIT/DAY
Computed by Session Profits / (Total seconds elapsed / 86400)


LINKS:

.jar file
http://www15.zippyshare.com/v/R1WeI93J/file.html

.java source
http://pastebin.com/DjvUwYpW

Thanks!
how to open its file ?


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: malbert on July 02, 2016, 04:29:18 AM
how to run this progam


Title: Re: Primedice Better Bot - Fastest, lightest, advanced java based bot
Post by: babsalt1975 on July 02, 2016, 04:39:57 AM
Will this bot work on the just to be launched PD4?