Guest User

Untitled

a guest
Dec 12th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.75 KB | None | 0 0
  1. package coords;
  2.  
  3. import java.util.Random;
  4.  
  5. public class InventorySlots {
  6.  
  7. }
  8.  
  9.  
  10. //row 1 slot 1, goes left to right
  11.  
  12. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  13. int X = startLocation.x;
  14. int Y = startLocation.y;
  15. for (int i = 0; i < 100; i++) {
  16. Random ran = new Random();
  17. int speed = ran.nextInt(1) + 3;
  18. int delay = ran.nextInt(200) + 300;
  19. int x = ran.nextInt(7) + 876;
  20. int y = ran.nextInt(7) + 310;
  21. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  22. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  23. robot.mouseMove(mov_x1, mov_y1);
  24. robot.delay(speed);
  25. }
  26.  
  27.  
  28.  
  29.  
  30. //row 1 slot 2, goes left to right
  31.  
  32. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  33. int X = startLocation.x;
  34. int Y = startLocation.y;
  35. for (int i = 0; i < 100; i++) {
  36. Random ran = new Random();
  37. int speed = ran.nextInt(1) + 3;
  38. int delay = ran.nextInt(200) + 300;
  39. int x = ran.nextInt(7) + 919;
  40. int y = ran.nextInt(7) + 308;
  41. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  42. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  43. robot.mouseMove(mov_x1, mov_y1);
  44. robot.delay(speed);
  45. }
  46.  
  47.  
  48.  
  49. //row 1 slot 3, goes left to right
  50.  
  51. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  52. int X = startLocation.x;
  53. int Y = startLocation.y;
  54. for (int i = 0; i < 100; i++) {
  55. Random ran = new Random();
  56. int speed = ran.nextInt(1) + 3;
  57. int delay = ran.nextInt(200) + 300;
  58. int x = ran.nextInt(7) + 964;
  59. int y = ran.nextInt(7) + 307;
  60. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  61. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  62. robot.mouseMove(mov_x1, mov_y1);
  63. robot.delay(speed);
  64. }
  65.  
  66.  
  67. //row 1 slot 4, goes left to right
  68.  
  69. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  70. int X = startLocation.x;
  71. int Y = startLocation.y;
  72. for (int i = 0; i < 100; i++) {
  73. Random ran = new Random();
  74. int speed = ran.nextInt(1) + 3;
  75. int delay = ran.nextInt(200) + 300;
  76. int x = ran.nextInt(7) + 1004;
  77. int y = ran.nextInt(7) + 308;
  78. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  79. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  80. robot.mouseMove(mov_x1, mov_y1);
  81. robot.delay(speed);
  82. }
  83.  
  84.  
  85.  
  86. //row 2 slot 1, goes left to right
  87.  
  88. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  89. int X = startLocation.x;
  90. int Y = startLocation.y;
  91. for (int i = 0; i < 100; i++) {
  92. Random ran = new Random();
  93. int speed = ran.nextInt(1) + 3;
  94. int delay = ran.nextInt(200) + 300;
  95. int x = ran.nextInt(7) + 877;
  96. int y = ran.nextInt(7) + 346;
  97. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  98. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  99. robot.mouseMove(mov_x1, mov_y1);
  100. robot.delay(speed);
  101. }
  102.  
  103.  
  104. //row 2 slot 2, goes left to right
  105.  
  106. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  107. int X = startLocation.x;
  108. int Y = startLocation.y;
  109. for (int i = 0; i < 100; i++) {
  110. Random ran = new Random();
  111. int speed = ran.nextInt(1) + 3;
  112. int delay = ran.nextInt(200) + 300;
  113. int x = ran.nextInt(7) + 918;
  114. int y = ran.nextInt(7) + 345;
  115. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  116. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  117. robot.mouseMove(mov_x1, mov_y1);
  118. robot.delay(speed);
  119. }
  120.  
  121.  
  122.  
  123.  
  124. //row 2 slot 3, goes left to right
  125.  
  126. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  127. int X = startLocation.x;
  128. int Y = startLocation.y;
  129. for (int i = 0; i < 100; i++) {
  130. Random ran = new Random();
  131. int speed = ran.nextInt(1) + 3;
  132. int delay = ran.nextInt(200) + 300;
  133. int x = ran.nextInt(7) + 964;
  134. int y = ran.nextInt(7) + 381;
  135. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  136. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  137. robot.mouseMove(mov_x1, mov_y1);
  138. robot.delay(speed);
  139. }
  140.  
  141.  
  142.  
  143. //row2 slot 4, goes left to right
  144.  
  145. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  146. int X = startLocation.x;
  147. int Y = startLocation.y;
  148. for (int i = 0; i < 100; i++) {
  149. Random ran = new Random();
  150. int speed = ran.nextInt(1) + 3;
  151. int delay = ran.nextInt(200) + 300;
  152. int x = ran.nextInt(7) + 1003;
  153. int y = ran.nextInt(7) + 343;
  154. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  155. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  156. robot.mouseMove(mov_x1, mov_y1);
  157. robot.delay(speed);
  158. }
  159.  
  160.  
  161.  
  162.  
  163. //row 3 slot 1, goes left to right
  164.  
  165. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  166. int X = startLocation.x;
  167. int Y = startLocation.y;
  168. for (int i = 0; i < 100; i++) {
  169. Random ran = new Random();
  170. int speed = ran.nextInt(1) + 3;
  171. int delay = ran.nextInt(200) + 300;
  172. int x = ran.nextInt(7) + 880;
  173. int y = ran.nextInt(7) + 380;
  174. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  175. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  176. robot.mouseMove(mov_x1, mov_y1);
  177. robot.delay(speed);
  178. }
  179.  
  180.  
  181.  
  182.  
  183. //row 3 slot 2, goes left to right
  184.  
  185. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  186. int X = startLocation.x;
  187. int Y = startLocation.y;
  188. for (int i = 0; i < 100; i++) {
  189. Random ran = new Random();
  190. int speed = ran.nextInt(1) + 3;
  191. int delay = ran.nextInt(200) + 300;
  192. int x = ran.nextInt(7) + 923;
  193. int y = ran.nextInt(7) + 381;
  194. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  195. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  196. robot.mouseMove(mov_x1, mov_y1);
  197. robot.delay(speed);
  198. }
  199.  
  200.  
  201. //row 3 slot 3, goes left to right
  202.  
  203. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  204. int X = startLocation.x;
  205. int Y = startLocation.y;
  206. for (int i = 0; i < 100; i++) {
  207. Random ran = new Random();
  208. int speed = ran.nextInt(1) + 3;
  209. int delay = ran.nextInt(200) + 300;
  210. int x = ran.nextInt(7) + 962;
  211. int y = ran.nextInt(7) + 381;
  212. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  213. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  214. robot.mouseMove(mov_x1, mov_y1);
  215. robot.delay(speed);
  216. }
  217.  
  218.  
  219.  
  220. //row 3 slot 4, goes left to right
  221.  
  222. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  223. int X = startLocation.x;
  224. int Y = startLocation.y;
  225. for (int i = 0; i < 100; i++) {
  226. Random ran = new Random();
  227. int speed = ran.nextInt(1) + 3;
  228. int delay = ran.nextInt(200) + 300;
  229. int x = ran.nextInt(7) + 1003;
  230. int y = ran.nextInt(7) + 381;
  231. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  232. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  233. robot.mouseMove(mov_x1, mov_y1);
  234. robot.delay(speed);
  235. }
  236.  
  237.  
  238.  
  239. //row 4 slot 1, goes left to right
  240.  
  241. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  242. int X = startLocation.x;
  243. int Y = startLocation.y;
  244. for (int i = 0; i < 100; i++) {
  245. Random ran = new Random();
  246. int speed = ran.nextInt(1) + 3;
  247. int delay = ran.nextInt(200) + 300;
  248. int x = ran.nextInt(7) + 876;
  249. int y = ran.nextInt(7) + 414;
  250. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  251. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  252. robot.mouseMove(mov_x1, mov_y1);
  253. robot.delay(speed);
  254. }
  255.  
  256.  
  257.  
  258. //row 4 slot 1, goes left to right
  259.  
  260. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  261. int X = startLocation.x;
  262. int Y = startLocation.y;
  263. for (int i = 0; i < 100; i++) {
  264. Random ran = new Random();
  265. int speed = ran.nextInt(1) + 3;
  266. int delay = ran.nextInt(200) + 300;
  267. int x = ran.nextInt(7) + 919;
  268. int y = ran.nextInt(7) + 414;
  269. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  270. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  271. robot.mouseMove(mov_x1, mov_y1);
  272. robot.delay(speed);
  273. }
  274.  
  275.  
  276.  
  277. //row 4 slot 3, goes left to right
  278.  
  279. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  280. int X = startLocation.x;
  281. int Y = startLocation.y;
  282. for (int i = 0; i < 100; i++) {
  283. Random ran = new Random();
  284. int speed = ran.nextInt(1) + 3;
  285. int delay = ran.nextInt(200) + 300;
  286. int x = ran.nextInt(7) + 964;
  287. int y = ran.nextInt(7) + 414;
  288. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  289. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  290. robot.mouseMove(mov_x1, mov_y1);
  291. robot.delay(speed);
  292. }
  293.  
  294.  
  295.  
  296. //row 4 slot 4, goes left to right
  297.  
  298. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  299. int X = startLocation.x;
  300. int Y = startLocation.y;
  301. for (int i = 0; i < 100; i++) {
  302. Random ran = new Random();
  303. int speed = ran.nextInt(1) + 3;
  304. int delay = ran.nextInt(200) + 300;
  305. int x = ran.nextInt(7) + 1004;
  306. int y = ran.nextInt(7) + 414;
  307. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  308. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  309. robot.mouseMove(mov_x1, mov_y1);
  310. robot.delay(speed);
  311. }
  312.  
  313.  
  314.  
  315. //row 5 slot 1, goes left to right
  316.  
  317. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  318. int X = startLocation.x;
  319. int Y = startLocation.y;
  320. for (int i = 0; i < 100; i++) {
  321. Random ran = new Random();
  322. int speed = ran.nextInt(1) + 3;
  323. int delay = ran.nextInt(200) + 300;
  324. int x = ran.nextInt(7) + 876;
  325. int y = ran.nextInt(7) + 450;
  326. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  327. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  328. robot.mouseMove(mov_x1, mov_y1);
  329. robot.delay(speed);
  330. }
  331.  
  332.  
  333.  
  334.  
  335. //row 5 slot 2, goes left to right
  336.  
  337. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  338. int X = startLocation.x;
  339. int Y = startLocation.y;
  340. for (int i = 0; i < 100; i++) {
  341. Random ran = new Random();
  342. int speed = ran.nextInt(1) + 3;
  343. int delay = ran.nextInt(200) + 300;
  344. int x = ran.nextInt(7) + 919;
  345. int y = ran.nextInt(7) + 450;
  346. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  347. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  348. robot.mouseMove(mov_x1, mov_y1);
  349. robot.delay(speed);
  350. }
  351.  
  352.  
  353.  
  354.  
  355. //row 5 slot 3, goes left to right
  356.  
  357. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  358. int X = startLocation.x;
  359. int Y = startLocation.y;
  360. for (int i = 0; i < 100; i++) {
  361. Random ran = new Random();
  362. int speed = ran.nextInt(1) + 3;
  363. int delay = ran.nextInt(200) + 300;
  364. int x = ran.nextInt(7) + 964;
  365. int y = ran.nextInt(7) + 450;
  366. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  367. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  368. robot.mouseMove(mov_x1, mov_y1);
  369. robot.delay(speed);
  370. }
  371.  
  372.  
  373.  
  374. //row 5 slot 4, goes left to right
  375.  
  376. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  377. int X = startLocation.x;
  378. int Y = startLocation.y;
  379. for (int i = 0; i < 100; i++) {
  380. Random ran = new Random();
  381. int speed = ran.nextInt(1) + 3;
  382. int delay = ran.nextInt(200) + 300;
  383. int x = ran.nextInt(7) + 1004;
  384. int y = ran.nextInt(7) + 450;
  385. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  386. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  387. robot.mouseMove(mov_x1, mov_y1);
  388. robot.delay(speed);
  389. }
  390.  
  391.  
  392.  
  393. //row 6 slot 1, goes left to right
  394.  
  395. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  396. int X = startLocation.x;
  397. int Y = startLocation.y;
  398. for (int i = 0; i < 100; i++) {
  399. Random ran = new Random();
  400. int speed = ran.nextInt(1) + 3;
  401. int delay = ran.nextInt(200) + 300;
  402. int x = ran.nextInt(7) + 876;
  403. int y = ran.nextInt(7) + 487;
  404. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  405. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  406. robot.mouseMove(mov_x1, mov_y1);
  407. robot.delay(speed);
  408. }
  409.  
  410.  
  411.  
  412. //row 6 slot 2 , goes left to right
  413.  
  414. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  415. int X = startLocation.x;
  416. int Y = startLocation.y;
  417. for (int i = 0; i < 100; i++) {
  418. Random ran = new Random();
  419. int speed = ran.nextInt(1) + 3;
  420. int delay = ran.nextInt(200) + 300;
  421. int x = ran.nextInt(7) + 919;
  422. int y = ran.nextInt(7) + 487;
  423. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  424. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  425. robot.mouseMove(mov_x1, mov_y1);
  426. robot.delay(speed);
  427. }
  428.  
  429.  
  430.  
  431. //row 6 slot 3, goes left to right
  432.  
  433. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  434. int X = startLocation.x;
  435. int Y = startLocation.y;
  436. for (int i = 0; i < 100; i++) {
  437. Random ran = new Random();
  438. int speed = ran.nextInt(1) + 3;
  439. int delay = ran.nextInt(200) + 300;
  440. int x = ran.nextInt(7) + 964;
  441. int y = ran.nextInt(7) + 487;
  442. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  443. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  444. robot.mouseMove(mov_x1, mov_y1);
  445. robot.delay(speed);
  446. }
  447.  
  448.  
  449.  
  450. //row 6 slot 4, goes left to right
  451.  
  452. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  453. int X = startLocation.x;
  454. int Y = startLocation.y;
  455. for (int i = 0; i < 100; i++) {
  456. Random ran = new Random();
  457. int speed = ran.nextInt(1) + 3;
  458. int delay = ran.nextInt(200) + 300;
  459. int x = ran.nextInt(7) + 1004;
  460. int y = ran.nextInt(7) + 487;
  461. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  462. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  463. robot.mouseMove(mov_x1, mov_y1);
  464. robot.delay(speed);
  465. }
  466.  
  467.  
  468. //row 7 slot 1, goes left to right
  469.  
  470. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  471. int X = startLocation.x;
  472. int Y = startLocation.y;
  473. for (int i = 0; i < 100; i++) {
  474. Random ran = new Random();
  475. int speed = ran.nextInt(1) + 3;
  476. int delay = ran.nextInt(200) + 300;
  477. int x = ran.nextInt(7) + 876;
  478. int y = ran.nextInt(7) + 523;
  479. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  480. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  481. robot.mouseMove(mov_x1, mov_y1);
  482. robot.delay(speed);
  483. }
  484.  
  485.  
  486.  
  487. //row 7 slot 2, goes left to right
  488.  
  489. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  490. int X = startLocation.x;
  491. int Y = startLocation.y;
  492. for (int i = 0; i < 100; i++) {
  493. Random ran = new Random();
  494. int speed = ran.nextInt(1) + 3;
  495. int delay = ran.nextInt(200) + 300;
  496. int x = ran.nextInt(7) + 919;
  497. int y = ran.nextInt(7) + 523;
  498. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  499. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  500. robot.mouseMove(mov_x1, mov_y1);
  501. robot.delay(speed);
  502. }
  503.  
  504.  
  505.  
  506. //row 7 slot 3, goes left to right
  507.  
  508. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  509. int X = startLocation.x;
  510. int Y = startLocation.y;
  511. for (int i = 0; i < 100; i++) {
  512. Random ran = new Random();
  513. int speed = ran.nextInt(1) + 3;
  514. int delay = ran.nextInt(200) + 300;
  515. int x = ran.nextInt(7) + 964;
  516. int y = ran.nextInt(7) + 523;
  517. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  518. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  519. robot.mouseMove(mov_x1, mov_y1);
  520. robot.delay(speed);
  521. }
  522.  
  523.  
  524.  
  525. //row 7 slot 4, goes left to right
  526.  
  527. Point startLocation = MouseInfo.getPointerInfo().getLocation();
  528. int X = startLocation.x;
  529. int Y = startLocation.y;
  530. for (int i = 0; i < 100; i++) {
  531. Random ran = new Random();
  532. int speed = ran.nextInt(1) + 3;
  533. int delay = ran.nextInt(200) + 300;
  534. int x = ran.nextInt(7) + 1004;
  535. int y = ran.nextInt(7) + 523;
  536. int mov_x1 = ((x * i) / 100) + (X * (100 - i) / 100);//First x, second x is previous x
  537. int mov_y1 = ((y * i) / 100) + (Y * (100 - i) / 100);//^Diddo
  538. robot.mouseMove(mov_x1, mov_y1);
  539. robot.delay(speed);
  540. }
Add Comment
Please, Sign In to add comment