Results 1 to 10 of 10

Thread: Runescape Account Creator [Python]

  1. #1
    Join Date
    Jan 2007
    Posts
    131
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Runescape Account Creator [Python]

    Creates an account for runescape. Randomly chooses a non-existing account name and a password you choose, or it can find a username you like (If you like the name rofl, it will append numbers to that username until it finds one that is not in use - i.e rofl124155)

    Requires:
    Python 2.5
    Clientform:
    http://wwwsearch.sourceforge.net/ClientForm/#download



    Code:
    # Account creator
    import urllib
    from urllib2 import urlopen
    from ClientForm import ParseResponse
    import random
    url = 'https://create.runescape.com/index.ws'
    api_url = 'https://create.runescape.com/checkusername.ajax?username='
    a = raw_input('Type a username here. Put nothing for a random one ')
    password = raw_input('Type a password for the account. Must be over 5 characters ')
    findstring = 'has now been created with the password you have chosen. We recommend you make a note of it on a bit of paper and keep it somewhere <strong>really</strong> safe, in case you forget it.</p>'
    used_usernames = ['ox',
                      'lol',
                      'ownage',
                      'killer']
    
    def make_username(username):
        # Lets check if its blank
        if username == '':
            # Choose a random used username out of the list
            check_name = random.choice(used_usernames)
            z = username_get(check_name).split(',')
            # Split the string into a list of usernames
            # Choose a random one!
            jew = random.choice(z)
            print 'Username chosen: %s'%jew
            return jew
        else:
            # Check if the username is in use allready:
            if username_check(username):
                # Not in use!
                return username
            else:
                print username+' is in use. Finding a match closest to it'
                a = 0
                while 1:
                    a = random.randint(a,a+100)
                    check_name = username+str(a)
                    if username_check(check_name):
                        break
                    print check_name+' in use - trying another'
                print check_name+' not in use! - using'
                return check_name
    
    def username_check(username):
        if urllib.urlopen(api_url+username).read() == '17':
            return True
        else:
            return False
    def username_get(username):
        return urllib.urlopen(api_url+username).read().replace('18,','')
        
    username = make_username(a)
    
    country = "88"
    response = urlopen(url)
    forms = ParseResponse(response,backwards_compat=False)
    form = forms[0]
    form['username'] = username
    form['password1'] = password
    form['password2'] = password
    form['day'] = [str(random.randint(1,31))]
    form['month'] = [str(random.randint(0,11))]
    form['year'] = str(random.randint(1950,1990))
    form['country'] = ["225"]
    form['agree_privacy'] = ['on']
    form['agree_terms'] = ['on']
    print '---------------------'
    print 'Details:'
    print 'Username: %s'%username
    print 'Password: %s'%password
    print '---------------------'
    print ' '
    print 'Creating account...'
    form.click()
    print 'Account created'
    while 1:
        pass

  2. #2
    Join Date
    May 2008
    Posts
    93
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sweet, this is just what I need, but, could you compile it? I don't have a compiler... *googles away*

  3. #3
    Join Date
    Apr 2008
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Why not just use a direct link for the account creation rather than the form? It's alot easier and you can just replace the args with your functions.

  4. #4
    Join Date
    Jun 2007
    Location
    Canuckistan
    Posts
    306
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Uh... you don't need to compile python, it does it automatically, just put that into a .py file and run it in the python interpreter

  5. #5
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I don't think they're worried about that anymore, NxTitle..

  6. #6
    Join Date
    Jun 2009
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This just doesn't want to run for me :S

    Code:
    brandon-warwicks-mac-mini:~ Brandon$ cd '/Users/Brandon/Desktop/' && '/usr/bin/pythonw'  '/Users/Brandon/Desktop/create.py'  && echo Exit status: $? && exit 1
    Traceback (most recent call last):
      File "/Users/Brandon/Desktop/create.py", line 4, in <module>
        from ClientForm import ParseResponse
    ImportError: No module named ClientForm
    EDIT: Wait... Is this for 2.6 or 3?

  7. #7
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Quote Originally Posted by Brandon W View Post
    This just doesn't want to run for me :S

    Code:
    brandon-warwicks-mac-mini:~ Brandon$ cd '/Users/Brandon/Desktop/' && '/usr/bin/pythonw'  '/Users/Brandon/Desktop/create.py'  && echo Exit status: $? && exit 1
    Traceback (most recent call last):
      File "/Users/Brandon/Desktop/create.py", line 4, in <module>
        from ClientForm import ParseResponse
    ImportError: No module named ClientForm
    EDIT: Wait... Is this for 2.6 or 3?
    As he said in the first post:
    I am pretty sure it's 2.5

  8. #8
    Join Date
    Sep 2014
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    hi could osmoene help me with this?

  9. #9
    Join Date
    Dec 2011
    Location
    United States
    Posts
    960
    Mentioned
    21 Post(s)
    Quoted
    504 Post(s)

    Default

    Quote Originally Posted by mistachocolata99 View Post
    hi could osmoene help me with this?
    This is from 2009. It is very outdated and not working. Sorry

  10. #10
    Join Date
    Sep 2014
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    oh

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Account Creator 1.0
    By Dusk412 in forum RS3 Outdated / Broken Scripts
    Replies: 11
    Last Post: 01-13-2008, 03:55 AM
  2. My VB6 Account Creator
    By TViYH in forum C#/Visual Basic Help and Tutorials
    Replies: 31
    Last Post: 08-11-2007, 08:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •