Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* (Japanese)DBZ Dokkan Battle - Automatic Rerolling Script for droid4x
- This script is heavily inspired by /u/guagno333's script on Reddit here: bit.ly/1J8USBc
- This format was copied from /u/datlock.
- I changed every single mouse position to make it work on fullscreen droid4x.
- 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
- you're better off using another script because you wont be able to pull 6 times in global.
- Important Notes:
- 1. This automated script is dependant on a script by /u/Infernominaal I modified it to work with the japanese dokkan battle.
- 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*
- 2. This method uses the free app SH Script Runner.
- 3. This method uses free software called AutoHotKey
- 4. This method assumes your droid4x screen looks exactly like this: http://imgur.com/MdTNHGz
- If not, change the mouse position where it says "Click "Dokkan"" to where your icon is
- (you can use autoHotkey's build in window spy function)
- 5. This method uses CTRL_NUMPADMINUS to save a screenshot. I made it this way because my printscreen key wouldn't work with droid4x
- I use software called Greenshot that saves the screenshot to a predefined folder.
- You can use any screencap tool, but you have to change the hotkey in the script below.
- 6. You can change any of the SLEEP timers below (in ms) to speed things up or slow things down, depending on your connection
- 7. I'm not responsible for any unwanted effects, damage of any kind or incurred costs. I have done over 50 rerolls using it.
- I haven't run into any major issues. However, I can't guarantee the cursor won't somehow make it to the store page.
- Delete your payment info!
- How to use:
- 1. Run this script (PickAName.ahk) as Administrator
- 2. Open droid4x
- 3. Make SURE droid4x is in fullscreen on 720x1280 hor. you can change this is the droid4x settings.
- 4. Also make sure Dokkan Battle is in the 4th spot and script runner is in the 3rd.
- 5. Open SH Script Runner and make sure /u/Infernominaal's modified script is showing, and has superuser access
- 6. Press Home, keeping SH Script Runner open in the background
- 7. Press ALT+Q to start the script
- 8. At any time, you can pause the script by pressing CTRL+P
- Video Demonstration: https://www.youtube.com/watch?v=lexNRJgwH0o (might not be accurate, I didn't make this /u/datlock did.
- Good luck! May all your rolls be SSRs.
- */
- !q::
- loop
- {
- Sleep, 500
- MouseClick, left, 1180, 260 ; Click "Dokkan"
- Sleep, 3000
- MouseClick, left, 900, 500 ; Click "THE CHAMP".
- Sleep, 3000
- MouseClick, left, 900, 500 ; Click Start
- Sleep, 13000
- MouseClick, left, 1210, 85 ; Click Skip
- Sleep, 3000
- MouseClick, left, 1000, 600 ; Click "OK" on Download screen
- Sleep, 6500
- MouseClick, left, 1210, 85 ; Click Skip
- Sleep, 20000
- MouseClick, left, 1000, 980 ; Click OK on 'News' popup
- Sleep, 3000
- MouseClick, left, 1000, 740 ; Click OK on daily popup, twice
- Sleep, 3000
- MouseClick, left, 1000, 980 ;click Ok on next popup
- Sleep, 1000
- MouseClick, left, 1170, 720 ; Click on Gifts
- Sleep, 6000
- MouseClick, left, 1200, 170 ; Accept all gifts
- Sleep, 3000
- MouseClick, left, 1120, 670 ; Confirm accepting gifts
- Sleep, 9000
- MouseClick, left, 1000, 600 ; Click OK
- Sleep, 1500
- MouseClick, left, 1170, 720 ; Click on Gifts
- Sleep, 6000
- MouseClick, left, 1200, 170 ; Accept all gifts
- Sleep, 3000
- MouseClick, left, 1120, 670 ; Confirm accepting gifts
- Sleep, 9000
- MouseClick, left, 1000, 600 ; Click OK
- Sleep, 2000
- MouseClick, left, 1000, 980 ; Open Summon Page
- Sleep, 5500
- MouseClick, left, 1000, 880 ; scroll summon down
- Sleep, 2000
- MouseClick, left, 870, 700 ; Single Summon 6
- Sleep, 1000
- MouseClick, left, 1200, 700 ; Confirm Single Summon
- Sleep, 13000
- MouseClickDrag, left, 1000, 650, 980, 800, 50 ; Drag down
- Sleep, 20000
- MouseClick, left, 900, 500 ; Click card
- Sleep, 3000
- MouseClick, left, 820, 760 ; Single Summon AGAIN :D 5 ( while the event lasts)
- Sleep, 1000
- MouseClick, left, 1100, 700 ; Confirm Single Summon
- Sleep, 15000
- MouseClickDrag, left, 1000, 650, 980, 800, 50 ; Drag down
- Sleep, 19000
- MouseClick, left, 900, 500 ; Click card
- Sleep, 3000
- MouseClick, left, 820, 760 ; Single Summon AGAIN :D 4 ( while the event lasts)
- Sleep, 1000
- MouseClick, left, 1100, 700 ; Confirm Single Summon
- Sleep, 15000
- MouseClickDrag, left, 1000, 650, 980, 800, 50 ; Drag down
- Sleep, 19000
- MouseClick, left, 900, 500 ; Click card
- Sleep, 3000
- MouseClick, left, 820, 760 ; Single Summon AGAIN :D 3 ( while the event lasts)
- Sleep, 1000
- MouseClick, left, 1100, 700 ; Confirm Single Summon
- Sleep, 15000
- MouseClickDrag, left, 1000, 650, 980, 800, 50 ; Drag down
- Sleep, 19000
- MouseClick, left, 900, 500 ; Click card
- Sleep, 3000
- MouseClick, left, 820, 760 ; Single Summon AGAIN :D 2 ( while the event lasts)
- Sleep, 1000
- MouseClick, left, 1100, 700 ; Confirm Single Summon
- Sleep, 15000
- MouseClickDrag, left, 1000, 650, 980, 800, 50 ; Drag down
- Sleep, 19000
- MouseClick, left, 900, 500 ; Click card
- Sleep, 3000
- MouseClick, left, 820, 760 ; Single Summon AGAIN :D 1 ( while the event lasts)
- Sleep, 1000
- MouseClick, left, 1100, 700 ; Confirm Single Summon
- Sleep, 15000
- MouseClickDrag, left, 1000, 650, 980, 800, 50 ; Drag down
- Sleep, 19000
- MouseClick, left, 900, 500 ; Click card
- Sleep, 3500
- MouseClick, left, 870, 970 ; Click team....or somthing, whatever its called
- Sleep, 2000
- MouseClick, left, 870, 970 ; Click team....or somthing, whatever its called(extra to be sure)
- Sleep, 1500
- MouseClick, left, 830, 375 ; Click team
- Sleep, 1500
- MouseClick, left, 985, 970 ; Click ok
- Sleep, 1500
- Send, {CTRLDOWN}{NumpadSub}{CTRLUP} ; Take Screenshot of card using Greenshot (didnt use prtScn key becasue it doesnt work with droid4x for some reason)
- Sleep, 500
- MouseClick, left, 1220, 948 ; Click Menu
- Sleep, 1000
- MouseClick, left, 980, 370 ; Click Device Transfer
- Sleep, 1500
- MouseClick, left, 880, 380 ; Create Code
- Sleep, 1000
- MouseClick, left, 990, 750 ; Click OK
- Sleep, 2500
- Send, {CTRLDOWN}{NumpadSub}{CTRLUP} ; Take Screenshot of code using GreenShot
- Sleep, 1000
- MouseClick, left, 20, 945 ; Click Home
- Sleep, 1500
- MouseClick, left, 1050, 260 ; Open SH Script Runner
- Sleep, 1000
- MouseClick, left, 900, 990 ; Run opened script
- Sleep, 1750
- MouseClick, left, 900, 990 ; Close result screen
- Sleep, 500
- MouseClick, left, 20, 945 ; Click Home
- Sleep, 1000
- }
- Return
- ^p::Pause,Toggle
Advertisement
Add Comment
Please, Sign In to add comment