Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !::main()
- @::pause
- #::exitapp
- main(){
- loop{
- ;randomising variables
- Random, grax, 430, 455
- Random, gray, 295, 311
- ;Random, bankx, 375, 391
- Random, bankx, 346, 398
- Random, banky, 366, 419
- Random, depallx, 448, 476
- Random, depally, 324, 352
- ;Random, firex, 493, 554
- Random, firex, 460, 527
- Random, firey, 299, 353
- Random, fishx, 718, 738
- Random, fishy, 422, 440
- Random, mouseSpeed, 3, 4
- Random, s2, 50, 100
- Random, s3, 150, 300
- Random, s4, 300, 700
- Random, s5, 250, 400
- random, s6, 250, 450
- Random, cookSleep, 71000, 74000
- ;click on bank
- sleep, s3
- Random, s3, 150, 300
- Mousemove, bankx, banky, mouseSpeed
- Random, mouseSpeed, 3, 4
- sleep, s2
- Random, s2, 75, 150
- click
- sleep, s3
- Random, s3, 150, 300
- sleep s4
- Random, s4, 300, 700
- ;deposits inventory
- sleep, s3
- Random, s3, 150, 300
- Mousemove, depallx, depally, mouseSpeed
- Random, mouseSpeed, 3, 4
- sleep, s3
- Random, s3, 150, 300
- click
- sleep s4
- Random, s4, 300, 700
- ;grabbing fish from bank
- Mousemove, grax, gray, mouseSpeed
- Random, mouseSpeed, 3, 4
- sleep, s2
- Random, s2, 75, 150
- click
- sleep, s2
- Random, s2, 50, 100
- send {Esc}
- sleep, s4
- ;cooking on fire
- sleep, s2
- Random, s2, 50, 100
- Mousemove, fishx, fishy, mouseSpeed
- sleep, s2
- Random, s2, 50, 100
- click
- Random, mouseSpeed, 3, 4
- Random, fishx, 718, 738
- Random, fishy, 422, 440
- sleep, s3
- Random, s3, 150, 300
- Mousemove, firex, firey, mouseSpeed
- Random, mouseSpeed, 3, 4
- sleep, s2
- Random, s2, 50, 100
- click
- ;pressing space and waiting while cooking
- Loop
- {
- CoordMode, Pixel, Client
- PixelSearch, FoundX, FoundY, 505, 442, 505, 442, 0xAC9D81, 0, Fast RGB
- }
- Until ErrorLevel = 0
- If ErrorLevel = 0
- {
- sleep, s3
- send {space}
- }
- sleep, s3
- ;checking for level up
- bStopLoop := false
- SetTimer EndLoop, % cookSleep
- Loop{
- sleep 250
- Loop{
- CoordMode, Pixel, Client
- PixelSearch, FoundX1, FoundY1, 512, 484, 513, 484, 0xA19376, 0, Fast RGB
- }
- until ErrorLevel = 0
- If ErrorLevel = 0{
- sleep, 500
- Random, s4, 300, 700
- send {space down}
- sleep, 300
- send {space up}
- sleep, 75
- main()
- }
- if bStopLoop
- Break
- EndLoop:
- bStopLoop := True
- sleep, s3
- main()
- return
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement