tabnation

farmrpg v2 beta

Jan 23rd, 2022
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. ;tabnation 2022 v2
  2. ;add gui for fishing more to come
  3.  
  4. xpos1=
  5. xpos2=
  6. xpos3=
  7. xpos4=
  8. SetMouseDelay,-1
  9. SetBatchLines, -1
  10. Process, Priority,, High
  11.  
  12. InputBox, howmuchbait, Bait Amount,How much bait to use?,
  13. tooltip, put mouse in top left corner of pond press f1
  14. Return
  15. f1::
  16. If xpos1 =
  17. {
  18. MouseGetPos, xpos1, ypos1
  19. tooltip, put mouse in bottom right corner of pond press f1
  20. Return
  21. }
  22. If xpos2 =
  23. {
  24. MouseGetPos, xpos2, ypos2
  25. tooltip, put over circel catch button press f1
  26. Return
  27. }
  28. If xpos3 =
  29. {
  30. MouseGetPos, xpos3, ypos3
  31. tooltip, put mouse over fish press f1
  32. Return
  33. }
  34. If xpos4 =
  35. {
  36. MouseGetPos, temp1, temp2
  37. PixelGetColor, color, %temp1%, %temp2%
  38. }
  39. tooltip, fishing will start in 3 seconds. press f2 to reload
  40. sleep 3000
  41. tooltip
  42. loop{
  43. sleep 500
  44. PixelSearch, Px, Py, %xpos1%, %ypos1%, %xpos2%, %ypos2%, %color%, 40, Fast ; find fish
  45. sleep 250
  46. if ErrorLevel
  47. {
  48. }
  49. else
  50. {
  51. MouseClick, left, %Px%, %Py% ;click fish
  52. sleep 250
  53. ;PixelSearch, Px, Py, %xpos1%, %ypos1%, %xpos2%, %ypos2%, 0xFF0000, 25, Fast
  54. ;Py:=Py+15
  55. ;MouseClick, left, %Px%, %Py%
  56. ;PixelSearch, Px, Py, %xpos1%, %ypos1%, %xpos2%, %ypos2%, 0x808000, 25, Fast
  57. MouseMove, %xpos3%, %ypos3%
  58. loop 20{
  59. click
  60. sleep 50
  61. }
  62. fishcount++
  63. if fishcount = %howmuchbait%
  64. {
  65. break
  66. }
  67. }
  68. }
  69.  
  70.  
  71. f2::
  72. Msgbox, I got you %fishcount% fish
  73. reload ;exitapp
  74.  
  75.  
  76.  
Advertisement
Add Comment
Please, Sign In to add comment