moisesolivar 14 #1 Posted July 9, 2017 (edited) Took me a while to get the math part done, but yeah, you don't have to do anything. It chooses the best combination of payout, bet multiplier, and base bet for your balance. Profit per hour/day will depend on your overall balance. The best part is, it's extremely low risk, like really. Extremely low risk. Minimum balance is 0.005 to prevent infinite loops with the formula! Basically an upgraded martingale with automatic calculations and 2 features. Let me know of any features you want in this script. PS. Tested on my laptop with an i5 processor. If you're running on a lower processing unit, or something old, or really old, Dicebot WILL look like it's frozen, but it's actually just doing the math, and will be fine in a couple of minutes. Be patient. Wait, sit back, and relax. tipu="username" -- where to tip tipt=false -- enable/disable tipping on hitting profit target. true = enable, false = disable target=0.0005 -- target profit, also tip amount rs=true -- set true to reset after hitting target, false to stop after hitting target -- Dont change anything beyond here p=1.98 m=1.01 b=balance bb=0.0001 f=(bb*m^(p*10))*(m/(m-1)) ff=(bb*m^(p*10))*p fa=0 mod=1 while fa <= 0.00000001 do if b < 0.005 then print("Minimum balance : 0.005") break end f=(bb*m^(p*10))*(m/(m-1)) ff=(bb*m^(p*10))*p if mod == 1 then m=m+0.01 end if mod == 2 then p=p+.01 mod=1 end fa=ff-f while f > b and fa <= 0.00000001 do bb=bb-0.00000001 f=(bb*m^(p*10))*(m/(m-1)) ff=(bb*m^(p*10))*p fa=ff-f if bb < 0.00000001 then bb=0.0001 m=1.01 mod=2 break end end end if b >= 0.005 then print("Payout") print(p) print("Loss Multiplier") print(m) print("Base Bet") print(bb) print(fa) end chance=99/p nextbet=bb wc=0 rc=0 bethigh=true enablesrc=false enablezz=false pt=balance+target function dobet() if balance < 0.005 then stop() end if win then rc=rc+1 nextbet=bb if wc < 2 then wc=wc+1 else if bethigh then bethigh=false else bethigh=true end wc=0 end if balance >= pt then pt=balance+target if !rs then stop() end if tipt then tip(tipu,target) end end else nextbet=previousbet*m rc=rc+1 end if rc >= 200 then resetseed() rc=0 end end Edited July 9, 2017 by moisesolivar 1 1 Shermhead and bluewave reacted to this Share this post Link to post Share on other sites
skanderkrid 15 #2 Posted July 9, 2017 waaaw I really appreciate that just I think that 0.005 as minimum balance is too high and I don't know how to make scripts work can u help me with that ? Share this post Link to post Share on other sites
moisesolivar 14 #3 Posted July 9, 2017 3 minutes ago, skanderkrid said: waaaw I really appreciate that just I think that 0.005 as minimum balance is too high and I don't know how to make scripts work can u help me with that ? If i could reduce the minimum, i would. Dicebot -> Settings Mode -> Programmer mode * Paste on the code tab. Type start() on the console tab to start, and stop() to stop. Share this post Link to post Share on other sites
Absentt 43 #4 Posted July 9, 2017 2 minutes ago, moisesolivar said: If i could reduce the minimum, i would. Dicebot -> Settings Mode -> Programmer mode * Paste on the code tab. Type start() on the console tab to start, and stop() to stop. thanks! this seems neat. where to access the dice bot!? is it an app!? Share this post Link to post Share on other sites
moisesolivar 14 #5 Posted July 9, 2017 Just now, Absentt said: thanks! this seems neat. where to access the dice bot!? is it an app!? Link's at the bottom of the forum, it says "Primedice Bot". Or just go to bot.seuntjie.com 1 Absentt reacted to this Share this post Link to post Share on other sites
Absentt 43 #6 Posted July 9, 2017 1 minute ago, moisesolivar said: Link's at the bottom of the forum, it says "Primedice Bot". Or just go to bot.seuntjie.com holy**** i didn't know this! It's like stepping to a new realm omg. thanks, now i gotta try ur script definitely! 1 cryptomonkey reacted to this Share this post Link to post Share on other sites
skanderkrid 15 #7 Posted July 9, 2017 13 minutes ago, moisesolivar said: If i could reduce the minimum, i would. Dicebot -> Settings Mode -> Programmer mode * Paste on the code tab. Type start() on the console tab to start, and stop() to stop. When i write my username and password in the bot it says it s incorrect What is the problem Share this post Link to post Share on other sites
moisesolivar 14 #8 Posted July 9, 2017 Just now, skanderkrid said: Y When i write my username and password in the bot it says it s incorrect What is the problem You need your API key. Can be found on Primedice -> More -> API. Share this post Link to post Share on other sites
skanderkrid 15 #9 Posted July 9, 2017 Just now, moisesolivar said: You need your API key. Can be found on Primedice -> More -> API. Aah ty bro ❤❤ Share this post Link to post Share on other sites
00sofia00 9 #10 Posted July 9, 2017 nice coding hope i can code like this Share this post Link to post Share on other sites
moisesolivar 14 #11 Posted July 9, 2017 It's mostly in the Math part of it, but thanks! Share this post Link to post Share on other sites
king0007 4 #12 Posted July 9, 2017 So we have to download the bot for this? Share this post Link to post Share on other sites
Kurian 188 #13 Posted July 9, 2017 minimum 0.005 is ok but whats the risk? Share this post Link to post Share on other sites
zkshawn 1 #14 Posted July 9, 2017 good looking code.. how long can i run it until i get bust? Share this post Link to post Share on other sites
moisesolivar 14 #15 Posted July 9, 2017 3 hours ago, king0007 said: So we have to download the bot for this? Yep. 13 minutes ago, Deepahere said: minimum 0.005 is ok but whats the risk? The word very's good, but i'm inclined to say that the risk's extremely low. 6 minutes ago, zkshawn said: good looking code.. how long can i run it until i get bust? I'd say weeks, but it's better to keep an eye on it. Check upon it every hour or two. 1 cryptomonkey reacted to this Share this post Link to post Share on other sites
zkshawn 1 #16 Posted July 9, 2017 5 minutes ago, moisesolivar said: I'd say weeks, but it's better to keep an eye on it. Check upon it every hour or two. Wow weeks is quite long period.. did you try running this one for weeks already? Share this post Link to post Share on other sites
moisesolivar 14 #17 Posted July 9, 2017 (edited) 14 minutes ago, zkshawn said: Wow weeks is quite long period.. did you try running this one for weeks already? No, but based on experience playing with provably fair, the risk's low. But playing with provably fair dice is really unpredictable, so keep an eye out. 11 minutes ago, toohoola said: Same code, but fixed indentaion: https://gist.github.com/anonymous/a1d9b848044a2a0ebce8c04e982724aa Yeah, sorry about that. Didn't feel that need for proper indentations, but thanks! Now people can see the contents clearly. @toohoola f's the formula for the overall balance needed. ff's the formula for the profit earned on exactly the ( p * 10 )th roll. fa's the profit reading. It sees whether the combination of payout and bet multiplier will profit or not. fa's set to 0 in the beginning to trigger the loop. Edited July 9, 2017 by moisesolivar Share this post Link to post Share on other sites
toohoola 30 #18 Posted July 9, 2017 (edited) Same code, but fixed indentaion: https://gist.github.com/anonymous/a1d9b848044a2a0ebce8c04e982724aa @moisesolivar: what is f, fa, and ff ? Edited July 9, 2017 by toohoola 1 moisesolivar reacted to this Share this post Link to post Share on other sites
zkshawn 1 #19 Posted July 9, 2017 10 minutes ago, moisesolivar said: No, but based on experience playing with provably fair, the risk's low. But playing with provably fair dice is really unpredictable, so keep an eye out. Okay bro I'll try to download the bot.. this is going to be the first time for me to use script here on prime dice. Share this post Link to post Share on other sites
imSqually 0 #20 Posted July 16, 2017 tipu="username" i have to put there my username? sorry for that answer but im new on primedice Share this post Link to post Share on other sites
k1327b 0 #21 Posted July 18, 2017 any one tried this? please share the results... Share this post Link to post Share on other sites
s2maxno1s2 0 #22 Posted September 2, 2018 Resetting Seed! Betting Stopped! Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform runtime binding on a null reference at CallSite.Target(Closure , CallSite , Object , String ) at GraphQL.Common.Response.GraphQLResponse.GetDataFieldAs[Type](String fieldName) at DiceBot.PD.ResetSeed() at DiceBot.cDiceBot. () how fix? Share this post Link to post Share on other sites
AlphaStorm 200 #23 Posted September 2, 2018 1 hour ago, s2maxno1s2 said: Resetting Seed! Betting Stopped! Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform runtime binding on a null reference at CallSite.Target(Closure , CallSite , Object , String ) at GraphQL.Common.Response.GraphQLResponse.GetDataFieldAs[Type](String fieldName) at DiceBot.PD.ResetSeed() at DiceBot.cDiceBot. () how fix? This error is related to the new betting engine. So as not to introduce a mistake in the future, the seed should not be changed more than once every 20 minutes. 1 cooldustin reacted to this Share this post Link to post Share on other sites
MrNice23 446 #24 Posted September 3, 2018 Good job @moisesolivar , maybe i will give a try , i never got lucky with auto betting tho. Share this post Link to post Share on other sites
djshadowfax 0 #25 Posted September 3, 2018 (edited) I have run it for a few hours, it works but slowly. i went from 0.007xxxx to 0.008. is it better to remove 0.003 so i just run with 0.005 just to be safe? i mean does it make you more if you have more in your account? i worked out the consecutive losses will be 0.00000001 0.00000002 0.00000003 0.00000005 0.00000008 0.00000013 0.00000022 0.00000036 0.00000060 0.00000101 0.00000169 0.00000281 0.00000470 0.00000786 (i have been this far) 0.00001311 0.00002190 0.00003658 0.00006110 0.00010203 0.00017040 0.00028457 0.00047524 0.00079366 0.00132541 0.00221344 0.00369645 0.00617307 0.01030903 Edited September 3, 2018 by djshadowfax Share this post Link to post Share on other sites