[AC Tool] Simple Cooking Script

08/14/2009 11:31 Penakle#1
Code:
// Script created by Mouldy Tacos
// This script will cook one item at a time
// You must have the cooking window open and the item you wish to cook highlighted
// You will most likely have to set your mouse co-ordinates for the Create button depending on where the cooking window is positioned
// To do this:
// 	- Highlight 'MousePos 678, 665' in the script and press Delete
// 	- Alt+Tab into Darkfall
// 	- Hover your mouse over the Create button
// 	- Without moving the mouse Alt+Tab into AC Tool and press Ctrl+M. This will automatically input the mouse position into the script
// Change the Loop number where commented below to the number of items you have to cook

SetActiveWindow Darkfall Online

Constants
	MouseDelay=10700
End

Procedure Cook
	Delay 1 sec
	Loop 1
		MousePos 678, 665 // Set mouse co-ordinates here
	End
	Loop 20 // Change to number of items you are cooking here
		LeftClick
		Delay $MouseDelay
	End
End

Loop 1
	Call Cook
End