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 go () {
- $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
- onBetComplete = function(e){
- var xol= getR(1,3)
- var now;
- if (xol==1){
- now = Math.ceil(getR(7777,9999));
- }else if (xol==2) {
- now = Math.ceil(getR(70000,80000));
- }else{
- now = Math.ceil(getR(500,999));
- }
- 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 longest = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var longer = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var winn=0;
- var chance = 49.95;
- var nextbet;
- midwinn=0;
- midloss=0;
- var fraction=44;
- var long = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var basebet=longer/fraction;
- var more = (document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
- var target = longest*10;
- 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 < 499499) {
- winn=0;
- }else{
- winn++;
- }
- if (winn==2){
- nextbet = ((document.getElementById('BetSizeInput').value)*2);
- winn=0;
- }
- if ((document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText) >= more+(basebet*3)) {
- nextbet = ((document.getElementById('BetSizeInput').value)*2);
- more = parseFloat(document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
- }
- if ((document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText) >= (long*((1/fraction)+1))) {
- nextbet = ((document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText)/fraction);
- long=parseFloat(document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
- }
- if (nextbet==null){
- nextbet=(document.getElementById('BetSizeInput').value);}
- if ((document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText) >= (longer*((1/(fraction/2))+1))) {
- nextbet=((document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText)/(fraction*2));
- longer=parseFloat(document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
- }
- if ((document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText) > target) {
- //stop();
- $('#notification').html('Relax & Reload');
- alert('Relax & Reload');
- console.log('Relax & Reload');
- return;
- }
- parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
- $('#BetLowButton').click();}
- setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement