Jump to content
UBot Underground

How to save a spun name from a file to a file during sign up


Recommended Posts

For some hours now I've been trying to fix a certain problem I'm having. For the bot I'm creating I want to be able to use spun usernames from a text/csv file during an account sign up, and have ubot save which username was used during a particular run in a new text/.csv file. Since it seems I'm unable to attach my ubot file I added a screenshot instead of what I'm trying to do. Thanks in advance!

http://img189.imageshack.us/img189/7663/testbmj.jpg

Link to post
Share on other sites

I moved the 'save to file' node into the account creator node as you suggested, but unfortunately it didn't help. The bot is still unable to scrape the field where the bot puts a spun username in. The text file it creates has only a break instead of the used username. Also removing the use of subs entirely didn't help. Also what I tried in the image below didn't work since it saves a different username in the textfile than the one used during sign up.

 

http://img832.imageshack.us/img832/4200/test2b.jpg

Link to post
Share on other sites

Heres What I think you are looking for.

 

load your save file for account output

loop

signup

if signup successful

then save to save file

else record signup as error and log if needed

 

begin loop again.

 

you can spin for each new signup site even.

 

look at sample

 

sample coding will not work 100% snippets from my own code.

patrick1.ubot

Link to post
Share on other sites

Thanks for sharing your coding nuc63. I've been able to achieve what I wanted. Since I'm a ubot newbie I've kept it simple. The big change I made was turning whatever username ubot takes from C:\Users\username.txt into a variable and have ubot save it to an csv file specified in the save file box.

 

I also tried adding an open file box so that I can select any file as the text file with the spun usernames instead of ubot being limited to only being able to take it from C:\Users\username.txt. But adding that proved too difficult.

 

http://img828.imageshack.us/img828/4801/currentsetup.jpg

Link to post
Share on other sites

I suggest instead of saving names directly to a file.. first add it to an %output list then save the list to file on each loop. From what I remember, "Save to file" does not append, it overwrites so each time to try to save your new var you're overwriting the last ones saved..

 

Keep in mind too that if you do it this way your memory requirements go up with the longer you run it/the size of your %output list.

Link to post
Share on other sites

@Super Dave: Adding names to a %output list is indeed the way to go when I want the script to loop. For the bot that I have in mind no looping will be required though.

 

@Nuc63: When I select the browse button and select my ubot file and then select 'attach this file' nothing happens. For that reason I uploaded my bot here: http://www.sendspace.com/file/3x5uqs

Link to post
Share on other sites

First I would like to know how did you take the scrrenshot of the whole script, is it the whole script?

 

Praney

 

 

For some hours now I've been trying to fix a certain problem I'm having. For the bot I'm creating I want to be able to use spun usernames from a text/csv file during an account sign up, and have ubot save which username was used during a particular run in a new text/.csv file. Since it seems I'm unable to attach my ubot file I added a screenshot instead of what I'm trying to do. Thanks in advance!

http://img189.imageshack.us/img189/7663/testbmj.jpg

Link to post
Share on other sites

This is pretty straightforward.

 

You are filling the field which is fine.

 

But what you should be doing is setting the value of a variable to that output. Then you have it in a fixed state to save wherever you want.

 

SET USERNAME

---- $spin

------$read file

 

Fill FIELD USERNAME

 

Then do what you want with it.

 

Add to list USERNAME or Table if you want. I tend to do this with all this kind of field based data, and just save the variables to list. If you are inside a loop, remember to set remove duplicates to YES.

 

CYA.

Ninjaman.

Link to post
Share on other sites

@PraneyBehl: I made the screenshot by simply using paint. I changed the script shown in the screenshot. Unlike in the screenshot I've now set a variable for the spinning from a text file. Since seemingly I can't attach my ubot scripts to my posts I uploaded my current script here: http://www.sendspace.com/file/3x5uqs .

 

@theninjamanz: yes you are right that I had to set up a variable. I later realized that as shown in my second post.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...