MrGeezer 3 Posted August 19, 2013 Report Share Posted August 19, 2013 Hi guys, I have integrated Deathbycaptcha into my compiled software and it usually runs fine without an issue.It essentially runs a search query on google and scrapes the first result. I have disabled the browser capability of the bot and it usually solves any captchas in the background without a hitch. But sometimes it does not work at all and will show the captcha window instead of silently running it in the backgorund. I am running the bot on two computers, and have seen it happen on both machines. I do not believe it is an issue with connectivity with dbc because I have run the bot on both machines at the same time and seen the captcha window pop up on only one of the machines multiple times. Here is my Captcha Code define solveGoogleCaptcha { loop while($search page("Our systems have detected unusual traffic from your computer network")) { then { type text(<name="captcha">, $solve captcha(<style="max-width:400px;">), "Standard") click(<name="submit">, "Left Click", "No") wait for browser event("Everything Loaded", "") wait(1) } } } Quote Link to post Share on other sites
MrGeezer 3 Posted August 19, 2013 Author Report Share Posted August 19, 2013 Also note, when the window pops up, it does not solve the captcha! Quote Link to post Share on other sites
MrGeezer 3 Posted August 19, 2013 Author Report Share Posted August 19, 2013 Sorry forgot to attach the captcha popup! Quote Link to post Share on other sites
the_way 52 Posted August 19, 2013 Report Share Posted August 19, 2013 is the element changing on the times that you get the error? i would find that out first. plus probably put in a longer wait time, 2-3 seconds. give that a try, see if any help 1 Quote Link to post Share on other sites
MrGeezer 3 Posted August 19, 2013 Author Report Share Posted August 19, 2013 Thanks for the tip quite_interesting! I do not believe the element is changing, however the wait time could be the issue. I am currently testing this out now, will post back on how it goes, thankyou very much for your input! Quote Link to post Share on other sites
UBotDev 276 Posted August 19, 2013 Report Share Posted August 19, 2013 I think the problem is that you are not grabbing the image, when you send it in for solving. From the screenshot I see that captcha popup is displaying the whole page instead of captcha only, so you may want to try to change code inside "$solve captcha". I don't see any other reasons for it to fail, also I never experienced anything similar. Quote Link to post Share on other sites
bestmacros 60 Posted August 19, 2013 Report Share Posted August 19, 2013 works fine on my end with similar bot Quote Link to post Share on other sites
MrGeezer 3 Posted September 5, 2013 Author Report Share Posted September 5, 2013 Hi guys, Thanks for your help, I adjusted my code as suggested so it only picks up the image, however I am still having the same problem. define solveGoogleCaptcha { loop while($search page("Our systems have detected unusual traffic from your computer network")) { then { type text(<name="captcha">, $solve captcha(<outerhtml=w"<img src=\"/sorry/image?id=*\">">), "Standard") click(<name="submit">, "Left Click", "No") wait for browser event("Everything Loaded", "") wait(3) } } } There are a few things which may or may not be causing this issue? First of all, the initial search including the solveGooglecaptcha function are all done within a open in new browser section. I have also turned off visability, images and css. Very hard to diagnose because it works 100% on one of my computers, however the popup bug appears on two others :/ Quote Link to post Share on other sites
UBotDev 276 Posted September 5, 2013 Report Share Posted September 5, 2013 It's not working because you disabled images, and UBot doesn't have an image to send for solving (it usually sends blank image). You can test that by disabling captcha services, which will force you to manually solve captchas... However, I think if you allow images that this should fix your problem. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.