PHP code for Bustabit, up earnings in bitcoin from $1 to $1000 FAST


SUBMITTED BY: staceyjones90

DATE: Dec. 13, 2016, 12:43 a.m.

FORMAT: Text only

SIZE: 3.4 kB

HITS: 695

  1. // ------------------------------------------------------------------------------------------------------------------------
  2. var baseBet = 200; // Set the base bet here. I recommend to set it to ~200 if you have 100k bits as start balance. You can do as you wish though regardless.
  3. // ------------------------------------------------------------------------------------------------------------------------
  4. // --------------------------------------------------------------------------------------------------
  5. // I recommend not to edit the settings below. They were calculated to be the best options possible. If you change any setting at all it can have an adverse affect. Only do so when 100% sure.
  6. // --------------------------------------------------------------------------------------------------
  7. var skip1 = 6; // skip X games after second lost game.
  8. var skip2 = 0; // skip X games after third lost game.
  9. var skip3 = 6; // skip X games after fourth lost game.
  10. var skip4 = 0; // skip X games after fifth lost game.
  11. var skip5 = 6; // skip X games after sixth lost game.
  12. var skip6 = 2; // skip X games afterwards. This means the script will bet once and then skip X games.
  13. // This would continue to happen until a game is won or you bust.
  14. // ------------------------------------------------------------------------------------------
  15. // The Code
  16. // ------------------------------------------------------------------------------------------
  17. var bet = baseBet * 100;
  18. var currentBet = bet;
  19. var cashOut = 1.05;
  20. var startBalance = engine.getBalance();
  21. var currentBalance = startBalance;
  22. var losses = 0;
  23. var skip = 0;
  24. var lostGames = 0;
  25. var waitXgames = 0;
  26. var CO = 0;
  27. engine.on('game_starting', function(info) {
  28. if (currentBet && engine.lastGamePlay() == 'LOST') {
  29. lostGames++;
  30. currentBalance = engine.getBalance();
  31. losses = startBalance - currentBalance;
  32. currentBet *= 2;
  33. cashOut = (losses / currentBet) + 1.01;
  34. if (lostGames >= 3) {
  35. waitXgames = 0;
  36. if (lostGames == 3) {
  37. skip = skip1;
  38. }
  39. if (lostGames == 4) {
  40. skip = skip2;
  41. }
  42. if (lostGames == 5) {
  43. skip = skip3;
  44. }
  45. if (lostGames == 6) {
  46. skip = skip4;
  47. }
  48. if (lostGames == 7) {
  49. skip = skip5;
  50. }
  51. if (lostGames >= 8) {
  52. skip = skip6;
  53. }
  54. }
  55. } else {
  56. currentBalance = engine.getBalance();
  57. if (currentBalance > startBalance) {
  58. currentBet = bet;
  59. cashOut = 1.05;
  60. startBalance = engine.getBalance();
  61. lostGames = 0;
  62. skip = 0;
  63. }
  64. }
  65. if (waitXgames >= skip) {
  66. console.log('Placing bet of', Math.floor(currentBet / 100), 'at', Math.round(cashOut * 100) / 100, 'Cash out.');
  67. engine.placeBet(Math.floor(currentBet / 100) * 100, Math.floor(cashOut * 100), false);
  68. }
  69. });
  70. engine.on('game_crash', function(data) {
  71. if (data.game_crash / 100 >= CO) {
  72. waitXgames++;
  73. } else {
  74. waitXgames++;
  75. }
  76. });

comments powered by Disqus