Captcha "catcher"?

Discussion in 'Neopets Program Discussion' started by dreamlorde, Apr 15, 2009.

  1. dreamlorde

    dreamlorde Level III

    Joined:
    Feb 17, 2007
    Messages:
    470
    Likes Received:
    32
    Location:
    Tijuana
    Simply put...

    #1 Is it possible to create a greasemonkey script or small program(not ABer integrated) with the sole purpose of either solving the captcha or somehow making it easier for someone to do it?

    #2 How much?
     
  2. Will

    Will Level IV

    Joined:
    Mar 1, 2009
    Messages:
    1,067
    Likes Received:
    53
  3. dreamlorde

    dreamlorde Level III

    Joined:
    Feb 17, 2007
    Messages:
    470
    Likes Received:
    32
    Location:
    Tijuana
  4. Will

    Will Level IV

    Joined:
    Mar 1, 2009
    Messages:
    1,067
    Likes Received:
    53
    Well, from my minimal GM knowledge, it autohaggles and clicks the OCR.
    I'm too lazy to actually read through it and check.




    How to use it?
    Well that's up to you.

    If it starts automatically, which I think it does (again, I don't know much about GM/Java coding), then you can just use it to autohaggle for you to get a faster buy.

    If you coupled that with AdBlocking the images of unprofitable items in a shop, you'd have a decent way to do some semi-legit restocking.

    Other than that, you could add that script onto an ABer script you make yourself or get someone to make and you'd have a fully functioning ABer.
     
  5. dreamlorde

    dreamlorde Level III

    Joined:
    Feb 17, 2007
    Messages:
    470
    Likes Received:
    32
    Location:
    Tijuana
    Aye, I think I see... and thanks for all the help, truly, but the part I'm lost on is how to turn that section of code into an actual script I can use. I copied & pasted it into notepad, saved it as a .js file, then tried to put it in as a new user script -- but that didn't work so I figure I'm not doing what I should be doing.
     
  6. Will

    Will Level IV

    Joined:
    Mar 1, 2009
    Messages:
    1,067
    Likes Received:
    53


    Save it as, for example ocr.user.js

    'ocr' is the name of the file.
    .user implies that it is a GM userscript
    .js implies that it is a javascript file

    Then open it in firefox, and GM should ask whether you want to install it.
     
  7. dreamlorde

    dreamlorde Level III

    Joined:
    Feb 17, 2007
    Messages:
    470
    Likes Received:
    32
    Location:
    Tijuana
    As an update, I tried saving it as you recommended and then I opened the file with Firefox which did nothing except show me a screen full of text. Then I opened Firefox and dragged the script into the open window and dropped it, which showed me the same useless wall of text.
    Then I tried the New User Script add again, which I think I understand a little better now, but that failed again also. I believe I went through all the proper steps to add a script through Firefox and it looks like it's in there, but it doesn't autohaggle or anything else.
     
  8. Will

    Will Level IV

    Joined:
    Mar 1, 2009
    Messages:
    1,067
    Likes Received:
    53
    I put it into the format you need to open it as.

    Open it with firefox, and from there GM should ask if you want to install it.

    Click install.


    Whether/how it works, I don't know. My GM knowledge is limited to CGers and basic daily do-ers :)

    Enjoy :)
     

    Attached Files:

  9. dreamlorde

    dreamlorde Level III

    Joined:
    Feb 17, 2007
    Messages:
    470
    Likes Received:
    32
    Location:
    Tijuana
    You know, I tried it again and was getting the same result (a wall of text) and I was 5 seconds away from breaking something when I checked the greasemonkey drop-down menu and saw "Install user script" as an option, lol. It didn't just pop up and make life easy for me, it had to drive me crazy looking for it.

    Thanks for all the help; you're a good man. :)
     
  10. Will

    Will Level IV

    Joined:
    Mar 1, 2009
    Messages:
    1,067
    Likes Received:
    53
    Sounds like you got it installed :)

    Hope it works for you ^_^
     
  11. dreamlorde

    dreamlorde Level III

    Joined:
    Feb 17, 2007
    Messages:
    470
    Likes Received:
    32
    Location:
    Tijuana
    The bad news is I'm reporting that it doesn't do a damned thing :/

    Worst use of an hour and a half since I watched Star Wars:The Phantom Menace

    So, since this was a bust, back to the original post - can anyone do this and how much?
     
  12. Zer0

    Zer0 Level IV

    Joined:
    Mar 2, 2008
    Messages:
    3,037
    Likes Received:
    180
    Location:
    Home sweet home
    Did you turn on Greasemonkey?
    Did you activate the script?
     
  13. dreamlorde

    dreamlorde Level III

    Joined:
    Feb 17, 2007
    Messages:
    470
    Likes Received:
    32
    Location:
    Tijuana
    Aye, Greasemonkey was on, the script was installed and enabled, and no other add-on that might conflict with it was enabled at the time.

    If anyone has any additional input, feel free to share. :)
     
  14. jazzeh

    jazzeh Level I

    Joined:
    Jan 1, 2008
    Messages:
    144
    Likes Received:
    15
    I looks like the OCR should work as advertised. I've been meaning to write it but I'm using an older version of firefox that doesn't support the <canvas> tag.

    Are you using firefox 3?
     
  15. dreamlorde

    dreamlorde Level III

    Joined:
    Feb 17, 2007
    Messages:
    470
    Likes Received:
    32
    Location:
    Tijuana
    Yes, I am.
     
  16. Jubixion

    Jubixion Level II

    Joined:
    Jun 11, 2009
    Messages:
    205
    Likes Received:
    14
    The script only autohaggles and clicks the OCR. It does NOT select the items if you're at the shop page. It only starts to run when you have clicked on an item, and then it directs you to the haggling page. There's where the script will then run and fill up the haggling box with a number and click the pet for you. On its own it isn't an autobuying script, if thats what you mistook it as. Also, check your "Included Pages" and make sure that "www.neopets.com/haggle.phtml" is included.