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.

User:Shunkaha/Macro

From A Tale in the Desert
< User:Shunkaha
Revision as of 09:52, 20 May 2009 by Shunkaha (talk | contribs) (New page: Try this True Kiln macro. It can be adjusted with any number of true kilns and with what you want to load in. Resolution independant. Made for ACTools. True Kiln Macro <pre> // Written ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Try this True Kiln macro. It can be adjusted with any number of true kilns and with what you want to load in. Resolution independant. Made for ACTools.

True Kiln Macro

// Written by: Coyan/Mosaic Guild originally as a mining Macro
// Adjusted by Shunkaha for True Kiln work.
// Will work with any number of true kiln in any configuration
// with minor adjustments
// This is what I suggest for setting up for this macro

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 = 500 // How many times do you want it to run all true kilns?
	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 28 locations for the true kiln (or however
// many) when it grabs the true kiln spot(s), it will then echo a symbol to the chat window
// make sure you are in your main chat tab.  After it finds all the true kilns,
// the chat window will be minimized. 

// Adjust this Loop number to the number of true kiln being used
setactivewindow eGenesis Client
Loop 28
  Delay 3000
  Listadd MouseX, {MouseX}
  Listadd MouseY, {MouseY}
  keys {loopno}
END

keys {return}
keys {return}

loop $totalpulls
	Compute loopcnt = 1
// Adjust this Loop number to the number of true kiln being used
	loop 28
		mousepos MouseX[$loopcnt], MouseY[$loopcnt]
		Delay 150
		keys T
		Delay 2
		keys C //Adjust it with what you wanna load. B for firebricks, C for claybricks, J for Jugs, M for Clay Mortars
		Delay 2
		Keys W
		Delay 2
		Keys F
		Compute loopcnt = $loopcnt + 1
		Delay 100
	END
	//Delay 100000 for testing
	//Delay 200 //200
	Delay 135000 // Delay to manage the true kiln firing process
	
end