1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[HOW-TO] Create always-working scripts for YouLikeHits/Addmefast and similar

Discussion in 'Black Hat SEO Tools' started by MadMX, May 13, 2012.

  1. MadMX

    MadMX Regular Member

    Joined:
    Oct 2, 2011
    Messages:
    254
    Likes Received:
    182
    Occupation:
    idling
    Location:
    Berlin
    Hi everyone.
    In the past days I was looking desperately for scripts/bots that automate the process of gaining credits at social-exchange sites like YouLikeHits or Addmefast. As most of you know, some scripts are also on BHW. The problem which appears is that as soon as they are published, the owner of such a social-exchange site modifies his site a little and your scripts stop working. Personally, I have learned Python for 1 and 1/2 years, but I am a lazy person.

    After doing some research, I found a decent way to create a script that will always work. What I am talking about is Project Sikuli.

    What's SIKULI?
    Sikuli is a visual technology to automate and test graphical user interfaces (GUI) using images (screenshots). Sikuli includes Sikuli Script, a visual scripting API for Jython, and Sikuli IDE, an integrated development environment for writing visual scripts with screenshots easily. Sikuli Script automates anything you see on the screen without internal API's support. You can programmatically control a web page, a Windows/Linux/Mac OS X desktop application, or even an iphone or android application running in a simulator or via VNC.


    So basically, Sikuli Scripting is a scripting language for beginners on the basis of both Java and Python. The software makes it very easy to automate processes on a website. Let me show you YouLikeHits as an example:


    Step 1:
    Download SIKULI and install it(official site). After installation, open the Sikuli IDE.

    Step 2:
    Open your browser, navigate to Youlikehits, click on Facebook Likes and click on the first green "Like" button.

    Step 3:
    Switch to the IDE. What we need to do is use the click(), sleep() and exists() function. Don't worry, even if you have no idea how to code, this will be very easy. The big advantage that comes with SIKULI(and the reason why it's for beginners) is that inside the brackets, where normally you'd have to specify the button(for example the "Like" button), you can simply put a screenshot of the button. SIKULI will now search the button in the webpage and execute your command.

    So the first thing we want SIKULI to do is to click the Like button. Click on 1.PNG on the left-side of SIKULI IDE. Directly after doing this, you'll have a small box on your screen which allows you to select a small frame. Obviously, you select the Facebook-Like-Box.
    If you now run the Script, it will search for the picture of the Like-Box in your currently opened window and will click it.

    If you have understood what the whole thing is about, you'll probably now what the next steps are. All you need to do is doing the same thing for the "Confirm Like & Get Points" button.
    NOTE: This software will only work if you have the YOULIKEHITS window in the foreground, you cannot do anything else while this script works, so just let it run over night.

    Step 4:
    Modify your script to avoid errors. Most of the commands that you can use in Python are also available in SIKULI. Also, the syntax is very similar.

    Below is a slightly better version that will avoid at least one error. Be creative and improve your scripts and share them in this thread.

    That is how my script looks so far:
    2.PNG

    What you see here is that I have used a simple loop(loops 10 times), an if-clause and a 5-second-sleep(this is important!!). So if the owner of such a site now decides to modify his site, you only change some screenshots in your script and everything will work fine.


    Download:
    Code:
    http://www.mediafire.com/?g8wcaause1ibhas
    So, this was my first little tutorial, I hope you like it. If so, I'd appreciate THX or even REP if you like :)
    Please do not hesitate to ask questions in this thread!


    To your success,
    MadMX!
    :willy::45:
     
    • Thanks Thanks x 54
    Last edited: May 13, 2012
  2. spyguyzz

    spyguyzz Jr. VIP Jr. VIP

    Joined:
    Feb 23, 2012
    Messages:
    961
    Likes Received:
    144
    Occupation:
    Social Marketer
    Location:
    Egypt
    great share but have no time to to make one :)
     
  3. rovad

    rovad Junior Member

    Joined:
    Dec 27, 2009
    Messages:
    197
    Likes Received:
    65
    Or just use iMacros, you can automate 90% by just recording what you click, the rest is fine-tuned with some simple research, there is imacros wiki... For anybody that has problems with scripts freezing and mozilla crashing, I have a simple .exe file that restarts firefox every xyz seconds and starts the imacros script.

    Cheers
     
    • Thanks Thanks x 1
  4. MadMX

    MadMX Regular Member

    Joined:
    Oct 2, 2011
    Messages:
    254
    Likes Received:
    182
    Occupation:
    idling
    Location:
    Berlin
    For me Imacros does not work that well, but thx for your post
     
  5. traihu

    traihu Regular Member

    Joined:
    May 27, 2011
    Messages:
    231
    Likes Received:
    36
    Can You Share Script iMacros for me ? Thanks
     
  6. exeQutor

    exeQutor Registered Member

    Joined:
    Dec 1, 2008
    Messages:
    75
    Likes Received:
    11
    Occupation:
    Webmaster/Netrepreneur
    Location:
    exeQutor's Realm
    Home Page:
    Holy cow! Nice share dude. Got a simple thing running lol.
     
  7. BlackTagine

    BlackTagine BANNED BANNED

    Joined:
    Aug 24, 2011
    Messages:
    378
    Likes Received:
    33
    Nice share op ; thanks!!
     
  8. arsaltheman

    arsaltheman Power Member

    Joined:
    Aug 2, 2011
    Messages:
    536
    Likes Received:
    263
    Thanks for sharing OP... =)
     
  9. katkoute

    katkoute Regular Member

    Joined:
    Feb 22, 2012
    Messages:
    253
    Likes Received:
    118
    Occupation:
    Iming All Day
    Location:
    Morocco Mall
    nice share can i automate youtube uploadin too and auto fillin forms ,?
     
  10. freshest

    freshest Newbie

    Joined:
    May 10, 2012
    Messages:
    3
    Likes Received:
    0
    hmmmm, thanks for the info. But is Sikuli better than iMacros?
     
  11. MadMX

    MadMX Regular Member

    Joined:
    Oct 2, 2011
    Messages:
    254
    Likes Received:
    182
    Occupation:
    idling
    Location:
    Berlin
    Of course you can ;). Just use the functions click() and type(). Nothings impossible.

    Well, how do you define better? Both do what you want, don't they? IMO, Sikuli is easier to use but to each his own!

    Glad you like it.
    MadMX
     
  12. WPMarketing

    WPMarketing Newbie

    Joined:
    May 12, 2012
    Messages:
    16
    Likes Received:
    0
    Location:
    Netherlands
    Really great only every time I click on that button it will disappear...:(... I think I have to figure it out..but any way..thanks allot!
     
  13. ClickJacker

    ClickJacker Registered Member

    Joined:
    Apr 1, 2011
    Messages:
    57
    Likes Received:
    4
    Really great tutorial.Will be using this for many different purposes.Thanks
     
  14. jonny_blaze

    jonny_blaze Newbie

    Joined:
    May 12, 2012
    Messages:
    14
    Likes Received:
    0
    great share, thanks
     
  15. Darko

    Darko Registered Member

    Joined:
    Aug 27, 2009
    Messages:
    95
    Likes Received:
    24
    Never heard of it until now but im going to try it out! It looks like a nice little program and it was developed at MIT
     
  16. keysikg

    keysikg Regular Member

    Joined:
    May 16, 2012
    Messages:
    445
    Likes Received:
    224
    I have problem. When i click CLICK it doesn't open up frame for me to pick button,its just turns off...
     
  17. hamdouch118

    hamdouch118 Newbie

    Joined:
    May 10, 2012
    Messages:
    10
    Likes Received:
    1
    Nice share
     
  18. babpen

    babpen Newbie

    Joined:
    Apr 24, 2012
    Messages:
    14
    Likes Received:
    0
    Good share!!Thank for supporting!!
     
  19. OOIOO

    OOIOO Registered Member

    Joined:
    Mar 3, 2012
    Messages:
    59
    Likes Received:
    14
    Works like a charm! Thanks a ton.
     
  20. Darko

    Darko Registered Member

    Joined:
    Aug 27, 2009
    Messages:
    95
    Likes Received:
    24
    Hey OP. Im playing with sikuli quick question tho.. in the example you gave, how would you make that loop 5 times then click another image, wait 5 and start the script all over again?