<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Enrico Ros &#187; cheating</title>
	<atom:link href="http://www.enricoros.com/blog/tag/cheating/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.enricoros.com/blog</link>
	<description>Focused ideas, bleeding edge madness and code recipes.</description>
	<lastBuildDate>Sun, 17 Apr 2011 20:51:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>BioCheat for XP/Vista</title>
		<link>http://www.enricoros.com/blog/2009/07/biocheat-for-xpvista/</link>
		<comments>http://www.enricoros.com/blog/2009/07/biocheat-for-xpvista/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 10:48:34 +0000</pubDate>
		<dc:creator>Enrico Ros</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[cheating]]></category>

		<guid isPermaLink="false">http://enricoros.wordpress.com/?p=190</guid>
		<description><![CDATA[Since so many of people are asking for the Vista or XP BioCheat, here it is: http://biocheat.googlecode.com/files/Biocheat 0.9.6.exe. The official homepage remains on my gitorious web-automation project. All the other old clones, like the ones on github are outdated and will (hopefully) disappear in time, as the development continues on gitorious. Have fun]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Since so many of people are asking for the Vista or XP BioCheat, here it is: <a href="http://biocheat.googlecode.com/files/Biocheat 0.9.6.exe" target="_blank">http://biocheat.googlecode.com/files/Biocheat 0.9.6.exe</a>.</p>
<p>The official homepage remains on my gitorious <a href="http://gitorious.org/web-automation/biocheat">web-automation</a> project. All the other old clones, like the ones on github are outdated and will (hopefully) disappear in time, as the development continues on gitorious.</p>
<p>Have fun <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<div class="shr-publisher-190"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.enricoros.com/blog/2009/07/biocheat-for-xpvista/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AutoGram &#8211; The machine Vs The machine</title>
		<link>http://www.enricoros.com/blog/2009/06/autogram/</link>
		<comments>http://www.enricoros.com/blog/2009/06/autogram/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 06:00:35 +0000</pubDate>
		<dc:creator>Enrico Ros</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[avanguardia]]></category>
		<category><![CDATA[cheating]]></category>
		<category><![CDATA[planetqt]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://enricoros.wordpress.com/?p=141</guid>
		<description><![CDATA[Hello, it&#8217;s me again, back on the cheating bandwagon Last time we talked about BioCheat, and now we add another piece of the web-automation jigsaw puzzle: AutoGram. Please enjoy this HQ stream of deceptive video pixels while I explain this fine new piece of trickery As you can see, this other frustration-driven program lets you [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hello, it&#8217;s me again, back on the <a href="http://enricoros.wordpress.com/2009/05/26/biocheat/" target="_blank">cheating</a> <a href="http://labs.trolltech.com/blogs/?s=cheat" target="_blank">bandwagon</a> <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  Last time we talked about <a href="http://enricoros.wordpress.com/2009/05/26/biocheat/" target="_blank">BioCheat</a>, and now we add another piece of the <a href="http://www.gitorious.org/web-automation" target="_blank">web-automation</a> jigsaw puzzle: <a href="http://www.gitorious.org/web-automation/autogram" target="_blank">AutoGram</a>.</p>
<p>Please enjoy this HQ stream of deceptive video pixels while I explain this fine new piece of trickery <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><a href="http://www.enricoros.com/blog/2009/06/autogram/"><em>Click here to view the embedded video.</em></a></p>
<p>As you can see, this other <a href="http://enricoros.wordpress.com/2009/05/26/biocheat/#frustration" target="_blank">frustration-driven</a> program lets you climb the ladder of a typical facebook game while drinking coffee or feeding your pet!</p>
<p>So, before starting you need:<span id="more-141"></span></p>
<ol>
<li>a dictionary file for your language of choice (1 word per line)</li>
<li>a dictionary file with the names of your facebook friends (for the &#8216;bonus&#8217; levels)</li>
<li>a compiler, because I&#8217;m not making binary packages this time <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </li>
<li>the source code of AutoGram, <a href="http://www.gitorious.org/web-automation/autogram/trees/master" target="_blank">published here</a> and available as a <a href="http://www.gitorious.org/web-automation/autogram/archive-tarball/master" target="_blank">tar.gz here</a>.</li>
</ol>
<p><strong>Build it</strong> with your favourite compiler (tested on Linux with gcc and on Windows with msvc) or your favourite IDE (you can download <a href="http://www.qtsoftware.com/products/developer-tools" target="_blank">QtCreator</a> if you don&#8217;t know what an IDE is and click on the <em>autogram.pro</em> project file). Then <strong>Run it</strong> and embarass your friends <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Here is how the program works:</p>
<ol>
<li><strong>grabs the screen</strong> image and cuts off the 6 images representing the letters.  [<em><a href="http://gitorious.org/web-automation/autogram/blobs/master/ScreenCapture.cpp" target="_blank">ScreenCapture</a>.h</em>]</li>
<li><strong>recognizes each character</strong> by comparing the image to the alphabet and picks the match that has less differential energy. (is like xor-ing 2 pictures and computing the energy of that)  [<em><a href="http://gitorious.org/web-automation/autogram/blobs/master/ocr/Ocr.cpp" target="_blank">Ocr</a>.h</em>]</li>
<li>performs all the <strong>permutations</strong> of the characters, to find out all the words that can be made out of the given alphabet. [<em><a href="http://gitorious.org/web-automation/autogram/blobs/master/Scrambler.cpp" target="_blank">Scrambler</a>.h</em>]</li>
<li><strong>validates with a dictionary</strong> to filter out unknown words. the dictionary is the &#8220;<em>main language dictionary</em>&#8221; if the screen is yellow-ish (indicating normal game) or the &#8220;<em>bonus game dictionary</em>&#8221; if the screen is red-ish (indicating a bonus game, where all the words are picked from the names of your friends).  [<em><a href="http://gitorious.org/web-automation/autogram/blobs/master/Scrambler.cpp" target="_blank">Scrambler</a>.h</em>]</li>
<li><strong>injects the words</strong> (as keystrokes + return) to the browser window.  [<em><a href="http://gitorious.org/web-automation/autogram/blobs/master/InputUtils.h" target="_blank">InputUtils</a>.h</em>]</li>
<li>there is a timer-based <strong>loop</strong> that performs the operations 1-5 while updating the GUI.  [<em><a href="http://gitorious.org/web-automation/autogram/blobs/master/WCGame.cpp" target="_blank">WCGame</a>.h</em> contains the logic, <em><a href="http://gitorious.org/web-automation/autogram/blobs/master/AppWidget.cpp" target="_blank">AppWidget</a>.h</em> handles the GUI]</li>
</ol>
<p>If you run AutoGram on a virtual machine, <em>please remember to switch it off after a while</em>! I take no responsability of any score overflow <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Again <a rel="#someid7" href="http://gitorious.org/web-automation/autogram" target="_blank">here is the source code</a>, stay tuned for more <em>web automation</em> articles, and <strong>enjoy</strong> <img src="http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif" alt="AutoGram - The machine Vs The machine;-)" /></p>
<div class="shr-publisher-141"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.enricoros.com/blog/2009/06/autogram/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>BioCheat &#8211; The machine Vs The machine</title>
		<link>http://www.enricoros.com/blog/2009/05/biocheat/</link>
		<comments>http://www.enricoros.com/blog/2009/05/biocheat/#comments</comments>
		<pubDate>Tue, 26 May 2009 16:00:48 +0000</pubDate>
		<dc:creator>Enrico Ros</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[avanguardia]]></category>
		<category><![CDATA[cheating]]></category>
		<category><![CDATA[planetqt]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://enricoros.wordpress.com/?p=116</guid>
		<description><![CDATA[update: XP/Vista download here You are happily wasting time on facebook (that site with all the ignore buttons, with noisy stuff from people who call themselves &#8216;friends&#8217; of you.. you know..) when you unfortunately get hooked up with Biotronic. This flash game is quite nice, but there is a rank ladder on bottom and you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><strong>update: XP/Vista <a href="http://code.google.com/p/biocheat/downloads/list" target="_blank">download here</a> <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </strong></p>
<p>You are happily wasting time on <a href="http://www.facebook.com/" target="_blank">facebook</a> (that site with all the ignore buttons, with noisy stuff from people who call themselves &#8216;friends&#8217; of you.. you know..) when you <em>unfortunately get hooked up with <a href="http://apps.facebook.com/biotronic/" target="_blank">Biotronic</a></em>. This flash game is quite nice, but there is a rank ladder on bottom and you&#8217;re <strong>last</strong>. So you play and play &#8230; still <strong>last</strong>, play even more.. still <strong>last</strong>.. can you see the <strong><a title="frustration" name="frustration">frustration</a></strong>?! The layman&#8217;s answer is to play (aka waste hours) to get better and climb the ladder..</p>
<p>And then there&#8217;s the programmer&#8217;s answer: <em>I&#8217;ll write a Qt program to get me on top!! </em> <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  (yes, and still waste hours <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ) &#8212; Here is the result: <a href="http://gitorious.org/web-automation/biocheat" target="_blank">BioCheat</a> <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><a href="http://www.enricoros.com/blog/2009/05/biocheat/"><em>Click here to view the embedded video.</em></a></p>
<p>The game is in FLASH, so no HTML or DOM tricks, you have to emulate <em>eyes</em>, <em>brains</em> and <em>hands</em> (only 1). <span id="more-116"></span>Or in other words you have to <em>see</em>, <em>think</em> and <em>act</em>. Or in other words you have to <strong>recognize the image</strong>, <strong>solve the puzzle</strong> and <strong>send the clicks</strong> back.</p>
<p>Not only I became the first among my friends, <em>I was the world #1</em> for a month (with 5Million points) <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Then they wisely reset my score to zero (was too high for a human player) and many people started using and modifying BiCheat!</p>
<p>Here is the simple work flow of the program:</p>
<p><img class="aligncenter size-full wp-image-122" src="http://enricoros.files.wordpress.com/2009/05/path3464.png" alt="BioCheat Workflow" width="450" height="352" /></p>
<p>Plus when there is near 60% of recognized blocks, a condition telling that the level is finished, we press the &#8220;next&#8221; button (a mouse click at an absolute position) to go to the next level. Then you can go grooming your cat while BioCheat plays for you.</p>
<p>In the end it&#8217;s a <strong>machine vs machine fight</strong>, not a human-to-machine one <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Again <a href="http://gitorious.org/web-automation/biocheat" target="_blank">here is the source code</a>, stay tuned for more <em>web automation</em> articles, and <strong>enjoy</strong> <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<div class="shr-publisher-116"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.enricoros.com/blog/2009/05/biocheat/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

