Advertisement
pcservis

kashi editovana

Dec 28th, 2018
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.96 KB | None | 0 0
  1. $("#body").css("background", "linear-gradient(45deg, #111111 0%, #111111 50%, #111111 100%)");
  2. $("#main").css("min-width", "100%");
  3. $("#header").css("display", "none");
  4. $("#news").css("display", "none");
  5. $("#content").css("background", "none");
  6. $("#gameContainer").html("<br><span id=\"notification\">...</span><br><br> <span style=\"float: left;\"><input id=\"basebetAmount\" value=\"0.00000001\" style=\"background: none; text-align: center; color: #fff; border: 1px solid #fff;\" placeholder=\"basebetAmount\" autocomplete=\"off\"> <input id=\"overBalance\" value=\"0.00000000\" style=\"background: none; text-align: center; color: #fff; border: 1px solid #fff;\" placeholder=\"overBalance\" autocomplete=\"off\"> <input id=\"underBalance\" value=\"0.00000000\" style=\"background: none; text-align: center; color: #fff; border: 1px solid #fff;\" placeholder=\"underBalance\" autocomplete=\"off\"></span> <span style=\"float: right;\"><button id=\"min\" onclick=\"min();\" style=\"border: 1px solid #fff; padding: 2px;\">min</button> <button id=\"play\" style=\"border: 1px solid #fff; padding: 2px;\">start</button> <button id=\"reset\" onclick=\"reset();\" style=\"border: 1px solid #fff; padding: 2px;\">reset</button> <button id=\"showChart\" style=\"border: 1px solid #fff; padding: 2px;\">showChart</button> <button id=\"showStatic\" style=\"border: 1px solid #fff; padding: 2px;\">showStatic</button></span><br><br> <div id=\"chart\" style=\"height: 320px;\"></div><br> <div id=\"static\">...</div></div><br><br><br></b><a style=\"color: #FFF933; font-size: 20px;\" href=\"https://www.youtube.com/channel/UCBVw_OsXj6z44OekZkSPq2w?view_as=subscriber\" target=\"blank\"></span> Click Here for More ... ");
  7. $("#gameContainer").css("width", "75%");
  8. $("#gameContainer").css("height", "100%");
  9. $("#gameContainer").css("color", "#fff");
  10. $("#gameContainer").css("font-size", "16px");
  11. $("#gameContainer").css("margin", "auto");
  12. $("#gameContainer").css("padding", "0px");
  13. $("#notification").html("Bot has applied!");
  14. $("#static").css("text-align", "center");
  15. $("#controlContainer").css("display", "none");
  16. $("#listContainer").css("display", "none");
  17. $("#frontText").css("display", "none");
  18. $("#footer").css("display", "none");
  19. document.getElementById("chart").hidden = true;
  20. document.getElementById("static").hidden = true;
  21. document.getElementById("static").hidden = true;
  22. randomizeSeed();
  23. console.clear();
  24. var run = false;
  25. hideChart = true;
  26. hideStatic = true;
  27. sbalance = parseFloat(document.getElementById("balance").value);
  28. basebetAmount = 0;
  29. betAmount = 0;
  30. maxbetAmount = 0;
  31. prediction = 0;
  32. direction = "";
  33. balance = 0;
  34. overBalance = 0;
  35. underBalance = 0;
  36. bet = 0;
  37. win = 0;
  38. lose = 0;
  39. winStreak = 0;
  40. loseStreak = 0;
  41. maxWinStreak = 0;
  42. maxLoseStreak = 0;
  43. wagered = 0;
  44. profitWagered = 0;
  45. profit = 0;
  46. profitt = 0;
  47. largestProfit = 0;
  48. startTime = new Date();
  49. onTime = 0;
  50. playTime = 0;
  51. playDay = 0;
  52. playHour = 0;
  53. playMinute = 0;
  54. playSecond = 0;
  55. speed = 0;
  56. round = 0;
  57. dsp = [];
  58. chart = "";
  59. color = "";
  60. $.getScript("https://canvasjs.com/assets/script/canvasjs.min.js").done(function (_0x7065x2, _0x7065x3) {
  61. dps = [{
  62. x: 0,
  63. y: 0
  64. }];
  65. chart = new CanvasJS.Chart("chart", {
  66. theme: "light2",
  67. zoomEnabled: true,
  68. axisX: {
  69. title: " ",
  70. includeZero: false
  71. },
  72. axisY: {
  73. title: " ",
  74. includeZero: false
  75. },
  76. title: {
  77. text: "Kashi Btc Earning ",
  78. fontColor: "red",
  79. fontSize: 2e1,
  80. padding: 2e1
  81. },
  82. data: [{
  83. type: "stepLine",
  84. dataPoints: dps
  85. }]
  86. });
  87. chart.render()
  88. });
  89. function updateChart(_0x7065x5, _0x7065x6, _0x7065x7) {
  90. dps.push({
  91. x: _0x7065x5,
  92. y: _0x7065x6,
  93. color: _0x7065x7
  94. });
  95. if (dps[dps.length - 2]) {
  96. dps[dps.length - 2].lineColor = _0x7065x7
  97. };
  98. if (dps.length > 1e3) {
  99. dps.shift()
  100. };
  101. chart.render()
  102. }
  103. function min() {
  104. $("#basebetAmount").val((0.00000001).toFixed(8))
  105. }
  106. $("#play").on("click", function () {
  107. run == true ? play(this, "start", false, false) : play(this, "stop", true, true);
  108. basebetAmount = parseFloat($("#basebetAmount").val());
  109. overBalance = parseFloat($("#overBalance").val());
  110. underBalance = parseFloat($("#underBalance").val());
  111. betAmount = basebetAmount;
  112. prediction = Math.floor((Math.random() * (98 - 98 + 1)) + 98);
  113. direction = "under";
  114. $("#basebetAmount").val(basebetAmount.toFixed(8));
  115. $("#overBalance").val(overBalance.toFixed(8));
  116. $("#underBalance").val(underBalance.toFixed(8));
  117. doBet()
  118. });
  119. function play(_0x7065xa, _0x7065xb, _0x7065xc) {
  120. $(_0x7065xa).html(_0x7065xb);
  121. run = _0x7065xc;
  122. $("#basebetAmount").prop("disabled", _0x7065xc);
  123. $("#overBalance").prop("disabled", _0x7065xc);
  124. $("#underBalance").prop("disabled", _0x7065xc);
  125. $("#min").prop("disabled", _0x7065xc);
  126. $("#reset").prop("disabled", _0x7065xc)
  127. }
  128. $("#showChart").on("click", function () {
  129. hideChart == true ? showChart(this, "hideChart", false) : showChart(this, "showChart", true)
  130. });
  131. function showChart(_0x7065xa, _0x7065xb, _0x7065xc) {
  132. $(_0x7065xa).html(_0x7065xb);
  133. hideChart = _0x7065xc;
  134. document.getElementById("chart").hidden = _0x7065xc
  135. }
  136. $("#showStatic").on("click", function () {
  137. hideStatic == true ? showStatic(this, "hideStatic", false) : showStatic(this, "showStatic", true)
  138. });
  139. function showStatic(_0x7065xa, _0x7065xb, _0x7065xc) {
  140. $(_0x7065xa).html(_0x7065xb);
  141. hideStatic = _0x7065xc;
  142. document.getElementById("static").hidden = _0x7065xc
  143. }
  144. function reset() {
  145. randomizeSeed();
  146. sbalance = parseFloat(document.getElementById("balance").value);
  147. basebetAmount = 0;
  148. betAmount = 0;
  149. maxbetAmount = 0;
  150. prediction = 0;
  151. direction = "";
  152. balance = 0;
  153. overBalance = 0;
  154. underBalance = 0;
  155. bet = 0;
  156. win = 0;
  157. lose = 0;
  158. winStreak = 0;
  159. loseStreak = 0;
  160. maxWinStreak = 0;
  161. maxLoseStreak = 0;
  162. streakoflosses = 50;
  163. wagered = 0;
  164. profitWagered = 0;
  165. profit = 0;
  166. profitt = 0;
  167. largestProfit = 0;
  168. startTime = new Date();
  169. onTime = 0;
  170. playTime = 0;
  171. playDay = 0;
  172. playHour = 0;
  173. playMinute = 0;
  174. playSecond = 0;
  175. speed = 0;
  176. round = 0;
  177. dsp = [];
  178. chart = "";
  179. color = "";
  180. $.getScript("https://canvasjs.com/assets/script/canvasjs.min.js").done(function (_0x7065x2, _0x7065x3) {
  181. dps = [{
  182. x: 0,
  183. y: 0
  184. }];
  185. chart = new CanvasJS.Chart("chart", {
  186. theme: "light2",
  187. zoomEnabled: true,
  188. axisX: {
  189. title: " ",
  190. includeZero: false
  191. },
  192. axisY: {
  193. title: " ",
  194. includeZero: false
  195. },
  196. title: {
  197. text: "Kashi Btc Earning ",
  198. fontColor: "red",
  199. fontSize: 2e1,
  200. padding: 2e1
  201. },
  202. data: [{
  203. type: "stepLine",
  204. dataPoints: dps
  205. }]
  206. });
  207. chart.render()
  208. });
  209. $("#notification").html("Bot is Reset!");
  210. $("#static").html("...");
  211. return
  212. }
  213. function doBet() {
  214. if (run === true) {
  215. jQuery.ajax({
  216. url: "https://" + user.domain + "/play/",
  217. type: "POST",
  218. dataType: "html",
  219. timeout: 2e4,
  220. data: {
  221. game: "dice",
  222. coin: $("#coin").val(),
  223. betAmount: betAmount,
  224. prediction: prediction,
  225. direction: direction,
  226. clientSeed: $("#clientSeed").val(),
  227. serverSeedHash: $("#serverSeedHash").html(),
  228. session: getCookie("SESSION"),
  229. hash: user.hash
  230. },
  231. success: function (_0x7065x11) {
  232. var _0x7065x11 = JSON.parse(_0x7065x11);
  233. if (_0x7065x11.result === true) {
  234. bet++;
  235. onTime = new Date().getTime();
  236. playTime = onTime - startTime;
  237. playDay = Math.floor(playTime / (1e3 * 6e1 * 6e1 * 24));
  238. playHour = Math.floor((playTime % (1e3 * 6e1 * 6e1 * 24)) / (1e3 * 6e1 * 6e1));
  239. playMinute = Math.floor((playTime % (1e3 * 6e1 * 6e1)) / (1e3 * 6e1));
  240. playSecond = Math.floor((playTime % (1e3 * 6e1)) / 1e3);
  241. speed = parseFloat((bet / playTime) * 2e3);
  242. balance = parseFloat(_0x7065x11.balance);
  243. wagered += parseFloat(betAmount);
  244. profit += parseFloat(_0x7065x11.profit);
  245. profitWagered = (wagered * 0.1) / 1e2;
  246. profitt = 100 * (balance - sbalance) / sbalance;
  247. if (profit > largestProfit) {
  248. largestProfit = profit
  249. };
  250. if (_0x7065x11.gameResult === "win") {
  251. randomizeSeed();
  252. win++;
  253. winStreak++;
  254. loseStreak = 0;
  255. color = "green"
  256. } else {
  257. lose++;
  258. loseStreak++;
  259. winStreak = 0;
  260. color = "red"
  261. };
  262. if (winStreak >= maxWinStreak) {
  263. maxWinStreak = winStreak
  264. };
  265. if (loseStreak >= maxLoseStreak) {
  266. maxLoseStreak = loseStreak
  267. };
  268. if (betAmount >= maxbetAmount) {
  269. maxbetAmount = betAmount
  270. };
  271. $("#serverSeedHash").html(_0x7065x11.serverSeedHash);
  272. $("#notification").html("Dice Bot #3 by KASHI");
  273. $("#static").html("<span style=\"float: left;\">Play Time = " + playDay + ":" + playHour + ":" + playMinute + ":" + playSecond + "</span> <span style=\"float: center;\">Coin = " + $("#coin").val() + "</span> <span style=\"float: right;\">Speed = " + speed.toFixed(2) + "</span><br> <span style=\"float: left;\">Balance = " + balance.toFixed(8) + "</span> <span style=\"float: center;\">Bet = " + bet + "</span> <span style=\"float: right;\">Profit = " + profit.toFixed(8) + " (" + profitt.toFixed(2) + "%)</span><br> <span style=\"float: left;\">Win Streak = " + winStreak + "</span> <span style=\"float: center;\">Max Bet Amount = " + maxbetAmount.toFixed(8) + "</span> <span style=\"float: right;\"> Loss Streak = " + loseStreak + "</span><br> <span style=\"float: left;\">Max Win Streak = " + maxWinStreak + "</span> <span style=\"float: right;\">Max Loss Streak = " + maxLoseStreak + "</span>");
  274. updateChart(bet, profit, color);
  275. if (betAmount >= balance) {
  276. stop();
  277. $("#notification").html("You Have Lost!");
  278. return
  279. } else {
  280. if (overBalance != 0 && balance >= overBalance) {
  281. stop();
  282. $("#notification").html("Profit Reached!");
  283. return
  284. } else {
  285. if (underBalance != 0 && balance <= underBalance) {
  286. stop();
  287. $("#notification").html("Profit Reached!");
  288. return
  289. } else {
  290. if (profit >= largestProfit) {
  291. if (bet % 2 === 0) {
  292. prediction = Math.floor((Math.random() * (98 - 80 + 1)) + 80);
  293. direction = "under"
  294. } else {
  295. prediction = Math.floor((Math.random() * (19 - 1 + 1)) + 1);
  296. direction = "over"
  297. };
  298. round = Math.floor((Math.random() * (3 - 1 + 1)) + 1);
  299. betAmount = basebetAmount
  300. } else {
  301. if (direction === "under") {
  302. prediction = Math.floor(3);
  303. direction = "under"
  304. } else {
  305. if (direction === "over") {
  306. prediction = Math.floor(96);
  307. direction = "over"
  308. }
  309. };
  310. round++;
  311. if (round % 1 === 0) {
  312. betAmount *= 1.05330
  313. }
  314. }
  315. }
  316. }
  317. };
  318. doBet()
  319. } else {
  320. randomizeSeed();
  321. setInterval(doBet(), 1e3)
  322. }
  323. },
  324. error: function (_0x7065x12, _0x7065x13, _0x7065x14) {
  325. randomizeSeed();
  326. setInterval(doBet(), 1e3)
  327. },
  328. timeout: function (_0x7065x12, _0x7065x13, _0x7065x14) {
  329. randomizeSeed();
  330. setInterval(doBet(), 1e3)
  331. },
  332. abetort: function (_0x7065x12, _0x7065x13, _0x7065x14) {
  333. randomizeSeed();
  334. setInterval(doBet(), 1e3)
  335. }
  336. })
  337. } else {
  338. $("#notification").html("Bot stopped!");
  339. return
  340. }
  341. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement