Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function resetseed(){
- var a=document.getElementsByClassName('ManualSeedControls')[0];
- if(!a)return;
- if(a.style.display!='block'){
- console.log('Enabling manual seed');
- if(document.getElementById('AccountTabManualSeed')){
- document.getElementById('AccountTabManualSeed').click();
- }
- resetseed();
- }
- }
- resetseed();
- function getR(min, max) {
- min = Math.ceil(min);
- max = Math.floor(max);
- return Math.floor(Math.random() * (max - min + 1)) + min;
- }
- Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
- var good=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var longer=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var long=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var myseed;
- var chance = 49.95;
- var nextbet;
- var fraction=9999;
- var basebet=longer/fraction;
- var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var target = 350000;
- parseFloat(document.getElementById('BetSizeInput').value = (basebet));
- var win;
- var botbuddy=0;
- var bogus=false;
- function dobet(){
- var secret=parseFloat($('#LastBetInfoSecret').html());
- var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var previousbet=document.getElementById('BetSizeInput').value;
- document.getElementById('BetChanceInput').value = chance;
- if (bal<=more){
- win=false;}
- if (bal>more){
- win=true;
- more=(parseFloat(bal));}
- if (win==false){
- nextbet=(previousbet*2);
- }
- if (win==true){
- nextbet=basebet;
- }
- if (nextbet==null){
- nextbet= previousbet;}
- if (bal>good){
- console.log('in profit');
- }else{
- console.log('not in profit');
- }
- if (bal>target) {
- //stop();
- console.log('get int');
- return;
- }
- var lol;
- if ((win==true)&&(secret>504999)){
- bogus=true;
- lol=true;
- }else if ((win==true)&&(secret<499500)){
- bogus=false;
- lol=false;
- }else if ((win==false)&&(secret>504999)){
- bogus=true;
- lol=true;
- }else if ((win==false)&&(secret<499500)){
- bogus=false;
- lol=false;
- }
- parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
- if (bogus==true){
- $('#BetLowButton').click();
- }else if (bogus==false){
- $('#BetHighButton').click();}}
- var lol= document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML;
- function zim(){
- lol= document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML;
- return (parseInt(lol,16));
- }
- function go(){
- var sec=(parseFloat($('#LastBetInfoSecret').html()));
- $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
- function onBetComplete(e){
- myseed = Math.ceil(zim()/(999999999999999999999999999999999999999999999999999999999999999999999999999/(sec)));
- setTimeout(() => { $(".ManualSeedControls:visible input").val(myseed)}, 50);
- }
- $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
- setInterval(() => go(), 51);
- setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement