Archived posts from a dozen years ago.

AutoGram – The machine Vs The machine

4 June 2009

Hello, it’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 😉

[youtube=http://www.youtube.com/watch?v=Vc0v9UFLGpM&w=480&h=304&rel=0]

As you can see, this other frustration-driven program lets you climb the ladder of a typical facebook game while drinking coffee or feeding your pet!

So, before starting you need:

  1. a dictionary file for your language of choice (1 word per line)
  2. a dictionary file with the names of your facebook friends (for the ‘bonus’ levels)
  3. a compiler, because I’m not making binary packages this time 😉
  4. the source code of AutoGram, published here and available as a tar.gz here.

Build it with your favourite compiler (tested on Linux with gcc and on Windows with msvc) or your favourite IDE (you can download QtCreator if you don’t know what an IDE is and click on the autogram.pro project file). Then Run it and embarass your friends 😉

Here is how the program works:

  1. grabs the screen image and cuts off the 6 images representing the letters.  [ScreenCapture.h]
  2. recognizes each character 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)  [Ocr.h]
  3. performs all the permutations of the characters, to find out all the words that can be made out of the given alphabet. [Scrambler.h]
  4. validates with a dictionary to filter out unknown words. the dictionary is the “main language dictionary” if the screen is yellow-ish (indicating normal game) or the “bonus game dictionary” if the screen is red-ish (indicating a bonus game, where all the words are picked from the names of your friends).  [Scrambler.h]
  5. injects the words (as keystrokes + return) to the browser window.  [InputUtils.h]
  6. there is a timer-based loop that performs the operations 1-5 while updating the GUI.  [WCGame.h contains the logic, AppWidget.h handles the GUI]

If you run AutoGram on a virtual machine, please remember to switch it off after a while! I take no responsability of any score overflow 😉

Again here is the source code, stay tuned for more web automation articles, and enjoy AutoGram - The machine Vs The machine;-)

Categories
Software
Tags
avanguardia, cheating, planetqt, qt

« BioCheat – The machine Vs The machine "The Unknown Rebel" »

One Response to “AutoGram – The machine Vs The machine”

  1. Benjamin Meyer says:
    4 June 2009 at 16:09

    Very neat

Blogroll

  • Ariya Hidayat's Blog
  • Davide La Rosa
  • PlanetKDE
  • Pollycoke
  • Qt Labs
  • Yanko Design
  • Zack Rusin's Blog

Recent Posts

  • How to recognize a revolution
  • KDE 3 on “The Social Network” movie
  • Delicious Transblurency [1]
  • Grab one, it’s free!
  • Gift a cool idea!

Tags

amarok Android avanguardia cheating colorpicker creativity curriculum figosità fotowall future graphicsview heroes kde3 kde4 life M31 multi-touch nokia open source planetkde planetqt posterazor qt qtsoftware statistics summer of code wallpaper x.org

Archives

  • April 2011 (1)
  • September 2010 (1)
  • April 2010 (1)
  • January 2010 (1)
  • December 2009 (3)
  • October 2009 (1)
  • September 2009 (4)
  • August 2009 (1)
  • July 2009 (3)
  • June 2009 (3)
  • May 2009 (2)
  • April 2009 (3)
  • March 2009 (1)
  • January 2009 (2)
  • May 2008 (1)
  • April 2008 (1)
  • January 2008 (2)
  • December 2007 (1)
  • November 2007 (1)
  • September 2007 (3)