Pages:
Author

Topic: BOT for PrimeDice for free! - page 8. (Read 43925 times)

sr. member
Activity: 252
Merit: 250
12CDKyxPyL5Rj28ed2yz5czJf3Dr2ZvEYw
June 23, 2014, 05:40:58 PM
#32
This looks awesome thanks! OP what is your profit from this bot?



Thank you very much. About profit i think i wrote somewhere earlier, i lost all after making nice money, i was playing too much with settings, wasnt patient at all
sr. member
Activity: 252
Merit: 250
12CDKyxPyL5Rj28ed2yz5czJf3Dr2ZvEYw
June 23, 2014, 05:38:48 PM
#31
Hey! Good job Smiley
I want to stop 4th red bet in one row and I don't want to use preroll function. How can I do this?

I'm not sure what you mean, can you write me more in pm?

Thanks to the guy that sent me first tip ;-)
legendary
Activity: 1288
Merit: 1110
June 23, 2014, 05:27:10 PM
#30
Hey! Good job Smiley
I want to stop 4th red bet in one row and I don't want to use preroll function. How can I do this?
full member
Activity: 169
Merit: 100
June 23, 2014, 02:06:57 AM
#29
This looks awesome thanks! OP what is your profit from this bot?
sr. member
Activity: 252
Merit: 250
12CDKyxPyL5Rj28ed2yz5czJf3Dr2ZvEYw
June 22, 2014, 02:02:51 PM
#28
is using the bot better than betting by myself?

do i get better odds or anything?


No, using bot is only faster way to bet and it's doing as you set it up, so you don't have to change bets or anything, bot i doing it automaticly. And bot has rules to follow and no emotions, while your betting can be influenced by emotions. Bot is perfect if you have rules and you want fast bets. Otherwise it's useless.
sr. member
Activity: 467
Merit: 250
June 22, 2014, 01:55:44 PM
#27
Thank you. I have a bad experience with opening link, so I beware from that time. Smiley
sr. member
Activity: 252
Merit: 250
12CDKyxPyL5Rj28ed2yz5czJf3Dr2ZvEYw
June 22, 2014, 01:44:06 PM
#26
Can you post the code here, I don't like downloading txt file just to copy paste its looks suspicious to me?


Sure thing, here it is, anyways it's not to be downloaded, when you open link you get preview and than you copy it and paste it in PD.
I don't know why people are so scared to open links...

function setBotParams() { params = {

   bet: 0.00000010,      // SET TO YOUR INITIAL START BET AFTER PREROLL

   odds: 10,         // winning chance

   type: 1,            // high / low roll (1 = low, 0 = high)

   runs: 100000,         // number of bets to make

   pad_bet: 0.00000000,   // bet to make while pre-rolling

   prerolls: 15,         // NUMBER OF LOSSES BEFORE STARTS BETTING

   on_loss_multi: 1.1134,      // multiply bet on loss (after pre-rolling) (1.1134 = 11.34% on LOSS)

   stop_min: 0.00000000,   // stop betting if number drops to/below this number

   stop_max: 0.02000000,   // stop betting if number reaches this number

   all_in_save: false,      // go all-in if bet is higher than balance

   high_low_swap: false,   // invert roll each bet

   // -- don't edit below this point --

   loss_count: 0,

   current_run: 0,

   current_bet: 0,

   current_run_loss: 0,

   capping_loss: false

}; }

var lastmessage = -20,

autobet_speed = -200000,

normalbet_speed = -20000,

id = 0,

timedCount, timer, lastYourBet = 0,

lastAllBet = 0,

lastBigBet = 0,

autobet_halt, first_load = true,

autobet_index = false,

prev_balance = 0,

bet_ids = [];

function bet(bet, odds, type, callback) {

$.ajax({

   url: '/api/bet.php',

   type: 'post',

   data: {

      'bet': bet,

      'game': odds,

      'type': type == 0 ? 1 : 0,

      'client_seed': $('#client-seed').val()

   },

   dataType: 'json',

   success: function (data) {

      if (data.error) {

         autobet_halt = true;

         return;

      }

      var $seed = $('#client-seed'),

      seed = $seed.val(),

      $parent = $seed.parent(),

      i = seed.indexOf('-'),

      val;

      if (i == -1) {

         seed += '-0000';

         i = seed.indexOf('-');

      }

      val = (parseInt(seed.substr(i + 1)) + 1).toString();

      while (val.length < 4) {

         val = '0' + val;

      }

      seed = seed.substr(0, i) + '-' + val;

      $seed.val(seed);

      $parent.find('.pretty-text').text(seed);

      $('#server-seed').text(data.next_server_seed);

      prev_balance = data.balance;

      $('#balance').val(data.balance);

      $('#balance-value').text(data.balance).stop(true, true).css({

         color: data.result == "1" ? '#0f0' : '#f66'

      }).animate({

         color: '#fff'

      }, 500);

      

   },

   error: function (jqXHR) {

      autobet_halt = true;

   },

   complete: function (jqXHR) {

      var data;

      try {

         data = $.parseJSON(jqXHR.responseText);

      } catch (e) {

         data = false;

      }

      if (typeof callback === 'function') {

         callback(data);

      }

   }

});

}

function auto_bet(params) {

   if (bot_enabled === true) {

      if (params.current_run === params.runs) {

         botoff();

         alert("Bot stopped- completed " + params.runs + " runs");

      } else {

         setTimeout(function () {

            var current_balance = parseFloat($('#balance-value').text());

            if (current_balance === 0) {

               autobet_index = false;

               alert("Bot stopped- balance is zero")

               return;

            } else if (params.current_bet > current_balance) {

               if (parmas.all_in_save === true) {

                  params.current_bet = current_balance;

               } else {

                  botoff();

                  alert("Bot stopped- bet is higher than balance");

                  return;

               }

            } else if (current_balance < params.stop_min) {

               botoff();

               alert("Bot stopped- balance below " + params.stop_min);

               return;

            } else if (current_balance === params.stop_min) {

               botoff();

               alert("Bot stopped- balance below " + params.stop_min);

               return;

            } else if (current_balance > params.stop_max) {

               botoff();

               alert("Bot stopped- balance reached " + params.stop_min);

               return;

            } else if (current_balance === params.stop_max) {

               botoff();

               alert("Bot stopped- balance reached " + params.stop_min);

               return;

            }

            bet(params.current_bet, params.odds, params.type, function (data) {

               var i, a, j, curbet;

               if (data) {

                  params.current_run++;

                  autobet_index = params.current_run;

                  if (data.result == 0) {

                     if (params.capping_loss == true) {

                        params.current_bet *= params.on_loss_multi;

                     } else {

                        if (params.current_run_loss == params.prerolls) {

                           params.capping_loss = true;

                           params.current_run_loss = 1;

                           params.current_bet = params.bet;

                        } else {

                           params.current_run_loss += 1;

                        }

                     }

                     params.loss_count += 1;

                  } else {

                     params.current_bet = 0;

                     params.current_run_loss = 1;

                     params.capping_loss = false;

                     params.loss_count = 1;

                  }

               curbet = params.current_bet.toString();

               if (curbet.indexOf('e') > -1) {

                  i = parseInt(curbet.substr(0, curbet.indexOf('e')).replace('.', ''));

                  a = parseInt(curbet.substr(curbet.indexOf('e') + 2));

                  curbet = i.toString();

                  for (j = 1; j < a; j++) {

                     curbet = '0' + curbet;

                  }

                  params.current_bet = '0.' + curbet;

               }

               params.current_bet = +('' + params.current_bet).substr(0, ('' +params.current_bet).indexOf('.') + 9);

               if (data.balance < data.current_bet) {

                  return;

               }

            }

            if (params.current_run < 10000000) {

               if (params.high_low_swap === true) {

                  if (params.type === 1) {

                     params.type = 0;

                     params.odds = 100 - params.odds

                  } else {

                     params.type = 1;

                     params.odds = 100 - params.odds

                  }

               }

               if(params.current_bet < params.pad_bet)

                  params.current_bet = params.pad_bet;

                  auto_bet(params);

               } else {

                  setBotParams();

                  params.current_bet = params.pad_bet;

                  autobet_index = false;

                  auto_bet(params);

                  return;

               }

            })

         }, autobet_speed);

      }

   }

    console.clear();

console.clear(); console.log("Current loss streak:  " +params.current_run_loss);

}

function addRows($table, rows, autobet_i) {

   var table_selector = $table.selector,

   td_tmpl = '
   $tableod, $tr, top, new_top, count = 0,

   need_placeholder = false,

   trhtml = '';

   if (rows.error) {

      return;

   }

//   console.log('new rows!');

   $table.stop(true);

   $tableod = $table.clone();

   if ($tableod.find('tr.placeholder').length) {

      need_placeholder = true;

      $tableod.find('tr.placeholder').remove();

//      console.log(need_placeholder ? 'Has Placeholder' : 'No Placeholder');

   }

   top = parseInt($table.css('top'));

   if (isNaN(top)) top = 0;

   $.each(rows, function (i, data) {

      if (data.error) {

         return;

      }

      if (count == 30 || (!autobet_i && data.bet_id && $.inArray(data.bet_id, bet_ids) !== -1)) return;

      need_placeholder = !need_placeholder;

      count++;

      bet_ids.push(data.bet_id);

      var value = data.winnings.toString(),

      multiplier = data.multiplier.toString();

      if (value.indexOf('.') !== -1) {

         value += '00000000';

      }

      value = value.substr(0, value.indexOf('.') + 9);

      value = value.indexOf('-') != -1 ? value.substr(1) : value;

      value = (data.result == "1" ? '+' : '-') + value;

      if (multiplier.indexOf('.') == -1) {

         multiplier += '.00000';

      } else {

         multiplier += '00000';

         multiplier = multiplier.substr(0, multiplier.indexOf('.') + 6);

      }

      trhtml += '' + td_tmpl + '' + data.bet_id + '' + (autobet_i ? ' (' + params.loss_count + ') (' + autobet_i + ')' : '') + '' + td_tmpl + '>' + data.username + '' + td_tmpl + '>' + data.elapsed + '' + td_tmpl+ '>' + data.bet + '' + td_tmpl + '>' + multiplier + '' + td_tmpl + '>' + data.game + '' + td_tmpl+ '>' + data.roll + '' + td_tmpl + ' style="color: ' + (data.result == "1" ? 'green' : 'red') + '">' + value+ '' + '';

   });

   $tableod.prepend(trhtml);

   if (need_placeholder) {

      $tableod.find('tr:first').clone().addClass('placeholder').prependTo($tableod);

      top = -(count * 34) - 34;

      new_top = -34;

   } else {

      top = -(count * 34);

      new_top = 0;

   }

   $tableod.css('top', top);

   $tableod.find('tr:gt(30)').addClass('removing');

   $table.replaceWith($tableod);

   $tableod.stop().animate({

      'top': new_top

   });

   $tableod.find('tr.removing').animate({

      opacity: 0

   }, function () {

      $(this).remove();

   });

//   console.log($tableod.find('tr:first').is('.placeholder') ? 'Has Placeholder' : 'No Placeholder');

}

function updateYourBets() {

$.ajax({

   url: '/api/get_bets.php',

   data: {

      id: parseInt($('#user-id').text()),

      count: '30',

      bet_id: lastYourBet

   },

   type: 'post',

   dataType: 'json',

   success: function (data) {

   if (!data || data.length === 0) return;

      lastYourBet = data[0].bet_id;

      addRows($('#table-1'), data);

   }

});

}

function updateBigBets(callback) {

$.ajax({

   url: '/api/get_bets.php',

   data: {

      value: '.5',

      count: '30',

      bet_id: lastBigBet

   },

   type: 'post',

   dataType: 'json',

   success: function (data) {

      if (!data || data.length === 0) return;

      lastBigBet = data[0].bet_id;

      addRows($('#table-3'), data);

   },

   complete: function () {

      if (typeof callback == 'function') callback();

   }

});

}

function updateAllBets(callback, first) {

   if (first) {

      $.ajax({

         url: '/api/get_bets.php',

         data: {

            count: '30',

            bet_id: lastAllBet

         },

         type: 'post',

         dataType: 'json',

         success: function (data) {

            if (!data || data.length === 0) return;

            lastAllBet = data[0].bet_id;

            addRows($('#table-2'), data.reverse());

         },

         complete: callback

      });

      return;

   }

   var did_one = false,

   checker = function () {

      if (did_one && typeof callback == 'function') callback();

      did_one = true;

   };

   $.ajax({

      url: '/api/get_bets.php',

      data: {

         count: '30',

         bet_id: lastAllBet,

         value: '0.1'

      },

      type: 'post',

      dataType: 'json',

      success: function (data) {

         if (!data || data.length === 0) return;

         lastAllBet = data[0].bet_id;

         addRows($('#table-2'), data.reverse());

      },

      complete: checker

   });

   $.ajax({

      url: '/api/get_bets.php',

      data: {

         count: '1',

         bet_id: lastAllBet,

         less: '0.1'

      },

      type: 'post',

      dataType: 'json',

      success: function (data) {

         if (!data || data.length === 0) return;

         lastAllBet = data[0].bet_id;

         addRows($('#table-2'), data.reverse());

      },

      complete: checker

   });

}

function updateBalance(checker) {

$.ajax({

   url: '/api/get_balance.php',

   dataType: 'json',

   success: function (data) {

      $('#balance').val(data.balance);

      $('#balance-value').text(data.balance);

   },

   complete: checker

});

}

function update(callback) {

   var did_count = 0,

   checked = function () {

      did_count++;

      if (did_count == 4 && typeof callback == 'function') callback();

   }

   updateStats(checked);

   updateAllBets(checked, first_load);

   updateBigBets(checked);

   updateBalance(checked);

   first_load = false;

}

function updateStats(checked) {

$.ajax({

   url: '/api/stats.php',

   type: 'get',

   dataType: 'json',

   success: function (data) {

      $('#stats-wagered').text(data.wagered);

      $('#stats-bets').text(data.bets);

      $('#stats-bank').text(data.bank);

   },

   complete: checked

})

}

function botoff() { bot_enabled = false; }

setBotParams();

params.current_bet = params.pad_bet;

autobet_halt = false;

bot_enabled = true;

autobet_index = 0;

auto_bet(params);

newbie
Activity: 8
Merit: 0
June 22, 2014, 01:37:59 PM
#25
is using the bot better than betting by myself?

do i get better odds or anything?
sr. member
Activity: 467
Merit: 250
June 22, 2014, 01:31:12 PM
#24
Can you post the code here, I don't like downloading txt file just to copy paste its looks suspicious to me?
hero member
Activity: 658
Merit: 502
June 22, 2014, 05:46:58 AM
#23
Well I just lost 0.1 with your crap bot... Thanks are you working for primedice?


You have to set it right, not gourmand, and be patience Wink
sr. member
Activity: 252
Merit: 250
12CDKyxPyL5Rj28ed2yz5czJf3Dr2ZvEYw
June 22, 2014, 05:27:34 AM
#22
Well I just lost 0.1 with your crap bot... Thanks are you working for primedice?

Sorry to hear that, i have Sig campaign for PD like a lot of people on this forum. I have no other connections with PD, and like i said, use bot only at your own risk.

From curiosity, what settings did you use?
legendary
Activity: 966
Merit: 1000
In holiday we trust
June 22, 2014, 12:11:03 AM
#21
Well I just lost 0.1 with your crap bot... Thanks are you working for primedice?
sr. member
Activity: 252
Merit: 250
12CDKyxPyL5Rj28ed2yz5czJf3Dr2ZvEYw
June 21, 2014, 07:16:51 PM
#20
Two bugs :

- a typo on "parmas" instead "params"
Code:
 if (parmas.all_in_save === true) { 

- another, I don't have many informations. Only that after near half hour Bot stopped and tell that my balance is zero. Not true. I've see now that my balance was bigger of stop_max setting.



In general congratulations. I've doubled my balance Smiley




FaSan



Nice to see that it works good for you, i will fix typo, thanks for informing me.
kf_
newbie
Activity: 36
Merit: 0
June 21, 2014, 07:00:14 PM
#19
I've seen scripts like this
Be aware of bots that steal account details .... And eventually withdraw your winnings.
I never use bots anyway, manual is the way to play

You're right- there has been a lot of those going around.  It's very easy to conceal (even in 20 lines of code) so take extreme caution if you don't trust OP.
hero member
Activity: 658
Merit: 502
June 21, 2014, 06:54:59 PM
#18
Two bugs :

- a typo on "parmas" instead "params"
Code:
 if (parmas.all_in_save === true) { 

- another, I don't have many informations. Only that after near half hour Bot stopped and tell that my balance is zero. Not true. I've see now that my balance was bigger of stop_max setting.



In general congratulations. I've doubled my balance Smiley




FaSan

sr. member
Activity: 252
Merit: 250
12CDKyxPyL5Rj28ed2yz5czJf3Dr2ZvEYw
June 21, 2014, 06:45:19 PM
#17
Hi man.Can you change this bot for https://www.999dice.com/? add me in skype pls "spayrok"



I will wait till i get some tips and if it pays off i might get you the code for other sites aswell. I just don't wan't to put effort in it if it's gonna be for free.

Njoy
newbie
Activity: 1
Merit: 0
June 21, 2014, 06:24:05 PM
#16
Hi man.Can you change this bot for https://www.999dice.com/? add me in skype pls "spayrok"
member
Activity: 74
Merit: 10
June 21, 2014, 05:55:15 PM
#15
Yet another issue... I dont know if this happens every time, but i set odds to 24.75, which it says odds = winchance, so that would be 4x payout... Instead it does like 1.31 payout, >24.75
I did have it set to high, it seems to work when its on low
legendary
Activity: 2884
Merit: 1115
Leading Crypto Sports Betting & Casino Platform
June 21, 2014, 05:47:33 PM
#14
This links to a textfile with some code
https://www.virustotal.com/en/url/6006df50c7d1c4864d9fbc897fe623f8957960c2e6e11f79dc602d29e156ec3a/analysis/1403387098/

Not going to run the script myself but I guess it doesn't hurt to be cautious and experiment with it cautiously in a sandbox

@The Gambler Point taken not sure what to check for in code so just virus scanned it lol.
sr. member
Activity: 252
Merit: 250
12CDKyxPyL5Rj28ed2yz5czJf3Dr2ZvEYw
June 21, 2014, 05:43:28 PM
#13
I've seen scripts like this
Be aware of bots that steal account details .... And eventually withdraw your winnings.
I never use bots anyway, manual is the way to play


If you don't trust it, don't use it, but you can check the code before running it and as much as you can see there is no Address inside the code or any withdraw mentioned, huh?
Pages:
Jump to: