1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. The forum has been upgraded to a more recent and user-friendly software, called "XenForo".
    It will take some time to get everything set up and running smoothly, so please report any bug you may find to the forum staff.
    Thank you for your patience.

Making an autobuyer

Discussion in 'Code Snippets and Tutorials' started by Wings, May 16, 2011.

  1. Wings

    Wings Member

    Joined:
    Jun 21, 2009
    Messages:
    573
    Likes Received:
    6
    Location:
    Montreal, Québec
    Hey guys!

    I was wondering if it was hard to make an autobuyer? Basically, this is what I want:

    Refresh every X time (constant) at a specific webpage
    Ability to detect certain images (the items I want to buy)
    Ability to click on the images
    Ability to enter a captcha

    Would it be hard to make the autobuyer myself? Would it take a lot of time? What program should I use? Any tips you can give me?

    Thanks <3
     
  2. Richy

    Richy New Member

    Joined:
    Jul 2, 2007
    Messages:
    1,064
    Likes Received:
    58
    If you're a quick learner, it should be super duper easy to do the first four steps
    idk how you would handle a captcha, however
     
  3. Lightning

    Lightning Administrator
    Staff Member

    Joined:
    Nov 8, 2008
    Messages:
    3,021
    Likes Received:
    195
    Gender:
    Male
    Location:
    Florida, USA
    I have a snippet just for the capatcha. You find the first darkest pixel which is the outside of the pet and the move the coordinates in a little bit.




    ABers don't click on the images or detect images. They imitate what Firefox does (which is the user clicks on the image which is a link) and if they find an item that needs to be bought (they detect an item name on the list and in the shop), it will retrieve the link in the HTML/source code stuff that the ABer's "browser" returns.

    Ugh, I tried to make that sound...normal but the more I try, the worse it gets :(
     
  4. Richy

    Richy New Member

    Joined:
    Jul 2, 2007
    Messages:
    1,064
    Likes Received:
    58
    Summary: they consult a list, identify an item, go to the buy page *yarr*
    Lightning, I don't think that code would work for different sites? Maybe it was just the fact that I've been playing another site, or maybe it's the fact that there are already working autobuyers (that are more sophisticated), but I got the impression that Wings wants an ABer for another site that can enter a captcha that consists of two words. You know, where it's got two words that often time aren't even words, and the user has to enter something close to them?
     
  5. Wings

    Wings Member

    Joined:
    Jun 21, 2009
    Messages:
    573
    Likes Received:
    6
    Location:
    Montreal, Québec
    Thanks for fast replies guys!

    Yeah, I consider myself as a quick learner! :) So basically the hardest part is the captcha? And you're right Richy: it's a two words captcha. Any tips you guys can give me (I actually know nothing in programmation) or any websites or references I could use?
     
  6. Richy

    Richy New Member

    Joined:
    Jul 2, 2007
    Messages:
    1,064
    Likes Received:
    58
    Again, I don't know about the captcha, so I don't know what language you would need to support it. However, I'd recommend JavaScript, supported by Grease Monkey on Firefox. I peeked at it a couple months ago, and it's pretty quick to pick up, so you might want to check out this site. In addition to that, you could grab yourself a Neo GM ABer (there's one on this site, and a few sketchy free ones on userscripts.org). If you're looking at that while making your own, you'll notice that there is usually a lot of crossover from Neo to the other petsites, and you can utilize this crossover to make your script work.
     
  7. tharoux

    tharoux Well-Known Member

    Joined:
    Dec 30, 2006
    Messages:
    2,733
    Likes Received:
    126
    Location:
    In front of my PC, Montreal
    If you're looking to solve the 2 words captcha using programmation, GOOD LUCK !
    You can ask the program to show the captcha and enter it manually, but that's all.
     
  8. Wings

    Wings Member

    Joined:
    Jun 21, 2009
    Messages:
    573
    Likes Received:
    6
    Location:
    Montreal, Québec
    So there's no way of bypassing this :O
     
  9. tharoux

    tharoux Well-Known Member

    Joined:
    Dec 30, 2006
    Messages:
    2,733
    Likes Received:
    126
    Location:
    In front of my PC, Montreal
    J'oublie que tu viens de montréal à chaque fois XD
    Il n'y a rien a faire pour le captcha, et c'est d'ailleurs pourquoi tant de site l'utilisent.
     
  10. Wings

    Wings Member

    Joined:
    Jun 21, 2009
    Messages:
    573
    Likes Received:
    6
    Location:
    Montreal, Québec
    Haha! Et j'oublie pareillement! XD

    Ayayaye donc y'a aucun moyen de faire un autobuyer alors?
     
  11. tharoux

    tharoux Well-Known Member

    Joined:
    Dec 30, 2006
    Messages:
    2,733
    Likes Received:
    126
    Location:
    In front of my PC, Montreal
    If the site your talking about require a to solve a captcha in order to buy an item, forget it.
    Neopets is doable since we have to find a pet in an image and we can easily overcome this using the finddarkestpixel function.

    One solution could be to pay someone else to solve the captcha.
    There's companies doing this for a living. Usually, around 2$ per 1000 captcha solved.
     
  12. Richy

    Richy New Member

    Joined:
    Jul 2, 2007
    Messages:
    1,064
    Likes Received:
    58
    tharoux, what do you mean companies do this for a living?
    they just see a captcha box pop up and manually type in the words, or they have pro programmers who charge by usage?

    http://www.neopets.com/neoboards/topic. ... 77&next=81
    Jonophyte believes the two word captchas can be cracked
     
  13. tharoux

    tharoux Well-Known Member

    Joined:
    Dec 30, 2006
    Messages:
    2,733
    Likes Received:
    126
    Location:
    In front of my PC, Montreal
    It will be cracked someday, but see it this way:
    I've seen captcha for the last decade, but anyone as yet to bypass it.

    As for business solving captcha, you simply add a code in your program that send and wait for the answer... only downside, reply time. It will probably never be less than 15 sec.
     
  14. Wings

    Wings Member

    Joined:
    Jun 21, 2009
    Messages:
    573
    Likes Received:
    6
    Location:
    Montreal, Québec
    Aw.Then I think I can let go the idea of making an autobuyer XD

    Thanks for replies though :)
     
  15. Brian

    Brian New Member

    Joined:
    Apr 14, 2009
    Messages:
    92
    Likes Received:
    8
    Location:
    Daytona Beach, FL
    whats the captcha they aren't that difficult to break... just have to apply logic. post some examples and I'll give you the logic to breaking them... probably even some code.
     
  16. Lightning

    Lightning Administrator
    Staff Member

    Joined:
    Nov 8, 2008
    Messages:
    3,021
    Likes Received:
    195
    Gender:
    Male
    Location:
    Florida, USA
    If thousands of programmers have yet to crack captchas, you expect that somehow Neofriends.net can magically come up with a way?
     
  17. Kaito

    Kaito New Member

    Joined:
    Jun 29, 2007
    Messages:
    2,692
    Likes Received:
    15
    ycan use decaptcha :D
     
  18. Brian

    Brian New Member

    Joined:
    Apr 14, 2009
    Messages:
    92
    Likes Received:
    8
    Location:
    Daytona Beach, FL
    A two word captcha isn't impossible..
    Is there an example of the captcha, if so I could show you a very quick and easy method for breaking it down.

    The basic ideas of find each individual letter in the word in an image is to break the image down.

    ---xxx--- -x-----x- -x-----x- -x-----x-
    --x---x-- -x-----x- -xx---xx- --x---x--
    --x---x-- -xxxxxxx- -x-x-x-x- ---x-x---
    --x---x-- -x-----x- -x--x--x- ----x----
    ---xxx--- -x-----x- -x-----x- ----x----

    Then you just simply compare your results to a list of all possible letters and or numbers.
     
  19. tharoux

    tharoux Well-Known Member

    Joined:
    Dec 30, 2006
    Messages:
    2,733
    Likes Received:
    126
    Location:
    In front of my PC, Montreal
    Here, work your magic :)
    You're lucky, letters are not even overlapping on this one.
    [​IMG]
     
    Lightning likes this.
  20. Heya

    Heya Active Member

    Joined:
    Oct 14, 2009
    Messages:
    411
    Likes Received:
    34
    lol, I hate captcha's. Neopets captcha basically has been cracked, that's why we have autobuyers :p Maybe not hacked, but we have our ways of getting around it :p
     

Share This Page