Advertisement
Guest User

Untitled

a guest
Aug 31st, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.59 KB | None | 0 0
  1. --made by Alexis :)
  2. --version 7.6
  3.  
  4.  
  5. -----------------
  6. --start variables
  7. -----------------
  8.  
  9. --troop-slot assignments
  10. -------------------------
  11. --Change the "0" to the Slot number of the troop
  12. --if the troop isnt used, please put its value to "0"
  13. local troops = {
  14. --elixir troops:
  15. barb = 0 ,
  16. arch = 0 ,
  17. giant = 0 ,
  18. gob = 0 ,
  19. wbs = 1 ,
  20. loon = 2 ,
  21. wiz = 0 ,
  22. healer = 0 ,
  23. drag = 0 ,
  24. pekka = 0 ,
  25.  
  26. --dark elixir troops:
  27. minion = 3 ,
  28. hog = 0 ,
  29. valk = 0 ,
  30. gol = 0 ,
  31. witch = 0 ,
  32. lava = 4 ,
  33.  
  34. --clan castle and heroes:
  35. cc = 5 ,
  36. king = 6 ,
  37. queen = 7 ,
  38. warden = 8 ,
  39.  
  40. --elixir spells:
  41. light = 0 ,
  42. heal = 0 ,
  43. rage = 9 ,
  44. jump = 0 ,
  45. freeze = 10 ,
  46.  
  47. --dark elixir spells:
  48. poison = 0 ,
  49. earth = 0 ,
  50. haste = 11 ,
  51.  
  52. --dark elixir cc spell
  53. ccSpell = 12
  54. }
  55. ---------------------------
  56.  
  57. --type of screen when script was recorded (to convert coordinates)
  58. --only important if u want to run on another device
  59. --unimportant if you only use script on your own device
  60. --enter "noretina" or "retina"
  61. ------------------------------------------------------
  62. local recScreenRes = "retina"
  63.  
  64. --device rotation on recording
  65. -- "3" if home button was on right
  66. -- "4" if home button was on left
  67. -----------------------------------
  68. local recRotation = 3
  69.  
  70. --minimal sleep
  71. --1000 or more recommended
  72. local minSleep = 1200
  73.  
  74. --sleep after troopbar swipe
  75. --1000000 should be good
  76. local troopbarSleep = 1200000
  77.  
  78. --troopbar set at beginning of script
  79. ----------------------
  80. local troopbarSet = "+"
  81.  
  82.  
  83.  
  84.  
  85.  
  86. --DONT CHANGE ANYTHING BELOW HERE UNTIL YOU SEE:
  87. --"START YOUR SCRIPT HERE:"
  88. -----------------------------------------
  89.  
  90. --set the recording resolution
  91. ----------------------------------------
  92. function setRecResolution()
  93. if recScreenRes == "retina" then
  94. recWidth = 1536
  95. recHeight = 2048
  96. elseif recScreenRes == "noretina" then
  97. recWidth = 768
  98. recHeight = 1024
  99. end
  100. end
  101. setRecResolution()
  102.  
  103.  
  104. --the total troop count
  105. local totalTroopCount = 0
  106.  
  107. --noAccesSlots
  108. --will be defined in setTotalTroopCount()
  109. ---------------------------------
  110. local noAccesSlots
  111.  
  112. --current device rotation
  113. -------------------------
  114. local rotation = getOrientation()
  115.  
  116. --gets screen sizes of device
  117. local width, height = getScreenResolution()
  118.  
  119. --x coordinate for slots left rot
  120. ----------------------------------
  121. local slotCoo = {
  122. recHeight*0.0583 , --slot 1
  123. recHeight*0.1417 , --slot 2
  124. recHeight*0.2251 , --slot 3
  125. recHeight*0.3083 , --slot 4
  126. recHeight*0.3916 , --slot 5
  127. recHeight*0.4751 , --slot 6
  128. recHeight*0.5583 , --slot 7
  129. recHeight*0.6417 , --slot 8
  130. recHeight*0.7251 , --slot 9
  131. recHeight*0.8083 , --slot 10
  132. recHeight*0.8917 , --slot 11
  133. recHeight*0.9759 --slot 12
  134. }
  135. slotCoo["x"] = recWidth*0.0195
  136. -----------------
  137. --end variables
  138. -----------------
  139. ------------------
  140. --start functions
  141. ------------------
  142. --[[
  143. function setVars( )
  144. -- body
  145. end
  146. --]]
  147. function setTotalTroopCount()
  148. --set totalTroopCount
  149. for i, v in pairs(troops) do
  150. if v ~= 0 then
  151. totalTroopCount = totalTroopCount+1
  152. end
  153. noAccesSlots = totalTroopCount-12
  154. end
  155.  
  156. --print error
  157. if totalTroopCount < 12 or totalTroopCount > 24 then
  158. alert("ERROR!\
  159. You entered too few or too many troops. See log for details.")
  160. log("You entered too few or too many troops. ScriptHelper only supports 12-24 slots used.")
  161. end
  162. end
  163.  
  164.  
  165. function wrongSlotValueCheck()
  166. for i, v in pairs(troops) do
  167. if v < 0 or v > 24 then
  168. alert("ERROR! Something went wrong with the assigned slots. Please see the log for details.")
  169. log(string.format("The assigned slot %q for the troop %q is incorrect.", v, i ));
  170. end
  171. end
  172. end
  173.  
  174. --sets slot and xCoo correct
  175. function properCoos()
  176. if recRotation == 4 then
  177. slotCoo["x"] = width - slotCoo["x"]
  178. for i=1, 12 do
  179. slotCoo[i] = height - slotCoo[i]
  180. end
  181. end
  182. end
  183.  
  184.  
  185. --selects a slot
  186. ------------------
  187. function selectSlot(slot, troopName)
  188. if slot ~= 0 then
  189. if troopbarSet == "-" then
  190. if slot-noAccesSlots > 0 then
  191. slot = slot-noAccesSlots
  192. --usleep(troopbarSleep)
  193. else
  194. setTroopbar("+")
  195. end
  196. --this happens of troopbar set ~= "-" -> troopBarSet = "+"
  197. elseif slot > 12 then
  198. setTroopbar("-")
  199. slot = slot-noAccesSlots
  200. end
  201. tapp(slotCoo["x"], slotCoo[slot])
  202.  
  203. else
  204. --print error
  205. alert(string.format("ERROR!\
  206. You did not enter a slot for the troop %q. See the log for details.", troop))
  207. log(string.format("ERROR!\
  208. You did not enter a slot for the troop %q.", troop))
  209. end
  210. end
  211.  
  212. --selects the troop, slot needs to be
  213. --specified in varaible before
  214. --------------------------------------
  215. function select(troop)
  216. if troops[troop] == nil then
  217. alert(string.format("ERROR!\
  218. There is no troop named %q. See the log for details", troop))
  219. log(string.format("ERROR! There is no troop named %q. See the readme for more details on the naming of troops.", troop))
  220. else
  221. selectSlot(troops[troop], troop)
  222. end
  223. end
  224.  
  225.  
  226. --sets the troopsbar to positive or negative
  227. ---------------------------------------------
  228. function setTroopbar(set)
  229. if set == "+" then
  230. touchDown(1, recalcX(slotCoo["x"]), recalcY(slotCoo[1]))
  231. usleep(troopbarSleep/2)
  232. for i=1, 12, 1 do
  233. usleep(minSleep);
  234. touchMove(1, recalcX(slotCoo["x"]), recalcY(slotCoo[i]))
  235. end
  236. usleep(minSleep)
  237. touchUp(1, recalcX(slotCoo["x"]), recalcY(slotCoo[12]))
  238. troopbarSet = "+";
  239. --sleep troop-min*13
  240. end
  241. if set == "-" then
  242. touchDown(1, recalcX(slotCoo["x"]), recalcY(slotCoo[12]))
  243. usleep(troopbarSleep/2)
  244. for i=12, 1, -1 do
  245. usleep(minSleep);
  246. touchMove(1, recalcX(slotCoo["x"]), recalcY(slotCoo[i]))
  247. end
  248. usleep(minSleep)
  249. touchUp(1, recalcX(slotCoo["x"]), recalcY(slotCoo[1]))
  250. troopbarSet = "-";
  251. end
  252. usleep(troopbarSleep - (minSleep*13 - troopbarSleep/2) )
  253. end
  254.  
  255.  
  256. --recalcY(if iPad turned around)
  257. --------------------
  258. function recalcY(y)
  259. if recRotation ~= rotation then
  260. y = recHeight-y --height
  261. end
  262. y = convRes(y)
  263. return y
  264. end
  265.  
  266.  
  267. --recalcX(if iPad turned around)
  268. --------------------
  269. function recalcX(x)
  270. if recRotation ~= rotation then
  271. x = recWidth-x --(width)
  272. end
  273. x = convRes(x)
  274. return x
  275.  
  276. end
  277.  
  278. --convert resolution
  279. function convRes(coo)
  280. if recScreenRes == "noretina" and width == 1536 then
  281. coo = coo*2
  282. elseif recScreenRes == "retina" and width == 768 then
  283. coo = coo/2
  284. end
  285. return coo
  286. end
  287.  
  288. --taps on a given point
  289. ----------------------------------------------
  290. function tapp(x, y)
  291. tap(recalcX(x), recalcY(y))
  292. usleep(minSleep);
  293. end
  294.  
  295. --taps on a given point n amount of times
  296. -------------------------------------------
  297. function multiTapp(x, y, n)
  298. if res == "retina" and recScreenRes == "noretina" then
  299. x = x / 2
  300. y = y / 2
  301. elseif res == "noretina" and recScreenRes == "retina" then
  302. x = x * 2
  303. y = y * 2
  304. end
  305.  
  306. for i=1,n do
  307. tapp(x, y)
  308. end
  309. end
  310.  
  311. --activates the ability of the given hero
  312. --selects the hero if he wasnt deployed first
  313. --------------------------------------------------
  314. function ability(hero)
  315. select(hero)
  316. end
  317.  
  318. properCoos()
  319. setTotalTroopCount()
  320. wrongSlotValueCheck()
  321. ----------------
  322. --end functions
  323. ----------------
  324.  
  325. --START YOUR SCRIPT HERE:
  326.  
  327. touchDown(1, 127.59, 1172.66);
  328. usleep(66475.83);
  329. touchUp(1, 127.59, 1172.66);
  330. usleep(1300849.38);
  331.  
  332. touchDown(4, 626.55, 674.75);
  333. usleep(66700.50);
  334. touchUp(4, 626.55, 674.75);
  335. usleep(366036.79);
  336.  
  337. touchDown(11, 140.93, 128.81);
  338. usleep(133613.50);
  339. touchUp(11, 140.93, 128.81);
  340. usleep(283597.71);
  341.  
  342. touchDown(4, 623.48, 652.28);
  343. usleep(866204.50);
  344. touchUp(4, 623.48, 652.28);
  345. usleep(533631.17);
  346.  
  347. touchDown(9, 149.11, 1333.19);
  348. usleep(83269.17);
  349. touchUp(9, 149.11, 1333.19);
  350. usleep(483601.04);
  351.  
  352. touchDown(6, 613.66, 654.88);
  353. usleep(33010.79);
  354. touchUp(6, 613.66, 654.88);
  355. usleep(14951538.92);
  356.  
  357. touchDown(8, 133.76, 830.16);
  358. usleep(82823.21);
  359. touchUp(8, 133.76, 830.16);
  360. usleep(1633823.00);
  361.  
  362. touchDown(2, 687.00, 571.50);
  363. usleep(83365.29);
  364. touchUp(2, 687.00, 571.50);
  365. usleep(283198.67);
  366.  
  367. touchDown(2, 690.07, 575.59);
  368. usleep(99963.42);
  369. touchUp(2, 690.07, 575.59);
  370. usleep(1533785.12);
  371.  
  372. touchDown(1, 146.04, 1147.09);
  373. usleep(433484.33);
  374. touchUp(1, 146.04, 1147.09);
  375. usleep(10300522.33);
  376.  
  377. touchDown(9, 145.01, 1347.50);
  378. usleep(66649.04);
  379. touchUp(9, 145.01, 1347.50);
  380. usleep(1000.00);
  381.  
  382. ------------
  383.  
  384. --momos
  385.  
  386. touchDown(1, 118.38, 643.06);
  387. usleep(4973.00);
  388. touchUp(1, 118.38, 643.06);
  389. usleep(2114.75);
  390.  
  391. touchDown(5, 791.51, 478.47);
  392. usleep(6655.79);
  393. touchUp(5, 791.51, 478.47);
  394. usleep(1561.58);
  395.  
  396. touchDown(6, 1212.59, 567.41);
  397. usleep(3343.04);
  398. touchUp(6, 1212.59, 567.41);
  399. usleep(1601.88);
  400.  
  401. touchDown(10, 1375.48, 1396.56);
  402. usleep(9975.58);
  403. touchUp(10, 1375.48, 1396.56);
  404. usleep(1912.67);
  405.  
  406. touchDown(2, 1398.02, 858.78);
  407. usleep(8329.58);
  408. touchUp(2, 1398.02, 858.78);
  409. usleep(3320.08);
  410.  
  411. touchDown(3, 127.59, 991.69);
  412. usleep(9908.67);
  413. touchUp(3, 127.59, 991.69);
  414. usleep(3759.50);
  415.  
  416. touchDown(11, 1415.44, 945.69);
  417. usleep(6613.17);
  418. touchUp(11, 1415.44, 945.69);
  419. usleep(1500000.00);
  420.  
  421. ---------
  422.  
  423. --ballons
  424.  
  425. touchDown(7, 130.66, 288.31);
  426. usleep(8300.88);
  427. touchUp(7, 130.66, 288.31);
  428. usleep(3184.12);
  429.  
  430. touchDown(5, 835.55, 478.47);
  431. usleep(9991.42);
  432. touchUp(5, 835.55, 478.47);
  433. usleep(3619.58);
  434.  
  435. touchDown(5, 839.65, 482.56);
  436. usleep(9960.92);
  437. touchUp(5, 839.65, 482.56);
  438. usleep(3559.25);
  439.  
  440. touchDown(5, 839.65, 487.66);
  441. usleep(8359.04);
  442. touchUp(5, 839.65, 487.66);
  443. usleep(1818.33);
  444.  
  445. touchDown(6, 1232.06, 600.12);
  446. usleep(9987.42);
  447. touchUp(6, 1232.06, 600.12);
  448. usleep(1976.08);
  449.  
  450. touchDown(6, 1222.83, 602.19);
  451. usleep(1002.21);
  452. touchUp(6, 1222.83, 602.19);
  453. usleep(3624.54);
  454.  
  455. touchDown(6, 1231.03, 591.94);
  456. usleep(8323.00);
  457. touchUp(6, 1231.03, 591.94);
  458. usleep(6070.62);
  459.  
  460. touchDown(6, 1222.83, 585.81);
  461. usleep(5006.62);
  462. touchUp(6, 1222.83, 585.81);
  463. usleep(5905.67);
  464.  
  465. touchDown(2, 1388.81, 865.94);
  466. usleep(1378.33);
  467. touchUp(2, 1388.81, 865.94);
  468. usleep(5151.00);
  469.  
  470. touchDown(2, 1383.68, 873.09);
  471. usleep(8300.04);
  472. touchUp(2, 1383.68, 873.09);
  473. usleep(6334.92);
  474.  
  475. touchDown(2, 1386.75, 875.16);
  476. usleep(8323.71);
  477. touchUp(2, 1386.75, 875.16);
  478. usleep(1503.62);
  479.  
  480. touchDown(4, 1512.77, 1000.91);
  481. usleep(1009.71);
  482. touchUp(4, 1512.77, 1000.91);
  483. usleep(1206.25);
  484.  
  485. touchDown(4, 1496.39, 1007.03);
  486. usleep(1035.29);
  487. touchUp(4, 1496.39, 1007.03);
  488. usleep(3967.00);
  489.  
  490. touchDown(8, 1361.13, 1216.62);
  491. usleep(8319.00);
  492. touchUp(8, 1361.13, 1216.62);
  493. usleep(7653.33);
  494.  
  495. touchDown(8, 1361.13, 1217.66);
  496. usleep(9970.00);
  497. touchUp(8, 1361.13, 1217.66);
  498. usleep(7160.92);
  499.  
  500. touchDown(8, 1364.23, 1220.72);
  501. usleep(6637.58);
  502. touchUp(8, 1364.23, 1220.72);
  503. usleep(3117.88);
  504.  
  505. touchDown(1, 97.90, 1510.06);
  506. usleep(8342.46);
  507. touchUp(1, 97.90, 1510.06);
  508. usleep(1599.83);
  509. touchUp(10, 1206.45, 523.44);
  510. usleep(2618.50);
  511.  
  512. touchDown(10, 1212.59, 526.50);
  513. usleep(66953.00);
  514. touchUp(10, 1212.59, 526.50);
  515. usleep(1000.00);
  516.  
  517.  
  518. touchDown(7, 124.52, 1482.44);
  519. usleep(3212.17);
  520. touchMove(7, 123.49, 1449.72);
  521. usleep(1678.17);
  522. touchMove(7, 122.48, 1423.16);
  523. usleep(1694.08);
  524. touchMove(7, 113.25, 1380.22);
  525. usleep(1634.04);
  526. touchMove(7, 99.94, 1312.72);
  527. usleep(1658.21);
  528. touchMove(7, 87.63, 1226.84);
  529. usleep(1683.67);
  530. touchMove(7, 80.46, 1120.53);
  531. usleep(1681.00);
  532. touchMove(7, 76.38, 1017.25);
  533. usleep(1660.50);
  534. touchMove(7, 67.15, 925.25);
  535. usleep(1696.21);
  536. touchMove(7, 53.84, 848.56);
  537. usleep(1614.25);
  538. touchUp(7, 49.73, 844.47);
  539. usleep(1100000.38);
  540.  
  541. touchDown(9, 115.31, 1759.53);
  542. usleep(5000.83);
  543. touchUp(9, 115.31, 1759.53);
  544. usleep(2081.21);
  545.  
  546. touchDown(10, 1193.11, 1436.44);
  547. usleep(6677.12);
  548. touchUp(10, 1193.11, 1436.44);
  549. usleep(1565.33);
  550.  
  551. touchDown(6, 117.35, 563.31);
  552. usleep(3369.17);
  553. touchMove(6, 122.48, 588.88);
  554. usleep(1612.83);
  555. touchMove(6, 122.48, 615.47);
  556. usleep(1664.04);
  557. touchMove(6, 119.41, 658.41);
  558. usleep(1680.25);
  559. touchMove(6, 113.25, 708.50);
  560. usleep(1646.33);
  561. touchMove(6, 109.15, 767.81);
  562. usleep(1667.50);
  563. touchMove(6, 109.15, 839.38);
  564. usleep(1695.75);
  565. touchMove(6, 112.24, 906.84);
  566. usleep(1659.71);
  567. touchMove(6, 127.59, 981.47);
  568. usleep(1677.42);
  569. touchMove(6, 147.07, 1066.34);
  570. usleep(1694.62);
  571. touchMove(6, 169.62, 1155.28);
  572. usleep(1639.12);
  573. touchUp(6, 187.03, 1256.50);
  574. usleep(1100000.83);
  575.  
  576. touchDown(3, 158.34, 313.84);
  577. usleep(8287.08);
  578. touchUp(3, 158.34, 313.84);
  579. usleep(1452.33);
  580.  
  581. touchDown(2, 1262.79, 1451.78);
  582. usleep(8316.58);
  583. touchUp(2, 1262.79, 1451.78);
  584. usleep(8369.71);
  585.  
  586. touchDown(2, 1262.79, 1451.78);
  587. usleep(8316.58);
  588. touchUp(2, 1262.79, 1451.78);
  589. usleep(8369.71);
  590.  
  591. touchDown(2, 1264.83, 1453.81);
  592. usleep(8286.71);
  593. touchUp(2, 1264.83, 1453.81);
  594. usleep(3666.67);
  595.  
  596. touchDown(4, 1262.79, 1451.78);
  597. usleep(8316.58);
  598. touchUp(4, 1262.79, 1451.78);
  599. usleep(8369.71);
  600.  
  601.  
  602.  
  603.  
  604. --sorts de spd
  605.  
  606. touchDown(7, 92.77, 1277.97);
  607. usleep(1001.92);
  608. touchMove(7, 96.87, 1262.62);
  609. usleep(1635.46);
  610. touchMove(7, 96.87, 1255.47);
  611. usleep(1662.62);
  612. touchMove(7, 96.87, 1247.31);
  613. usleep(1682.33);
  614. touchMove(7, 97.90, 1238.09);
  615. usleep(1654.12);
  616. touchMove(7, 99.94, 1227.88);
  617. usleep(1670.79);
  618. touchMove(7, 100.97, 1216.62);
  619. usleep(1660.25);
  620. touchMove(7, 101.98, 1204.38);
  621. usleep(1640.50);
  622. touchMove(7, 103.01, 1190.03);
  623. usleep(1642.62);
  624. touchMove(7, 105.07, 1175.72);
  625. usleep(1703.83);
  626. touchMove(7, 106.08, 1163.47);
  627. usleep(1657.75);
  628. touchMove(7, 107.11, 1147.09);
  629. usleep(1649.04);
  630. touchMove(7, 108.14, 1132.78);
  631. usleep(1683.04);
  632. touchMove(7, 110.18, 1116.44);
  633. usleep(1644.67);
  634. touchMove(7, 112.24, 1101.09);
  635. usleep(1674.42);
  636. touchMove(7, 114.28, 1085.75);
  637. usleep(1688.62);
  638. touchMove(7, 115.31, 1069.41);
  639. usleep(1619.42);
  640. touchMove(7, 116.32, 1052.03);
  641. usleep(1685.46);
  642. touchMove(7, 118.38, 1034.66);
  643. usleep(1622.17);
  644. touchMove(7, 119.41, 1016.25);
  645. usleep(1612.67);
  646. touchMove(7, 119.41, 996.81);
  647. usleep(1681.46);
  648. touchMove(7, 120.42, 977.38);
  649. usleep(1650.83);
  650. touchMove(7, 120.42, 956.94);
  651. usleep(1655.58);
  652. touchMove(7, 121.45, 931.38);
  653. usleep(1674.58);
  654. touchMove(7, 122.48, 905.81);
  655. usleep(1696.00);
  656. touchMove(7, 122.48, 881.28);
  657. usleep(1632.54);
  658. touchMove(7, 122.48, 853.69);
  659. usleep(1679.00);
  660. touchMove(7, 122.48, 820.97);
  661. usleep(1686.42);
  662. touchMove(7, 122.48, 777.00);
  663. usleep(1667.21);
  664. touchMove(7, 120.42, 727.94);
  665. usleep(1668.58);
  666. touchMove(7, 116.32, 678.84);
  667. usleep(1663.12);
  668. touchMove(7, 109.15, 631.81);
  669. usleep(1636.58);
  670. touchMove(7, 100.97, 582.75);
  671. usleep(1678.67);
  672. touchMove(7, 88.66, 521.41);
  673. usleep(1692.00);
  674. touchMove(7, 72.28, 445.75);
  675. usleep(1622.88);
  676. touchMove(7, 46.66, 349.66);
  677. usleep(1659.00);
  678. touchUp(7, 42.56, 345.56);
  679. usleep(1000000.75);
  680.  
  681. touchDown(5, 97.90, 1768.72);
  682. usleep(8380.88);
  683. touchUp(5, 97.90, 1768.72);
  684. usleep(2525.04);
  685.  
  686. touchDown(10, 908.30, 637.97);
  687. usleep(6677.21);
  688. touchUp(10, 908.30, 637.97);
  689. usleep(2022.50);
  690.  
  691. touchDown(6, 1165.45, 744.28);
  692. usleep(1016.29);
  693. touchUp(6, 1165.45, 744.28);
  694. usleep(3183.00);
  695.  
  696. touchDown(9, 1300.69, 991.69);
  697. usleep(8367.71);
  698. touchUp(9, 1300.69, 991.69);
  699. usleep(1000.00);
  700.  
  701. --last loons
  702. --scroll to right sel
  703.  
  704. touchDown(10, 158.34, 1551.97);
  705. usleep(3328.71);
  706. touchMove(10, 155.27, 1529.47);
  707. usleep(1685.67);
  708. touchMove(10, 155.27, 1513.12);
  709. usleep(1685.33);
  710. touchMove(10, 155.27, 1491.66);
  711. usleep(1649.54);
  712. touchMove(10, 154.24, 1460.97);
  713. usleep(1663.71);
  714. touchMove(10, 154.24, 1416.00);
  715. usleep(1686.54);
  716. touchMove(10, 154.24, 1365.91);
  717. usleep(1643.17);
  718. touchMove(10, 160.38, 1315.81);
  719. usleep(1677.88);
  720. touchMove(10, 167.55, 1270.81);
  721. usleep(1601.50);
  722. touchMove(10, 174.73, 1226.84);
  723. usleep(1629.04);
  724. touchMove(10, 182.93, 1178.81);
  725. usleep(1678.17);
  726. touchMove(10, 196.24, 1114.38);
  727. usleep(1697.75);
  728. touchMove(10, 212.65, 1046.91);
  729. usleep(1656.08);
  730. touchMove(10, 228.00, 980.47);
  731. usleep(1674.96);
  732. touchMove(10, 234.14, 917.06);
  733. usleep(1672.75);
  734. touchMove(10, 235.17, 864.94);
  735. usleep(1634.54);
  736. touchMove(10, 235.17, 807.69);
  737. usleep(1653.62);
  738. touchMove(10, 240.30, 754.50);
  739. usleep(1717.17);
  740. touchMove(10, 253.62, 686.00);
  741. usleep(1604.00);
  742. touchUp(10, 257.72, 681.91);
  743. usleep(2000000.38);
  744.  
  745. --haste
  746. touchDown(11, 114.28, 1783.03);
  747. usleep(6627.38);
  748. touchUp(11, 114.28, 1783.03);
  749. usleep(4387.00);
  750.  
  751. touchDown(1, 746.41, 736.09);
  752. usleep(6646.17);
  753. touchUp(1, 746.41, 736.09);
  754. usleep(2946.38);
  755.  
  756. --lastloons
  757. touchDown(3, 180.87, 39.84);
  758. usleep(8363.50);
  759. touchUp(3, 180.87, 39.84);
  760. usleep(2225.54);
  761.  
  762. touchDown(9, 674.70, 654.31);
  763. usleep(1003.33);
  764. touchUp(9, 674.70, 654.31);
  765. usleep(3174.79);
  766.  
  767. touchDown(9, 681.87, 648.19);
  768. usleep(8303.58);
  769. touchUp(9, 681.87, 648.19);
  770. usleep(2662.71);
  771.  
  772. touchDown(9, 684.94, 648.19);
  773. usleep(9998.46);
  774. touchUp(9, 684.94, 648.19);
  775. usleep(2448.04);
  776.  
  777. touchDown(9, 685.97, 647.16);
  778. usleep(1006.88);
  779. touchUp(9, 685.97, 647.16);
  780. usleep(2995.29);
  781.  
  782. touchDown(9, 685.97, 643.06);
  783. usleep(8352.75);
  784. touchUp(9, 685.97, 643.06);
  785. usleep(1091.12);
  786. touchUp(2, 147.07, 180.94);
  787. usleep(2000000.42);
  788.  
  789. --gel
  790.  
  791. touchDown(11, 126.59, 1604.12);
  792. usleep(8326.04);
  793. touchUp(11, 126.59, 1604.12);
  794. usleep(2294.00);
  795.  
  796. touchDown(3, 1094.77, 1229.91);
  797. usleep(1098.58);
  798. touchUp(3, 1094.77, 1229.91);
  799. usleep(1000000.00);
  800.  
  801. --hastefortde
  802. touchDown(1, 125.55, 1948.66);
  803. usleep(4985.92);
  804. touchUp(1, 125.55, 1948.66);
  805. usleep(2750.29);
  806.  
  807. touchDown(7, 1122.42, 1228.91);
  808. usleep(4978.25);
  809. touchUp(7, 1122.42, 1228.91);
  810. usleep(300000.00);
  811.  
  812.  
  813. --warde
  814. touchDown(3, 119.41, 1237.06);
  815. usleep(66628.08);
  816. touchUp(3, 119.41, 1237.06);
  817. usleep(6000000.00);
  818.  
  819. --final rage
  820.  
  821. touchDown(4, 126.59, 1435.41);
  822. usleep(66154.54);
  823. touchUp(4, 126.59, 1435.41);
  824. usleep(1267201.12);
  825.  
  826. touchDown(2, 1005.53, 943.19);
  827. usleep(83616.50);
  828. touchUp(2, 1005.53, 943.19);
  829. usleep(9500000.00);
  830.  
  831.  
  832. --gel
  833.  
  834. touchDown(10, 135.80, 1602.06);
  835. usleep(66174.83);
  836. touchUp(10, 135.80, 1602.06);
  837. usleep(4933749.17);
  838.  
  839. touchDown(7, 922.64, 1238.09);
  840. usleep(133679.12);
  841. touchUp(7, 922.64, 1238.09);
  842. usleep(2400000.00);
  843.  
  844.  
  845. --loons
  846. touchDown(7, 134.77, 465.16);
  847. usleep(49967.21);
  848. touchMove(7, 131.70, 480.50);
  849. usleep(16914.62);
  850. touchMove(7, 131.70, 490.72);
  851. usleep(17039.79);
  852. touchMove(7, 131.70, 507.09);
  853. usleep(16068.25);
  854. touchMove(7, 131.70, 533.69);
  855. usleep(16749.88);
  856. touchMove(7, 131.70, 560.25);
  857. usleep(16595.38);
  858. touchMove(7, 131.70, 599.09);
  859. usleep(16629.08);
  860. touchMove(7, 131.70, 633.88);
  861. usleep(16867.88);
  862. touchMove(7, 134.77, 671.69);
  863. usleep(16367.79);
  864. touchMove(7, 139.90, 708.50);
  865. usleep(17112.04);
  866. touchMove(7, 144.00, 746.34);
  867. usleep(16485.71);
  868. touchMove(7, 148.10, 784.16);
  869. usleep(16532.54);
  870. touchMove(7, 150.14, 818.91);
  871. usleep(16737.88);
  872. touchMove(7, 150.14, 854.69);
  873. usleep(16920.46);
  874. touchMove(7, 150.14, 888.44);
  875. usleep(16607.17);
  876. touchMove(7, 148.10, 925.25);
  877. usleep(16645.46);
  878. touchMove(7, 145.01, 960.00);
  879. usleep(16832.79);
  880. touchMove(7, 142.97, 995.78);
  881. usleep(16566.17);
  882. touchMove(7, 142.97, 1029.53);
  883. usleep(16420.92);
  884. touchMove(7, 142.97, 1064.28);
  885. usleep(16827.12);
  886. touchMove(7, 142.97, 1090.88);
  887. usleep(16509.83);
  888. touchMove(7, 142.97, 1127.69);
  889. usleep(16494.29);
  890. touchMove(7, 140.93, 1158.34);
  891. usleep(17038.67);
  892. touchMove(7, 139.90, 1193.12);
  893. usleep(16562.50);
  894. touchMove(7, 138.87, 1229.91);
  895. usleep(16480.33);
  896. touchMove(7, 136.83, 1275.94);
  897. usleep(16923.00);
  898. touchMove(7, 135.80, 1320.91);
  899. usleep(16499.75);
  900. touchMove(7, 130.66, 1365.91);
  901. usleep(16632.79);
  902. touchMove(7, 119.41, 1410.88);
  903. usleep(16858.79);
  904. touchMove(7, 106.08, 1457.91);
  905. usleep(16247.88);
  906. touchMove(7, 100.97, 1507.00);
  907. usleep(16525.21);
  908. touchUp(7, 96.87, 1511.06);
  909. usleep(1350684.46);
  910.  
  911. touchDown(3, 135.80, 304.66);
  912. usleep(99764.54);
  913. touchUp(3, 135.80, 304.66);
  914. usleep(1317303.71);
  915.  
  916. touchDown(9, 484.15, 967.16);
  917. usleep(132690.83);
  918. touchUp(9, 484.15, 967.16);
  919. usleep(350264.21);
  920.  
  921. touchDown(9, 473.88, 964.09);
  922. usleep(100001.46);
  923. touchUp(9, 473.88, 964.09);
  924. usleep(383176.12);
  925.  
  926. touchDown(9, 476.98, 964.09);
  927. usleep(66967.71);
  928. touchUp(9, 476.98, 964.09);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement