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
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.

Essayez cette macro pour les Fours véritable. Elle peut être ajustée pour le nombre de fours que vous possédez et avec ce que vous souhaitez cuire. Elle fonctionne avec toute les résolutions d'écrans. Elle s'utilise avec ACTools.

True Kiln Macro / Macro pour les fours véritables

// 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
// First double F8 so you can see all your true kilns clearly
// second use Alt-L to lock your camera angle
// You will have 3 seconds between the recording of each crystal's location

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 = 100 // 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 150000 for testing
	//Delay 200 //200
	Delay 135000 // Delay to manage the true kiln firing process
	
end