chris499 4 Posted August 12, 2012 Report Share Posted August 12, 2012 I am so stuck arghhhhhhhhhh.I have made a bot an aim.com email creator, everything works fine except "saving email address and passwords" Or it is saving the wrong emails and passwords.I have tried to enter the passwords manually as text and as $account data but either way it saves the wrong details.I appears at first that the email account is created but when I try to use the data to login, it is not recognised. 1. create multiple email accounts2. Save the info to a .txt file I can create the email accounts but it does not save the correct information?The code is pasted below. if you can please help I would be grateful. ui text box("Number of Accounts", #accounts)ui drop down("Threads to use", "1,2,3,4,5,6,7,8,9,10", #threads)ui save file("Save Accounts", #saveaccounts)clear list(%savedaccounts)ui check box("Use Proxies", #use proxies)ui open file("Proxies", #proxies)ui stat monitor("Number of Accounts Created", $list total(%savedaccounts))clear list(%proxies)add list to list(%proxies, $list from file(#proxies), "Delete", "Global")dividerloop(#threads) { thread { in new browser { loop while($comparison(#accounts, ">=", $list total(%savedaccounts))) { clear cookies reset account("Any") set(#password, $account data("Password"), "Global") if($comparison(#use proxies, "=", "true")) { then { change proxy($random list item(%proxies)) } } navigate("https://new.aol.com/productsweb", "Wait") type text(<first name field>, $account data("First Name"), "Standard") type text(<last name field>, $account data("Last Name"), "Standard") type text(<name="\{actionForm.desiredSN\}">, $account data("Username"), "Standard") wait(2) click(<id="snSuggest01">, "Left Click", "No") type text($element offset(<password field>, 0), $account data("Password"), "Standard") type text(<id="verifyPasswordHint">, $account data("Password"), "Standard") click($element offset(<class="ltbtnedge">, 0), "Left Click", "No") wait(3) click($element offset(<id="arrowImg">, 0), "Left Click", "No") click(<rel=02>, "Left Click", "No") type text(<name="\{actionForm.dobDay\}">, $account data("Birth Day"), "Standard") type text(<name="\{actionForm.dobYear\}">, $account data("Birth Year"), "Standard") click(<id="maleChoice">, "Left Click", "No") type text($element offset(<zip code field>, 0), $account data("Zip Code"), "Standard") click($element offset(<id="arrowImg">, 1), "Left Click", "No") click(<id="tab12">, "Left Click", "No") type text($element offset(<zip code field>, 1), $spin("\{roger|alan|wes|was|agter|xaret|mfrufa|ofofooaf|hffffwy\}"), "Standard") click(<id="step-two">, "Left Click", "No") wait(3) type text(<name="\{actionForm.wordVerify\}">, $solve captcha(<id="regImageCaptcha">), "Standard") click(<create account link>, "Left Click", "No") wait(3) click(<class="congrats-button submit">, "Left Click", "No") wait(3) click(<name="next">, "Left Click", "No") wait(3) then { add item to list(%savedaccounts, "{$account data("Username")}@aim.com{#password}", "Delete", "Global") save to file(#saveaccounts, %savedaccounts) } then { } } Quote Link to post Share on other sites
MiriamMB 63 Posted August 13, 2012 Report Share Posted August 13, 2012 You could just create the accounts first, save them to a file, and then use them later in the rest of your processes, just to make the process less tangled. If not, how is it not saving the right information? Is it saving totally different information, the same information over and over, only one account is saved to the file? What makes the information it's saving wrong? Quote Link to post Share on other sites
mydearcosmo 1 Posted August 13, 2012 Report Share Posted August 13, 2012 It could be possible that it is saving a different password. Quote Link to post Share on other sites
chris499 4 Posted August 13, 2012 Author Report Share Posted August 13, 2012 It could be possible that it is saving a different password.Yes it is saving a completely different password. Quote Link to post Share on other sites
rotem 4 Posted August 13, 2012 Report Share Posted August 13, 2012 Hmm as i know, the Account Data will always provide random info, so save it to variable first and then work with this variable. Quote Link to post Share on other sites
Pete 122 Posted August 13, 2012 Report Share Posted August 13, 2012 Run it at one thread only it should saves the correct dataThen you need to add a define to run more then one thread Edit also you can't spin the usernames like that and save the correct one and the last edit ui text box("Number of Accounts", #accounts)ui drop down("Threads to use", "1,2,3,4,5,6,7,8,9,10", #threads)ui save file("Save Accounts", #saveaccounts)clear list(%savedaccounts)ui check box("Use Proxies", #use proxies)ui open file("Proxies", #proxies)ui stat monitor("Number of Accounts Created", $list total(%savedaccounts))clear list(%proxies)add list to list(%proxies, $list from file(#proxies), "Delete", "Global")dividerset(#usernames, "\{roger|alan|wes|was|agter|xaret|mfrufa|ofofooaf|hffffwy\}", "Global")loop(#threads) { in new browser { loop while(#accounts = #saveaccounts) { } }}define here()define define here { clear cookies reset account("Any") set(#password, $account data("Password"), "Global") if($comparison(#use proxies, "=", "true")) { then { change proxy($random list item(%proxies)) } } navigate("https://new.aol.com/productsweb", "Wait") type text(<first name field>, $account data("First Name"), "Standard") type text(<last name field>, $account data("Last Name"), "Standard") type text(<name="\{actionForm.desiredSN\}">, $account data("Username"), "Standard") wait(2) click(<id="snSuggest01">, "Left Click", "No") type text($element offset(<password field>, 0), $account data("Password"), "Standard") type text(<id="verifyPasswordHint">, $account data("Password"), "Standard") click($element offset(<class="ltbtnedge">, 0), "Left Click", "No") wait(3) click($element offset(<id="arrowImg">, 0), "Left Click", "No") click(<rel=02>, "Left Click", "No") type text(<name="\{actionForm.dobDay\}">, $account data("Birth Day"), "Standard") type text(<name="\{actionForm.dobYear\}">, $account data("Birth Year"), "Standard") click(<id="maleChoice">, "Left Click", "No") type text($element offset(<zip code field>, 0), $account data("Zip Code"), "Standard") click($element offset(<id="arrowImg">, 1), "Left Click", "No") click(<id="tab12">, "Left Click", "No") set(#usernameB, $spin(#usernames), "Local") type text($element offset(<zip code field>, 1), #usernameB, "Standard") click(<id="step-two">, "Left Click", "No") wait(3) type text(<name="\{actionForm.wordVerify\}">, $solve captcha(<id="regImageCaptcha">), "Standard") click(<create account link>, "Left Click", "No") wait(3) click(<class="congrats-button submit">, "Left Click", "No") wait(3) click(<name="next">, "Left Click", "No") wait(3) add item to list(%savedaccounts, "{#usernameB}@aim.com : {#password}", "Delete", "Global") save to file(#saveaccounts, %savedaccounts)} Quote Link to post Share on other sites
chris499 4 Posted August 13, 2012 Author Report Share Posted August 13, 2012 Thanks zap for taking the time to reply I will attempt the next stage now. Quote Link to post Share on other sites
a2mateit 395 Posted August 13, 2012 Report Share Posted August 13, 2012 Hmm as i know, the Account Data will always provide random info, so save it to variable first and then work with this variable.Rotem is correct. What you need to do is save the username to a variable first, then use that variable when creating accounts and saving the accounts. Ex:Use this at the top of your script:set(#email, "{$account data("Email")}@email.com", "Global")set(#password, $account data("Password"), "Global") And use the variables #email and #password when creating accounts. Then at the end, add them to your list before saving like this:add item to list(%account data, "{#email},{#password}", "Delete", "Global") HTH,Justin Quote Link to post Share on other sites
chris499 4 Posted August 14, 2012 Author Report Share Posted August 14, 2012 Run it at one thread only it should saves the correct dataThen you need to add a define to run more then one thread Edit also you can't spin the usernames like that and save the correct one and the last edit ui text box("Number of Accounts", #accounts)ui drop down("Threads to use", "1,2,3,4,5,6,7,8,9,10", #threads)ui save file("Save Accounts", #saveaccounts)clear list(%savedaccounts)ui check box("Use Proxies", #use proxies)ui open file("Proxies", #proxies)ui stat monitor("Number of Accounts Created", $list total(%savedaccounts))clear list(%proxies)add list to list(%proxies, $list from file(#proxies), "Delete", "Global")dividerset(#usernames, "\{roger|alan|wes|was|agter|xaret|mfrufa|ofofooaf|hffffwy\}", "Global")loop(#threads) { in new browser { loop while(#accounts = #saveaccounts) { } }}define here()define define here { clear cookies reset account("Any") set(#password, $account data("Password"), "Global") if($comparison(#use proxies, "=", "true")) { then { change proxy($random list item(%proxies)) } } navigate("https://new.aol.com/productsweb", "Wait") type text(<first name field>, $account data("First Name"), "Standard") type text(<last name field>, $account data("Last Name"), "Standard") type text(<name="\{actionForm.desiredSN\}">, $account data("Username"), "Standard") wait(2) click(<id="snSuggest01">, "Left Click", "No") type text($element offset(<password field>, 0), $account data("Password"), "Standard") type text(<id="verifyPasswordHint">, $account data("Password"), "Standard") click($element offset(<class="ltbtnedge">, 0), "Left Click", "No") wait(3) click($element offset(<id="arrowImg">, 0), "Left Click", "No") click(<rel=02>, "Left Click", "No") type text(<name="\{actionForm.dobDay\}">, $account data("Birth Day"), "Standard") type text(<name="\{actionForm.dobYear\}">, $account data("Birth Year"), "Standard") click(<id="maleChoice">, "Left Click", "No") type text($element offset(<zip code field>, 0), $account data("Zip Code"), "Standard") click($element offset(<id="arrowImg">, 1), "Left Click", "No") click(<id="tab12">, "Left Click", "No") set(#usernameB, $spin(#usernames), "Local") type text($element offset(<zip code field>, 1), #usernameB, "Standard") click(<id="step-two">, "Left Click", "No") wait(3) type text(<name="\{actionForm.wordVerify\}">, $solve captcha(<id="regImageCaptcha">), "Standard") click(<create account link>, "Left Click", "No") wait(3) click(<class="congrats-button submit">, "Left Click", "No") wait(3) click(<name="next">, "Left Click", "No") wait(3) add item to list(%savedaccounts, "{#usernameB}@aim.com : {#password}", "Delete", "Global") save to file(#saveaccounts, %savedaccounts)} I have now had chance to try this it would not run and there was an error in the code at define so I changed that.Unfortunately the script you wrote does not run at all.I do thankyou for trying though. Quote Link to post Share on other sites
Pete 122 Posted August 14, 2012 Report Share Posted August 14, 2012 Seems to be a problem with ubot, as when i copied your code i had the same error message edit no try this seems you can't name a define defineui text box("Number of Accounts", #accounts)ui drop down("Threads to use", "1,2,3,4,5,6,7,8,9,10", #threads)ui save file("Save Accounts", #saveaccounts)clear list(%savedaccounts)ui check box("Use Proxies", #use proxies)ui open file("Proxies", #proxies)ui stat monitor("Number of Accounts Created", $list total(%savedaccounts))clear list(%proxies)add list to list(%proxies, $list from file(#proxies), "Delete", "Global")dividerset(#usernames, "\{roger|alan|wes|was|agter|xaret|mfrufa|ofofooaf|hffffwy\}", "Global")loop(#threads) { thread { in new browser { loop while(#accounts = #saveaccounts) { test() } } }}define test { clear cookies reset account("Any") set(#password, $account data("Password"), "Global") if($comparison(#use proxies, "=", "true")) { then { change proxy($random list item(%proxies)) } } navigate("https://new.aol.com/productsweb", "Wait") type text(<first name field>, $account data("First Name"), "Standard") type text(<last name field>, $account data("Last Name"), "Standard") type text(<name="\{actionForm.desiredSN\}">, $account data("Username"), "Standard") wait(2) click(<id="snSuggest01">, "Left Click", "No") type text($element offset(<password field>, 0), $account data("Password"), "Standard") type text(<id="verifyPasswordHint">, $account data("Password"), "Standard") click($element offset(<class="ltbtnedge">, 0), "Left Click", "No") wait(3) click($element offset(<id="arrowImg">, 0), "Left Click", "No") click(<rel=02>, "Left Click", "No") type text(<name="\{actionForm.dobDay\}">, $account data("Birth Day"), "Standard") type text(<name="\{actionForm.dobYear\}">, $account data("Birth Year"), "Standard") click(<id="maleChoice">, "Left Click", "No") type text($element offset(<zip code field>, 0), $account data("Zip Code"), "Standard") click($element offset(<id="arrowImg">, 1), "Left Click", "No") click(<id="tab12">, "Left Click", "No") set(#usernameB, $spin(#usernames), "Local") type text($element offset(<zip code field>, 1), #usernameB, "Standard") click(<id="step-two">, "Left Click", "No") wait(3) type text(<name="\{actionForm.wordVerify\}">, $solve captcha(<id="regImageCaptcha">), "Standard") click(<create account link>, "Left Click", "No") wait(3) click(<class="congrats-button submit">, "Left Click", "No") wait(3) click(<name="next">, "Left Click", "No") wait(3) add item to list(%savedaccounts, "{#usernameB}@aim.com : {#password}", "Delete", "Global") save to file(#saveaccounts, %savedaccounts)} Quote Link to post Share on other sites
chris499 4 Posted August 14, 2012 Author Report Share Posted August 14, 2012 Seems to be a problem with ubot, as when i copied your code i had the same error message edit no try this seems you can't name a define defineui text box("Number of Accounts", #accounts)ui drop down("Threads to use", "1,2,3,4,5,6,7,8,9,10", #threads)ui save file("Save Accounts", #saveaccounts)clear list(%savedaccounts)ui check box("Use Proxies", #use proxies)ui open file("Proxies", #proxies)ui stat monitor("Number of Accounts Created", $list total(%savedaccounts))clear list(%proxies)add list to list(%proxies, $list from file(#proxies), "Delete", "Global")dividerset(#usernames, "\{roger|alan|wes|was|agter|xaret|mfrufa|ofofooaf|hffffwy\}", "Global")loop(#threads) { thread { in new browser { loop while(#accounts = #saveaccounts) { test() } } }}define test { clear cookies reset account("Any") set(#password, $account data("Password"), "Global") if($comparison(#use proxies, "=", "true")) { then { change proxy($random list item(%proxies)) } } navigate("https://new.aol.com/productsweb", "Wait") type text(<first name field>, $account data("First Name"), "Standard") type text(<last name field>, $account data("Last Name"), "Standard") type text(<name="\{actionForm.desiredSN\}">, $account data("Username"), "Standard") wait(2) click(<id="snSuggest01">, "Left Click", "No") type text($element offset(<password field>, 0), $account data("Password"), "Standard") type text(<id="verifyPasswordHint">, $account data("Password"), "Standard") click($element offset(<class="ltbtnedge">, 0), "Left Click", "No") wait(3) click($element offset(<id="arrowImg">, 0), "Left Click", "No") click(<rel=02>, "Left Click", "No") type text(<name="\{actionForm.dobDay\}">, $account data("Birth Day"), "Standard") type text(<name="\{actionForm.dobYear\}">, $account data("Birth Year"), "Standard") click(<id="maleChoice">, "Left Click", "No") type text($element offset(<zip code field>, 0), $account data("Zip Code"), "Standard") click($element offset(<id="arrowImg">, 1), "Left Click", "No") click(<id="tab12">, "Left Click", "No") set(#usernameB, $spin(#usernames), "Local") type text($element offset(<zip code field>, 1), #usernameB, "Standard") click(<id="step-two">, "Left Click", "No") wait(3) type text(<name="\{actionForm.wordVerify\}">, $solve captcha(<id="regImageCaptcha">), "Standard") click(<create account link>, "Left Click", "No") wait(3) click(<class="congrats-button submit">, "Left Click", "No") wait(3) click(<name="next">, "Left Click", "No") wait(3) add item to list(%savedaccounts, "{#usernameB}@aim.com : {#password}", "Delete", "Global") save to file(#saveaccounts, %savedaccounts)}Thanks again but I still can't seem to get this to work.It will not run. Quote Link to post Share on other sites
Pete 122 Posted August 14, 2012 Report Share Posted August 14, 2012 I tested this one apart from the proxy supportI suggest you replace some of them 3 second waits with some wait for page element ui text box("Number of Accounts", #number accounts)ui drop down("Threads to use", "1,2,3,4,5,6,7,8,9,10", #threads)ui save file("Save Accounts", #saveaccounts)ui check box("Use Proxies", #use proxies)ui open file("Proxies", #proxies)ui stat monitor("Number of Accounts Created", $list total(%savedaccounts))clear list(%savedaccounts)clear list(%proxies)add list to list(%proxies, $list from file(#proxies), "Delete", "Global")dividerset(#usernames, "\{roger|alan|wes|was|agter|xaret|mfrufa|ofofooaf|hffffwy\}", "Global")loop(#threads) { thread { in new browser { test() } } wait(2)}define test { clear cookies reset account("Any") set(#password, $account data("Password"), "Local") if($comparison(#use proxies, "=", "true")) { then { change proxy($list item(%proxies, 0)) } } if($list position(%proxies) = $list total(%proxies)) { then { set list position(%proxies, 0) } else { } } navigate("https://new.aol.com/productsweb", "Wait") type text(<first name field>, $account data("First Name"), "Standard") type text(<last name field>, $account data("Last Name"), "Standard") type text(<name="\{actionForm.desiredSN\}">, $account data("Username"), "Standard") wait(2) click(<id="snSuggest01">, "Left Click", "No") type text($element offset(<password field>, 0), $account data("Password"), "Standard") type text(<id="verifyPasswordHint">, $account data("Password"), "Standard") click($element offset(<class="ltbtnedge">, 0), "Left Click", "No") wait(3) click($element offset(<id="arrowImg">, 0), "Left Click", "No") click(<rel=02>, "Left Click", "No") type text(<name="\{actionForm.dobDay\}">, $account data("Birth Day"), "Standard") type text(<name="\{actionForm.dobYear\}">, $account data("Birth Year"), "Standard") click(<id="maleChoice">, "Left Click", "No") type text($element offset(<zip code field>, 0), $account data("Zip Code"), "Standard") click($element offset(<id="arrowImg">, 1), "Left Click", "No") click(<id="tab12">, "Left Click", "No") set(#usernameB, $spin(#usernames), "Local") type text($element offset(<zip code field>, 1), "{#usernameB}{$rand(99, 900)}", "Standard") click(<id="step-two">, "Left Click", "No") wait(3) type text(<name="\{actionForm.wordVerify\}">, $solve captcha(<id="regImageCaptcha">), "Standard") click(<create account link>, "Left Click", "No") wait(3) click(<class="congrats-button submit">, "Left Click", "No") wait(3) click(<name="next">, "Left Click", "No") wait(3) add item to list(%savedaccounts, "{#usernameB}@aim.com : {#password}", "Delete", "Global") save to file(#saveaccounts, %savedaccounts)} 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.