scheda 0 Posted September 12, 2011 Report Share Posted September 12, 2011 For some reason my bot has an error in it's code after I loaded it back into UBot. Here's the code... define Create Yahoo { reset account("Any") clear cookies navigate("http://www.yahoo.com/", "Wait") click(<innertext="Sign Up">, "Left Click", "No") wait for browser event("DOM Ready", "") type text(<first name field>, $account data("First Name"), "Standard") type text(<name="secondname">, $account data("Last Name"), "Standard") change dropdown(<sex dropdown>, "Random") change dropdown(<name="mm">, "Random") type text(<name="dd">, $account data("Birth Day"), "Standard") type text(<name="yyyy">, $account data("Birth Year"), "Standard") type text(<name="postalcode">, $account data("Zip Code"), "Standard") type text(<name="yahooid">, $account data("Username"), "Standard") click(<id="yidHelperBtn">, "Left Click", "No") wait(3) if($search page("This ID is not available")) { then { click(<image=___IMAGE___1___IMAGE___>, "Left Click", "No") } else { } } type text($element offset(<password field>, 0), $account data("Password"), "Standard") type text($element offset(<password field>, 1), $account data("Password"), "Standard") change dropdown(<name="secquestion">, "Random") type text(<name="secquestionanswer">, "{$account data("City")} {$account data("State")}", "Standard") change dropdown(<name="secquestion2">, "Random") type text(<name="captchaAnswer">, , "Standard") type text(<name="secquestionanswer2">, "{$account data("State Abbreviation")}{$account data("County")}", "Standard") type text(<name="captchaAnswer">, $solve captcha($element offset(<id="captchaV5ClassicCaptchaImg">, 0)), "Standard") click(<name="IAgreeBtn">, "Left Click", "No") wait for browser event("DOM Ready", "") } Create Yahoo() I don't see anything wrong, but then again I'm just looking at syntax not actual commands or anything. By the way, this was done 100% in node view, but won't bring it back there when I try to switch over. Quote Link to post Share on other sites
Eddie Waller 158 Posted September 12, 2011 Report Share Posted September 12, 2011 For some reason my bot has an error in it's code after I loaded it back into UBot. Here's the code... define Create Yahoo { reset account("Any") clear cookies navigate("http://www.yahoo.com/", "Wait") click(<innertext="Sign Up">, "Left Click", "No") wait for browser event("DOM Ready", "") type text(<first name field>, $account data("First Name"), "Standard") type text(<name="secondname">, $account data("Last Name"), "Standard") change dropdown(<sex dropdown>, "Random") change dropdown(<name="mm">, "Random") type text(<name="dd">, $account data("Birth Day"), "Standard") type text(<name="yyyy">, $account data("Birth Year"), "Standard") type text(<name="postalcode">, $account data("Zip Code"), "Standard") type text(<name="yahooid">, $account data("Username"), "Standard") click(<id="yidHelperBtn">, "Left Click", "No") wait(3) if($search page("This ID is not available")) { then { click(<image=___IMAGE___1___IMAGE___>, "Left Click", "No") } else { } } type text($element offset(<password field>, 0), $account data("Password"), "Standard") type text($element offset(<password field>, 1), $account data("Password"), "Standard") change dropdown(<name="secquestion">, "Random") type text(<name="secquestionanswer">, "{$account data("City")} {$account data("State")}", "Standard") change dropdown(<name="secquestion2">, "Random") type text(<name="captchaAnswer">, , "Standard") type text(<name="secquestionanswer2">, "{$account data("State Abbreviation")}{$account data("County")}", "Standard") type text(<name="captchaAnswer">, $solve captcha($element offset(<id="captchaV5ClassicCaptchaImg">, 0)), "Standard") click(<name="IAgreeBtn">, "Left Click", "No") wait for browser event("DOM Ready", "") } Create Yahoo() I don't see anything wrong, but then again I'm just looking at syntax not actual commands or anything. By the way, this was done 100% in node view, but won't bring it back there when I try to switch over. It's possible you saved it while you were editing which can cause parameters to be missing in the saved file. It looks like there's an issue on line 29 where you have type text(<name="captchaAnswer">, , "Standard") Nothing is filled in for the text for captchaAnswer, adding in "answer" after the first comma will get you back into code view. define Create Yahoo { reset account("Any") clear cookies navigate("http://www.yahoo.com/", "Wait") click(<innertext="Sign Up">, "Left Click", "No") wait for browser event("DOM Ready", "") type text(<first name field>, $account data("First Name"), "Standard") type text(<name="secondname">, $account data("Last Name"), "Standard") change dropdown(<sex dropdown>, "Random") change dropdown(<name="mm">, "Random") type text(<name="dd">, $account data("Birth Day"), "Standard") type text(<name="yyyy">, $account data("Birth Year"), "Standard") type text(<name="postalcode">, $account data("Zip Code"), "Standard") type text(<name="yahooid">, $account data("Username"), "Standard") click(<id="yidHelperBtn">, "Left Click", "No") wait(3) if($search page("This ID is not available")) { then { click(<image=___IMAGE___1___IMAGE___>, "Left Click", "No") } else { } } type text($element offset(<password field>, 0), $account data("Password"), "Standard") type text($element offset(<password field>, 1), $account data("Password"), "Standard") change dropdown(<name="secquestion">, "Random") type text(<name="secquestionanswer">, "{$account data("City")} {$account data("State")}", "Standard") change dropdown(<name="secquestion2">, "Random") type text(<name="captchaAnswer">, "answer", "Standard") type text(<name="secquestionanswer2">, "{$account data("State Abbreviation")}{$account data("County")}", "Standard") type text(<name="captchaAnswer">, $solve captcha($element offset(<id="captchaV5ClassicCaptchaImg">, 0)), "Standard") click(<name="IAgreeBtn">, "Left Click", "No") wait for browser event("DOM Ready", "") } Create Yahoo() Quote Link to post Share on other sites
Bobby 14 Posted September 12, 2011 Report Share Posted September 12, 2011 Change type text(<name="captchaAnswer">, , "Standard") with type text(<name="captchaAnswer">, "", "Standard") Update: Oh, Eddie was faster 1 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.