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

sorry to ask it seems to be lame but how do i get this running ? #11

Closed
lightningfuzion2 opened this issue Jul 28, 2016 · 30 comments
Closed

Comments

@lightningfuzion2
Copy link

I have got the gofbot and web submodule all in place. what do i do after initiating pokecli.py.

@JVenberg
Copy link
Collaborator

Try this in the desktop directory:

brew install python node 
pip install virtualenv 
npm install
npm start

@lightningfuzion2
Copy link
Author

does that work in windows too ? i installed node, virtualenv and npm seprately, not sure what brew is exactly. installed all of the above using pip2 install. the npm start dosen't work though.

@JVenberg
Copy link
Collaborator

Are you in the directory of the repo? Could you also post what the error for npm start is?

@lightningfuzion2
Copy link
Author

npm

Yes I am in the repo directory, as you can see in the above image. The rest of the python commands work fine from cmd like pip.

@JVenberg
Copy link
Collaborator

If npm installed correctly, it be a valid command.
Try this

@lightningfuzion2
Copy link
Author

npm

yea was thinking to install the node.js but not from python any way thanks. but now this is the problem X_x.

@JVenberg
Copy link
Collaborator

Did you run npm install in the directory?

@lightningfuzion2
Copy link
Author

js error

Now this :)

@JVenberg
Copy link
Collaborator

JVenberg commented Jul 28, 2016

Can you show me what is in your gofbot file?
It looks like you haven't downloaded gofbot, or you downloaded it yourself and got the wrong version

@lightningfuzion2
Copy link
Author

lightningfuzion2 commented Jul 28, 2016

image
yea was my bad didnt take the submodules from the right place. now it works but it is stuck dosent seems to be going ahead.

Also can you suggest me a way so I can keep my local repo in sync with yours using GitHub gui ?

nvm forked the last one out :)

@lightningfuzion2
Copy link
Author

can not Login with the new Login Page, the page refreshes each time I try to click on login with google after filling the form.

@JVenberg
Copy link
Collaborator

JVenberg commented Jul 28, 2016

I should have just fixed the error with the latest commit
5dca2e9

@lightningfuzion2
Copy link
Author

image
Seems to be stuck here for me nothing going on in the map not the bot.

any way to remove the commits that i made ?

@lightningfuzion2
Copy link
Author

image
it says request module missing.

@JVenberg
Copy link
Collaborator

Did you do: npm install?

@lightningfuzion2
Copy link
Author

image
this is what happens when i do npm install

@JVenberg
Copy link
Collaborator

Ahhh, okay so right now it only works on mac. You might be able to get around it by going to gofbot directory and running "pip install -r requirements.txt"

@lightningfuzion2
Copy link
Author

ofcorse coz there is this && sudo command. but I did install the requirements from the gofbot folder.
same result after that as well

@JVenberg
Copy link
Collaborator

Try

pip uninstall requests
pip install requests

@lightningfuzion2
Copy link
Author

lightningfuzion2 commented Jul 28, 2016

done, didn't make any difference, still says requests module missing
guess Should reinstall npm.
any ideas how i do that ?

@lightningfuzion2
Copy link
Author

lightningfuzion2 commented Jul 28, 2016

okay got it https://www.youtube.com/watch?v=Ng5T18HyA-Q is the solution..

The above thing did work but just once, when i restarted, I am still getting the missing requests module thing.

@lightningfuzion2
Copy link
Author

lightningfuzion2 commented Jul 28, 2016

Okay so as it turns out I already had python 2.7 installation, and this is where all the pip installation is going. How do I use the default global python instead of python in pywin folder?

@lightningfuzion2
Copy link
Author

temporarily i have shifted the python to pywin and all works fine, but now it dos't show any pokemon on the map nor does the bot catch any.

@gungoan
Copy link

gungoan commented Jul 29, 2016

I fix problem python installed with change code in main.js:
pythonCmd = path.join(__dirname, 'pywin', 'python.exe');
change to
pythonCmd = path.join('C:/', 'Python27', 'python.exe');

It works for me

@lightningfuzion2
Copy link
Author

perfect thanks bud!

@mattrat88
Copy link

wherre do i download gofbot ?

@mattrat88
Copy link

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

@lightningfuzion2
Copy link
Author

gofbot << download the zip and copy all its files and folders to the pokemongo-bot-desktop\gofbot folder in the folder

and within that there will be an empty folder "web"

web<< download the zip and copy all its files and folders to the pokemongo-bot-desktop\gofbot\web folder

@mattrat88
Copy link

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

@JVenberg
Copy link
Collaborator

@mattrat88 It looks like you do not have the web repository cloned
You need to download the desktop app with:
git clone --recursive https://github.com/PokemonGoF/PokemonGo-Bot-Desktop

@tnsbm tnsbm closed this as completed Aug 11, 2016
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

5 participants