Guest User

Untitled

a guest
Aug 29th, 2015
1,144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.42 KB | None | 0 0
  1. /* DBZ Dokkan Battle - Automatic Rerolling Script for BlueStacks
  2. This script is heavily inspired by /u/guagno333's script on Reddit here: bit.ly/1J8USBc
  3. All credits should go to him!
  4.  
  5. Important Notes:
  6. 1. This automated script is dependant on a script by /u/Infernominaal.
  7. You can find the script and an install guide on reddit here: bit.ly/1JXzXBN
  8. 2. This method uses the free app SH Script Runner.
  9. 3. This method uses free software called AutoHotKey
  10. 4. This method assumes DBZ:DB is the fourth entry in the app list.
  11. This is its position on a fresh bluestacks install. If you have more downloaded apps, this script might not work.
  12. 5. This method uses ALT+PRINTSCREEN to save a screenshot.
  13. I use software called Greenshot that saves the screenshot to a predefined folder.
  14. You can use any screencap tool, but you might have to change the hotkey in the script below.
  15. 6. You can change any of the SLEEP timers below (in ms) to speed things up or slow things down, depending on your connection
  16. 7. I'm not responsible for any unwanted effects, damage of any kind or incurred costs. I have done over 1000 rerolls using it.
  17. I haven't run into any major issues. However, I can't guarantee the cursor won't somehow make it to the store page.
  18. Delete your payment info!
  19.  
  20.  
  21. How to use:
  22. 1. Run this script (PickAName.ahk) as Administrator
  23. 2. Open Bluestacks
  24. 3. Open SH Script Runner and make sure /u/Infernominaal's script is showing, and has superuser access
  25. 4. Press Home, keeping SH Script Runner open in the background
  26. 5. Press CTRL+Q to start the script
  27. 6. At any time, you can pause the script by pressing CTRL+P
  28.  
  29. Video Demonstration: https://www.youtube.com/watch?v=lexNRJgwH0o
  30.  
  31. Good luck! May all your rolls be SSRs.
  32.  
  33. */
  34.  
  35. ^q::
  36. loop
  37. {
  38. Sleep, 500
  39. WinMove, BlueStacks App Player,, 0, 0,, ; Move Bluestacks to top left corner
  40. Sleep, 500
  41.  
  42. MouseClick, left, 1388, 172 ; Click "All Apps"
  43. Sleep, 500
  44. MouseClick, left, 810, 165 ; Click "Dokkan Battle".
  45. Sleep, 3500
  46.  
  47. WinMove, BlueStacks App Player,, 0, 0,, ; Move game to top left corner
  48. Sleep, 500
  49.  
  50. MouseClick, left, 295, 509 ; Click Hercule screen
  51. Sleep, 3000
  52. MouseClick, left, 295, 509 ; Click start screen
  53. Sleep, 11000
  54. MouseClick, left, 497, 70 ; Click Skip
  55. Sleep, 1000
  56. MouseClick, left, 269, 497 ; Click "OK" on Download screen
  57. Sleep, 4500
  58. MouseClick, left, 497, 70 ; Click Skip
  59. Sleep, 5000
  60. MouseClick, left, 280, 600 ; Click OK on 'News' popup
  61. Sleep, 1000
  62. MouseClick, left, 280, 600 ; Click OK on daily popup, twice
  63. Sleep, 500
  64. MouseClick, left, 280, 600
  65. Sleep, 500
  66. MouseClick, left, 421, 592 ; Click on Gifts
  67. Sleep, 6000
  68. MouseClick, left, 457, 139 ; Accept all gifts
  69. Sleep, 500
  70. MouseClick, left, 376, 539 ; Confirm accepting gifts
  71. Sleep, 7000
  72. MouseClick, left, 284, 491 ; Click OK
  73. Sleep, 1000
  74. MouseClick, left, 265, 786 ; Open Summon Page
  75. Sleep, 2000
  76. MouseClick, left, 150, 569 ; Single Summon
  77. Sleep, 500
  78. MouseClick, left, 378, 570 ; Confirm Single Summon
  79. Sleep, 10000
  80. MouseClickDrag, left, 311, 640, 311, 825, 50 ; Drag down
  81. Sleep, 12000
  82. Send, {ALTDOWN}{PRINTSCREEN}{ALTUP} ; Take Screenshot of card using GreenShot
  83. Sleep, 500
  84. MouseClick, left, 274, 352 ; Click card
  85. Sleep, 2000
  86. MouseClick, left, 461, 805 ; Click Menu
  87. Sleep, 750
  88. MouseClick, left, 275, 313 ; Click Device Transfer
  89. Sleep, 750
  90. MouseClick, left, 292, 310 ; Create Code
  91. Sleep, 750
  92. MouseClick, left, 267, 613 ; Click OK
  93. Sleep, 2000
  94. Send, {ALTDOWN}{PRINTSCREEN}{ALTUP} ; Take Screenshot of code using GreenShot
  95. Sleep, 1500
  96. MouseClick, left, 89, 802 ; Click Home
  97. Sleep, 1500
  98.  
  99. WinMove, BlueStacks App Player,, 0, 0,, ; Move Bluestacks to top left corner
  100. Sleep, 500
  101.  
  102. MouseClick, left, 155, 866 ; Click Task Manager
  103. Sleep, 500
  104. MouseClickDrag, left, 1024 , 397, 1018, 207, 50 ; Close DBZ:DB
  105. Sleep, 1000
  106.  
  107. MouseClick, left, 1038, 404 ; Open SH Script Runner
  108. Sleep, 1000
  109. MouseClick, left, 834, 98 ; Run opened script
  110. Sleep, 500
  111. MouseClick, left, 621, 656 ; Close result screen
  112. Sleep, 500
  113. MouseClick, left, 151, 743 ; Click Home
  114. Sleep, 1000
  115. }
  116. Return
  117.  
  118. ^p::Pause,Toggle
Advertisement
Add Comment
Please, Sign In to add comment