Advertisement
Guest User

Untitled

a guest
May 19th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. let x = 0
  2. let m = 0
  3. let xBet = 100
  4. let hundy = 0
  5. let start = 0
  6. const { multiplier } = await this.skip()
  7. while(true) {
  8.  
  9. if (start == 0) {
  10. start++
  11. var config = {
  12. clientSeed: { label: "Client seed", type: "text", value: "This is my new client seed." }
  13. }
  14.  
  15.  
  16. // This script assumes that the current seed pair is already used, i.e. that bets have been placed
  17. // with it. It will fail if the current seed pair is unused.
  18.  
  19. // request a new server seed using a random client seed
  20. const { server_seed_hash } = await this.newSeedPair()
  21. await this.log("The new server seed has the hash:", server_seed_hash)
  22.  
  23. // set the client seed
  24. await this.setClientSeed(config.clientSeed.value)
  25. await this.log("The client seed was set to:", config.clientSeed.value)
  26. }
  27.  
  28. if (hundy < 2 && x < 100) {
  29. const { multiplier } = await this.bet(xBet, 1.01)
  30. m = multiplier
  31. x++
  32. if (m > 999.99) {
  33. start = 0
  34. hundy = 0
  35. x = 0
  36. } else if (m > 99.99) {
  37. hundy++
  38. }
  39. } else if (x > 99) {
  40. start = 0
  41. x = 0
  42. hundy = 0
  43. }
  44.  
  45.  
  46. if (hundy > 1) {
  47. x = 0
  48. const { multiplier } = await this.bet(Math.round(xBet/100)*100, 300)
  49. m = multiplier
  50. if (m > 299.99) {
  51. hundy = 0
  52. start = 0
  53. xBet = 100
  54. } else {
  55. xBet = xBet*1.0035
  56. }
  57. }
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement