Page 1 of 1

AutoIt AFK Fishing

Posted: November 9th, 2007, 9:23 am
by penjoroo
This Script will keep you fishing until you inventory gets filled or your run out of bait. It takes me about 4 hours to fill my inventory with this script

I have my inventory open on the right side of the screen with the fishing pole near the bottom. The fishing message window is on the Left side in the middle.

The mouse locations listed below are for my computer running SWF in 1024x768 windowed mode on a 1280x1024 resolution, So you many need to change them a little bit to work with your setup.

The pauses are time also correctly for my computer to click the line option and press ok as soon as the window appears on the screen.

Over the past 3 days of running this I have collected all rare fish needed for the 3 collections and a lot of Fish tank components.

I also believe different types of bait may catch different items. I have gone for 4 hours with out catching nothing switch my bait to something else then receive 4 rare items one after the other.


Code: Register to unlock hidden link

sleep("5000")
$i = 0
Do
	If WinActive("Star Wars Galaxies","") Then
		MouseClick("right",1016,518,1);Selects the Fishing pole and rights clicks
		sleep("1000")
		send("{5 down}"); starts fishing
		sleep("12000")
		
		MouseClick("left",360, 394,1); selects the 1st option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",516, 419,1); selects the 2nd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",363, 419,1); selects the 3rd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",360, 394,1); selects the 1st option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",516, 419,1); selects the 2nd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",363, 419,1); selects the 3rd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",360, 394,1); selects the 1st option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",516, 419,1); selects the 2nd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",363, 419,1); selects the 3rd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",360, 394,1); selects the 1st option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",516, 419,1); selects the 2nd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",363, 419,1); selects the 3rd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",360, 394,1); selects the 1st option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",516, 419,1); selects the 2nd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",363, 419,1); selects the 3rd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",360, 394,1); selects the 1st option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",516, 419,1); selects the 2nd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",363, 419,1); selects the 3rd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",360, 394,1); selects the 1st option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",516, 419,1); selects the 2nd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		MouseClick("left",360, 394,1); selects the 1st option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",516, 419,1); selects the 2nd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",363, 419,1); selects the 3rd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",360, 394,1); selects the 1st option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",516, 419,1); selects the 2nd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",363, 419,1); selects the 3rd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",360, 394,1); selects the 1st option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",516, 419,1); selects the 2nd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",363, 419,1); selects the 3rd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",360, 394,1); selects the 1st option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",516, 419,1); selects the 2nd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",363, 419,1); selects the 3rd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",360, 394,1); selects the 1st option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",516, 419,1); selects the 2nd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",363, 419,1); selects the 3rd option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
		MouseClick("left",360, 394,1); selects the 1st option
		sleep("500")
		MouseClick("left",511, 525,1);and press OK
		sleep("5000")
		
	
	EndIf
until $i = 1

Posted: November 9th, 2007, 10:00 am
by Tault_admin
Can members say yay or nay to this being moved to a confirmed section.

Posted: November 9th, 2007, 7:31 pm
by zalaxy
Took me a little while but YAY.

I suggest you do this in a isolated spot and not a known fishing grounds. If you get caught suspended...

Posted: November 9th, 2007, 7:45 pm
by vinnyboy32
1 yay, 2 more for confirmed.
0 nays, 3 more for lock.

Posted: November 11th, 2007, 8:37 am
by penjoroo
What type of problems did you have getting it running I noticed I had a typo at the beginning, and corrected it, I mistyped WinActive and the script would not stop when you exit SWG

Posted: November 11th, 2007, 8:37 pm
by jagexblade
yes,yes, Y-E-S... translation: YAY

Posted: November 12th, 2007, 11:14 am
by Tault_admin
2 yay, 1 more for confirmed.
0 nays, 3 more for lock

Posted: November 17th, 2007, 3:44 pm
by penjoroo
I am going to NAY my own post because there is now a newer better way to AFK Fish here

Register to unlock hidden link

Posted: November 17th, 2007, 6:50 pm
by vinnyboy32
Alright..........LOCKED