The Wiki for Tale 4 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "User:Moses/macro"

From A Tale in the Desert
Jump to navigationJump to search
(New page: // Written by: Coyan/Mosaic Guild originally as a mining Macro // Adjusted by Menhotep for woodplane work. // Will work with any number of woodplanes in any configuration // with minor adj...)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
// Written by: Coyan/Mosaic Guild originally as a mining Macro
+
// Written by: Coyan/Mosaic Guild originally as a mining Macro
// Adjusted by Menhotep for woodplane work.
+
// Adjusted by Menhotep for woodplane work.
// Will work with any number of woodplanes in any configuration
+
// Will work with any number of woodplanes in any configuration
// with minor adjustments
+
// with minor adjustments
// This is what I suggest for setting up for this macro
+
// This is what I suggest for setting up for this macro
// This Macro DOES NOT fix broken blades
+
// This Macro DOES NOT fix broken blades
 
+
Constructs
+
Constructs
MouseX=List // this is an array of mouse X coords for gem sample points
+
MouseX=List // this is an array of mouse X coords for gem sample points
MouseY=List // this is an array of mouse X coords for gem sample points
+
MouseY=List // this is an array of mouse X coords for gem sample points
END
+
END
 
+
Constants
+
Constants
totalpulls = 200 // How many times do you want it to run all pottary wheels? (This number X Woodplanes = Wood in Inventory)
+
totalpulls = 200 // How many times do you want it to run all pottary wheels? (This number X Woodplanes = Wood in Inventory)
loopcnt = 1  
+
loopcnt = 1  
Mousecnt = 1
+
Mousecnt = 1
MouseXN = 0
+
  MouseXN = 0
MouseYN = 0
+
MouseYN = 0
End
+
End
 
+
// First part that requires a detailed explanation
+
// First part that requires a detailed explanation
// this loop will pause for 3 seconds then grab the current mouse location
+
// this loop will pause for 3 seconds then grab the current mouse location
// its purpose is to identify the 6 locations for the woodplanes (or however
+
// its purpose is to identify the 6 locations for the woodplanes (or however
// many) when it grabs the woodplane spot(s), it will then echo a . to the chat window
+
// many) when it grabs the woodplane spot(s), it will then echo a . to the chat window
// make sure you are in your main chat tab.  After it finds all the woodplanes, you
+
// make sure you are in your main chat tab.  After it finds all the woodplanes, you
// may need to minimize your chat window.  BE SURE TO BE IN MAIN TAB!
+
// may need to minimize your chat window.  BE SURE TO BE IN MAIN TAB!
 
+
// Adjust this Loop numer to the number of Woodplanes being used
+
// Adjust this Loop numer to the number of Woodplanes being used
Loop 25
+
Loop 25
Delay 3000
+
Delay 3000
Listadd MouseX, {MouseX}
+
Listadd MouseX, {MouseX}
Listadd MouseY, {MouseY}
+
Listadd MouseY, {MouseY}
SayPaste .
+
SayPaste .
END
+
END
Delay 3000
+
Delay 3000
loop $totalpulls
+
loop $totalpulls
Compute loopcnt = 1
+
Compute loopcnt = 1
// Adjust this Loop numer to the number of Woodplanes being used
+
// Adjust this Loop numer to the number of Woodplanes being used
loop 25
+
loop 25
mousepos MouseX[$loopcnt], MouseY[$loopcnt]
+
mousepos MouseX[$loopcnt], MouseY[$loopcnt]
Delay 350
+
Delay 350
keys j
+
keys j
Compute loopcnt = $loopcnt + 1
+
Compute loopcnt = $loopcnt + 1
Delay 200
+
Delay 200
END
+
END
Delay 72000
+
Delay 72000
//Delay 100000 for testing
+
//Delay 100000 for testing
//Delay 200 //200
+
//Delay 200 //200
Delay 2300 // Delay to manage the delay woodplane operation, adjust as needed
+
Delay 2300 // Delay to manage the delay woodplane operation, adjust as needed
// The more woodplanes, the less this delay needs to be
+
// The more woodplanes, the less this delay needs to be
+
END
+
END

Latest revision as of 03:12, 17 November 2009

// Written by: Coyan/Mosaic Guild originally as a mining Macro
// Adjusted by Menhotep for woodplane work.
// Will work with any number of woodplanes in any configuration
// with minor adjustments
// This is what I suggest for setting up for this macro
// This Macro DOES NOT fix broken blades

Constructs
	MouseX=List // this is an array of mouse X coords for gem sample points
	MouseY=List // this is an array of mouse X coords for gem sample points
END

Constants
	totalpulls = 200 // How many times do you want it to run all pottary wheels? (This number X Woodplanes = Wood in Inventory)
	loopcnt = 1 
	Mousecnt = 1
 	MouseXN = 0
	MouseYN = 0
End

// First part that requires a detailed explanation
// this loop will pause for 3 seconds then grab the current mouse location
// its purpose is to identify the 6 locations for the woodplanes (or however
// many) when it grabs the woodplane spot(s), it will then echo a . to the chat window
// make sure you are in your main chat tab.  After it finds all the woodplanes, you
// may need to minimize your chat window.  BE SURE TO BE IN MAIN TAB!

// Adjust this Loop numer to the number of Woodplanes being used
Loop 25
	Delay 3000
	Listadd MouseX, {MouseX}
	Listadd MouseY, {MouseY}
	SayPaste .
END
Delay 3000
loop $totalpulls
	Compute loopcnt = 1
// Adjust this Loop numer to the number of Woodplanes being used
	loop 25
		mousepos MouseX[$loopcnt], MouseY[$loopcnt]
		Delay 350
		keys j
		Compute loopcnt = $loopcnt + 1
		Delay 200
	END	
	Delay 72000
	//Delay 100000 for testing
	//Delay 200 //200
	Delay 2300 // Delay to manage the delay woodplane operation, adjust as needed
	// The more woodplanes, the less this delay needs to be
	
END