Hyperclaw79 / PokeBall-SelfBot-Poketwo-Autocatcher

This specific selfbot was designed to automatically catch pokemon spawned on Discord by Poketwo bot. It also offers other utility functions to automate features like trading, releasing, id search, etc. Currently the autocatcher is powered by AI making it possible to autocatch pokemons on multiple bots like PokeTwo, PokeRealm, etc.
MIT License
337 stars 398 forks source link

Error: guilds.json not found #179

Closed mikah42106 closed 4 years ago

mikah42106 commented 4 years ago

Problem:

Here, write up a brief description about the error you are facing.

Steps to Reproduce:

Literally just run the file

config.json:

{
   "token": "*************************************************",
   "command_prefix": "P^",
   "priority": [
      "Groudon",
      "Mew",
      "Machop",
      "Staryu"
   ],
   "avoid": [],
   "catch_rate": 100,
   "delay": 3,
   "delay_on_priority": false,
   "restrict_duplicates": true,
   "max_duplicates": 2,
   "blacklists": [],
   "whitelists": [],
   "blacklist_guilds": [382316968394620938],
   "whitelist_guilds": [],
   "autolog": true,
   "update_checker": true,
   "auto_update": true,
   "autocatcher": false,
   "priority_only": false
}

Traceback and Screenshots:

Traceback (most recent call last):
  File "/Users/bloop/Desktop/PokeBall-SelfBot-Pokecord-Automation-master/launcher.py", line 18, in <module>

    bot = PokeBall(config_path, guild_path, pokelist_path, pokenames_path)

  File "/Users/bloop/Desktop/PokeBall-SelfBot-Pokecord-Automation-master/pokeball.py", line 20, in __init__

    with open(self.guild_path) as f:

FileNotFoundError: [Errno 2] No such file or directory: '/Users/bloop/Downloads/PokeBall-SelfBot-Pokecord-Automation-master/guilds.json'

This is the correct path but it says there is no file

Specs.

OS: Mac Version: Latest Python: 3.8

Hyperclaw79 commented 4 years ago

Could you verify that there's a guilds.json file in the same folder from where you're running this script?

mikah42106 commented 4 years ago

Yea, thanks for the support. Here is the folder. It is literally just the master folder, nothing was changed

Screen Shot 2020-05-26 at 8 44 06 AM
Hyperclaw79 commented 4 years ago

Open a terminal and run python --version to verify that Python is added to the path. After that, edit your run.sh with Gedit/Leadpad and replace sudo python3 launcher.py with sudo python launcher.py. That should most probably fix it. Let me know the results with screenshots.

mikah42106 commented 4 years ago

I know for a fact it is not the version of python, I can run it with 2, run it with 3 and none work. I have been using python for a year now and this is the only app that it has an error on, but I guess I will try this anyway.

Screen Shot 2020-05-27 at 11 00 33 AM
Hyperclaw79 commented 4 years ago

Ah now that you've posted the command you used, it's clear what the issue is. Instead of providing the path to the script as arg, simple cd into the path and then launch the script.

cd "/Users/bloop/Downloads/PokeBall-Selfbot-Pokecord-Automation-master 2"
python3 launcher.py

When you tried to run it from home, the bot tried to look for the data files in that directory itself, rather than searching in the bot's folder.

mikah42106 commented 4 years ago

Thanks, it worked. But that bot does not, p^help, p^autocatcher on, P^help, P^autocatcher on do not work. there is no spammer or trade or anything.

Hyperclaw79 commented 4 years ago

As clearly stated in the Readme, all the features you're asking about, except the Trade, are exclusive to Premium Version. To avail them, contact me on Discord.

As for trade, the syntax is P^trade @user fav/list_of_ids/list_of_pokemons.

mikah42106 commented 4 years ago

I am not paying $25 for something that I don't even know if it works, why is there no help for non premium?

Hyperclaw79 commented 4 years ago

I don't see what the problem is here. This is an open source repo. It's not a paid service where help should be guaranteed. In fact, I'm providing enough relevant help through GitHub Issues. As for the proof of concept that the Premium Version works, I have the GIF, a tutorial video, the vast list of donors and the testimonials to show for it. If you can't purchase it, that's your personal preference, it's not something you can complaint about.

And if you're talking about the Help command, then that's a premium version feature as well. It was coded after the public version became obsolete. I'm not obliged to revive the public version to include new features. This version is an MIT licensed open source project. Feel free to modify it as you see fit. But I won't be accepting feature requests for it.