Code Monkey home page Code Monkey logo

pogo-cruncher's People

Contributors

freefri avatar gillingham avatar microbadger avatar mrebbinghaus avatar n2o avatar rbialon avatar wegi 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pogo-cruncher's Issues

Fix sorting

When sorting for anything secondary and tertiary sort should be CP and IV %

Also 100% Pokemon are at the bottom.

Feature Request: evolving pokemon?

Adding the feature to evolve then transfer would be nice. I'm not entirely sure if that's what "crunching" already does. I would love to help with implementing the feature if I could be shown the right direction to go; Python's not my primary language.

Feature Request: Log/progress meter while deleting

While some progress bar via ajax on the webUI would be nice, just doing simple debug prints on the console would make large deletions much clearer rather than sitting at a blank screen for many minutes.

Pull amount of candy you have

If it is able to also scan for the amount of candy you have then it could be used to calculate amount of evolves you can do.
This would be especially usefull for people for do bulk evolves with lucky egg.

windows 7 x64 install error

I used a run.bat instead of using cmd and got the following result:

C:\Users\Bob\Downloads\poke-cruncher-windows\poke-cruncher>pip install -r requir
ements.txt
Collecting click==6.6 (from -r requirements.txt (line 1))
Using cached click-6.6.tar.gz
Collecting Flask==0.11.1 (from -r requirements.txt (line 2))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Cors==2.1.2 (from -r requirements.txt (line 3))
Using cached Flask-Cors-2.1.2.tar.gz
Collecting future==0.15.2 (from -r requirements.txt (line 4))
Using cached future-0.15.2.tar.gz
Collecting geopy==1.11.0 (from -r requirements.txt (line 5))
Using cached geopy-1.11.0-py2.py3-none-any.whl
Collecting gpsoauth==0.3.0 (from -r requirements.txt (line 6))
Using cached gpsoauth-0.3.0.tar.gz
Collecting itsdangerous==0.24 (from -r requirements.txt (line 7))
Using cached itsdangerous-0.24.tar.gz
Collecting Jinja2==2.8 (from -r requirements.txt (line 8))
Using cached Jinja2-2.8-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 9))
Using cached MarkupSafe-0.23.tar.gz
Obtaining pgoapi from git+https://github.com/tejado/pgoapi.git@1f25e907f3e5f1b60
3330e71041e1ad7bee7580f#egg=pgoapi (from -r requirements.txt (line 10))
Cloning https://github.com/tejado/pgoapi.git (to 1f25e907f3e5f1b603330e71041e1
ad7bee7580f) to c:\users\bob\downloads\poke-cruncher-windows\poke-cruncher\src\p
goapi
Error [WinError 2] The system cannot find the file specified while executing c
ommand git clone -q https://github.com/tejado/pgoapi.git C:\Users\Bob\Downloads
poke-cruncher-windows\poke-cruncher\src\pgoapi
Cannot find command 'git'
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' comm
and.

C:\Users\Bob\Downloads\poke-cruncher-windows\poke-cruncher>pause
Press any key to continue . . .

This was on my second attempt to install. What does it look like I'm doing wrong here?
(I should warn: I'm no power user.)

Edit: I think I found the issue. Will try again after I have Git installed.

Crunching doesn't work anymore

I've sent a bunch of Pokémon away and there were no error messages. It said everything went ok, but all my Pokémon are still there.

Error when starting using Windows

Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
Restarting with stat
Debugger is active!
Debugger pin code: 144-805-040 Exception in thread Thread-1: Traceback (most recent call last): File "C:\python35\lib\threading.py", line 914, in bootstrap_inner self.run() File "C:\python35\lib\threading.py", line 862, in run self._target(self._args, *self._kwargs) File "C:\python35\lib\site-packages\werkzeug\serving.py", line 656, in inner fd=fd) File "C:\python35\lib\site-packages\werkzeug\serving.py", line 550, in make_se rver passthrough_errors, ssl_context, fd=fd) File "C:\python35\lib\site-packages\werkzeug\serving.py", line 462, in __init _ socket.SOCK_STREAM) File "C:\python35\lib\socket.py", line 450, in fromfd nfd = dup(fd) OSError: [WinError 10038] An operation was attempted on something that is not a socket

Doesn't work anymore

I get a error message when I try to login:
cruncher.js:907 Uncaught TypeError: (intermediate value)(intermediate value)(intermediate value).Cg is not a function

Mark/unmark Pokémon as favourite

If I look the IV% with this nice tool up, I want to mark my strongest Pokémon as favourite, so I can see it ingame without searching for name or something else.

Docker Container Error oci erro under Windows 10 64 Bit

$ docker-compose up
Creating network "pogocruncher_default" with the default driver
Creating pogocruncher_backend_1
Creating pogocruncher_frontend_1

ERROR: for frontend oci runtime error: no such file or directory
ERROR: Encountered errors while bringing up the project.

Crunching pokemon results in an error

When trying to put pokemon into the shredder, this error occures:

127.0.0.1 - - [24/Jul/2016 01:49:30] "OPTIONS /api/pokemon/delete HTTP/1.1" 200 -
Argument pokemon_id with value 7620163301563474000 unknown inside ReleasePokemonMessage (Exception: 'int' object has no attribute 'append')
Argument pokemon_id with value 11922932584228714000 unknown inside ReleasePokemonMessage (Exception: 'int' object has no attribute 'append')

New Issue Can't Login

Lets see if somebody can help me, I already could open the app in browser.

But when I click login. It shows like if is working but nothing happen.

Did I forget to do something?

EDIT: AGAIN SORRY IT LOOKS LIKE SERVERS ARE DOWN

Sorting with < 10% IV

I have a pidgey with 8% IV and if I sort my Pokémon according to IV it is listed with the 80% Pokémon.

Add more information for the pokemon

first of all this is a really nice tool :)

but to decide which pokemon is better there are some more stats that you could show:

  • current atk, def, sta ((iv_value + base_value) * cp_multiplier)
  • dps normal atk (power / time) * 1000
  • dps special atk
  • dps combined
  • potentional max dmg (atk* dps max)
  • potentional dmg per cp (the higher the better for exp farming at gyms)

for mor information see my java tool: https://github.com/Tsunamii/IVTool

Impossible to use with windows 7

I never could start the daemon services of VM to can do the "docker-compose build" thanks for the app this looks great

EDIT: I just do it runing the start.sh in c:\program files\docker, and then searching the path of pogo-crunch. In that console all work perfect

A few suggestions

  • Color code each column and allow the top description line to always stay visible.
  • Allow user to put in an IV number threshold and highlight pokemons that are lower than the threshold.
  • Once user click on the check out for sending out selected pokemon, modify text with strikeout line.

Awesome program btw.

Not deleting

backend_1   | 172.18.0.1 - - [28/Jul/2016 14:58:07] "OPTIONS /api/login HTTP/1.1" 200 -
backend_1   | 172.18.0.1 - - [28/Jul/2016 14:58:08] "POST /api/login HTTP/1.1" 200 -
backend_1   | 172.18.0.1 - - [28/Jul/2016 14:58:12] "GET /api/pokemon HTTP/1.1" 200 -
backend_1   | 172.18.0.1 - - [28/Jul/2016 15:02:57] "OPTIONS /api/pokemon/delete HTTP/1.1" 200 -
backend_1   | 172.18.0.1 - - [28/Jul/2016 15:02:57] "POST /api/pokemon/delete HTTP/1.1" 400 -

This is the request for my pokemon list, which works. The second request is when I hit delete on multiple pokemon. It sends 1 delete but not a single pokemon is deleted.

Use current location

Instead of specifying a location manually it would be better to detect the users current location.
Additionally it's harder to detect that the user is using third party tools, because if I use cruncher and start the app afterwards, I'm presumably in another location. I don't want to insert lan lon coordinates at each login.

Frontend Selection-Features

It would be cool if there were buttons / actions to do the following:

  • Select all under X IV Percentage
  • Select all under Y CP
  • Select all non-favorites

fetching pokemon forces a nil value

I tested your code a little bit and in communication/main.cljs the result is still in place.
Just before the update-pokemon! call res returns still the correct value.

When I output the value immediately after entering update-pokemon! however, the value is nil.

Im not sure how this can happen, but your cljs knowledge should help you find the bug.

Show perfect Attacker / Defender

Out of all Pokemon in the Inventory which make up the perfect Attacker / Defender team, considering the Moves and other Stats.

frontend missing bower_components and clojurescript output

Running docker-compose build and docker-compose up, everything seems to be okay from the logs.
The two containers start up and the SimpleHttpServer is listening on port 8888.

But, upon connecting, I get 404's for nearly every resource:

✔ pogo-cruncher master@5c651f2$ docker-compose up
Creating network "pogocruncher_default" with the default driver
Recreating pogocruncher_frontend_1
Recreating pogocruncher_backend_1
Attaching to pogocruncher_backend_1, pogocruncher_frontend_1
backend_1 | * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] "GET / HTTP/1.1" 200 -
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] code 404, message File not found
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] "GET /bower_components/bootstrap/dist/css/bootstrap.min.css HTTP/1.1" 404 -
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] code 404, message File not found
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] "GET /bower_components/bootswatch-dist/css/bootstrap.min.css HTTP/1.1" 404 -
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] code 404, message File not found
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] "GET /bower_components/fontawesome/css/font-awesome.min.css HTTP/1.1" 404 -
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] code 404, message File not found
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] "GET /bower_components/bootstrap/dist/js/bootstrap.min.js HTTP/1.1" 404 -
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] code 404, message File not found
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] "GET /css/style.css HTTP/1.1" 404 -
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] code 404, message File not found
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] "GET /bower_components/jquery/dist/jquery.min.js HTTP/1.1" 404 -
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] code 404, message File not found
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] "GET /js/compiled/cruncher.js HTTP/1.1" 404 -
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] code 404, message File not found
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] "GET /bower_components/bootstrap/dist/js/bootstrap.min.js HTTP/1.1" 404 -
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] code 404, message File not found
frontend_1 | 172.18.0.1 - - [26/Jul/2016 05:41:23] "GET /js/compiled/cruncher.js HTTP/1.1" 404 -

Attaching to the frontend container through docker exec -it pogocruncher_frontend_1 /bin/bash and re-running the following parts from the frontend's Dockerfile:

cd /frontend/
GIT_DIR=/tmp bower install --allow-root
lein deps
lein cljsbuild once min
sass css/style.sass css/style.css --style compressed
cd resources/public/
sass css/style.sass css/style.css --style compressed
rm -rf .sass-cache

I end up with a working pogocruncher.
I suppose that somehow the frontend container is created without running the commands from it's Dockerfile.

✔ pogo-cruncher master@5c651f2$ docker -v
Docker version 1.10.3, build 20f81dd
✔ pogo-cruncher master@5c651f2$ docker-compose -v
docker-compose version 1.7.1, build 6c29830

Add translations

I'm german and I need to lookup the german names everytime I'm using pogo-cruncher.

Required docker-compose version too new for Ubuntu 16.04

Using Ubuntu 16.04's regular package repositories, docker-compose build fails with the following error message:

✔ pogo-cruncher master@5c651f2$ docker-compose build
ERROR: In file './docker-compose.yml' service 'version' doesn't have any configuration options. All top level keys in your docker-compose.yml must map to a dictionary of configuration options.

Ubuntu 16.04's version of docker-compose is

✔ pogo-cruncher master@5c651f2$ docker-compose -v
docker-compose version 1.5.2, build unknown

whereas the version: '2' in docker-compose.yml requires version 1.6+ (See here).

A possible solution is to not support docker-compose <= 1.6.x.
I will try to work out if it is also compatible with a version 1 docker-compose.yml.

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.