Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
- 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()/(getR(30000000000000000000000000000000000000000000000000000000000000000000000,50000000000000000000000000000000000000000000000000000000000000000000000)));
- }else if (xol==2) {
- now = Math.ceil(no()/(getR(70000000000000000000000000000000000000000000000000000000000000000000000,80000000000000000000000000000000000000000000000000000000000000000000000)));
- }else{
- now = Math.ceil(no()/(getR(90000000000000000000000000000000000000000000000000000000000000000000000,100000000000000000000000000000000000000000000000000000000000000000000000)));
- }
- setTimeout(() => {
- $(".ManualSeedControls:visible input").val(now)}, 20);
- }
- $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
- setInterval(() => go(), 30);
- var longer = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var loss=0;
- var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var fraction=50000;
- var basebet=longer/fraction;
- var target = 500;
- parseFloat(document.getElementById('BetSizeInput').value = (basebet));
- function dobet(){
- var chance = 49.95;
- var secret = parseFloat($('#LastBetInfoSecret').html());
- var balance = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var basebet=balance/fraction;
- var nextbet;
- var previousbet=document.getElementById('BetSizeInput').value;
- document.getElementById('BetChanceInput').value = chance;
- if (secret > 499499) {
- loss++;
- }
- if (balance > more){
- nextbet=balance/fraction;
- more=(parseFloat(balance));
- }else if (Math.fmod(loss,1)==0) {
- nextbet=previousbet*((getR(150,250))/100);
- }else{
- nextbet=previousbet;
- }
- if (balance > target) {
- //stop();
- $('#notification').html('Relax & Reload');
- alert('Relax & Reload');
- 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