Jump to content

aeonity

Registered
  • Content Count

    16
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    N/A

aeonity last won the day on December 22 2017

aeonity had the most liked content!

Community Reputation

6 Neutral

1 Follower

About aeonity

  • Rank
    New Botter

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. So to get JavaFX to work on repo scripts you need: 1. Correct annotations so obsfucation doesn't rename methods 2. fxml file hosted on extenal server right?
  2. aeonity

    free varrock agility scripts not working

    Are you sure you tried all of them? I'm using Encoded's Auto Agility and it's working flawlessy for me
  3. aeonity

    Randomize array/list elements snippet

    Why not just Collections.shuffle?
  4. Glad you got it sorted amigo too late now but this would have been a good reference https://github.com/CSharp2Bot/Scripts/blob/master/src/scripts/advancedcutter/gui/MainController.java https://github.com/CSharp2Bot/Scripts/blob/master/src/scripts/api/gui/GUI.java Big up @c#2Bot
  5. You might be having the same issue as here Gotta use @DoNotRename annotation I believe.
  6. Hey, I've hacked up a quick n dirty python script to automatically register old school runescape accounts using 2captcha for use in my suicide bot farm, as I found the auto account creation in some of the tut island scripts were not working 100% for me. Create a single account: ./create_rs_account.py -e [email protected] -p password1234 -n ingamedisplayname Or batch create accounts from a text file with each account on a line with the format email:password:name ./create_rs_account.py -l path/to/accounts.txt You will need a 2captcha API key, and you will need to set this as an environment variable called CAPTCHA_API_KEY The script assumes a relatively happy path of execution, it doesn't handle many exceptions. Hopefully you find this useful, it's python so it reads like plain english. It could serve as a reference for any TRiBot scripts you want to create which handle auto account creation. #!/usr/bin/env python2 import argparse import requests import sys import time import os RUNESCAPE_REGISTER_URL = 'https://secure.runescape.com/m=account-creation/g=oldscape/create_account' RUNESCAPE_RECAPTCHA_KEY = '6LccFA0TAAAAAHEwUJx_c1TfTBWMTAOIphwTtd1b' CAPTCHA_URL = 'http://2captcha.com/' CAPTCHA_REQ_URL = CAPTCHA_URL + 'in.php' CAPTCHA_RES_URL = CAPTCHA_URL + 'res.php' class WaitForCaptcha(): def __init__(self): self.waited_for = 0 def sleep(self, seconds): self.waited_for += seconds for i in range(0, seconds): if i is seconds-1 and self.waited_for % 10 is 0: if self.waited_for > 30: print '. (%ds)' % self.waited_for else: print '.' else: print '.', sys.stdout.flush() time.sleep(1) def register_account(captcha_response, email, password, name, age = 26): print '''Registering account with: Email: %s Password: %s Name: %s''' % (email, password, name) response = requests.post(RUNESCAPE_REGISTER_URL, data = { 'email1': email, 'onlyOneEmail': 1, 'password1': password, 'onlyOnePassword': 1, 'displayname': name, 'age': age, 'agree_email': 1, 'g-recaptcha-response': captcha_response, 'submit': 'Play Now' }) if response.status_code == requests.codes.ok: if 'Account Created' in response.text: print 'Robots win again, account successfully registered\n\n' with open('rsaccounts.created.txt', 'a+') as f: f.write('%s:%s:%s\n' % (email, password, name)) f.close() else: print response.text raise Exception('Jagex says no') else: print response.text raise Exception('Jagex says no') def solve_captcha(): print 'Solving Captcha' waiting = True touched = False captcha_id = None response = requests.get(CAPTCHA_REQ_URL, params = { 'key': CAPTCHA_API_KEY, 'method': 'userrecaptcha', 'googlekey': RUNESCAPE_RECAPTCHA_KEY, 'pageurl': RUNESCAPE_REGISTER_URL }) if response.status_code != requests.codes.ok: raise Exception('2Captcha says no') if '|' in response.text: _, captcha_id = response.text.split('|') else: raise Exception('Captcha request failed') wait_for_captcha = WaitForCaptcha() print 'Waiting for captcha (ID: %s) to be solved' % captcha_id while waiting: wait_for_captcha.sleep(5 if touched else 15) touched = True solution_response = requests.get(CAPTCHA_RES_URL, params = { 'key': CAPTCHA_API_KEY, 'id': captcha_id, 'action': 'get' }) if solution_response.text not in ('CAPCHA_NOT_READY', 'CAPTCHA_NOT_READY'): print '\nCaptcha solved after %ds! (solution: %s)' % (wait_for_captcha.waited_for, solution_response.text) waiting = False _, captcha_solution = solution_response.text.split('|') return captcha_solution try: CAPTCHA_API_KEY = os.environ['CAPTCHA_API_KEY'] except KeyError: print 'You forgot to set your 2captcha API key as the CAPTCHA_API_KEY environment variable' sys.exit() if not len(sys.argv) > 1: print 'You forgot to pass in any arguments! Run with -h/--help for more info' sys.exit() parser = argparse.ArgumentParser(description='Create Runescape account(s)\n' 'Pass new account details or path to a file with list of them', formatter_class=argparse.RawTextHelpFormatter) single_acc_arg_group = parser.add_argument_group('Create a single account') single_acc_arg_group.add_argument('-e', '--email', nargs=1, help='Email address to use for the new account') single_acc_arg_group.add_argument('-p', '--password', nargs=1, help='Password') single_acc_arg_group.add_argument('-n', '--name', nargs=1, help='Display name (ingame)') acc_list_arg_group = parser.add_argument_group('Create accounts from a list') acc_list_arg_group.add_argument('-l', '--list', nargs=1, help='''Path to file with list of new account details Syntax within files should match: email:password:name''') args = parser.parse_args() if args.list: accounts_file = open(args.list[0]) accounts = accounts_file.readlines() accounts_file.close() for account in accounts: email, password, name = account.rstrip().split(':') register_account(solve_captcha(), email, password, name) elif args.email and args.password and args.name: register_account(solve_captcha(), args.email[0], args.password[0], args.name[0]) else: print 'Not enough arguments! Run with -h/--help for more info'
×