[AC Tool] Simple Fishing Script

08/14/2009 11:33 Penakle#1
Code:
// Script created by Mouldy Tacos
// This simple fishing and resting script will fish for you, then rest, then fish, etc.
// Start about crouch deep in water with your fishing pole equipped but sheathed
// If you are too far/short from the water when you return from resting adjust 'Keydown S' and 'Keydown ^W' accordingly

// HOTBAR //
// Slot 1 = Fishing Pole
// Slot 0 = Rest

SetActiveWindow Darkfall Online

Constants
	MouseDelay=10700
	RestDelay=200000  // Change this if you are resting too long/short
End

Procedure Fish
	Delay 1 sec
	Keys R
	Delay 1 sec
	Loop 58  // You may need to change this depending on your stamina
		LeftClick
		Delay $MouseDelay
	End
End

Procedure Rest
	Delay 1 sec
	Keydown S 3 sec
	Keys R
	Delay 1 sec
	Keys 0
	Delay 1.5 sec
	LeftClick
	Delay $RestDelay
	Keys W
End

Procedure Return
	Delay 2 sec
	Keydown ^W 2.5 sec
	Keydown {DOWN} 1.5 sec
End

Loop 4 // How many times the script repeats itself
	Call Fish
	Call Rest
	Call Return
End