mbithy / Trevel

The smartest Bitcoin Gambling bot for freebitco.in.
88 stars 56 forks source link

Ghost bets #15

Closed kazi308 closed 6 years ago

kazi308 commented 6 years ago

Hi, I was wondering if anyone has any ideas of how to prevent ghost bets?

Thanks

mbithy commented 6 years ago

don't be faster than your internet also the website may delay the response time just to make sure you are not a bot when they notice many requests

kazi308 commented 6 years ago

I am wondering if there is any way to confirm the response before continuing the loop...

xcape commented 6 years ago

Hi, i am trying this to prevent "max time out"


// to stop in timeout
 $(document).ajaxStop(function () {
    var timeout= $("#double_your_btc_error").html();
    if (timeout!=""){
        console.log("Stop to bet, to preevent leaks");
        env.stop=true;
    }
  });
abadieferu commented 6 years ago

@xcape Please Can you advise on which part of the code I can place the suggested function?


    var timeout= $("#double_your_btc_error").html();
    if (timeout!=""){
        console.log("Stop to bet, to preevent leaks");
        env.stop=true;
    }
  });```