Closed Charlie1093 closed 5 months ago
one more help that i ask off you is to provide me a link to download the executable file and captchasolver.py file. Thanks a lot for your work
Its named as config.jsonc and where should i paste my token in it. Guide my mentioning above or below where config.json rightnow, this there but "// Token between the double quotes" where to paste the token
{ "CaptchaSolver": true, // Automatically solve captcha true/false "LoggingInterval": 10, // Interval between updating log table in seconds "": { // Token between the double quotes "HuntingChannel": 0, // Hunting Channel ID, 0 to disable hunting "FishingChannel": 0, // Fishing Channel ID, 0 to disable fishing "Balls": { // Which ball for which rarity (hunting) "Common": "pb", "Uncommon": "pb", "Rare": "gb", "Super Rare": "ub", "Legendary": "mb", "Shiny": "mb", "Shiny Event": "mb", "Shiny Full-odds": "prb" }, "FishBalls": { // Which ball for which rarity (fishing) "Common": "pb", "Uncommon": "gb", "Rare": "ub", "Super Rare": "ub", "Legendary": "db", "Shiny": "mb", "Golden": "mb" }, "AutoBuy": { // How many balls to buy when none left, set 0 to disable "pb": 50, "gb": 25, "ub": 5, "mb": 1 }, "RetryCooldown": 1, // Time to wait in seconds after "Please wait" messages "HuntingCooldown": 8.4, // Time between /pokemon commands "FishingCooldown": 22.4, // Time between /fish spawn commands "CaptchaRetries": 3 // How may times to retry after one incorrect captcha }, // Add multiple accounts below :- "": { "HuntingChannel": 0, "FishingChannel": 0, "Balls": { "Common": "pb", "Uncommon": "pb", "Rare": "gb", "Super Rare": "ub", "Legendary": "mb", "Shiny": "mb", "Shiny Event": "mb", "Shiny Full-odds": "prb" }, "FishBalls": { "Common": "pb", "Uncommon": "gb", "Rare": "ub", "Super Rare": "ub", "Legendary": "db", "Shiny": "mb", "Golden": "mb" }, "AutoBuy": { "pb": 50, "gb": 25, "ub": 5, "mb": 1 }, "RetryCooldown": 1, "HuntingCooldown": 8.4, "FishingCooldown": 22.4, "CaptchaRetries": 3 } }
Put your token between the "" Like so -> "token here": {...}
one more help that i ask off you is to provide me a link to download the executable file and captchasolver.py file. Thanks a lot for your work
You can download Solver1850.pt file from here :- https://github.com/MehulKhanna/PokeGrinder/releases/download/v2.4/Solver1850.pt
There isn't an executable yet so if you want to run this you will have to download this repository, install python and the python packages and then run main.py script. The steps are in the readme as well. For the executable you will have to wait a day or two.
i meant the config.json file is in someother type "jsonc" so taught it was a typo
Wonder what i did wrong now, so sorry to make you guys go thu this
Wonder what i did wrong now, so sorry to make you guys go thu this
![]()
![]()
![]()
Run the command pip install rich
i meant the config.json file is in someother type "jsonc" so taught it was a typo
The jsonc extension just allows you to put comments in the file it is not a typo
Is it supposed to look like this?
This is my config.jsonc file { "CaptchaSolver": true, "LoggingInterval": 10, "my token": { "HuntingChannel": channel id, "FishingChannel": channel id, "Balls": { "Common": "pb", "Uncommon": "gb", "Rare": "gb", "Super Rare": "ub", "Legendary": "mb", "Shiny": "mb", "Shiny Event": "mb", "Shiny Full-odds": "prb" }, "FishBalls": { "Common": "pb", "Uncommon": "gb", "Rare": "ub", "Super Rare": "ub", "Legendary": "db", "Shiny": "mb", "Golden": "mb" }, "AutoBuy": { "pb": 200, "gb": 250, "ub": 10, "mb": 1 }, "RetryCooldown": 1, "HuntingCooldown": 8.4, "FishingCooldown": 22.4, "CaptchaRetries": 3 }, "": { "HuntingChannel": 0, "FishingChannel": 0, "Balls": { "Common": "pb", "Uncommon": "pb", "Rare": "gb", "Super Rare": "ub", "Legendary": "mb", "Shiny": "mb", "Shiny Event": "mb", "Shiny Full-odds": "prb" }, "FishBalls": { "Common": "pb", "Uncommon": "gb", "Rare": "ub", "Super Rare": "ub", "Legendary": "db", "Shiny": "mb", "Golden": "mb" }, "AutoBuy": { "pb": 50, "gb": 25, "ub": 5, "mb": 1 }, "RetryCooldown": 1, "HuntingCooldown": 8.4, "FishingCooldown": 22.4, "CaptchaRetries": 3 } }
Is it supposed to look like this?
This is my config.jsonc file { "CaptchaSolver": true, "LoggingInterval": 10, "my token": { "HuntingChannel": channel id, "FishingChannel": channel id, "Balls": { "Common": "pb", "Uncommon": "gb", "Rare": "gb", "Super Rare": "ub", "Legendary": "mb", "Shiny": "mb", "Shiny Event": "mb", "Shiny Full-odds": "prb" }, "FishBalls": { "Common": "pb", "Uncommon": "gb", "Rare": "ub", "Super Rare": "ub", "Legendary": "db", "Shiny": "mb", "Golden": "mb" }, "AutoBuy": { "pb": 200, "gb": 250, "ub": 10, "mb": 1 }, "RetryCooldown": 1, "HuntingCooldown": 8.4, "FishingCooldown": 22.4, "CaptchaRetries": 3 }, "": { "HuntingChannel": 0, "FishingChannel": 0, "Balls": { "Common": "pb", "Uncommon": "pb", "Rare": "gb", "Super Rare": "ub", "Legendary": "mb", "Shiny": "mb", "Shiny Event": "mb", "Shiny Full-odds": "prb" }, "FishBalls": { "Common": "pb", "Uncommon": "gb", "Rare": "ub", "Super Rare": "ub", "Legendary": "db", "Shiny": "mb", "Golden": "mb" }, "AutoBuy": { "pb": 50, "gb": 25, "ub": 5, "mb": 1 }, "RetryCooldown": 1, "HuntingCooldown": 8.4, "FishingCooldown": 22.4, "CaptchaRetries": 3 } }
The table will be empty at first but it should show data when it starts catching. Is the bot hunting fine?
no it hasnt sent any commands at all
no it hasnt sent any commands at all
I
no it hasnt sent any commands at all
I have updated the repository, this must be fixed now.
Ive uninstalled and reinstalled
made some changes to config.jsonc (removed all the comments)
Installed pyNaCl
After running got this error
Ive uninstalled and reinstalled made some changes to config.jsonc (removed all the comments)
Installed pyNaCl
After running got this error
Is your token correct?
Yes it is. Now i assume that the code is trying to access some index of a list which isnt there or something like that but nvm ill leave it to you.
Here is the text of the error i got incase you need it
[2024-02-08 00:01:30] [INFO ] discord.client: Logging in using static token. [2024-02-08 00:01:30] [WARNING ] discord.utils: Info API down. Falling back to manual fetching... Traceback (most recent call last): File "C:\Users\Prabhakar\Downloads\PokeGrinder-master\main.py", line 81, in <module> asyncio.run(start()) File "C:\Users\Prabhakar\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\Prabhakar\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete return future.result() File "C:\Users\Prabhakar\Downloads\PokeGrinder-master\main.py", line 76, in start await asyncio.gather( File "C:\Users\Prabhakar\Downloads\PokeGrinder-master\main.py", line 72, in start_bots await bot.start(token=token) File "C:\Users\Prabhakar\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\client.py", line 857, in start await self.login(token) File "C:\Users\Prabhakar\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\client.py", line 698, in login data = await state.http.static_login(token.strip()) File "C:\Users\Prabhakar\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\http.py", line 991, in static_login await self.startup() File "C:\Users\Prabhakar\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\http.py", line 562, in startup self.super_properties, self.encoded_super_properties = sp, _ = await utils._get_info(session) File "C:\Users\Prabhakar\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\utils.py", line 1446, in _get_info bn = await _get_build_number(session) File "C:\Users\Prabhakar\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\utils.py", line 1474, in _get_build_number build_url = 'https://discord.com/assets/' + re.compile(r'assets/+([a-z0-9]+)\.js').findall(login_page)[-2] + '.js' IndexError: list index out of range
reinstall discord.py-self
alr
@MehulKhanna dont use discord-py-self @ git+https://github.com/dolfies/discord.py-self
pypi is broken using git only
@Bluefate1010 please install git here
and do pip install git+https://github.com/dolfies/discord.py-self
Works now but dosent solve captcha, i manually solve them
Works now but dosent solve captcha, i manually solve them
Works now but dosent solve captcha, i manually solve them
Looks like it is unable to download the captcha image. This is beyond the scope of my code. The captchas are downloaded by the ultralytics package. You can try running the bot on colab or replit. This error seems to be bound to your machine only as even I can download the captcha from the link in the errors.
Thanks luffy20106 it works now!
Tried with 3 diff accounts separately and yeah it didnt solve captcha even once.
no problem but im not luffy there only 1 f in my name why everyone keep call me rubber boi 😭 try install image using request or anything else
try:
response = requests.get(url)
response.raise_for_status()
print("nice")
except requests.exceptions.RequestException as e:
print(f"Error: {e}")
try: response = requests.get(url) response.raise_for_status() print("nice") except requests.exceptions.RequestException as e: print(f"Error: {e}")
I didnt get that but never mind, ig the issue is done.
If there is any update about solving captcha lmk
Just noticed in this acc, it didnt recognise the captcha
and zero fishes caught while it was still running
Looks like it is unable to download the captcha image. This is beyond the scope of my code. The captchas are downloaded by the ultralytics package. You can try running the bot on colab or replit. This error seems to be bound to your machine only as even I can download the captcha from the link in the errors.
oh okay, Thanks
and zero fishes caught while it was still running
Does it send the /fish commands?
and zero fishes caught while it was still running
Does it send the /fish commands?
No it did not send any type of the command, i have enabled fishing for both of my accounts and they do have rods on both of them
Update: It works
Its named as config.jsonc and where should i paste my token in it. Guide my mentioning above or below where config.json rightnow, this there but "// Token between the double quotes" where to paste the token
{ "CaptchaSolver": true, // Automatically solve captcha true/false "LoggingInterval": 10, // Interval between updating log table in seconds "": { // Token between the double quotes "HuntingChannel": 0, // Hunting Channel ID, 0 to disable hunting "FishingChannel": 0, // Fishing Channel ID, 0 to disable fishing "Balls": { // Which ball for which rarity (hunting) "Common": "pb", "Uncommon": "pb", "Rare": "gb", "Super Rare": "ub", "Legendary": "mb", "Shiny": "mb", "Shiny Event": "mb", "Shiny Full-odds": "prb" }, "FishBalls": { // Which ball for which rarity (fishing) "Common": "pb", "Uncommon": "gb", "Rare": "ub", "Super Rare": "ub", "Legendary": "db", "Shiny": "mb", "Golden": "mb" }, "AutoBuy": { // How many balls to buy when none left, set 0 to disable "pb": 50, "gb": 25, "ub": 5, "mb": 1 }, "RetryCooldown": 1, // Time to wait in seconds after "Please wait" messages "HuntingCooldown": 8.4, // Time between /pokemon commands "FishingCooldown": 22.4, // Time between /fish spawn commands "CaptchaRetries": 3 // How may times to retry after one incorrect captcha }, // Add multiple accounts below :- "": { "HuntingChannel": 0, "FishingChannel": 0, "Balls": { "Common": "pb", "Uncommon": "pb", "Rare": "gb", "Super Rare": "ub", "Legendary": "mb", "Shiny": "mb", "Shiny Event": "mb", "Shiny Full-odds": "prb" }, "FishBalls": { "Common": "pb", "Uncommon": "gb", "Rare": "ub", "Super Rare": "ub", "Legendary": "db", "Shiny": "mb", "Golden": "mb" }, "AutoBuy": { "pb": 50, "gb": 25, "ub": 5, "mb": 1 }, "RetryCooldown": 1, "HuntingCooldown": 8.4, "FishingCooldown": 22.4, "CaptchaRetries": 3 } }