jepayne1138 / ptcaccount Goto Github PK
View Code? Open in Web Editor NEWAutomatic creation of Pokémon Trainer Club accounts
License: BSD 3-Clause "New" or "Revised" License
Automatic creation of Pokémon Trainer Club accounts
License: BSD 3-Clause "New" or "Revised" License
I try to run ur script on command prompt and double clicking it but its not working, can u make a video or a instructions please?
When i double click it, automatically close its and i cant see the error
Hello i just wanted to know why random accounts are implemented, when you create an account and cant verify it's email i cant use the account for Pokemoin-map or other services until i verify them.
Issue when running the ptc command.
Traceback (most recent call last):
File "C:\Python27\Scripts\ptc-script.py", line 9, in
load_entry_point('PTCAccount==1.2.1', 'console_scripts', 'ptc')()
File "c:\python27\lib\site-packages\ptcaccount\console.py", line 45, in entry
args.username, args.password, args.email, args.email_tag
File "c:\python27\lib\site-packages\ptcaccount\accountcreator.py", line 379, in random_account
try_username, password, try_email
File "c:\python27\lib\site-packages\ptcaccount\accountcreator.py", line 226, in create_account
resp_code=200
File "c:\python27\lib\site-packages\ptcaccount\accountcreator.py", line 88, in request
raise PTCInvalidStatusCodeException(str(resp.status_code))
ptcaccount.ptcexceptions.PTCInvalidStatusCodeException: 500
Currently an ordered list is returned which works but it'd be better if a named dictionary were used.
return {'user': try_username, 'password': password, 'email': try_email}
Hi,
i'll get
Traceback (most recent call last):
File "/usr/local/bin/ptc", line 9, in <module>
load_entry_point('PTCAccount==v1.2.1', 'console_scripts', 'ptc')()
File "/usr/local/lib/python2.7/dist-packages/ptcaccount/console.py", line 45, in entry
args.username, args.password, args.email, args.email_tag
File "/usr/local/lib/python2.7/dist-packages/ptcaccount/accountcreator.py", line 379, in random_account
try_username, password, try_email
File "/usr/local/lib/python2.7/dist-packages/ptcaccount/accountcreator.py", line 226, in create_account
resp_code=200
File "/usr/local/lib/python2.7/dist-packages/ptcaccount/accountcreator.py", line 84, in request
resp = self.send(prepped)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 617, in send
r.content
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 741, in content
self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 667, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(54 bytes read)', IncompleteRead(54 bytes read))
when i run
ptc -u *** -p *** -e ***
what can i do?
hi, just a question:
are the accounts verified, or only work for 2 days?
I've installed it and use python 2.7. typing "ptc" doesn't do anything and I can't find the "ptc.py" file to run anyhow. Which py do I need to run after install?
File "accountcreator.py", line 14, in <module>
from ptcaccount.exceptions import *
ImportError: No module named ptcaccount.exceptions
I was using this script until about couple hours ago, and now nothing outputs after
Creating new account(s):
and it will not finish running the script.
Maybe something has changed ?
i'm rly new to the python thingy so i get the making an account part but how do i use the --email-tag thing? also i'm making accounts calling them "example1" and just increasing the number, is there any way to make it increase it by it self so making alot of accounts go faster? :D
Hey everytime i try your script i get an error:
G:\Users\noziv\AppData\Local\Programs\Python\Python35-32\Scripts>ptc --email=tes [email protected] --email-tag Traceback (most recent call last): File "G:\Users\noziv\AppData\Local\Programs\Python\Python35-32\Scripts\ptc-scr ipt.py", line 9, in <module> load_entry_point('PTCAccount==1.2.1', 'console_scripts', 'ptc')() File "g:\users\noziv\appdata\local\programs\python\python35-32\lib\site-packag es\ptcaccount\console.py", line 45, in entry args.username, args.password, args.email, args.email_tag ValueError: too many values to unpack (expected 3)
Problem is that when i don't use --email-tag and insert a custom user, password and email I get this error too. I get the verification email, so the account is created but with a random password that i can't see because of the error.
Btw, thanks for this script :)
When I ran the script earlier today, I got a lot of these errors
ptcaccount.ptcexceptions.PTCInvalidStatusCodeException: 500
I was able to fix this by wrapping all your calls to PTCSession.request like this
session = PTCSession()
while True:
try:
session.request(...)
session.request(...)
session.request(...)
except PTCInvalidStatusCodeException:
print("[-] Received invalid status code, retrying ...")
continue
break
I tested this implementation by creating 200 accounts, and it successfully generated all of them without crashing.
hi guys,
i got this error. can anyone help me?
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/ptc", line 9, in
load_entry_point('PTCAccount==1.2.1', 'console_scripts', 'ptc')()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ptcaccount/console.py", line 45, in entry
args.username, args.password, args.email, args.email_tag
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ptcaccount/accountcreator.py", line 379, in random_account
try_username, password, try_email
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ptcaccount/accountcreator.py", line 226, in create_account
resp_code=200
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ptcaccount/accountcreator.py", line 88, in request
raise PTCInvalidStatusCodeException(str(resp.status_code))
ptcaccount.ptcexceptions.PTCInvalidStatusCodeException: 500
Was working for the first few times
Now it says the username already exists on everything if i specify one
OR!
If i don't specify any paramaters and it goes to make a random account, it just sits there and does nothing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.