Code Monkey home page Code Monkey logo

pokemon-go-helper's Introduction

기존 사용자들 중요 공지!

2세대 포켓몬 추가 실행불가능했던 상황이 발생하였는데, 라이브러리(pogobuf)의 패치로 해결되었습니다.

npm update 명령으로 라이브러리들을 최신 버전으로 올리시고 실행하시면됩니다.


pokemon-go-helper

포켓몬고에 도움이 되는 스크립트 모음입니다.

  1. 포켓몬의 이름에 IV값과 진화가능여부를 표시해줍니다.

  2. 현재 보유한 포켓몬과 캔디을 기준으로 진화시 얻을 수 있는 경험치를 계산해줍니다.

  3. 내가 가지고 있는 포켓몬 상세 목록을 엑셀로 다운로드합니다.

Requirements

  • Install nodejs : http://nodejs.org/ - ver. 6.9.2 ↑
    (; 'brew install node' is possible)

Install node packages

$ git clone https://github.com/bluewings/pokemon-go-helper
$ cd pokemon-go-helper
$ npm install

Run

  • 지메일, 패스워드를 prompt 로 입력 (권장)
$ node index.js 혹은 npm start
  • 지메일, 패스워드를 파라미터로 넘기는 경우 (crontab 등 배치 작업 시 이용)
$ node index.js --username:GMAIL_USERNAME --password:GMAIL_PASSWORD

#1 포켓몬 닉네임 변경 (IV값, 랭크, 진화여부 표시)

BEFORE AFTER
$ npm start
[Pokémon Go Helper] gmail: [email protected]
[Pokémon Go Helper] password: **********
[Pokémon Go Helper] location: 

Please select an action to perform.
1. 포켓몬의 닉네임을 변경합니다. (default)
2. 진화로 획득가능한 경험치를 계산합니다.
3. 포켓몬 목록을 엑셀로 다운로드합니다.

[Pokémon Go Helper] task number: 1

[i] Logging with user: [email protected]
[i] Received Google access token!
[i] Received API Endpoint: https://pgorelease.nianticlabs.com/plfe/313/rpc
[i] Current location: 경기도 성남시 분당구 정자동
[i] lat/long/alt: : 37.3638388 127.1163207 0
[i] execute 'rename' task. : 포켓몬의 닉네임을 변경합니다.
[i] updateing 5 items.
[i] update nickname: 야도란 88 A
[i] update nickname: 콘치 75 B •
[i] update nickname: 아쿠스타 97 SS
[i] update nickname: 마그마 55 C
[i] update nickname: 쁘사이저 95 SS

#2 포켓몬 닉네임 변경

현재 보유한 포켓몬과 캔디을 기준으로 진화시 얻을 수 있는 경험치를 계산해줍니다.

엑셀 파일로 내보낼까요? 질문에 y 로 답하면, 결과를 xlsx 폴더 하위에 엑셀파일로 만들어줍니다.

pokemon-go-helper's People

Contributors

bluewings avatar

Stargazers

 avatar Junwoo Ji avatar  avatar  avatar ©anDOS avatar Sungchan Cho avatar bullssajo avatar Hyeong-ile Baek avatar  avatar  avatar Digitz avatar  avatar dasomer avatar Kim, Yunjung avatar Krystal avatar Heesang avatar  avatar Hong sa sung avatar  avatar JoonHo Park avatar Taegyu Yoo avatar Jeong Going avatar 이승재(Seungjae Lee) avatar 유영호 avatar DonBum Ham avatar Lawrence Kim avatar Receipt avatar Jeongik Cha avatar SangYeob Bono Yu avatar Geonu Lee avatar Chanho Jung avatar  avatar  avatar  avatar

Watchers

dasomer avatar James Cloos avatar  avatar  avatar Hyeong-ile Baek avatar Digitz avatar Jeong Going avatar ©anDOS avatar J. Jeong avatar

pokemon-go-helper's Issues

API Endpoint가 정상적으로 나오지 않는 것 같습니다.

[i] Received API Endpoint: https://null/rpc
[i] Current location: 경기도 성남시 분당구 정자동
[i] lat/long/alt: : 37.3638388 127.1163207 0
[i] execute 'rename' task. : 포켓몬의 닉네임을 변경합니다.
(node:15615) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Error
(node:15615) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

그저께까지 잘 사용했었는데 오늘 실행해보이 이런 문제가 생겼는데 어떻게 해결 가능할까요?

pogobuf가 깔리지 않네요

일단 설명 부분에 라이브러리를 설치해야 된다고 말씀하셔야 될 듯 하구요,
(제가 환경이 윈도우나 우분투라서 자동으로 안 깔렸던 걸 수도 있구요)
일단 첫번째 에러는
첫번째 에러: Cannot find module 'fs-extra'
해결: npm install fs-extra
했구요

두번째 에러가
두번째 에러: Error: Cannot find module 'pogobuf'
인데 이건
해결시도: npm install pogobuf
했으나
해결시도 실행 시 오류:
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://[email protected]/starkevin/node-pogo-signature.git

그래서 추정하건데, pogobuf에서 사용하고 있던 github.com/starkevin/node-pogo-signature.git 이 깃허브가
들어가보니 없어져 있더라구요, 그래서 아마 pogobuf가 깔리지 않는 듯 합니다.

pogobuf 측에서 이 문제를 해결해 줬으면 좋겠네요

그리고 기본 작동 환경이 mac 맞으시죠?

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.