giganut 109 Posted March 19, 2013 Report Share Posted March 19, 2013 I have one problem That I can't figure out, I can't find A video for the problem or a clear answer on the forum. I am creating a hotmail account creator just to figure out how to use ubot. I made the bot and it works, but every time it saves the email and password to the file, it over rides the previous created email and password. Instead of having a list of accounts in the file I just end up with one email account saved. I have attached my saved bot.Hotmail Account Creator-14.ubot Quote Link to post Share on other sites
erussx2 6 Posted March 19, 2013 Report Share Posted March 19, 2013 THis is how I did it. You will have to adapt it to your situation. But this will save each account in its own csv file in a folder. add item to list(%Hot Mail Accounts, "{$account data("First Name")}, {$account data("Last Name")}, {$account data("Username")}@hotmail.com, {$account data("Username")}, {$account data("Password")}", "Delete", "Global")save to file("C:\\YOUR COMPUTER LOCATION\\{$account data("First Name")}, {$account data("Last Name")}.txt", %Hot Mail Accounts) 1 Quote Link to post Share on other sites
giganut 109 Posted March 19, 2013 Author Report Share Posted March 19, 2013 THis is how I did it. You will have to adapt it to your situation. But this will save each account in its own csv file in a folder. add item to list(%Hot Mail Accounts, "{$account data("First Name")}, {$account data("Last Name")}, {$account data("Username")}@hotmail.com, {$account data("Username")}, {$account data("Password")}", "Delete", "Global")save to file("C:\\YOUR COMPUTER LOCATION\\{$account data("First Name")}, {$account data("Last Name")}.txt", %Hot Mail Accounts) Thank you for your reply, I am giveing this a try now, Is there a command that will loop the saved information to the next line, or dose it do that automaticly with out telling it to. I am trying to save all the accounts into the same file. Quote Link to post Share on other sites
stanf 43 Posted March 19, 2013 Report Share Posted March 19, 2013 I think this is a easier way. Your end product don't save to file.save hotmaile,user name,password,whatever (note the comas)set this as a variable, write the variable as save item to list.at the end of the run save the list to file 1 Quote Link to post Share on other sites
giganut 109 Posted March 19, 2013 Author Report Share Posted March 19, 2013 I think this is a easier way. Your end product don't save to file.save hotmaile,user name,password,whatever (note the comas)set this as a variable, write the variable as save item to list.at the end of the run save the list to file Thank you for your reply, this solution also saves the emailbut it over riding the previous created account in the csv file.I need to save the accounts like this in the same csv file. Account1Account2Account3Account4Account5Account6Account7 Quote Link to post Share on other sites
giganut 109 Posted March 19, 2013 Author Report Share Posted March 19, 2013 Support helped me with the problem. Here is what I was doing wrong The problem was that I was clearing the list each time an email was created. My original code: ui open file("Proxy List", #proxies) loop(100) { clear cookies clear cookies clear cookies clear cookies reset account("Any") clear list(%accounts) reset account("Any") if($file exists(#proxies)) { then { clear list(%proxies) add list to list(%proxies, $list from file(#proxies), "Delete", "Global") clear cookies change proxy($random list item(%proxies)) set proxy credentials(#privateproxyusername, #privateproxypassword) } else { } } wait(1) navigate("https://signup.live.com/signup.aspx?", "Wait") type text(<first name field>, $account data("First Name"), "Standard") wait(1) type text(<last name field>, $account data("Last Name"), "Standard") wait(1) change dropdown(<birth month dropdown>, "Random - Skip First Choice") wait(1) change dropdown(<birth month dropdown>, "Random - Skip First Choice") wait(1) change dropdown(<birth day dropdown>, "Random - Skip First Choice") wait(1) change dropdown(<birth month dropdown>, "Random - Skip First Choice") wait(1) change dropdown(<birth month dropdown>, "Random - Skip First Choice") wait(1) change dropdown(<birth day dropdown>, "Random - Skip First Choice") wait(1) change dropdown(<birth day dropdown>, "Random - Skip First Choice") wait(1) change dropdown(<birth year dropdown>, "Random - Skip First Choice") wait(1) change dropdown(<birth year dropdown>, "Random - Skip First Choice") type text(<first name field>, $account data("First Name"), "Standard") wait(1) change dropdown(<sex dropdown>, $account data("Gender")) wait(1) change dropdown(<sex dropdown>, $account data("Gender")) wait(1) click(<id="iliveswitch">, "Left Click", "No") wait(1) type text(<name="imembernamelive">, "{$account data("Username")}{$account data("Zip Code")}", "Standard") wait(1) set(#password, $random text(9), "Global") type text(<name="iPwd">, #password, "Standard") wait(1) type text(<name="iRetypePwd">, #password, "Standard") wait(1) type text($element offset(<email field>, 1), "{$account data("Username")}@rediffmail.com", "Standard") wait(1) click(<id="iqsaswitch">, "Left Click", "No") wait(1) change dropdown(<name="iSQ">, "Random - Skip First Choice") wait(1) type text(<name="iSA">, $rand(11111, 1111111111111), "Standard") wait(1) type text(<zip code field>, $account data("Zip Code"), "Standard") wait(1) change checkbox(<id="iOptinEmail">, "Unchecked") wait(1) change dropdown(<name="iSQ">, "Random - Skip First Choice") type text(<name="iPhone">, $rand(3333333333, 9999999999), "Standard") type text(<id=w"wlspispSolutionElement*">, $solve captcha(<id=w"wlspispHIPBimg*">), "Standard") click(<title="I accept">, "Left Click", "No") loop(100) { add item to list(%accounts, "{$account data("Username")}{$account data("Zip Code")}@hotmail.com,{#password}", "Delete", "Global") save to file("{$special folder("Desktop")}\\Hotmail Accounts.csv", %accounts) } wait(30) } 1 Quote Link to post Share on other sites
LazyBotter 188 Posted March 20, 2013 Report Share Posted March 20, 2013 You just need to load your data FIRST, then add to list and resave the data. Quote Link to post Share on other sites
giganut 109 Posted March 20, 2013 Author Report Share Posted March 20, 2013 Great point, will implement you suggestions. 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.