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;
- }
- function no () {
- var vim = document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML
- return parseInt(vim,16);
- }
- function go () {
- $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
- onBetComplete = function(e){
- var xol= getR(1,3)
- var now;
- if (xol==1){
- now = Math.ceil(no()/30000000000000000000000000000000000000000000000000000000000000000000000);
- }else if (xol==2) {
- now = Math.ceil(no()/70000000000000000000000000000000000000000000000000000000000000000000000);
- }else{
- now = Math.ceil(no()/90000000000000000000000000000000000000000000000000000000000000000000000);
- }
- setTimeout(() => {
- $(".ManualSeedControls:visible input").val(now)}, 20);
- }
- $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
- setInterval(() => go(), 30);
- 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=50;
- 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 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+(basebet*4))) {
- nextbet=previousbet*2;
- more=(parseFloat(bal));
- }
- if (bal>=(long+(basebet*8))) {
- nextbet=basebet;
- long=(parseFloat(bal));
- more=(parseFloat(bal));
- }
- if (nextbet==null) {
- nextbet=previousbet;
- }
- var tossy=0
- var lossy=0
- var bethigh;
- if (secret < 499500) {
- bethigh = false;
- tossy=0
- lossy++;
- } else {
- bethigh = true;
- tossy++;
- lossy=0
- }
- if (tossy>2){
- bethigh=true;
- tossy = 0;}
- if (lossy>2){
- bethigh=false;
- lossy = 0;
- }
- 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();}
- if (bethigh==false) {
- $('#BetLowButton').click();}}
- setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement