Advertisement
Guest User

openAi

a guest
Apr 16th, 2024
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.61 KB | Cryptocurrency | 0 0
  1. /**
  2. *Aihuman Bot form api
  3. *Aihuman Bot form api is extremely easy to use, and will start and run in just a few clicks.
  4. *Aihuman Bot form api works with both big and small bankrolls. The bigger the bankroll, the higher are the chances of you winning
  5. **/
  6. var wageredBits = engine.getBalance()/100;var totalWon = 2;/**Aihuman Bot form api Start**/var maxBet = 100000;var maxLosses = 7;/**Aihuman Bot form api**/var baseCashout = 1.02;
  7. /**Aihuman Bot form api**/var initialWagered = wageredBits;var currentBet;/**Aihuman Bot form api**/var currentCashout = baseCashout;var stopScriptOnLoss = true;var lossStreak = 3;/**Aihuman Bot form api**/var userBalance = engine.getBalance()/100;var divTable = [];var prevLoss = false;
  8. /**Aihuman Bot form api**/var risingBetPercentage = 0;/**Aihuman Bot form api**/for(let i = 0;i<maxLosses+1;i++)divTable[i] = [];/**Aihuman Bot form api**/function idiotTest(){if(userBalance<wageredBits){throwError("wageredBits is higher than your balance");engine.stop();/**Aihuman Bot form api**/
  9. }/**Aihuman Bot form apix**/
  10. if(maxLosses<3 || maxLosses>9){throwError("Use a number between 3 and 9 for maxLosses inclusive.");
  11. engine.stop();/**Aihuman Bot form apix**/}/**Aihuman Bot form api**/
  12. if(risingBetPercentage>1 || risingBetPercentage<0){throwError("risingBetPercentage must be between 0 and 1 inclusive.");
  13. engine.stop();/**Aihuman Bot form apix**/}/**Aihuman Bot form api**/}/**Aihuman Bot form apix**/idiotTest();/**Aihuman Bot form apix**/
  14. /**Aihuman Bot form apix**/function calcBase(wagered,limit){/**Aihuman Bot form api**/var base = wagered;var multiplier = 0.50;/**Aihuman Bot form api**/if(base>maxBet*1.50)base = maxBet*1.50;
  15. for(let i=0;i<limit-1;i++){base = (base*multiplier)/(multiplier+1);}/**Aihuman Bot form apix**/if(Math.floor(base)<1){
  16. throwError(" It seems you have low balance " + wageredBits + " To run on those paramenter You need to have + 2000 Bits if you want to change paramenter please contact https://openai.com .");
  17. engine.stop();}/**Aihuman Bot form apix**/return Math.floor(base);}
  18. currentBet = calcBase(wageredBits,maxLosses);/**Aihuman Bot form apix**/
  19. function calcUnflooredBase(wagered,limit){var base = wagered;var multiplier = 0.50;if(base>maxBet*1.50)base = maxBet*1.50;for(let i=0;i<limit-1;i++){
  20. base = (base*multiplier)/(multiplier+1);}if(Math.floor(base)<1){throwError("It seems you have low balance " + wageredBits + " To run on those paramenter You need to have + 2000 Bits if you want to change paramenter please contact https://openai.com .");
  21. engine.stop();}return base;}/**Aihuman Bot form apix**/function createDivTable(){var precise = calcBase(wageredBits,maxLosses);var sum = precise;
  22. var unprecise = calcUnflooredBase(wageredBits,maxLosses);divTable[0][0] = "RTB";divTable[0][1] = "CB";divTable[0][2] = "NA";
  23. divTable[1][0] = "&#8611;";for(let i = 1;i<maxLosses;i++)divTable[i+1][0] = " ";for(let i = 1;i<maxLosses+1;i++){divTable[i][1] = parseFloat(unprecise.toFixed(4));if(i==1)unprecise*=2;else
  24. unprecise*=3;}/**Aihuman Bot form apix**/for(let i = 1;i<maxLosses+1;i++){divTable[i][2] = precise;if(i==1)precise*=2;else
  25. precise*=3;}}/**Aihuman Bot form apix**/createDivTable();
  26. /**Aihuman Bot form apix**/
  27. engine.on('game_starting', function(info) {console.log("Current balance: " + engine.getBalance() + " will bet " + currentBet + " at " + currentCashout);
  28. engine.placeBet(currentBet*100, Math.round(currentCashout*100));});/**Aihuman Bot form apix**/
  29. /**Aihuman Bot form apix**/engine.on('game_crash', function(data) {if(engine.lastGamePlay()=='NOT_PLAYED')return;if(engine.lastGamePlay()=='LOST'){currentCashout = 1.50;if(lossStreak==0)currentBet *= 2;else
  30. currentBet *= 3;lossStreak++;console.log("LOST: new bet is " + currentBet + " new cashout is " + currentCashout);
  31. divTable[lossStreak][0] = data.game_crash/100;if(lossStreak<maxLosses){divTable[lossStreak+1][0] = "&#8611;";
  32. }/**Aihuman Bot form apix**/prevLoss = true;updateTable(divTable);}/**Aihuman Bot form apix**/
  33. else{currentBet = calcBase(Math.floor(wageredBits),maxLosses);currentCashout = baseCashout;lossStreak = 0;
  34. if(risingBetPercentage!=0 && !prevLoss){wageredBits = initialWagered;totalWon += parseFloat((currentBet*currentCashout-currentBet).toFixed(2));
  35. console.log("Total won " + totalWon);wageredBits += totalWon*risingBetPercentage;console.log("Wagered Bits " + wageredBits);currentBet = calcBase(Math.floor(wageredBits),maxLosses);
  36. }prevLoss = false;console.log("WON: "+ "new bet is " + currentBet + " new cashout is " + currentCashout);createDivTable();updateTable(divTable);}
  37. if(lossStreak==maxLosses){console.log("Max Losses reached")
  38. engine.stop();}});/**Aihuman Bot form apix**/engine.on('msg', function(data) {if(data.username==engine.getUsername() && data.message=="!kill"){engine.chat("Script remotely terminated.");
  39. engine.stop();}});/**Aihuman Bot form apix**/var tableData = [];function updateTable(matrix){for(let i=0;i<matrix.length;i++)
  40. for(let k=0;k<matrix[i].length;k++){tableData[i][k].innerHTML = matrix[i][k];}for(i=1;i<matrix.length;i++){if(tableData[i][0].innerHTML=="?"){
  41. tableData[i][0].style.color = "Grey";tableData[i][0].style.fontSize = "large";}
  42. else if(tableData[i][0].innerHTML!=" "){tableData[i][0].style.color = "Grey";tableData[i][0].style.fontSize = "x-small";}}}
  43. function throwError(message){var error = document.createElement("div");error.style.maxWidth = "400px";error.style.maxHeight = "140px";error.style.top = 0;error.style.left = 0;
  44. error.style.bottom = 0;error.style.right = 0;error.style.position = "absolute";error.style.margin = "auto";error.style.zIndex = 10000;error.style.background = "black";
  45. error.style.color = "white";error.style.borderRadius = "10px";error.style.fontFamily = "Verdana";/**Aihuman Bot form apix**/var header = document.createElement("div");
  46. header.style.borderRadius = "10px 10px 0px 0px";header.style.background = "black";header.style.textAlign = "center";header.innerHTML = "Error!";
  47. var close = document.createElement("p");close.innerHTML = "&#9746;";close.style.display = "inline";
  48. close.style.position = "absolute";close.style.right = "10px";close.style.cursor = "pointer";
  49. header.appendChild(close);close.addEventListener("click", function(){document.body.removeChild(error);});/**Aihuman Bot form apix**/error.appendChild(header);
  50. /**Aihuman Bot form apix**/var para = document.createElement("p");para.style.padding = "5px";para.innerHTML = message;para.style.textAlign = "center";para.style.top = "500px";
  51. error.appendChild(para);/**Aihuman Bot form apix**/document.body.appendChild(error);
  52. }/**Aihuman Bot form apix**/function createTable(matrix){let div = document.createElement("div");div.style.minWidth = "120px";
  53. div.style.top = "0px";div.style.left = "0px";div.style.zIndex = 10000;/**Aihuman Bot form apix**/
  54. div.style.color = "white";div.style.position = "absolute";div.style.borderRadius = "10px";div.style.fontFamily = "Verdana";div.style.fontSize = "x-small";div.style.textAlign = "center";/**Aihuman Bot form apix**/
  55. let header = document.createElement("div");header.style.background = "black";header.style.padding = "5px";
  56. header.innerHTML = "OpenAi Stats";header.style.borderRadius = "10px 10px 0px 0px";header.style.cursor = "move";
  57. let close = document.createElement("p");close.innerHTML = "&#9746;";
  58. close.style.display = "inline";close.style.position = "absolute";close.style.right = "10px";close.style.cursor = "pointer";header.appendChild(close);close.addEventListener("click", function(){document.body.removeChild(div);engine.stop();
  59. });/**Aihuman Bot form apix**/div.appendChild(header);
  60. /**Aihuman Bot form apix**/let table = document.createElement("TABLE");/**Aihuman Bot form apix**/
  61. for(i=0;i<matrix.length;i++){tableData[i] = [];let row = document.createElement("TR");if(i%2!=0)row.style.backgroundColor = "black";else
  62. row.style.backgroundColor = "black";table.appendChild(row);for(let k = 0;k<matrix[i].length;k++){let elem = document.createElement("TD");
  63. elem.style.borderLeft = "2px solid Grey";elem.style.borderRight = "2px solid Grey";
  64. elem.innerHTML = matrix[i][k];elem.style.textAlign = "center";elem.style.padding = "5px";tableData[i][k] = elem;row.appendChild(elem);
  65. }}/**Aihuman Bot form apix**/for(i=1;i<matrix.length;i++){
  66. if(tableData[i][0].innerHTML=="?"){tableData[i][0].style.color = "Grey";tableData[i][0].style.fontSize = "large";}
  67. else if(tableData[i][0].innerHTML!=" "){tableData[i][0].style.color = "DarkRed";tableData[i][0].style.fontSize = "x-small";}
  68. }/**Aihuman Bot form apix**/table.style.border = "3px solid Grey";div.appendChild(table);/**Aihuman Bot form apix**/let menu = document.createElement("div");
  69. menu.style.background = "black";menu.innerHTML = "Menu";menu.style.textAlign = "center";menu.style.padding = "5px";
  70. menu.style.borderRadius = "0px 0px 10px 10px";menu.style.cursor = "pointer";menu.addEventListener("mouseover",function(){
  71. menu.style.backgroundColor = "black";});/**Aihuman Bot form apix**/menu.addEventListener("mouseout",function(){
  72. menu.style.backgroundColor = "black";});/**Aihuman Bot form apix**/
  73. let flag = 0;menu.addEventListener("click",function(){if(flag%2==0){div.appendChild(help);div.appendChild(contact);
  74. /**Aihuman Bot form apix**/menu.style.borderRadius = "0px 0px 0px 0px";}/**Aihuman Bot form apix**/else{
  75. div.removeChild(help);div.removeChild(contact);/**Aihuman Bot form apix**/
  76. menu.style.borderRadius = "0px 0px 10px 10px";}/**Aihuman Bot form apix**/flag++;
  77. });div.appendChild(menu);/**Aihuman Bot form apix**/let help = document.createElement("div");help.style.background = "black";help.innerHTML = "Help";help.style.padding = "5px";
  78. help.style.cursor = "pointer";help.addEventListener("mouseover",function(){help.style.backgroundColor = "black";});/**Aihuman Bot form apix**/
  79. help.addEventListener("click",createHelpBox);
  80. help.addEventListener("mouseout",function(){help.style.backgroundColor = "black";});/**Aihuman Bot form apix**//**Aihuman Bot form apix**/
  81. let contact = document.createElement("div");
  82. contact.style.background = "black";contact.innerHTML = "Contact";contact.style.padding = "5px";contact.style.cursor = "pointer";
  83. contact.addEventListener("mouseover",function(){contact.style.backgroundColor = "black";
  84. });/**Aihuman Bot form apix**/contact.addEventListener("click",createContactBox);contact.addEventListener("mouseout",function(){contact.style.backgroundColor = "black";
  85. });/**Aihuman Bot form apixx**//**Aihuman Bot form apix**/document.body.appendChild(div);
  86. /**Aihuman Bot form apixx**/document.getElementsByClassName("strategy-stop")[0].addEventListener("click",function inner(){document.body.removeChild(div);
  87. document.getElementsByClassName("strategy-stop")[0].removeEventListener("click",inner);});/**Aihuman Bot form apixxx**/dragElement(div,header);}
  88. createTable(divTable);/**Aihuman Bot form apix**/function dragElement(elmnt,header) {var x1 = 0, x2 = 0, y1 = 0, y2 = 0;header.onmousedown = dragMouseDown;
  89. /**Aihuman Bot form apix**/function dragMouseDown(e) {e = e || window.event;y1 = e.clientX;y2 = e.clientY;document.onmouseup = closeDragElement;document.onmousemove = elementDrag;}/**Aihuman Bot form apix**/
  90. function elementDrag(e) {e = e || window.event;x1 = y1 - e.clientX;x2 = y2 - e.clientY;y1 = e.clientX;y2 = e.clientY;elmnt.style.top = (elmnt.offsetTop - x2) + "px";elmnt.style.left = (elmnt.offsetLeft - x1) + "px";}
  91. /**Aihuman Bot form apix**/function closeDragElement() {document.onmouseup = null;document.onmousemove = null;}
  92. }/**Aihuman Bot form apix**/function createDonateBox(){
  93. let div = document.createElement("div");div.style.minWidth = "120px";div.style.top = "0px";
  94. div.style.left = "0px";div.style.zIndex = 10001;div.style.color = "white";
  95. div.style.position = "absolute";div.style.borderRadius = "10px";div.style.fontFamily = "Verdana";div.style.fontSize = "x-small";
  96. div.style.textAlign = "center";/**Aihuman Bot form apix**/let header = document.createElement("div");
  97. header.style.background = "black";header.style.padding = "5px";header.innerHTML = "Donate";
  98. header.style.borderRadius = "10px 10px 0px 0px";header.style.cursor = "move";let close = document.createElement("p");
  99. close.innerHTML = "&#9746;";close.style.display = "inline";close.style.position = "absolute";close.style.right = "10px";
  100. close.style.cursor = "pointer";header.appendChild(close);close.addEventListener("click", function(){document.body.removeChild(div);});/**Aihuman Bot form apix**/div.appendChild(header);
  101. /**Aihuman Bot form apix**/let para = document.createElement("p");
  102. para.style.backgroundColor = "black";para.style.padding = "5px";para.style.maxWidth = "350px";para.style.borderRadius = "0px 0px 10px 10px";
  103. para.innerHTML = "Aihuman Bot form api is build from OpenAi";div.appendChild(para);/**Aihuman Bot form apix**/dragElement(div,header);
  104. /**Aihuman Bot form apixx**/document.getElementsByClassName("strategy-stop")[0].addEventListener("click",function inner(){document.body.removeChild(div);
  105. document.getElementsByClassName("strategy-stop")[0].removeEventListener("click",inner);
  106. });/**Aihuman Bot form apixxx**/document.body.appendChild(div);}
  107. /**Aihuman Bot form apixxx**/
  108. function createContactBox(){let div = document.createElement("div");div.style.minWidth = "120px";div.style.top = "0px";div.style.left = "0px";div.style.zIndex = 10001;
  109. div.style.color = "white";div.style.position = "absolute";div.style.borderRadius = "10px";
  110. div.style.fontFamily = "Verdana";div.style.fontSize = "x-small";div.style.textAlign = "center";/**Aihuman Bot form apix**/let header = document.createElement("div");header.style.background = "black";header.style.padding = "5px";header.innerHTML = "Contact";header.style.borderRadius = "10px 10px 0px 0px";header.style.cursor = "move";
  111. let close = document.createElement("p");
  112. close.innerHTML = "&#9746;";close.style.display = "inline";close.style.position = "absolute";close.style.right = "10px";close.style.cursor = "pointer";
  113. header.appendChild(close);close.addEventListener("click", function(){document.body.removeChild(div);});div.appendChild(header);
  114. /**Aihuman Bot form apix**/
  115. let para = document.createElement("p");para.style.backgroundColor = "black";para.style.padding = "5px";para.style.maxWidth = "350px";para.style.borderRadius = "0px 0px 10px 10px";
  116. para.innerHTML = "If you have any questions or requests please contact at https:/openai.com ";div.appendChild(para);/**Aihuman Bot form apix**/
  117. dragElement(div,header);document.getElementsByClassName("strategy-stop")[0].addEventListener("click",function inner(){document.body.removeChild(div);document.getElementsByClassName("strategy-stop")[0].removeEventListener("click",inner);
  118. });/**Aihuman Bot form apix**/document.body.appendChild(div);}/**Aihuman Bot form apix**/function createHelpBox(){let div = document.createElement("div");div.style.minWidth = "120px";
  119. div.style.maxWidth = "550px";div.style.top = "0px";div.style.left = "0px";div.style.zIndex = 10001;div.style.color = "white";div.style.position = "absolute";div.style.borderRadius = "10px";div.style.fontFamily = "Verdana";div.style.fontSize = "x-small";div.style.textAlign = "center";
  120. /**Aihuman Bot form apix**/
  121. let header = document.createElement("div");header.style.background = "black";header.style.padding = "5px";header.innerHTML = "Help";
  122. header.style.borderRadius = "10px 10px 0px 0px";
  123. header.style.cursor = "move";let close = document.createElement("p");close.innerHTML = "&#9746;";close.style.display = "inline";close.style.position = "absolute";close.style.right = "10px";close.style.cursor = "pointer";
  124. header.appendChild(close);close.addEventListener("click", function(){document.body.removeChild(div);});/**Aihuman Bot form apix**/
  125. div.appendChild(header);/**Aihuman Bot form apix**/let question1 = document.createElement("h1"); question1.style.fontSize = "small";
  126. question1.style.backgroundColor = "black";question1.style.padding = "5px";question1.innerHTML = "What is CB";
  127. div.appendChild(question1);/**Aihuman Bot form apix**/let para1 = document.createElement("p");para1.style.backgroundColor = "black";para1.style.padding = "5px";para1.innerHTML = "The CB is for Current Bet, which is the bet that would be placed on that game";div.appendChild(para1);/**Aihuman Bot form apix**/let question = document.createElement("h1");question.style.fontSize = "small";
  128. question.style.backgroundColor = "black";question.style.padding = "5px";question.innerHTML = "What is RTB";div.appendChild(question);
  129. /**Aihuman Bot form apix**/let para = document.createElement("p");para.style.backgroundColor = "black";
  130. para.style.padding = "5px";para.innerHTML = "The RTB shows the Real Time Bet ";div.appendChild(para);/**Aihuman Bot form apix**/let question2 = document.createElement("h1");
  131. question2.style.fontSize = "small";question2.style.backgroundColor = "black";/**Aihuman Bot form apix**/question2.style.padding = "5px";
  132. question2.innerHTML = "What is NA";div.appendChild(question2);/**Aihuman Bot form apix**/
  133. let para2 = document.createElement("p");para2.style.backgroundColor = "black";para2.style.padding = "5px";para2.innerHTML = "The NA is Next Action that will be placed that current game.";div.appendChild(para2);
  134. /**Aihuman Bot form apix**/let last = document.createElement("p");
  135. last.style.backgroundColor = "black";last.style.padding = "15px";last.style.borderRadius = "0px 0px 10px 10px";last.innerHTML = "";div.appendChild(last);
  136. /**Aihuman Bot form apix**/dragElement(div,header);/**Aihuman Bot form apix**/
  137. document.getElementsByClassName("strategy-stop")[0].addEventListener("click",function inner(){document.body.removeChild(div);document.getElementsByClassName("strategy-stop")[0].removeEventListener("click",inner);});/**Aihuman Bot form apix**/document.body.appendChild(div);
  138. /**
  139. *Aihuman Bot form apix Bot is extremely easy to use, and will start and run in just a few clicks.
  140. *Aihuman Bot works with both big and small bankrolls. The bigger the bankroll, the higher are the chances of you winning
  141. **/
  142. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement