Guest User

Untitled

a guest
Apr 1st, 2025
494
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.79 KB | None | 0 0
  1. #NoEnv
  2. ;SetTimer, Rehook, 300
  3. SetWorkingDir %A_ScriptDir%
  4. CoordMode, Mouse, Window
  5. SendMode Input
  6. SetTitleMatchMode, 2
  7. #SingleInstance Force
  8. SetTitleMatchMode 2
  9. #WinActivateForce
  10. SetControlDelay 1
  11. SetWinDelay 0
  12. SetKeyDelay -1
  13. SetMouseDelay -1
  14. SetBatchLines -1
  15. #MaxThreadsPerHotkey 2
  16.  
  17. ; START >>> MISC HELPER FUNCTIONS/SUBROUTINES/HOTKEYS
  18.  
  19. ^Esc::
  20. {
  21. AllKeysUp()
  22. ExitApp
  23. }
  24.  
  25. RandSleep(x , y) {
  26. Random, rand, x - 2, y + 4
  27. Sleep %rand%
  28. }
  29.  
  30. ForceClick(x, y) {
  31. ;truly some insane-o shit
  32.  
  33. Loop 100 {
  34. MouseMove x, y
  35. Sleep 5
  36. }
  37. Sleep 100
  38.  
  39. Loop 200 {
  40. MouseMove 0, 1,, R
  41. Sleep 5
  42. MouseMove 0, 1,, R
  43.  
  44. Click x, y
  45.  
  46. MouseMove 0, -1,, R
  47. Sleep 5
  48. MouseMove 0, -1,, R
  49. }
  50.  
  51. Sleep 100
  52. MouseMove 0, -100,, R ;to know it is done
  53. }
  54.  
  55. AllKeysUp() {
  56. ; doesn't work with controlsend
  57. Loop, 0xFF {
  58. Key := Format("VK{:02X}",A_Index)
  59. IF GetKeyState(Key)
  60. Send, {%Key% Up}
  61. }
  62. }
  63.  
  64. ^3::Reload
  65.  
  66. ; END >>> MISC HELPER FUNCTIONS/SUBROUTINES/HOTKEYS
  67. ; START >>> ACTUAL CODE
  68.  
  69. '::
  70. {
  71.  
  72. GoSub, FarmRoute3
  73. return
  74. }
  75.  
  76. ^1::
  77. {
  78. Loop {
  79. GoSub, StartGame
  80. RandSleep(1000, 1000)
  81. WinActivate, Untitled - Notepad ahk_class Notepad
  82. RandSleep(10000, 10000)
  83. WinActivate, Monster Hunter Wilds ahk_class via
  84. RandSleep(1000, 1000)
  85. GoSub, InitialSetup
  86. Loop 1 {
  87. GoSub, FarmRoute3
  88. }
  89.  
  90. RandSleep(5000, 5000)
  91. WinActivate, Monster Hunter Wilds ahk_class via
  92. RandSleep(1000, 1000)
  93.  
  94. GoSub, RestEvening
  95. RandSleep(1000, 1000)
  96. GoSub, ExitCamp
  97. RandSleep(180000, 180000)
  98. GoSub, FixCamp10
  99. RandSleep(1000, 1000)
  100. GoSub, QuitGame
  101. RandSleep(30000, 30000)
  102. }
  103.  
  104. return
  105. }
  106.  
  107. StartGame:
  108. WinActivate, Steam ahk_class SDL_app
  109. RandSleep(1000, 1000)
  110. Send {CLICK 550 550}
  111. return
  112.  
  113. InitialSetup:
  114. RandSleep(105000, 105000) ;initial load
  115. WinActivate, Monster Hunter Wilds ahk_class via
  116. RandSleep(1000, 1000)
  117.  
  118. Send, {f down}
  119. RandSleep(300, 300)
  120. Send, {f up}
  121. RandSleep(1000, 1000)
  122. Send, {f down}
  123. RandSleep(300, 300)
  124. Send, {f up}
  125. RandSleep(500, 500)
  126. Send, {f down}
  127. RandSleep(300, 300)
  128. Send, {f up}
  129. RandSleep(5000, 5000)
  130. Send, {f down}
  131. RandSleep(300, 300)
  132. Send, {f up}
  133. RandSleep(1000, 1000)
  134.  
  135. Send, {s down}
  136. RandSleep(300, 300)
  137. Send, {s up}
  138. RandSleep(500, 500)
  139. Send, {s down}
  140. RandSleep(300, 300)
  141. Send, {s up}
  142. RandSleep(500, 500)
  143. Send, {f down}
  144. RandSleep(300, 300)
  145. Send, {f up}
  146. RandSleep(1000, 1000)
  147. Send, {f down}
  148. RandSleep(300, 300)
  149. Send, {f up}
  150.  
  151. RandSleep(30000, 30000)
  152. WinActivate, Monster Hunter Wilds ahk_class via
  153. RandSleep(1000, 1000)
  154.  
  155. ;Send, {a down}
  156. ;RandSleep(5000, 5000)
  157. ;Send, {a up}
  158. ;RandSleep(500, 500)
  159. ;Send, {f down}
  160. ;RandSleep(300, 300)
  161. ;Send, {f up}
  162.  
  163. return
  164.  
  165.  
  166. QuitGame:
  167. WinActivate, Monster Hunter Wilds ahk_class via
  168. RandSleep(1000, 1000)
  169. Send, {ESC down}
  170. RandSleep(500, 500)
  171. Send, {ESC up}
  172. RandSleep(1000, 1000)
  173.  
  174. Send, {q down}
  175. RandSleep(300, 300)
  176. Send, {q up}
  177. RandSleep(1000, 1000)
  178. Send, {UP down}
  179. RandSleep(300, 300)
  180. Send, {UP up}
  181. RandSleep(1000, 1000)
  182.  
  183. Send, {f down}
  184. RandSleep(300, 300)
  185. Send, {f up}
  186. RandSleep(1000, 1000)
  187. Send, {f down}
  188. RandSleep(300, 300)
  189. Send, {f up}
  190. RandSleep(1000, 1000)
  191. Send, {f down}
  192. RandSleep(300, 300)
  193. Send, {f up}
  194. return
  195.  
  196. RestWeek:
  197.  
  198. GoSub, RestDay
  199. RandSleep(5000, 5000)
  200. GoSub, RestDay
  201. RandSleep(5000, 5000)
  202. GoSub, RestDay
  203. RandSleep(5000, 5000)
  204. GoSub, RestDay
  205. RandSleep(5000, 5000)
  206. GoSub, RestDay
  207. RandSleep(5000, 5000)
  208. GoSub, RestDay
  209. RandSleep(5000, 5000)
  210. GoSub, RestDay
  211. RandSleep(5000, 5000)
  212.  
  213. return
  214.  
  215. BaseCampFromReset:
  216. Send, {CTRL down}
  217. RandSleep(50, 50)
  218. Send, {CTRL up}
  219. Sleep 300
  220.  
  221. Send, {SPACE down}
  222. Sleep 300
  223. Send, {SPACE up}
  224. Sleep 300
  225.  
  226. Send, {d down}
  227. Sleep 5000
  228. Send, {s down}
  229. Sleep 300
  230. Send, {s up}
  231. Sleep 200
  232. Send, {d up}
  233. Sleep 200
  234.  
  235. Send, {f down}
  236. Sleep 300
  237. Send, {f up}
  238. Sleep 300
  239.  
  240. return
  241.  
  242. FarmRoute1:
  243.  
  244. GoSub, StartQuest
  245. RandSleep(20000, 20000)
  246. GoSub, GetDrop3
  247. RandSleep(25000, 25000)
  248. GoSub, ReturnCamp
  249. RandSleep(5000, 5000)
  250.  
  251. return
  252.  
  253. FarmRoute2:
  254.  
  255. WinActivate, Monster Hunter Wilds ahk_class via
  256. RandSleep(1000, 1000)
  257.  
  258. GoSub, StartQuest
  259. RandSleep(20000, 20000)
  260. WinActivate, Monster Hunter Wilds ahk_class via
  261. RandSleep(1000, 1000)
  262.  
  263. GoSub, GetDrop10
  264. RandSleep(1000, 1000)
  265. GoSub, GetDrop3
  266. RandSleep(25000, 25000)
  267. WinActivate, Monster Hunter Wilds ahk_class via
  268. RandSleep(1000, 1000)
  269.  
  270. GoSub, ReturnCamp
  271. RandSleep(5000, 5000)
  272. WinActivate, Monster Hunter Wilds ahk_class via
  273. RandSleep(1000, 1000)
  274.  
  275. return
  276.  
  277. FarmRoute3:
  278.  
  279. WinActivate, Monster Hunter Wilds ahk_class via
  280. RandSleep(1000, 1000)
  281. ;GoSub, ExitCamp
  282. ;RandSleep(5000, 5000)
  283. GoSub, GetDrop10
  284. RandSleep(1000, 1000)
  285. GoSub, GetDrop3
  286. RandSleep(15000, 15000)
  287. GoSub, reset0
  288. RandSleep(10000, 10000)
  289. WinActivate, Monster Hunter Wilds ahk_class via
  290. RandSleep(1000, 1000)
  291. GoSub, BaseCampFromReset
  292. RandSleep(1000, 1000)
  293.  
  294. return
  295.  
  296. FixCamp10:
  297. WinActivate, Monster Hunter Wilds ahk_class via
  298. RandSleep(5000, 5000)
  299. Send, {w down}
  300. Send, {d down}
  301. RandSleep(5000, 5000)
  302. Send, {w up}
  303. RandSleep(2000, 2000)
  304. Send, {w down}
  305. RandSleep(7500, 7500)
  306. Send, {d up}
  307. RandSleep(100, 100)
  308. Send, {w up}
  309.  
  310. RandSleep(1000, 1000)
  311. Send, {a down}
  312. RandSleep(1100, 1100)
  313. Send, {a up}
  314. RandSleep(1000, 1000)
  315. Send, {s down}
  316. RandSleep(300, 300)
  317. Send, {d down}
  318. RandSleep(300, 300)
  319. Send, {s up}
  320. RandSleep(300, 300)
  321. Send, {d up}
  322. RandSleep(500, 500)
  323.  
  324. Send, {f down}
  325. RandSleep(300, 300)
  326. Send, {f up}
  327. RandSleep(1500, 1500)
  328. Send, {f down}
  329. RandSleep(300, 300)
  330. Send, {f up}
  331. RandSleep(1500, 1500)
  332. Send, {f down}
  333. RandSleep(300, 300)
  334. Send, {f up}
  335. RandSleep(1000, 1000)
  336.  
  337. Send, {UP down}
  338. RandSleep(300, 300)
  339. Send, {UP up}
  340. RandSleep(300, 300)
  341. Send, {UP down}
  342. RandSleep(300, 300)
  343. Send, {UP up}
  344.  
  345. RandSleep(1000, 1000)
  346. Send, {f down}
  347. RandSleep(300, 300)
  348. Send, {f up}
  349. RandSleep(1000, 1000)
  350. Send, {f down}
  351. RandSleep(300, 300)
  352. Send, {f up}
  353. RandSleep(1000, 1000)
  354.  
  355. Send, {DOWN down}
  356. RandSleep(300, 300)
  357. Send, {DOWN up}
  358. RandSleep(300, 300)
  359. Send, {DOWN down}
  360. RandSleep(300, 300)
  361. Send, {DOWN up}
  362. RandSleep(300, 300)
  363. Send, {DOWN down}
  364. RandSleep(300, 300)
  365. Send, {DOWN up}
  366. RandSleep(300, 300)
  367. Send, {DOWN down}
  368. RandSleep(300, 300)
  369. Send, {DOWN up}
  370. RandSleep(300, 300)
  371. Send, {f down}
  372. RandSleep(300, 300)
  373. Send, {f up}
  374.  
  375. RandSleep(1000, 1000)
  376. ForceClick(1000, 800)
  377. RandSleep(1000, 1000)
  378. ForceClick(1000, 900)
  379. RandSleep(1000, 1000)
  380.  
  381. Loop 10 {
  382. Send {Rbutton Down}
  383. Sleep 300
  384. Send {Rbutton Up}
  385. Sleep 100
  386. }
  387.  
  388. return
  389.  
  390. reset3:
  391. Send, {m down}
  392. RandSleep(300, 300)
  393. Send, {m up}
  394.  
  395. RandSleep(2000, 2000)
  396. Send, {a down}
  397. RandSleep(300, 300)
  398. Send, {a up}
  399.  
  400. RandSleep(600, 600)
  401. Send, {f down}
  402. RandSleep(300, 300)
  403. Send, {f up}
  404.  
  405. RandSleep(800, 800)
  406. Send, {s down}
  407. RandSleep(300, 300)
  408. Send, {s up}
  409. RandSleep(300, 300)
  410. Send, {s down}
  411. RandSleep(300, 300)
  412. Send, {s up}
  413.  
  414. RandSleep(600, 600)
  415. Send, {f down}
  416. RandSleep(300, 300)
  417. Send, {f up}
  418.  
  419. return
  420.  
  421. reset10:
  422. Send, {m down}
  423. RandSleep(300, 300)
  424. Send, {m up}
  425.  
  426. RandSleep(2000, 2000)
  427. Send, {a down}
  428. RandSleep(300, 300)
  429. Send, {a up}
  430.  
  431. RandSleep(600, 600)
  432. Send, {f down}
  433. RandSleep(300, 300)
  434. Send, {f up}
  435.  
  436. RandSleep(800, 800)
  437. Send, {w down}
  438. RandSleep(300, 300)
  439. Send, {w up}
  440.  
  441. RandSleep(600, 600)
  442. Send, {f down}
  443. RandSleep(300, 300)
  444. Send, {f up}
  445.  
  446. return
  447.  
  448. reset0:
  449. Send, {m down}
  450. RandSleep(300, 300)
  451. Send, {m up}
  452.  
  453. RandSleep(2000, 2000)
  454. Send, {a down}
  455. RandSleep(300, 300)
  456. Send, {a up}
  457.  
  458. RandSleep(600, 600)
  459. Send, {f down}
  460. RandSleep(300, 300)
  461. Send, {f up}
  462.  
  463. RandSleep(800, 800)
  464. RandSleep(600, 600)
  465. Send, {f down}
  466. RandSleep(300, 300)
  467. Send, {f up}
  468.  
  469. return
  470.  
  471. GetDrop3:
  472. WinActivate, Monster Hunter Wilds ahk_class via
  473. RandSleep(1000, 1000)
  474.  
  475. GoSub, reset3
  476. RandSleep(10000, 10000)
  477. WinActivate, Monster Hunter Wilds ahk_class via
  478. RandSleep(1000, 1000)
  479.  
  480. Send, {CTRL down}
  481. RandSleep(50, 50)
  482. Send, {CTRL up}
  483.  
  484. RandSleep(300, 300)
  485. Send, {w down}
  486. Send, {d down}
  487. RandSleep(3000, 3000)
  488. Send, {d up}
  489. RandSleep(300, 300)
  490.  
  491. Send, {SHIFT down}
  492. RandSleep(1000, 1000)
  493. Send, {a down}
  494. RandSleep(450, 450)
  495. Send, {a up}
  496.  
  497. RandSleep(1000, 1000)
  498. Send, {SPACE down}
  499. RandSleep(300, 300)
  500. Send, {SPACE up}
  501. RandSleep(300, 300)
  502. Send, {SHIFT up}
  503. Send, {w up}
  504.  
  505. RandSleep(2000, 2000)
  506. Send, {w down}
  507. Send, {d down}
  508. RandSleep(3300, 3300)
  509. Send, {w up}
  510. RandSleep(300, 300)
  511. Send, {d up}
  512. RandSleep(1000, 1000)
  513.  
  514. ;RandSleep(42000, 42000)
  515. ;WinActivate, Monster Hunter Wilds ahk_class via
  516. ;RandSleep(1000, 1000)
  517.  
  518. Send, {f down}
  519. RandSleep(300, 300)
  520. Send, {f up}
  521.  
  522. ;RandSleep(1500, 1500)
  523. ;Send, {ESC down}
  524. ;RandSleep(500, 500)
  525. ;Send, {ESC up}
  526. ;RandSleep(1000, 1000)
  527.  
  528. ;Send, {e down}
  529. ;RandSleep(300, 300)
  530. ;Send, {e up}
  531. ;RandSleep(300, 300)
  532. ;Send, {DOWN down}
  533. ;RandSleep(300, 300)
  534. ;Send, {DOWN up}
  535. ;RandSleep(300, 300)
  536. ;Send, {DOWN down}
  537. ;RandSleep(300, 300)
  538. ;Send, {DOWN up}
  539. ;RandSleep(300, 300)
  540. ;Send, {DOWN down}
  541. ;RandSleep(300, 300)
  542. ;Send, {DOWN up}
  543. ;RandSleep(300, 300)
  544.  
  545. ;Send, {f down}
  546. ;RandSleep(300, 300)
  547. ;Send, {f up}
  548. ;RandSleep(1000, 1000)
  549. ;Send, {f down}
  550. ;RandSleep(300, 300)
  551. ;Send, {f up}
  552.  
  553. ;RandSleep(10000, 10000)
  554. ;WinActivate, Monster Hunter Wilds ahk_class via
  555. ;RandSleep(1000, 1000)
  556.  
  557. ;Send, {f down}
  558. ;RandSleep(300, 300)
  559. ;Send, {f up}
  560.  
  561.  
  562. return
  563.  
  564. GetDrop10:
  565. WinActivate, Monster Hunter Wilds ahk_class via
  566. RandSleep(1000, 1000)
  567.  
  568. GoSub, reset10
  569. RandSleep(10000, 10000)
  570. WinActivate, Monster Hunter Wilds ahk_class via
  571. RandSleep(1000, 1000)
  572.  
  573. Send, {CTRL down}
  574. RandSleep(50, 50)
  575. Send, {CTRL up}
  576.  
  577. Send {w down}
  578. RandSleep(500, 500)
  579. Send {w up}
  580. RandSleep(500, 500)
  581. Send {s down}
  582. RandSleep(500, 500)
  583. Send {s up}
  584. RandSleep(5000, 5000)
  585.  
  586. RandSleep(300, 300)
  587. Send, {w down}
  588. Send, {d down}
  589. RandSleep(1800, 1800)
  590. Send, {d up}
  591. RandSleep(500, 500)
  592.  
  593. Send, {SHIFT down}
  594. RandSleep(8000, 8000)
  595. Send, {SHIFT up}
  596. RandSleep(500, 500)
  597. Send, {w up}
  598.  
  599. RandSleep(2000, 2000)
  600.  
  601. Send, {z down}
  602. RandSleep(1000, 1000)
  603. Send, {z up}
  604. RandSleep(3000, 3000)
  605.  
  606. RandSleep(80000, 80000)
  607. WinActivate, Monster Hunter Wilds ahk_class via
  608. RandSleep(1000, 1000)
  609.  
  610. Send, {m down}
  611. RandSleep(300, 300)
  612. Send, {m up}
  613.  
  614. RandSleep(2000, 2000)
  615. Send, {a down}
  616. RandSleep(300, 300)
  617. Send, {a up}
  618.  
  619. RandSleep(1000, 1000)
  620. Send, {d down}
  621. RandSleep(300, 300)
  622. Send, {d up}
  623.  
  624. RandSleep(1000, 1000)
  625. Send, {f down}
  626. RandSleep(300, 300)
  627. Send, {f up}
  628.  
  629. RandSleep(1000, 1000)
  630. Send, {r down}
  631. RandSleep(300, 300)
  632. Send, {r up}
  633.  
  634. RandSleep(1000, 1000)
  635. Send, {s down}
  636. RandSleep(300, 300)
  637. Send, {s up}
  638.  
  639. RandSleep(1000, 1000)
  640. Send, {f down}
  641. RandSleep(300, 300)
  642. Send, {f up}
  643.  
  644. RandSleep(1000, 1000)
  645. Send, {w down}
  646. RandSleep(300, 300)
  647. Send, {w up}
  648. RandSleep(300, 300)
  649. Send, {w down}
  650. RandSleep(300, 300)
  651. Send, {w up}
  652. RandSleep(300, 300)
  653. Send, {w down}
  654. RandSleep(300, 300)
  655. Send, {w up}
  656. RandSleep(300, 300)
  657. Send, {w down}
  658. RandSleep(300, 300)
  659. Send, {w up}
  660. RandSleep(300, 300)
  661. Send, {w down}
  662. RandSleep(300, 300)
  663. Send, {w up}
  664. RandSleep(300, 300)
  665. Send, {w down}
  666. RandSleep(300, 300)
  667. Send, {w up}
  668.  
  669. RandSleep(1000, 1000)
  670. Send, {x down}
  671. RandSleep(300, 300)
  672. Send, {x up}
  673.  
  674. RandSleep(1000, 1000)
  675. Send, {ESC down}
  676. RandSleep(300, 300)
  677. Send, {ESC up}
  678.  
  679. RandSleep(1000, 1000)
  680. Send, {ESC down}
  681. RandSleep(300, 300)
  682. Send, {ESC up}
  683.  
  684. RandSleep(5000, 5000)
  685. Send, {SPACE down}
  686. RandSleep(300, 300)
  687. Send, {SPACE up}
  688.  
  689. RandSleep(2000, 2000)
  690. Send, {f down}
  691. RandSleep(300, 300)
  692. Send, {f up}
  693.  
  694.  
  695. Send, {f down}
  696. RandSleep(300, 300)
  697. Send, {f up}
  698.  
  699.  
  700. RandSleep(10000, 10000)
  701. WinActivate, Monster Hunter Wilds ahk_class via
  702. RandSleep(1000, 1000)
  703.  
  704. return
  705.  
  706. GetDrop10_old:
  707. ; open map, navigate to the rare drop, then gather it
  708.  
  709. Send, {m down}
  710. RandSleep(300, 300)
  711. Send, {m up}
  712.  
  713. RandSleep(2000, 2000)
  714. Send, {a down}
  715. RandSleep(300, 300)
  716. Send, {a up}
  717.  
  718. RandSleep(1000, 1000)
  719. Send, {d down}
  720. RandSleep(300, 300)
  721. Send, {d up}
  722.  
  723. RandSleep(1000, 1000)
  724. Send, {f down}
  725. RandSleep(300, 300)
  726. Send, {f up}
  727.  
  728. RandSleep(1000, 1000)
  729. Send, {w down}
  730. RandSleep(300, 300)
  731. Send, {w up}
  732. RandSleep(300, 300)
  733. Send, {w down}
  734. RandSleep(300, 300)
  735. Send, {w up}
  736. Send, {w down}
  737. RandSleep(300, 300)
  738. Send, {w up}
  739. RandSleep(300, 300)
  740. Send, {w down}
  741. RandSleep(300, 300)
  742. Send, {w up}
  743. Send, {w down}
  744. RandSleep(300, 300)
  745. Send, {w up}
  746. RandSleep(300, 300)
  747. Send, {w down}
  748. RandSleep(300, 300)
  749. Send, {w up}
  750. Send, {w down}
  751. RandSleep(300, 300)
  752. Send, {w up}
  753.  
  754. RandSleep(1000, 1000)
  755. Send, {x down}
  756. RandSleep(300, 300)
  757. Send, {x up}
  758.  
  759. RandSleep(1000, 1000)
  760. Send, {ESC down}
  761. RandSleep(300, 300)
  762. Send, {ESC up}
  763.  
  764. RandSleep(1000, 1000)
  765. Send, {ESC down}
  766. RandSleep(300, 300)
  767. Send, {ESC up}
  768.  
  769. RandSleep(5000, 5000)
  770. Send, {SPACE down}
  771. RandSleep(300, 300)
  772. Send, {SPACE up}
  773.  
  774. RandSleep(2000, 2000)
  775. Send, {f down}
  776. RandSleep(300, 300)
  777. Send, {f up}
  778.  
  779. return
  780.  
  781. StartQuest:
  782. ;Start quest from camp
  783. WinActivate, Monster Hunter Wilds ahk_class via
  784. RandSleep(1000, 1000)
  785.  
  786. RandSleep(1000, 1000)
  787. Send, {e down}
  788. RandSleep(300, 300)
  789. Send, {e up}
  790. RandSleep(300, 300)
  791. Send, {e down}
  792. RandSleep(300, 300)
  793. Send, {e up}
  794. RandSleep(300, 300)
  795. Send, {e down}
  796. RandSleep(300, 300)
  797. Send, {e up}
  798. RandSleep(300, 300)
  799. Send, {e down}
  800. RandSleep(300, 300)
  801. Send, {e up}
  802.  
  803. RandSleep(300, 300)
  804. Send, {f down}
  805. RandSleep(300, 300)
  806. Send, {f up}
  807.  
  808. RandSleep(2000, 2000)
  809. Send, {s down}
  810. RandSleep(300, 300)
  811. Send, {s up}
  812. RandSleep(300, 300)
  813. Send, {s down}
  814. RandSleep(300, 300)
  815. Send, {s up}
  816.  
  817. RandSleep(300, 300)
  818. Send, {f down}
  819. RandSleep(300, 300)
  820. Send, {f up}
  821.  
  822. RandSleep(2000, 2000)
  823. Send, {s down}
  824. RandSleep(300, 300)
  825. Send, {s up}
  826. RandSleep(300, 300)
  827. Send, {d down}
  828. RandSleep(300, 300)
  829. Send, {d up}
  830.  
  831. RandSleep(300, 300)
  832. Send, {f down}
  833. RandSleep(300, 300)
  834. Send, {f up}
  835.  
  836. RandSleep(1000, 1000)
  837. Send, {w down}
  838. RandSleep(300, 300)
  839. Send, {w up}
  840. RandSleep(300, 300)
  841. Send, {w down}
  842. RandSleep(300, 300)
  843. Send, {w up}
  844. RandSleep(300, 300)
  845. Send, {a down}
  846. RandSleep(300, 300)
  847. Send, {a up}
  848. RandSleep(300, 300)
  849. Send, {s down}
  850. RandSleep(300, 300)
  851. Send, {s up}
  852. RandSleep(300, 300)
  853. Send, {s down}
  854. RandSleep(300, 300)
  855. Send, {s up}
  856. RandSleep(300, 300)
  857. Send, {f down}
  858. RandSleep(300, 300)
  859. Send, {f up}
  860.  
  861. return
  862.  
  863. ReturnCamp:
  864. ;DONE
  865. ;Enter camp from quest return
  866. WinActivate, Monster Hunter Wilds ahk_class via
  867. RandSleep(1000, 1000)
  868.  
  869. RandSleep(1000, 1000)
  870. Send, {w down}
  871. RandSleep(500, 500)
  872. Send, {d down}
  873. RandSleep(3000, 3000)
  874. Send, {d up}
  875. RandSleep(2000, 2000)
  876. Send, {w up}
  877. RandSleep(500, 500)
  878. Send, {d down}
  879. RandSleep(500, 500)
  880. Send, {d up}
  881.  
  882. RandSleep(1000, 1000)
  883. Send, {f down}
  884. RandSleep(300, 300)
  885. Send, {f up}
  886.  
  887. return
  888.  
  889. RestNight:
  890. ;DONE
  891. ;Rest from camp to nighttime, then reenter
  892. RandSleep(1000, 1000)
  893. Send, {e down}
  894. RandSleep(300, 300)
  895. Send, {e up}
  896. RandSleep(300, 300)
  897. Send, {e down}
  898. RandSleep(300, 300)
  899. Send, {e up}
  900. RandSleep(300, 300)
  901. Send, {e down}
  902. RandSleep(300, 300)
  903. Send, {e up}
  904. RandSleep(300, 300)
  905. Send, {s down}
  906. RandSleep(300, 300)
  907. Send, {s up}
  908.  
  909. RandSleep(300, 300)
  910. Send, {f down}
  911. RandSleep(300, 300)
  912. Send, {f up}
  913.  
  914. RandSleep(1000, 1000)
  915. Send, {s down}
  916. RandSleep(300, 300)
  917. Send, {s up}
  918. RandSleep(300, 300)
  919. Send, {f down}
  920. RandSleep(300, 300)
  921. Send, {f up}
  922. RandSleep(1000, 1000)
  923. Send, {w down}
  924. RandSleep(300, 300)
  925. Send, {w up}
  926. RandSleep(300, 300)
  927. Send, {f down}
  928. RandSleep(300, 300)
  929. Send, {f up}
  930. RandSleep(1000, 1000)
  931. Send, {s down}
  932. RandSleep(300, 300)
  933. Send, {s up}
  934. RandSleep(300, 300)
  935. Send, {f down}
  936. RandSleep(300, 300)
  937. Send, {f up}
  938.  
  939. RandSleep(1000, 1000)
  940. Send, {f down}
  941. RandSleep(300, 300)
  942. Send, {f up}
  943.  
  944. RandSleep(30000, 30000)
  945. WinActivate, Monster Hunter Wilds ahk_class via
  946. RandSleep(1000, 1000)
  947.  
  948. Send, {s down}
  949. RandSleep(300, 300)
  950. Send, {s up}
  951. RandSleep(300, 300)
  952. Send, {a down}
  953. RandSleep(300, 300)
  954. Send, {a up}
  955. RandSleep(300, 300)
  956. Send, {s down}
  957. RandSleep(300, 300)
  958. Send, {s up}
  959. RandSleep(1000, 1000)
  960. Send, {f down}
  961. RandSleep(300, 300)
  962. Send, {f up}
  963.  
  964. return
  965.  
  966. RestDay:
  967. ;DONE
  968. ;Rest from camp to daytime, then reenter
  969. RandSleep(1000, 1000)
  970. Send, {e down}
  971. RandSleep(300, 300)
  972. Send, {e up}
  973. RandSleep(300, 300)
  974. Send, {e down}
  975. RandSleep(300, 300)
  976. Send, {e up}
  977. RandSleep(300, 300)
  978. Send, {e down}
  979. RandSleep(300, 300)
  980. Send, {e up}
  981. RandSleep(300, 300)
  982. Send, {s down}
  983. RandSleep(300, 300)
  984. Send, {s up}
  985.  
  986. RandSleep(300, 300)
  987. Send, {f down}
  988. RandSleep(300, 300)
  989. Send, {f up}
  990.  
  991. RandSleep(1000, 1000)
  992. Send, {s down}
  993. RandSleep(300, 300)
  994. Send, {s up}
  995. RandSleep(300, 300)
  996. Send, {f down}
  997. RandSleep(300, 300)
  998. Send, {f up}
  999. RandSleep(1000, 1000)
  1000. Send, {s down}
  1001. RandSleep(300, 300)
  1002. Send, {s up}
  1003. RandSleep(300, 300)
  1004. Send, {s down}
  1005. RandSleep(300, 300)
  1006. Send, {s up}
  1007. RandSleep(300, 300)
  1008. Send, {f down}
  1009. RandSleep(300, 300)
  1010. Send, {f up}
  1011. RandSleep(1000, 1000)
  1012. Send, {s down}
  1013. RandSleep(300, 300)
  1014. Send, {s up}
  1015. RandSleep(300, 300)
  1016. Send, {f down}
  1017. RandSleep(300, 300)
  1018. Send, {f up}
  1019.  
  1020. RandSleep(1000, 1000)
  1021. Send, {f down}
  1022. RandSleep(300, 300)
  1023. Send, {f up}
  1024.  
  1025. RandSleep(30000, 30000)
  1026. WinActivate, Monster Hunter Wilds ahk_class via
  1027. RandSleep(1000, 1000)
  1028.  
  1029. Send, {s down}
  1030. RandSleep(300, 300)
  1031. Send, {s up}
  1032. RandSleep(300, 300)
  1033. Send, {a down}
  1034. RandSleep(300, 300)
  1035. Send, {a up}
  1036. RandSleep(300, 300)
  1037. Send, {s down}
  1038. RandSleep(300, 300)
  1039. Send, {s up}
  1040. RandSleep(1000, 1000)
  1041. Send, {f down}
  1042. RandSleep(300, 300)
  1043. Send, {f up}
  1044.  
  1045. return
  1046.  
  1047. RestEvening:
  1048. ;DONE
  1049. ;Rest from camp to daytime, then reenter
  1050. RandSleep(1000, 1000)
  1051. Send, {e down}
  1052. RandSleep(300, 300)
  1053. Send, {e up}
  1054. RandSleep(300, 300)
  1055. Send, {e down}
  1056. RandSleep(300, 300)
  1057. Send, {e up}
  1058. RandSleep(300, 300)
  1059. Send, {e down}
  1060. RandSleep(300, 300)
  1061. Send, {e up}
  1062. RandSleep(300, 300)
  1063. Send, {s down}
  1064. RandSleep(300, 300)
  1065. Send, {s up}
  1066.  
  1067. RandSleep(300, 300)
  1068. Send, {f down}
  1069. RandSleep(300, 300)
  1070. Send, {f up}
  1071.  
  1072. RandSleep(1000, 1000)
  1073. Send, {f down}
  1074. RandSleep(300, 300)
  1075. Send, {f up}
  1076. RandSleep(1000, 1000)
  1077. Send, {s down}
  1078. RandSleep(300, 300)
  1079. Send, {s up}
  1080. RandSleep(300, 300)
  1081. Send, {s down}
  1082. RandSleep(300, 300)
  1083. Send, {s up}
  1084. RandSleep(300, 300)
  1085. Send, {f down}
  1086. RandSleep(300, 300)
  1087. Send, {f up}
  1088. RandSleep(1000, 1000)
  1089.  
  1090. Send, {s down}
  1091. RandSleep(300, 300)
  1092. Send, {s up}
  1093. RandSleep(300, 300)
  1094. Send, {f down}
  1095. RandSleep(300, 300)
  1096. Send, {f up}
  1097. RandSleep(1000, 1000)
  1098. Send, {s down}
  1099. RandSleep(300, 300)
  1100. Send, {s up}
  1101. RandSleep(300, 300)
  1102. Send, {s down}
  1103. RandSleep(300, 300)
  1104. Send, {s up}
  1105. RandSleep(300, 300)
  1106. Send, {s down}
  1107. RandSleep(300, 300)
  1108. Send, {s up}
  1109. RandSleep(300, 300)
  1110. Send, {f down}
  1111. RandSleep(300, 300)
  1112. Send, {f up}
  1113. RandSleep(1000, 1000)
  1114. Send, {s down}
  1115. RandSleep(300, 300)
  1116. Send, {s up}
  1117. RandSleep(300, 300)
  1118. Send, {f down}
  1119. RandSleep(300, 300)
  1120. Send, {f up}
  1121.  
  1122. RandSleep(1000, 1000)
  1123. Send, {f down}
  1124. RandSleep(300, 300)
  1125. Send, {f up}
  1126.  
  1127. RandSleep(30000, 30000)
  1128. WinActivate, Monster Hunter Wilds ahk_class via
  1129. RandSleep(1000, 1000)
  1130.  
  1131. Send, {s down}
  1132. RandSleep(300, 300)
  1133. Send, {s up}
  1134. RandSleep(300, 300)
  1135. Send, {a down}
  1136. RandSleep(300, 300)
  1137. Send, {a up}
  1138. RandSleep(300, 300)
  1139. Send, {s down}
  1140. RandSleep(300, 300)
  1141. Send, {s up}
  1142. RandSleep(1000, 1000)
  1143. Send, {f down}
  1144. RandSleep(300, 300)
  1145. Send, {f up}
  1146.  
  1147. return
  1148.  
  1149. ExitCamp:
  1150. WinActivate, Monster Hunter Wilds ahk_class via
  1151. RandSleep(1000, 1000)
  1152. Send, {ESC down}
  1153. RandSleep(300, 300)
  1154. Send, {ESC up}
  1155. RandSleep(5000, 5000)
  1156. return
  1157.  
  1158. ;END >>> ACTUAL CODE
  1159.  
  1160. Rehook:
  1161. ;#InstallKeybdHook
  1162. #InstallMouseHook
  1163. return
Advertisement
Add Comment
Please, Sign In to add comment