Guest User

AutoRoll JAP DOKKAN BATTLE

a guest
Oct 29th, 2015
534
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.63 KB | None | 0 0
  1. /* (Japanese)DBZ Dokkan Battle - Automatic Rerolling Script for droid4x
  2. This script is heavily inspired by /u/guagno333's script on Reddit here: bit.ly/1J8USBc
  3. This format was copied from /u/datlock.
  4. I changed every single mouse position to make it work on fullscreen droid4x.
  5. NOTE. this script might work on the global version, I haven't tested it, but this script depents on the 6 summons you can do in the japanese version
  6. you're better off using another script because you wont be able to pull 6 times in global.
  7.  
  8. Important Notes:
  9. 1. This automated script is dependant on a script by /u/Infernominaal I modified it to work with the japanese dokkan battle.
  10. You can find the script and an install guide on reddit here: bit.ly/1JXzXBN *DON'T USE THIS SCRIPT, IT WONT WORK ON THE JAPANESE VERSION*
  11. 2. This method uses the free app SH Script Runner.
  12. 3. This method uses free software called AutoHotKey
  13. 4. This method assumes your droid4x screen looks exactly like this: http://imgur.com/MdTNHGz
  14. If not, change the mouse position where it says "Click "Dokkan"" to where your icon is
  15. (you can use autoHotkey's build in window spy function)
  16. 5. This method uses CTRL_NUMPADMINUS to save a screenshot. I made it this way because my printscreen key wouldn't work with droid4x
  17. I use software called Greenshot that saves the screenshot to a predefined folder.
  18. You can use any screencap tool, but you have to change the hotkey in the script below.
  19. 6. You can change any of the SLEEP timers below (in ms) to speed things up or slow things down, depending on your connection
  20. 7. I'm not responsible for any unwanted effects, damage of any kind or incurred costs. I have done over 50 rerolls using it.
  21. I haven't run into any major issues. However, I can't guarantee the cursor won't somehow make it to the store page.
  22. Delete your payment info!
  23.  
  24.  
  25. How to use:
  26.  
  27. 1. Run this script (PickAName.ahk) as Administrator
  28. 2. Open droid4x
  29. 3. Make SURE droid4x is in fullscreen on 720x1280 hor. you can change this is the droid4x settings.
  30. 4. Also make sure Dokkan Battle is in the 4th spot and script runner is in the 3rd.
  31. 5. Open SH Script Runner and make sure /u/Infernominaal's modified script is showing, and has superuser access
  32. 6. Press Home, keeping SH Script Runner open in the background
  33. 7. Press ALT+Q to start the script
  34. 8. At any time, you can pause the script by pressing CTRL+P
  35.  
  36. Video Demonstration: https://www.youtube.com/watch?v=lexNRJgwH0o (might not be accurate, I didn't make this /u/datlock did.
  37.  
  38. Good luck! May all your rolls be SSRs.
  39.  
  40. */
  41.  
  42. !q::
  43. loop
  44. {
  45. Sleep, 500
  46. MouseClick, left, 1180, 260 ; Click "Dokkan"
  47. Sleep, 3000
  48. MouseClick, left, 900, 500 ; Click "THE CHAMP".
  49.  
  50. Sleep, 3000
  51.  
  52. MouseClick, left, 900, 500 ; Click Start
  53. Sleep, 13000
  54. MouseClick, left, 1210, 85 ; Click Skip
  55. Sleep, 3000
  56. MouseClick, left, 1000, 600 ; Click "OK" on Download screen
  57. Sleep, 6500
  58. MouseClick, left, 1210, 85 ; Click Skip
  59. Sleep, 20000
  60. MouseClick, left, 1000, 980 ; Click OK on 'News' popup
  61. Sleep, 3000
  62. MouseClick, left, 1000, 740 ; Click OK on daily popup, twice
  63. Sleep, 3000
  64. MouseClick, left, 1000, 980 ;click Ok on next popup
  65.  
  66. Sleep, 1000
  67. MouseClick, left, 1170, 720 ; Click on Gifts
  68. Sleep, 6000
  69. MouseClick, left, 1200, 170 ; Accept all gifts
  70. Sleep, 3000
  71. MouseClick, left, 1120, 670 ; Confirm accepting gifts
  72. Sleep, 9000
  73. MouseClick, left, 1000, 600 ; Click OK
  74. Sleep, 1500
  75. MouseClick, left, 1170, 720 ; Click on Gifts
  76. Sleep, 6000
  77. MouseClick, left, 1200, 170 ; Accept all gifts
  78. Sleep, 3000
  79. MouseClick, left, 1120, 670 ; Confirm accepting gifts
  80. Sleep, 9000
  81. MouseClick, left, 1000, 600 ; Click OK
  82. Sleep, 2000
  83.  
  84. MouseClick, left, 1000, 980 ; Open Summon Page
  85. Sleep, 5500
  86. MouseClick, left, 1000, 880 ; scroll summon down
  87.  
  88. Sleep, 2000
  89. MouseClick, left, 870, 700 ; Single Summon 6
  90. Sleep, 1000
  91. MouseClick, left, 1200, 700 ; Confirm Single Summon
  92. Sleep, 13000
  93. MouseClickDrag, left, 1000, 650, 980, 800, 50 ; Drag down
  94. Sleep, 20000
  95. MouseClick, left, 900, 500 ; Click card
  96.  
  97. Sleep, 3000
  98. MouseClick, left, 820, 760 ; Single Summon AGAIN :D 5 ( while the event lasts)
  99. Sleep, 1000
  100. MouseClick, left, 1100, 700 ; Confirm Single Summon
  101. Sleep, 15000
  102. MouseClickDrag, left, 1000, 650, 980, 800, 50 ; Drag down
  103. Sleep, 19000
  104. MouseClick, left, 900, 500 ; Click card
  105.  
  106. Sleep, 3000
  107. MouseClick, left, 820, 760 ; Single Summon AGAIN :D 4 ( while the event lasts)
  108. Sleep, 1000
  109. MouseClick, left, 1100, 700 ; Confirm Single Summon
  110. Sleep, 15000
  111. MouseClickDrag, left, 1000, 650, 980, 800, 50 ; Drag down
  112. Sleep, 19000
  113. MouseClick, left, 900, 500 ; Click card
  114.  
  115. Sleep, 3000
  116. MouseClick, left, 820, 760 ; Single Summon AGAIN :D 3 ( while the event lasts)
  117. Sleep, 1000
  118. MouseClick, left, 1100, 700 ; Confirm Single Summon
  119. Sleep, 15000
  120. MouseClickDrag, left, 1000, 650, 980, 800, 50 ; Drag down
  121. Sleep, 19000
  122. MouseClick, left, 900, 500 ; Click card
  123.  
  124. Sleep, 3000
  125. MouseClick, left, 820, 760 ; Single Summon AGAIN :D 2 ( while the event lasts)
  126. Sleep, 1000
  127. MouseClick, left, 1100, 700 ; Confirm Single Summon
  128. Sleep, 15000
  129. MouseClickDrag, left, 1000, 650, 980, 800, 50 ; Drag down
  130. Sleep, 19000
  131. MouseClick, left, 900, 500 ; Click card
  132.  
  133. Sleep, 3000
  134. MouseClick, left, 820, 760 ; Single Summon AGAIN :D 1 ( while the event lasts)
  135. Sleep, 1000
  136. MouseClick, left, 1100, 700 ; Confirm Single Summon
  137. Sleep, 15000
  138. MouseClickDrag, left, 1000, 650, 980, 800, 50 ; Drag down
  139. Sleep, 19000
  140. MouseClick, left, 900, 500 ; Click card
  141.  
  142. Sleep, 3500
  143. MouseClick, left, 870, 970 ; Click team....or somthing, whatever its called
  144. Sleep, 2000
  145. MouseClick, left, 870, 970 ; Click team....or somthing, whatever its called(extra to be sure)
  146. Sleep, 1500
  147. MouseClick, left, 830, 375 ; Click team
  148. Sleep, 1500
  149. MouseClick, left, 985, 970 ; Click ok
  150. Sleep, 1500
  151. Send, {CTRLDOWN}{NumpadSub}{CTRLUP} ; Take Screenshot of card using Greenshot (didnt use prtScn key becasue it doesnt work with droid4x for some reason)
  152.  
  153. Sleep, 500
  154. MouseClick, left, 1220, 948 ; Click Menu
  155. Sleep, 1000
  156. MouseClick, left, 980, 370 ; Click Device Transfer
  157. Sleep, 1500
  158. MouseClick, left, 880, 380 ; Create Code
  159. Sleep, 1000
  160. MouseClick, left, 990, 750 ; Click OK
  161. Sleep, 2500
  162. Send, {CTRLDOWN}{NumpadSub}{CTRLUP} ; Take Screenshot of code using GreenShot
  163. Sleep, 1000
  164. MouseClick, left, 20, 945 ; Click Home
  165. Sleep, 1500
  166.  
  167. MouseClick, left, 1050, 260 ; Open SH Script Runner
  168. Sleep, 1000
  169. MouseClick, left, 900, 990 ; Run opened script
  170. Sleep, 1750
  171. MouseClick, left, 900, 990 ; Close result screen
  172. Sleep, 500
  173. MouseClick, left, 20, 945 ; Click Home
  174. Sleep, 1000
  175. }
  176. Return
  177.  
  178. ^p::Pause,Toggle
Advertisement
Add Comment
Please, Sign In to add comment