Giter Club home page Giter Club logo

pokemongo-bot-desktop's People

Contributors

ariestiyansyah avatar blobbyblo avatar ericorruption avatar jaceromri avatar julientant avatar jvenberg avatar kdemoya avatar outpox avatar projectbarks avatar sniok avatar solderzzc avatar tnsbm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pokemongo-bot-desktop's Issues

AttributeError?

What did i do wrong?

Python: File "./pokecli.py", line 206, in main
bot.start()
File "/Users/kennethbolo/PokemonGo-Bot-Desktop/gofbot/pokemongo_bot/init.py", line 32, in start
self.stepper = Stepper(self)
File "/Users/kennethbolo/PokemonGo-Bot-Desktop/gofbot/pokemongo_bot/stepper.py", line 32, in init
self.origin_lat = self.bot.position[0]
AttributeError: 'PokemonGoBot' object has no attribute 'position'

I have a bit of problem here

Can anybody help me with this? I'm pretty new to programming and i would love to get this up and running. I'm trying to make it work on my mac :-)

skaermbillede 2016-07-29 kl 17 11 50

Install error OSX

I'm getting this on the latest OS X:

npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/Cellar/node/6.3.1/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: cd ./gofbot/ && pip install -r requirements.txt
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'cd ./gofbot/ && pip install -r requirements.txt'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the PokemonGoBot package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd ./gofbot/ && pip install -r requirements.txt
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs PokemonGoBot
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls PokemonGoBot
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/XXXXXX/Desktop/PokemonGo-Bot-Desktop/npm-debug.log

pgoapi - "Could not find a tag or branch"

Hi ,
when i run install i've this error , same with the standard version of the bot (without desktop)

Obtaining pgoapi from git+https://github.com/tejado/pgoapi.git@81e786cabf027a1c8fbd1e9a07e1c11aa3d8ee8b#egg=pgoapi (from -r requirements.txt (line 1)) Cloning https://github.com/tejado/pgoapi.git (to 81e786cabf027a1c8fbd1e9a07e1c11aa3d8ee8b) to ./src/pgoapi Could not find a tag or branch '81e786cabf027a1c8fbd1e9a07e1c11aa3d8ee8b', assuming commit.

any idea how to fix ?

IndexError: list index out of range

Thanks for the code! The bot works fine for ~30s, then i always get the error:

Python: Traceback (most recent call last):

Python:   File "./pokecli.py", line 494, in <module>
    main()
  File "./pokecli.py", line 70, in main
    bot.tick()
  File "/Users/myuser/github/PokemonGo/PokemonGo-Bot-Desktop/gofbot/pokemongo_bot/__init__.py", line 85, in tick

Python:     if worker.work() == WorkerResult.RUNNING:
  File "/Users/myuser/github/PokemonGo/PokemonGo-Bot-Desktop/gofbot/pokemongo_bot/cell_workers/follow_spiral.py", line 56, in work

Python:     point = self.points[self.ptr]
IndexError: list index out of range

Is there any solution to this? Do i have to change a config file or the walking speed etc.?

I use OSX 10.10.5, all brew and pip packages are updated (also got no errors while installing).

File "./pokecli.py", line 38, in <module> import requests

Trying to run bot , but i get error .

Starting Python process...
Got open port: 8000
Bot path: /Applications/MAMP/htdocs/PokemonGo-Bot-Desktop/gofbot
python ./pokecli.py
Bot path: /Applications/MAMP/htdocs/PokemonGo-Bot-Desktop/gofbot/web
python serveit.py 8000
Python: Traceback (most recent call last):
File "./pokecli.py", line 38, in
import requests
ImportError: No module named requests

I'm using mac os x el capitan .

Already trying to do

pip uninstall requests
pip install requests

Json file in web not working

I run this app in windows 7,
Electron start fine but in /gofbot/web/

  • location-*.json (No data json "{}")
  • inventory-*.json (Not create)
  • catchable-*.json (Not create)

I think pywin not running.

Please fix it

Modules missing.

Starting Python process...
Got open port: 8000
Bot path: C:\Users\alexa\Desktop\PokemonGo-Bot-Desktop\gofbot
python ./pokecli.py
Bot path: C:\Users\alexa\Desktop\PokemonGo-Bot-Desktop\gofbot\web
python serveit.py 8000
Python: Traceback (most recent call last):
  File "./pokecli.py", line 38, in <module>
    from pgoapi.exceptions import NotLoggedInException
ImportError: No module named pgoapi.exceptions

server started!

Keep getting this. Tried npm install and not wokring

IndexError : list index out of range

Hi guys so I had my bot installed for a day and everything was working fine until I left it running overnight. When I woke up it had stopped so I closed it and restarted it but since that it has kept stopping about 20 seconds are running and I am getting this

Python: Traceback (most recent call last):
File "./pokecli.py", line 494, in

Python: main()

Python: File "./pokecli.py", line 70, in main
bot.tick()
File "/Users/hamishtugado/PokemonGo-Bot-Desktop/gofbot/pokemongo_bot/init.py", line 85, in tick
if worker.work() == WorkerResult.RUNNING:
File "/Users/hamishtugado/PokemonGo-Bot-Desktop/gofbot/pokemongo_bot/cell_workers/follow_spiral.py", line 56, in work

Python: point = self.points[self.ptr]

Python: IndexError: list index out of range

If anybody knows how to fix this that would be great. I am on OSX Yosemite 10.10.4

Pre-built bot stops working after a few moments

I can get it to work if I log out and back in again, but I constantly get the same error (ending in a list index error). From the devtools:

Failed to load resource: net::ERR_FILE_NOT_FOUND
main.html:107 [20:54:41] PokemonGO Bot v1.0

main.html:107 [20:54:41] No config argument specified, checking for /configs/config.json

main.html:107 [20:54:41] Configuration initialized

main.html:107 [20:54:41] [x] Coordinates found in passed in location, not geocoding.
[20:54:41]
[20:54:41] Location Found: 40.7644429,-73.967036
main.html:107
[20:54:41] GeoPosition: (40.7644429, -73.967036, 0)
[20:54:41]
[20:54:41] [x] Parsing cached location...

main.html:107 [20:54:41]
[20:54:41] [x] Last location flag used. Overriding passed in location
[20:54:41] [x] Last in-game location was set as: (40.764405879319064, -73.9670753577657, 0)

main.html:107 [20:54:41]
[20:54:41] Attempting login to Pokemon Go.

main.html:98 server up
main.html:165 Error: Cannot call loadURL because the webContents is unavailable. The WebView must be attached to the DOM and the dom-ready event emitted before this method can be called.(…)
main.html:112 server started!
main.html:98 server up
2main.html:134
main.html:86 Error getting location, trying second provider PositionError
main.html:88 Found location [40.7517,-73.8832] by ipinfo.io
main.html:134 about:blank
main.html:107 [20:54:42] Login to Pokemon Go successful.

3main.html:138 Loaded pokemon data..
main.html:107 [20:54:43]
[20:54:43] --- NAME ---
[20:54:43] Level: 11 (Next Level: 6950 XP) (Total: 58050 XP)
[20:54:43] Pokemon Captured: 236 | Pokestops Visited: 211
main.html:107
[20:54:43] Pokemon Bag: 106/250
[20:54:43] Items: 166/350
[20:54:43] Stardust: 27209 | Pokecoins: 0
[20:54:43] PokeBalls: 69 | GreatBalls: 0 | UltraBalls: 0

main.html:107 [20:54:43] RazzBerries: 51 | BlukBerries: 0 | NanabBerries: 0
[20:54:43] LuckyEgg: 1 | Incubator: 2 | TroyDisk: 2
[20:54:43] Potion: 8 | SuperPotion: 20 | HyperPotion: 0
[20:54:43] Incense: 0 | IncenseSpicy: 0 | IncenseCool: 0
[20:54:43] Revive: 11 | MaxRevive: 0

main.html:107 [20:54:43]
[20:54:43]

main.html:107 [20:54:43] Server seems to be busy or offline - try again - 1/5

main.html:107 [20:54:47] Starting PokemonGo Bot....

3main.html:138 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
3main.html:138 Google Maps API warning: InvalidKey https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key
main.html:107 [20:54:47] [x] Next egg incubates in 0.75 km

main.html:107 [20:54:48] Using lucky egg ... you have 1

main.html:107 [20:54:49] Walking from (40.764405879319064, -73.9670753577657) to [40.764405879319064, -73.9670753577657] 0.00km

main.html:107 [20:54:50] Something rustles nearby!

main.html:107 [20:54:50] A Wild Pidgey appeared! [CP 146] [Potential 0.47]
[20:54:50] IV [Stamina/Attack/Defense] = [5/5/11]

main.html:107 [20:54:53] Using Pokeball (chance: 50.05%)... (68 left!)

main.html:107 [20:54:54] [-] Attempted to capture Pidgey - failed.. trying again!

main.html:107 [20:54:56] Using Pokeball (chance: 50.05%)... (67 left!)

main.html:107 [20:54:57] Captured Pidgey! [CP 146] [Potential 0.47] [5/5/11] [+220 exp]

main.html:107 [20:55:02] Lured pokemon at fort 2894b9d6558d4c9daf6e0fb3a87b0189.16

main.html:107 [20:55:02] A Wild Squirtle appeared! [CP 220] [Potential 0.49]
[20:55:02] IV [Stamina/Attack/Defense] = [13/0/9]

main.html:107 [20:55:05] Catch Rate with normal Pokeball is low (20.02%). Thinking to throw a Razz Berry... (50 left!)

main.html:107 [20:55:06] Threw a berry! Catch Rate with normal Pokeball has increased to 30.03%
[20:55:06] Using Pokeball (chance: 30.03%)... (68 left!)

main.html:107 [20:55:06] Captured Squirtle! [CP 220] [Potential 0.49] [13/0/9] [+220 exp]

main.html:107 [20:55:11] Now at Pokestop: The Lace Building
[20:55:11] Spinning ...

main.html:107 [20:55:12] Loot:
[20:55:12] 100 xp

main.html:107 [20:55:12] - 3x Pokeball (Total: 69)

main.html:107 [20:55:12] - 1x Razz Berry (Total: 51)
[20:55:12] PokeStop on cooldown. Time left: 5 minutes, 6 seconds

main.html:107 [20:55:14] Arrived at pokestop.
[20:55:14] Walking from (40.764405879319064, -73.9670753577657) to [40.764405879319064, -73.9670753577657] 0.00km

main.html:107 [20:55:16] Now at Pokestop: Upper East Side Historic District
[20:55:16] Spinning ...

main.html:107 [20:55:16] Loot:
[20:55:16] 100 xp

main.html:107 [20:55:17] - 1x Revive (Total: 12)
[20:55:17] - 2x Razz Berry (Total: 53)
main.html:107
[20:55:17] - 1x Pokeball (Total: 70)

main.html:107 [20:55:17] PokeStop on cooldown. Time left: 5 minutes, 6 seconds

main.html:107 [20:55:19] Moving towards fort Society of Illustrators Inc., 0.05km left

main.html:107 [20:55:24]
[20:55:24] Ran for 0:00:43
[20:55:24] Total XP Earned: 640 Average: 54165.88/h
[20:55:24] Travelled 0.00km

main.html:107 [20:55:24] Visited 2 stops
[20:55:24] Encountered 2 pokemon, 2 caught, 0 released, 0 evolved, 0 never seen before
[20:55:24] Threw 3 pokeballs
[20:55:24] Earned 200 Stardust
[20:55:24]
[20:55:24] Highest CP Pokemon: Squirtle [CP: 220] [IV: 13/0/9] Potential: 0.49
[20:55:24] Most Perfect Pokemon: Squirtle [CP: 220] [IV: 13/0/9] Potential: 0.49

main.html:107 Traceback (most recent call last):
File "./pokecli.py", line 495, in

main.html:107 main()
File "./pokecli.py", line 71, in main

main.html:107 bot.tick()
File "C:\pikabot\PikaBot-win32-ia32\resources\app\gofbot\pokemongo_bot__init__.py", line 85, in tick

main.html:107 if worker.work() == WorkerResult.RUNNING:
File "C:\pikabot\PikaBot-win32-ia32\resources\app\gofbot\pokemongo_bot\cell_workers\follow_spiral.py", line 56, in work

main.html:107 point = self.points[self.ptr]
IndexError: list index out of range

Install error on Ubuntu 64bit

I got the following error messages while running "npm install". I am not sure if it is caused by my mistake as I am not familiar with node js.

`> [email protected] postinstall /home/darouwan/PokemonGo-Bot-Desktop/node_modules/electron-prebuilt

node install.js

Downloading electron-v1.3.1-linux-x64.zip
Error: socket hang up
/home/darouwan/PokemonGo-Bot-Desktop/node_modules/electron-prebuilt/install.js:22
throw err
^

Error: socket hang up
at TLSSocket.onHangUp (_tls_wrap.js:1048:19)
at TLSSocket.g (events.js:260:16)
at emitNone (events.js:72:20)
at TLSSocket.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:905:12)
at nextTickCallbackWith2Args (node.js:441:9)
at process._tickCallback (node.js:355:17)
npm ERR! Linux 4.4.0-21-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the electron-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs electron-prebuilt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls electron-prebuilt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/darouwan/PokemonGo-Bot-Desktop/npm-debug.log
`

Java Script Error on OSX - GUI opens but doesn't continue

When opening the GUI, my virtualenv Desktop-Bot doesn't read any config.json file I put into the respective folder, nor does it continue with my GUI input. I just get a crash with the message below. Any hints what might have gone wrong? Thanks and best regards!

A JavaScript error occurred in the main process

Uncaught Exception:
SyntaxError: Unexpected number in JSON at position 1408
at Object.parse (native)
at /Applications/MEDIA/Programs/Pokebot/PokeMonBot Alternatives/Bot1-WoG/PokemonGo-Bot-Desktop/main.js:259:25
at /Applications/MEDIA/Programs/Pokebot/PokeMonBot Alternatives/Bot1-WoG/PokemonGo-Bot-Desktop/node_modules/portfinder/lib/portfinder.js:138:14
at /Applications/MEDIA/Programs/Pokebot/PokeMonBot Alternatives/Bot1-WoG/PokemonGo-Bot-Desktop/node_modules/portfinder/node_modules/async/lib/async.js:52:16
at /Applications/MEDIA/Programs/Pokebot/PokeMonBot Alternatives/Bot1-WoG/PokemonGo-Bot-Desktop/node_modules/portfinder/node_modules/async/lib/async.js:269:32
at /Applications/MEDIA/Programs/Pokebot/PokeMonBot Alternatives/Bot1-WoG/PokemonGo-Bot-Desktop/node_modules/portfinder/node_modules/async/lib/async.js:44:16
at /Applications/MEDIA/Programs/Pokebot/PokeMonBot Alternatives/Bot1-WoG/PokemonGo-Bot-Desktop/node_modules/portfinder/lib/portfinder.js:106:16
at Server.onListen (/Applications/MEDIA/Programs/Pokebot/PokeMonBot Alternatives/Bot1-WoG/PokemonGo-Bot-Desktop/node_modules/portfinder/lib/portfinder.js:35:5)
at Server.g (events.js:286:16)
at emitNone (events.js:86:13)

pgo.api exceptions module error

I've run the commands except brew (on windows 10).

When I run npm start it starts but then when I log in this error shows.

Starting Python process...
Got open port: 8002
Bot path: C:\PokemonGo-Bot-Desktop\gofbot
python ./pokecli.py
Bot path: C:\PokemonGo-Bot-Desktop\gofbot\web
python serveit.py 8002
Python: Traceback (most recent call last):
File "./pokecli.py", line 38, in
from pgoapi.exceptions import NotLoggedInException
ImportError: No module named pgoapi.exceptions

Thanks in advance

ImportError: No module named gpxpy

After installing and starting, the desktop is available. But an ImportError occurred:

Python: import cell_workers
File "/Users/guagua/PokemonGo-Bot-Desktop/gofbot/pokemongo_bot/cell_workers/init.py", line 13, in
from follow_path import FollowPath
File "/Users/guagua/PokemonGo-Bot-Desktop/gofbot/pokemongo_bot/cell_workers/follow_path.py", line 3, in
import gpxpy
ImportError: No module named gpxpy

thank you for helping!

error while installing

The directory '/Users/Username/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/Username/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/Cellar/node/6.3.1/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: cd ./gofbot/ && sudo pip install -r requirements.txt
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'cd ./gofbot/ && sudo pip install -r requirements.txt'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the PokemonGoBot package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd ./gofbot/ && sudo pip install -r requirements.txt
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs PokemonGoBot
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls PokemonGoBot
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/maswerczek/Downloads/PokemonGo-Bot-Desktop-development/npm-debug.log

I have tried a few times to install the desktop vertion of the pokemon Go bot but I keep getting this error. Anyone else having this issue?

Linux version?

Is it already available for Linux? Or it will be if you can fix the existing issues?

command not found

hello, iam new tot pip, and tryd to install the PyYAML-3.11-cp27-cp27m-win_amd64.whl
with the command in git bash : pip2 install PyYAML-3.11-cp27-cp27m-win_amd64.whl
but when i do this i get pip2 command not found.
i put pip2 and the file in the same folder aswell,

got the same problem when i do pip2 install -r requirements.txt
it says command not found, and again they are in the same folder
can some on explain what to do please

Error electron main.js

Hello, i have install the desktop bot on my computer, but after the success "npm install" i launch "npm start" and i have a lot of error ..

i have follow this steps:
git clone --recursive https://github.com/PokemonGoF/PokemonGo-Bot-Desktop, ok
brew install python node, (error ?), no 'brew' command detected (git bash), not ok
pip install virtualenv, ok
cd PokemonGo-Bot-Desktop, ok
npm install, ok

npm start, error

npm log.txt :

0 info it worked if it ends with ok 1 verbose cli [ 'd:\\Program Files\\nodejs\\node.exe', 1 verbose cli 'd:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'start' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info prestart [email protected] 6 info start [email protected] 7 verbose unsafe-perm in lifecycle true 8 info [email protected] Failed to exec start script 9 verbose stack Error: [email protected] start:electron main.js 9 verbose stack Exit status 1 9 verbose stack at EventEmitter.<anonymous> (d:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:217:16) 9 verbose stack at emitTwo (events.js:87:13) 9 verbose stack at EventEmitter.emit (events.js:172:7) 9 verbose stack at ChildProcess.<anonymous> (d:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14) 9 verbose stack at emitTwo (events.js:87:13) 9 verbose stack at ChildProcess.emit (events.js:172:7) 9 verbose stack at maybeClose (internal/child_process.js:827:16) 9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) 10 verbose pkgid [email protected] 11 verbose cwd d:\Documents and Settings\flo\PokemonGo-Bot-Desktop 12 error Windows_NT 5.1.2600 13 error argv "d:\\Program Files\\nodejs\\node.exe" "d:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start" 14 error node v4.4.7 15 error npm v2.15.8 16 error code ELIFECYCLE 17 error [email protected] start:electron main.js17 error Exit status 1 18 error Failed at the [email protected] start script 'electron main.js'. 18 error This is most likely a problem with the PokemonGoBot package, 18 error not with npm itself. 18 error Tell the author that this fails on your system: 18 error electron main.js 18 error You can get information on how to open an issue for this project with: 18 error npm bugs PokemonGoBot 18 error Or if that isn't available, you can get their info via: 18 error 18 error npm owner ls PokemonGoBot 18 error There is likely additional logging output above. 19 verbose exit [ 1, true ]

My setup : Windows XP SP3

edit : i have already search for this error on all issue, i have manual install "electron" with
npm install electron-prebuild -g after this, i use npm start and same error encounter.

edit2: i have clean my computer and reinstall node, python, pokemongo-bo-desktop, npm install electron, npm install, npm start etc.. and same error

Pokemon evolution check

An option to control evolution of Pokemon to reduce lose of candies.
For level above
Option to have the option to evolve higher version of Pokemon.
Prevention of candy lose due to evolution of lower sets instead of higher ones.

Evolve :
Insted of wasting candies to evolve.
Poliwag -> Poliwhirl | Candies = 25
The evolution should focus on
Poliwhirl -> Poliwrath | Candies = 100

Error when starting program

Error:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: spawn python ENOENT
at exports._errnoException (util.js:949:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
at onErrorNT (internal/child_process.js:348:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)

Operating System:

OSX El Capitan

main.html:138 Uncaught TypeError

The bot is showing the map but i can't see the Pokemon's and my items.
I have created a API key for Google Maps.
The error list from the console:
Error: Cannot call loadURL because the webContents is unavailable. The WebView must be attached to the DOM and the dom-ready event emitted before this method can be called.(…)
main.html:86 Error getting location, trying second provider PositionError
main.html:88 Found location [52.3824,4.8995] by ipinfo.io
main.html:134 about:blank
main.html:138 Loaded pokemon data..
main.html:138 Google Maps API warning: InvalidKey https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key
main.html:138 Uncaught TypeError: Cannot read property 'length' of undefined
4main.html:138 [object XMLHttpRequest]
main.html:138 Uncaught TypeError: Cannot read property 'inventory_item_data' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'length' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'inventory_item_data' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'length' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'inventory_item_data' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'length' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'inventory_item_data' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'length' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'inventory_item_data' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'length' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'inventory_item_data' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'length' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'inventory_item_data' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'length' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'inventory_item_data' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'length' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'inventory_item_data' of undefined
main.html:138 Uncaught TypeError: Cannot read property 'length' of undefined
pokemon

Web server failing

Problem:
Pokemon images are dissapearing.

Steps to reproduce:
Open pokemon/pokedex menu 4-5 or more times. Also page doesn't reload after that.

Info:
OS: OS X 10.11
Commit: e22c95e

Still can't get in

Uncaught Exception: SyntaxError: Unexpected token } in JSON at position 1770 at Object.parse (native) at /Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop/main.js:259:25 at /Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop/node_modules/portfinder/lib/portfinder.js:138:14 at /Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop/node_modules/portfinder/node_modules/async/lib/async.js:52:16 at /Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop/node_modules/portfinder/node_modules/async/lib/async.js:269:32 at /Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop/node_modules/portfinder/node_modules/async/lib/async.js:44:16 at /Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop/node_modules/portfinder/lib/portfinder.js:106:16 at Server.onListen (/Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop/node_modules/portfinder/lib/portfinder.js:35:5) at Server.g (events.js:286:16) at emitNone (events.js:86:13)

Help cant start ...

OSX issue starting bot I get the following error.

New python executable in /Users/flex/PokemonGo-Bot/bin/python
Installing setuptools, pip, wheel...done.
(PokemonGo-Bot) macbook-pro:pokemongo-bot flex$ python pokecli.py -cf ./configs/config.json
2016-08-07 14:15:42,588 [ cli] [INFO] PokemonGO Bot v1.0
Traceback (most recent call last):
File "pokecli.py", line 493, in
main()
File "pokecli.py", line 126, in main
if bot:
UnboundLocalError: local variable 'bot' referenced before assignment

Pokestops not showing and bot not moving.

When I start the bot all works fine, It says that the next egg wil incubate in X km. And nothing more happens, there's no pokestops showing on the map, and the bot doesn't move.

Can't Enter and Map Live is Blank

Uncaught Exception: Error: ENOENT: no such file or directory, rename '/Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop-development/gofbot/web/userdata.js.example' -> '/Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop-development/gofbot/web/userdata.js' at Error (native) at Object.fs.renameSync (fs.js:809:18) at renameFiles (/Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop-development/main.js:259:12) at /Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop-development/main.js:263:5 at /Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop-development/node_modules/portfinder/lib/portfinder.js:138:14 at /Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop-development/node_modules/portfinder/node_modules/async/lib/async.js:52:16 at /Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop-development/node_modules/portfinder/node_modules/async/lib/async.js:269:32 at /Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop-development/node_modules/portfinder/node_modules/async/lib/async.js:44:16 at /Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop-development/node_modules/portfinder/lib/portfinder.js:106:16 at Server.onListen (/Users/Amuyea/Desktop/NEWBOTDESKTOP/PokemonGo-Bot-Desktop-development/node_modules/portfinder/lib/portfinder.js:35:5)

What do I need to solve this?

Failed at the [email protected] start script 'electron main.js'.

when i run npm start i get this:

npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/root/.linuxbrew/Cellar/node/6.3.1/bin/node" "/root/.linuxbrew/bin/npm" "start"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: electron main.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'electron main.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the PokemonGoBot package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! electron main.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs PokemonGoBot
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls PokemonGoBot
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /var/www/html/PokemonGo-Bot-Desktop/npm-debug.log

I installed electron,node, all needed.
What to do?

Launch a bot with crontab or without SSH on a headless server

When I try to launch @reboot the bot with crontab or if I launch it with SSH and close the session the bot stops working.
Is there any way to make it work this way?
The idea would be to make it work an a headless raspberry pi server.

OS : Debian_Jessie (Raspbian)
Latest Master branch

ERROR ELECTRON MAIN

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart [email protected]
6 info start [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec start script
9 error [email protected] start: electron main.js
9 error Exit status 127
10 error Failed at the [email protected] start script.
10 error This is most likely a problem with the PokemonGoBot package,
10 error not with npm itself.
10 error Tell the author that this fails on your system:
10 error electron main.js
10 error You can get their info via:
10 error npm owner ls PokemonGoBot
10 error There is likely additional logging output above.
11 error System Linux 2.6.32-openvz-042stab116.2-amd64
12 error command "/usr/bin/nodejs" "/usr/bin/npm" "start"
13 error cwd /root/PokemonGo-Bot-Desktop
14 error node -v v0.10.29
15 error npm -v 1.4.21
16 error code ELIFECYCLE
17 verbose exit [ 1, true ]

THIS IS LOG i don't know problem i watch all issues and i install all , and don't go i form italy sorry for bad english thanks!

Page does not update info

No information (caught, map, exp, traveled dist) is updated at all after about 1 min.
Environment: Ubuntu 16.04(64bit). All dependencies are up-to-date.
Commit: 4dcfddd

do i have to start the gobot ?

so I installed all the parts, npm starts gets though login and sits on a world map.
question, how do I start gobot, I have set up the .config. is it just
pokecli.py

Drop in replacement for the web UI

It looks like this is a project that includes the python bot. This seems like it means that the people who use the python bot directly can't benefit from this UI.

It seems like it would be nice if the UI was a drop in replacement for the UI that currently exists, and then we have another repo that just bundles the two together. Otherwise it seems like it would be very difficult to do iterative development on the python bot while using this interface.

Nothing happens after logging in

After i log in and fill in the coords and click "apply" nothing happens the map stays blank

The pokemon, items tabs are working but nothing actually happens

Login error

Python: [11:03:51] [X] Login Error, server busy
[11:03:51] [X] Waiting 10 seconds to try again

I've checked to see if the login servers are down, and they have been stable.

How to set starting location

Probably a stupid question but every time I run pokecli.py the starting location is 0, 0 thus somewhere in the middle of the ocean from where it tries to walk towards the location I set in the config file. Is there any place where I can set the starting location such that it is close to the location in the config file?

Error after npm install cannot start anything...

Found existing installation: protobuf 2.6.1
Uninstalling protobuf-2.6.1:
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/local/lib/python2.7/site-packages/pip/commands/install.py", line 317, in run
prefix=options.prefix_path,
File "/usr/local/lib/python2.7/site-packages/pip/req/req_set.py", line 736, in install
requirement.uninstall(auto_confirm=True)
File "/usr/local/lib/python2.7/site-packages/pip/req/req_install.py", line 742, in uninstall
paths_to_remove.remove(auto_confirm)
File "/usr/local/lib/python2.7/site-packages/pip/req/req_uninstall.py", line 115, in remove
renames(path, new_path)
File "/usr/local/lib/python2.7/site-packages/pip/utils/init.py", line 267, in renames
shutil.move(old, new)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 303, in move
os.unlink(src)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/site-packages/google/protobuf/init.py'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.