Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encrypt.so FILE not found?! #3450

Closed
focamonca opened this issue Aug 10, 2016 · 5 comments
Closed

encrypt.so FILE not found?! #3450

focamonca opened this issue Aug 10, 2016 · 5 comments

Comments

@focamonca
Copy link

Expected Behavior

bot to start

Actual Behavior

it tells me to find the file encrypt.so

(PokemonGo-Bot) MacBook-Pro-di-Gianmaria:PokemonGo-Bot focamonca$ python pokecli.py
2016-08-10 13:47:33,269 [       cli] [INFO] PokemonGO Bot v1.0
2016-08-10 13:47:33,271 [       cli] [INFO] No config argument specified, checking for /configs/config.json
2016-08-10 13:47:33,273 [       cli] [INFO] Configuration initialized
2016-08-10 13:47:33,273 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
2016-08-10 13:47:33,273 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-08-10 13:47:33,326 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
2016-08-10 13:47:33,873 [PokemonGoBot] [INFO] [set_start_location] Setting start location.
2016-08-10 13:47:33,873 [PokemonGoBot] [INFO] [x] Coordinates found in passed in location, not geocoding.
2016-08-10 13:47:33,873 [PokemonGoBot] [INFO] [location_found] Location found: 39.4079661,-0.5019423 (39.4079661, -0.5019423, 0.0)
2016-08-10 13:47:33,873 [PokemonGoBot] [INFO] [position_update] Now at (39.4079661, -0.5019423, 0)
2016-08-10 13:47:33,874 [PokemonGoBot] [INFO] [login_started] Login procedure started.
2016-08-10 13:47:43,561 [PokemonGoBot] [INFO] [login_successful] Login successful.
2016-08-10 13:47:45,943 [PokemonGoBot] [INFO] 
2016-08-10 13:47:45,944 [PokemonGoBot] [INFO] --- focamonca ---
2016-08-10 13:47:45,944 [PokemonGoBot] [INFO] Level: 21 (Next Level: 23391 XP) (Total: 311609 XP)
2016-08-10 13:47:45,944 [PokemonGoBot] [INFO] Pokemon Captured: 853 | Pokestops Visited: 1104
2016-08-10 13:47:45,944 [PokemonGoBot] [INFO] Pokemon Bag: 140/250
2016-08-10 13:47:45,945 [PokemonGoBot] [INFO] Items: 399/450
2016-08-10 13:47:45,945 [PokemonGoBot] [INFO] Stardust: 26678 | Pokecoins: 50
2016-08-10 13:47:45,945 [PokemonGoBot] [INFO] PokeBalls: 130 | GreatBalls: 30 | UltraBalls: 19
2016-08-10 13:47:45,945 [PokemonGoBot] [INFO] RazzBerries: 28 | BlukBerries: 0 | NanabBerries: 0
2016-08-10 13:47:45,945 [PokemonGoBot] [INFO] LuckyEgg: 2 | Incubator: 0 | TroyDisk: 3
2016-08-10 13:47:45,945 [PokemonGoBot] [INFO] Potion: 40 | SuperPotion: 34 | HyperPotion: 52 | MaxPotion: 0
2016-08-10 13:47:45,946 [PokemonGoBot] [INFO] Incense: 2 | IncenseSpicy: 0 | IncenseCool: 0
2016-08-10 13:47:45,946 [PokemonGoBot] [INFO] Revive: 57 | MaxRevive: 0
2016-08-10 13:47:45,946 [PokemonGoBot] [INFO] 
2016-08-10 13:47:45,946 [PokemonGoBot] [ERROR] encrypt.so is not found! Please place it in the bots root directory or set libencrypt_location in config.
2016-08-10 13:47:45,946 [PokemonGoBot] [INFO] Platform: darwin Encrypt.so directory: /Users/focamonca/PokemonGo-Bot

Your config.json (remove your credentials and any other private info)

{
    "auth_service": "google",
    "username": "@gmail.com",
    "password": "",
    "location": "39.4079661,-0.5019423",
    "gmapkey": "",
    "libencrypt_location": "",
    "tasks": [
      {
        "type": "HandleSoftBan"
      },
      {
        "type": "CollectLevelUpReward"
      },
      {
        "type": "IncubateEggs",
        "config": {
          "longer_eggs_first": true
        }
      },
      {
        "type": "TransferPokemon"
      },
      {
        "type": "EvolvePokemon",
        "config": {
            "evolve_all": "none",
            "first_evolve_by": "cp",
            "evolve_above_cp": 500,
            "evolve_above_iv": 0.8,
            "logic": "or",
            "evolve_speed": 20,
            "use_lucky_egg": true
        }
      },
      {
        "type": "RecycleItems",
        "config": {
          "min_empty_space": 15,
          "item_filter": {
            "Pokeball":       { "keep" : 100 },
            "Potion":         { "keep" : 10 },
            "Super Potion":   { "keep" : 20 },
            "Hyper Potion":   { "keep" : 30 },
            "Revive":         { "keep" : 30 },
            "Razz Berry":     { "keep" : 100 }
          }
        }
      },
      {
        "type": "CatchVisiblePokemon"
      },
      {
        "type": "CatchLuredPokemon"
      },
      {
        "type": "SpinFort"
      },
      {
        "type": "FollowCluster",
        "config": {
            "radius": 50,
            "lured": true
        }
      }
    ],
    "forts": {
      "avoid_circles": true,
      "max_circle_size": 50
    },
    "websocket_server": false,
    "walk": 4.16,
    "action_wait_min": 1,
    "action_wait_max": 4,
    "debug": false,
    "test": false,
    "health_record": true,
    "location_cache": true,
    "distance_unit": "km",
    "reconnecting_timeout": 15,
    "evolve_captured": "NONE",
    "catch_randomize_reticle_factor": 1.0,
    "catch_randomize_spin_factor": 1.0,
    "catch": {
      "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
      "// Example of always catching Rattata:": {},
      "// Rattata": { "always_catch" : true }
    },
    "release": {
      "any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
      "// Example of always releasing Rattata:": {},
      "// Rattata": {"always_release": true},
      "// Example of keeping 3 stronger (based on CP) Pidgey:": {},
      "// Pidgey": {"keep_best_cp": 3},
      "// Example of keeping 2 stronger (based on IV) Zubat:": {},
      "// Zubat": {"keep_best_iv": 2},
      "// Also, it is working with any": {},
      "// any": {"keep_best_iv": 3},
      "// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {},
      "// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3}
    },
    "vips" : {
         "Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
        "any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
        "Lapras": {},
        "Moltres": {},
        "Zapdos": {},
        "Articuno": {},

        "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
        "Mewtwo": {},
        "Dragonite": {},
        "Snorlax": {},
        "// Mew evolves to Mewtwo": {},
        "Mew": {},
        "Arcanine": {},
        "Vaporeon": {},
        "Gyarados": {},
        "Exeggutor": {},
        "Muk": {},
        "Weezing": {},
        "Flareon": {}

    }
}

Steps to Reproduce

see previous code

Other Information

OS: el caitain
Python Version: last

@junibrosas
Copy link

@Fizcko
Copy link

Fizcko commented Aug 10, 2016

#2808

@focamonca
Copy link
Author

new error after following your tips

UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) 2016-08-10 13:57:21,738 [sentry.errors.uncaught] [ERROR] [u'OSError: dlopen(/Users/focamonca/PokemonGo-Bot/encrypt.so, 6): no suitable image found. Did find:\n\t/Users/focamonca/PokemonGo-Bot/encrypt.so: unknown file type, first eight bytes: 0x20 0x3C 0x21 0x44 0x4F 0x43 0x54 0x59', u' File "pokecli.py", line 521, in <module>', u' File "pokecli.py", line 137, in main', u' File "pokecli.py", line 146, in report_summary', u' File "pokemongo_bot/metrics.py", line 76, in capture_stats', u' File "pokemongo_bot/api_wrapper.py", line 106, in call', u' File "pokemongo_bot/api_wrapper.py", line 63, in _call', u' File "pgoapi/pgoapi.py", line 210, in call', u' File "pgoapi/rpc_api.py", line 85, in activate_signature', u' File "ctypes/__init__.py", line 440, in LoadLibrary', u' File "ctypes/__init__.py", line 362, in __init__']

@focamonca
Copy link
Author

solved

@BillyDas
Copy link

BillyDas commented Aug 10, 2016

How? i moved it to the root but im getting another big ass error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants