Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;tabnation 2022 v2
- ;add gui for fishing more to come
- xpos1=
- xpos2=
- xpos3=
- xpos4=
- SetMouseDelay,-1
- SetBatchLines, -1
- Process, Priority,, High
- InputBox, howmuchbait, Bait Amount,How much bait to use?,
- tooltip, put mouse in top left corner of pond press f1
- Return
- f1::
- If xpos1 =
- {
- MouseGetPos, xpos1, ypos1
- tooltip, put mouse in bottom right corner of pond press f1
- Return
- }
- If xpos2 =
- {
- MouseGetPos, xpos2, ypos2
- tooltip, put over circel catch button press f1
- Return
- }
- If xpos3 =
- {
- MouseGetPos, xpos3, ypos3
- tooltip, put mouse over fish press f1
- Return
- }
- If xpos4 =
- {
- MouseGetPos, temp1, temp2
- PixelGetColor, color, %temp1%, %temp2%
- }
- tooltip, fishing will start in 3 seconds. press f2 to reload
- sleep 3000
- tooltip
- loop{
- sleep 500
- PixelSearch, Px, Py, %xpos1%, %ypos1%, %xpos2%, %ypos2%, %color%, 40, Fast ; find fish
- sleep 250
- if ErrorLevel
- {
- }
- else
- {
- MouseClick, left, %Px%, %Py% ;click fish
- sleep 250
- ;PixelSearch, Px, Py, %xpos1%, %ypos1%, %xpos2%, %ypos2%, 0xFF0000, 25, Fast
- ;Py:=Py+15
- ;MouseClick, left, %Px%, %Py%
- ;PixelSearch, Px, Py, %xpos1%, %ypos1%, %xpos2%, %ypos2%, 0x808000, 25, Fast
- MouseMove, %xpos3%, %ypos3%
- loop 20{
- click
- sleep 50
- }
- fishcount++
- if fishcount = %howmuchbait%
- {
- break
- }
- }
- }
- f2::
- Msgbox, I got you %fishcount% fish
- reload ;exitapp
Advertisement
Add Comment
Please, Sign In to add comment