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);
- }
- 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 loss=0;
- var winn=0;
- var chance = 49.95;
- var nextbet;
- midwinn=0;
- midloss=0;
- var fraction=8;
- var basebet=longer/fraction;
- var more = (document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
- var target = 500;
- 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;
- basebet=bal/fraction;
- if (secret < 500500) {
- loss++;
- winn=0;
- }else{
- winn++;
- }
- if (bal >= more+(basebet*3)) {
- nextbet = previousbet*2.1;
- more = (parseFloat(bal));
- }else if (Math.fmod(winn,3)==0){
- nextbet = previousbet*2.1;
- } else {
- nextbet=previousbet;
- }
- if (nextbet >= (bal/4)) {
- nextbet = basebet;
- }
- if (bal > target) {
- //stop();
- $('#notification').html('Relax & Reload');
- alert('Relax & Reload');
- console.log('Relax & Reload');
- return;
- }
- parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
- $('#BetHighButton').click();}
- setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement