<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.atitd.org/wiki/t4w/index.php?action=history&amp;feed=atom&amp;title=User%3ACorrans%2Fmacros%2FCharcoal_Oven</id>
	<title>User:Corrans/macros/Charcoal Oven - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.atitd.org/wiki/t4w/index.php?action=history&amp;feed=atom&amp;title=User%3ACorrans%2Fmacros%2FCharcoal_Oven"/>
	<link rel="alternate" type="text/html" href="http://www.atitd.org/wiki/t4w/index.php?title=User:Corrans/macros/Charcoal_Oven&amp;action=history"/>
	<updated>2026-06-07T07:53:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>http://www.atitd.org/wiki/t4w/index.php?title=User:Corrans/macros/Charcoal_Oven&amp;diff=18612&amp;oldid=prev</id>
		<title>Corrans: New page: &lt;pre&gt; ;Charcoal macro ctrl-alt-c to start ;pin Charcoal oven window in extreme upper left corner of the window ;if you're as sick of the tedium of charcoal as me, this might just save your...</title>
		<link rel="alternate" type="text/html" href="http://www.atitd.org/wiki/t4w/index.php?title=User:Corrans/macros/Charcoal_Oven&amp;diff=18612&amp;oldid=prev"/>
		<updated>2008-12-31T12:16:04Z</updated>

		<summary type="html">&lt;p&gt;New page: &amp;lt;pre&amp;gt; ;Charcoal macro ctrl-alt-c to start ;pin Charcoal oven window in extreme upper left corner of the window ;if you&amp;#039;re as sick of the tedium of charcoal as me, this might just save your...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
;Charcoal macro ctrl-alt-c to start&lt;br /&gt;
;pin Charcoal oven window in extreme upper left corner of the window&lt;br /&gt;
;if you're as sick of the tedium of charcoal as me, this might just save your subscription&lt;br /&gt;
&lt;br /&gt;
^!p:: &lt;br /&gt;
&lt;br /&gt;
pause&lt;br /&gt;
&lt;br /&gt;
^!c::&lt;br /&gt;
&lt;br /&gt;
IfWinExist eGenesis Client &lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
	WinActivate&lt;br /&gt;
	&lt;br /&gt;
	blue := 0xFD0606						;colour code for blue bars&lt;br /&gt;
	green := 0x05FE06						;colour code for green bar&lt;br /&gt;
&lt;br /&gt;
	px05= 81							;x position of 05% of bar&lt;br /&gt;
	px25 = 108							;x position of 25% of bar&lt;br /&gt;
	px45 = 130							;x position of 45% of bar&lt;br /&gt;
	px50 = 136							;x position of 50% of bar&lt;br /&gt;
	px60 = 147							;x position of 60% of bar&lt;br /&gt;
	px65 = 152							;x position of 65% of bar&lt;br /&gt;
	px85 = 174							;x position of 85% of bar&lt;br /&gt;
	px90 =180							;x position of 90% of bar&lt;br /&gt;
	pxwood = 36							;x position of wood button&lt;br /&gt;
	pxwater = 89							;x position of water button	&lt;br /&gt;
	pxclose = 133							;x position of close vent button&lt;br /&gt;
	pxnorm = 158							;x position of normalvent button			&lt;br /&gt;
	pxwide = 183							;x position of wide open vent button&lt;br /&gt;
	pxbegin = 110							;x position of the begin button&lt;br /&gt;
&lt;br /&gt;
	pyheat = 152							;y position of the heat bar&lt;br /&gt;
	pyoxy = 165							;y position of the oxygen bar&lt;br /&gt;
	pydanger = 201							;y position of the danger bar&lt;br /&gt;
	pyprogress = 212						;y position of the progress bar&lt;br /&gt;
	pyaction = 248							;y position of wood, water and vent buttons&lt;br /&gt;
	pybegin = 240							;y position of the begin button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	loop&lt;br /&gt;
	{&lt;br /&gt;
		WinActivate, eGenesis Client&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
									;check to see if the process has been started&lt;br /&gt;
		PixelSearch, px, py, %px05%, %pyheat%, %px05%, %pyheat%, %blue% , 4	&lt;br /&gt;
									;look for blue in the heat bar&lt;br /&gt;
		if errorlevel = 1&lt;br /&gt;
		{&lt;br /&gt;
			PixelSearch, px, py, %px05%, %pyoxy%, %px05%, %pyoxy%, %blue% , 4&lt;br /&gt;
									;look for blue in the oxy bar&lt;br /&gt;
			if errorlevel = 1&lt;br /&gt;
			{&lt;br /&gt;
				PixelSearch, px, py, %px05%, %pyprogress%, %px05%, %pyprogress%, %blue% , 4&lt;br /&gt;
									;look for blue in the progress bar&lt;br /&gt;
				if errorlevel = 1			;if all three have no blue&lt;br /&gt;
				{&lt;br /&gt;
					click %pxbegin%, %pybegin%	;start the process&lt;br /&gt;
					sleep 750			;allow tale servers to keep up&lt;br /&gt;
					click %pxwood%, %pyaction%	;start with wood&lt;br /&gt;
					click %pxwood%, %pyaction%	;twice&lt;br /&gt;
					sleep 3500			;wait three and a half secs before progressing&lt;br /&gt;
				}&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
									;check to see if progress is complete&lt;br /&gt;
		PixelSearch, px, py, %px05%, %pyprogress%, %px05%, %pyprogress%, %green% , 4&lt;br /&gt;
									;look for green in the progress bar&lt;br /&gt;
		if errorlevel = 0					;if its found&lt;br /&gt;
		{&lt;br /&gt;
			click %pxwater%, %pyaction%			;dump water in&lt;br /&gt;
			click %pxwater%, %pyaction%			;twice&lt;br /&gt;
			click %pxclose%, %pyaction%			;close down the vent&lt;br /&gt;
			sleep 3500					;give it a moment&lt;br /&gt;
&lt;br /&gt;
			loop						;now wait for the progress bar to stop being green&lt;br /&gt;
			{&lt;br /&gt;
				PixelSearch, px, py, %px05%, %pyprogress%, %px05%, %pyprogress%, %green% , 4&lt;br /&gt;
				if errorlevel = 1&lt;br /&gt;
					break&lt;br /&gt;
				else&lt;br /&gt;
					sleep 3500&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
									;actions if the process is started, but not complete&lt;br /&gt;
		else&lt;br /&gt;
		{&lt;br /&gt;
			PixelSearch, px, py, %px65%, %pyheat%, %px65%, %pyheat%, %blue%, 4&lt;br /&gt;
			if errorlevel = 1&lt;br /&gt;
				click %pxwood%, %pyaction%		;if the heat bar is not blue at 65%, add wood&lt;br /&gt;
&lt;br /&gt;
			sleep 100&lt;br /&gt;
			PixelSearch, px, py, %px85%, %pyheat%, %px85%, %pyheat%, %blue%, 4&lt;br /&gt;
			if errorlevel = 0&lt;br /&gt;
				click %pxwater%, %pyaction%		;if the heat bar is blue at 85%, add water&lt;br /&gt;
				&lt;br /&gt;
			sleep 100&lt;br /&gt;
			click %pxnorm%, %pyaction%			;default vent to normal&lt;br /&gt;
&lt;br /&gt;
			sleep 100&lt;br /&gt;
			PixelSearch, px, py, %px25%, %pyoxy%, %px25%, %pyoxy%, %blue% , 4&lt;br /&gt;
			if errorlevel = 1&lt;br /&gt;
				click %pxwide%, %pyaction%		;if the oxygen bar is not blue at 25%, open vent&lt;br /&gt;
			&lt;br /&gt;
			sleep 100&lt;br /&gt;
			PixelSearch, px, py, %px45%, %pyoxy%, %px45%, %pyoxy%, %blue%, 4&lt;br /&gt;
			if errorlevel = 0&lt;br /&gt;
				click %pxclose%, %pyaction%		;if the oxygen bar is blue at 45%, close vent&lt;br /&gt;
			&lt;br /&gt;
			sleep 100&lt;br /&gt;
			PixelSearch, px, py, %px85%, %pydanger%, %px85%, %pydanger%, %blue%, 4&lt;br /&gt;
			if errorlevel = 0&lt;br /&gt;
				click %pxwater%, %pyaction%		;if the danger bar hits 90%, add water&lt;br /&gt;
				&lt;br /&gt;
						&lt;br /&gt;
			sleep 3500					;pause for three and a half seconds and start over&lt;br /&gt;
		}&lt;br /&gt;
	}	&lt;br /&gt;
}&lt;br /&gt;
return&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Corrans</name></author>
	</entry>
</feed>