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 longer=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var long=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var loss=0;
- var winn=0;
- var chance = 49.95;
- var nextbet;
- var fraction=200;
- var basebet=longer/fraction;
- var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var target = 50000;
- var nob=getR(1,2);
- var wyn=0;
- var bad=0;
- parseFloat(document.getElementById('BetSizeInput').value = (basebet));
- function bethigh() {
- var secret=parseFloat($('#LastBetInfoSecret').html());
- var tossy=0;
- var lossy=0;
- var bethight;
- var mosy=0;
- var kossy=0;
- if (secret<499500){
- bethight=false;
- return false;
- }else{
- bethight=true;
- return true;
- }
- if ((secret < 499500)&&(bethight==true)) {
- tossy++;
- lossy=0;
- mosy=0;
- kossy=0;
- } else if ((secret < 499500)&&(bethight==false)) {
- lossy++;
- mosy=0;
- kossy=0;
- tossy=0
- }else if ((secret > 499500)&&(bethight==true)) {
- mosy++;
- kossy=0;
- lossy=0;
- tossy=0;
- }else{
- kossy++;
- lossy=0;
- tossy=0;
- mosy=0;
- }
- if (tossy>=1){
- return true;
- tossy = 0;}
- if (mosy>=1){
- return true;
- mosy = 0;}
- if (lossy>=1){
- return false;
- lossy = 0;}
- if (kossy>=1){
- return false;
- kossy = 0;}}
- 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;
- basebet=bal/fraction;
- if (bal>=(more+(basebet*4))) {
- nextbet=previousbet*2;
- more=(parseFloat(bal));
- }
- if (bal<=(longer-(basebet*16))){
- nextbet=previousbet*2;
- longer=balance;
- }
- if (bal>=(long+(basebet*8))) {
- nextbet=basebet;
- long=(parseFloat(bal));
- more=(parseFloat(bal));
- }
- if (nextbet==null) {
- nextbet=previousbet;
- }
- if (bal > target) {
- //stop();
- $('#notification').html('Relax & Reload');
- alert('Relax & Reload');
- console.log('Relax & Reload');
- return;
- }
- parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
- if (bethigh()==true) {
- $('#BetHighButton').click();}
- else if (bethigh()==false) {
- $('#BetLowButton').click();}}
- setInterval(() => dobet(), 3000);
- function no () {
- var vim = document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML
- return parseInt(vim,16);
- }
- function go () {
- $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
- onBetComplete = function(e){
- var secret=parseFloat($('#LastBetInfoSecret').html());
- var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var now;
- var hitlerone=0;
- var hitlertwo=0;
- var hitlerthree=0;
- if ((bethigh()==true)&&(secret>499500)){
- now = Math.ceil(no()/99999999999999999999999999999999999999999999999999999999999999999999999);
- }else if ((bethigh()==false)&&(secret<499500)){
- now = Math.ceil(no()/99999999999999999999999999999999999999999999999999999999999999999999999);}
- else{
- hitlerone++;
- hitlertwo++;
- hitlerthree++;}
- if (hitlerone==1){
- now = Math.ceil(no()/(99999999999999999999999999999999999999999999999999999999999999999999999*(secret/1000000)));
- hitlerone=0 } else
- if (hitlertwo==2){
- now = Math.ceil(no()/(99999999999999999999999999999999999999999999999999999999999999999999999*(secret/100000)));
- hitlertwo=0 } else
- if (hitlerthree==3){
- now = Math.ceil(no()/(99999999999999999999999999999999999999999999999999999999999999999999999*(secret/10000)));
- hitlerthree=0; }
- else {
- now = Math.ceil(no()/99999999999999999999999999999999999999999999999999999999999999999999999);}
- setTimeout(() => {
- $(".ManualSeedControls:visible input").val(now)}, 50);
- }
- $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
- setInterval(() => go(), 51);
- setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement