Giter Club home page Giter Club logo

pokemate's People

Contributors

agusmba avatar arkdelkaos avatar ashgh avatar burakdev avatar chrisgreg avatar gffde3 avatar gsisso avatar gsplash avatar hawkey3s avatar idreaminbinary avatar jabbink avatar kyleshrader avatar kylestev avatar mcdax avatar messna avatar mxc1868 avatar null-dev avatar oplosthee avatar robertmccoy avatar sippiecup avatar stonoid avatar swipex avatar techguard avatar timewalts avatar vmarchaud avatar xcrimsyx 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

pokemate's Issues

Fatal error in JAVA Runtime... Again...

Changed location, and getting this error for some reason in this new location:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000640e51eb, pid=9660, tid=0x00000000000024b8

JRE version: Java(TM) SE Runtime Environment (8.0_102-b14) (build 1.8.0_102-b14)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.102-b14 mixed mode windows-amd64 compressed oops)
Problematic frame:
C [jfxwebkit.dll+0xd651eb]

Don't know why it's happening now... Nothing changed from other version, except location...

Error when compiling.

Hello all. Excellent work guys.

I have being trying to compile the code, but there are some errors.

errors

Evolving

Is there a way to turn off evolving?

Thanks

Sidebar doesen't display Pokémons

The Sidebar does doesent load any Pokémons.
Everytime it refreshes the UI this error pops up in the console:

Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
at com.pokegoapi.api.inventory.CandyJar.getCandies(CandyJar.java:80)
at com.pokegoapi.api.pokemon.Pokemon.getCandy(Pokemon.java:150)
at dekk.pw.pokemate.PokeMateUI.lambda$null$5(PokeMateUI.java:162)
at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
at java.lang.Thread.run(Unknown Source)

I tried it with a different account and it loads fine on that one.

Can't find pokegoapi

Okay I am doing something wrong.

import com.pokegoapi.api.inventory.Bag;
context.getApi().getBag()

I can't find that import, it says the symbol does not exist. I checked the PokemonGo Class and there is not even a method getBag(). Do I need to manually pull the newest PokemonGoAPI by myself?

Import EggPokemon not found

I can't find this import

import com.pokegoapi.api.pokemon.EggPokemon;

Do I have to checkout the PokeAPI to get this working or is the snapshot dependency enough?

Pokeballs running out quickly.

The automation is running out of pokeballs rather quickly. How do I set it up to use pokeballs, great balls and ultraballs in that order?

Pokeballs

Still attempts to catch pokemon when out of pokeballs.

Cache locations of pokestops, and go to them in this case?

NullPointerEx Graphics Bug

java.lang.NullPointerException
at com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
at com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
at com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
at com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
at com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
at com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
at com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
at com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
at com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
at com.sun.prism.impl.BaseGraphics.(BaseGraphics.java:105)
at com.sun.prism.impl.ps.BaseShaderGraphics.(BaseShaderGraphics.java:86)
at com.sun.prism.d3d.D3DGraphics.(D3DGraphics.java:42)
at com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
at com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:131)
at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
at java.lang.Thread.run(Unknown Source)

Does not crash the program. Just removes the pokemon UI and the lines drawn on the map

Won't catch pokemon

Hi. The bot seems to catch all the pokemon around when first started up, but then doesn't find a single one as it traverses its path. Also, tagging pokestops are not awarding XP. I am not softbanned.

isDropItems() is ignored!

The drop_items option in the config is IGNORED!

This has caused me to lose a lot of items :/, will PR in a sec (PR complete and ready to merge).

Uniform code formatting

Hi Tim,

Nice to see this getting attention! With the influx of PRs you're getting, I would suggest looking into something like checkstyle alongside a Travis/CI integration to ensure consistent formatting as I've noticed lots of inconsistent PRs (tabs vs spaces, no spaces between braces and keywords, etc.). Checkstyle has plugins for IntelliJ/Eclipse and adding Travis into the mix would automate the testing of PRs for unformatted code.

I can help you get it setup if you're interested.

Tagging pokestops does not increase your XP

I'm not sure if it's a problem with the API, or if there's some other method that needs calling after loot()

All my pokestop tagging is like the one below, they don't increase XP. Just in case, I also checked beforehand that my items' bag was not full:

Profile update : 43300 XP on LVL 9 81,11 % to LVL 10
Profile update : 43300 XP on LVL 9 81,11 % to LVL 10
Tagged pokestop [+100xp]
Profile update : 43300 XP on LVL 9 81,11 % to LVL 10
Profile update : 43300 XP on LVL 9 81,11 % to LVL 10

NullPointerException

when I run the .jar file, it successfully logs me in, and then it hits an exception

Exception in thread "main" java.lang.NullPointerException
at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
at sun.misc.FloatingDecimal.parseDouble(Unknown Source)
at dekk.pw.pokemate.Pokemate.(Pokemate.java:43)
at dekk.pw.pokemate.Pokemate.main(Pokemate.java.55)

I know that my config.properties is set up properly (already looked up in other issues to make sure that was fine), but I'm not sure what this is

Transfer Pokemon

Is it possible to make it so it always keeps at least 1 type of each Pokemon and only transfers the lowest one?

I signed in and it literally transferred like 50 Pokemon right off the back including some HIGH CP ones that were 1k+ just because they were doubles

Also save candy if you don't own the 3rd evolve etc?

Buttons on sidebar to transfer pokemon.

My pokemon storage is almost always full, a button for transferring unneeded ones right from the app would be nice (it takes forever to transfer them in the app).

Evolving

If the user does not have the next form in their pokedex, the evolution should not proceed until this is the case.

IE [squirtle, wartortle, 50 candies] should not evolve the squirtle, it should wait for 100 to evolve the wartortle.

smaller walking area

Is there a way to make the field in which the bot travels to a smaller area?

Say, to cover a smaller area with a few choice pokestops?

Settings

the config file needs an editor/generator because it is getting to be too large and too many factors.
We essentially can use a ListView and have key | value at the most basic level.

API Project is not authorized

Hello, how do I activate an API? I created a browser key at the google site and have no idea how you are supposed to actually activate it.

Fatal error in JAVA Runtime

With this newest release, I get an error as soon as I try to catch a Pkmn:

A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000642f51eb, pid=5072, tid=0x0000000000001c28
JRE version: Java(TM) SE Runtime Environment (8.0_102-b14) (build 1.8.0_102-b14)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.102-b14 mixed mode windows-amd64 compressed oops)
Problematic frame:
C [jfxwebkit.dll+0xd651eb]
Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

I can post the rest of the log, if needed.

Map Enhancements

Use icons for player/pokestop/gym/pokemon
Draw directions that player will walk on.
Show pokemon that are near/recently caught.
Display exp/ features in an InfoWindow that can update.
Smooth out the updating if possible (is currently hackfix)

Unable to launch UI 0.1.2

So I clones the repo 10 minutes ago with the updated src/main folder, edited the config file and ran java -jar Pokemate.jar dekk.pw.pokemate.PokeMateUI

It has launch java -jar Pokemate.jar dekk.pw.pokemate.PokeMateUI

But it's just showing the command prompt updating with the actions, it appears that the UI hasn't launched. I've attached a screenshot of the folder layout.

untitled-2

0.1.8 error CandyJar

Hello,

I am getting an error when trying to run the latest version, 0.1.5 was perfectly fine.

Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
    at com.pokegoapi.api.inventory.CandyJar.getCandies(CandyJar.java:80)
    at com.pokegoapi.api.pokemon.Pokemon.getCandy(Pokemon.java:150)
    at dekk.pw.pokemate.PokeMateUI.lambda$null$5(PokeMateUI.java:162)
    at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)

Google API Key Issue

I'm getting:

INFO: Request: https://maps.googleapis.com/maps/api/directions/json?key=**************************************0&mode=walking&origin=533771067.00000000%2C-2729010.00000000&destination=533771066.97144836%2C-2729009.99476281
com.google.maps.errors.RequestDeniedException: This API project is not authorized to use this API. Please ensure this API is activated in the Google Developers
Console: https://console.developers.google.com/apis/api/directions_backend?project=_
at com.google.maps.errors.ApiException.from(ApiException.java:50)
at com.google.maps.DirectionsApi$Response.getError(DirectionsApi.java:75
)
at com.google.maps.internal.OkHttpPendingResult.parseResponse(OkHttpPend
ingResult.java:270)
at com.google.maps.internal.OkHttpPendingResult.await(OkHttpPendingResul
t.java:167)
at com.google.maps.PendingResultBase.await(PendingResultBase.java:56)
at dekk.pw.pokemate.tasks.Navigate.queryDirections(Navigate.java:61)
at dekk.pw.pokemate.tasks.Navigate.populateDirections(Navigate.java:83)
at dekk.pw.pokemate.tasks.Navigate.(Navigate.java:31)
at dekk.pw.pokemate.tasks.TaskController.(TaskController.java:20)
at dekk.pw.pokemate.PokeMate.(PokeMate.java:49)
at dekk.pw.pokemate.PokeMate.main(PokeMate.java:55)
Jul 25, 2016 9:34:15 PM com.google.maps.OkHttpRequestHandler handle

Could you advise exactly what type of API Key is required for the walking module? I issued a Google Maps Javascript Server SPI key, but this doesn't seem to be working. Which of these do I need?:

Google Maps APIs

Google Maps Android API
Google Maps SDK for iOS
Google Maps JavaScript API
Google Places API for Android
Google Places API for iOS
Google Maps Roads API
Google Static Maps API
Google Street View Image API
Google Maps Embed API
Google Places API Web Service
Google Maps Geocoding API
Google Maps Directions API
Google Maps Distance Matrix API
Google Maps Geolocation API
Google Maps Elevation API
Google Maps Time Zone API

And do they need to be Server or Browser enabled?

Other than that, AWESOME work SwipeX :D

UI MAP

How do I get a map that i can see myself? I cant figure it out based on the directions given. (I have no coding experience).

Also the bot seems to walk some where and just stop then crash.

Eggs wont hatch

eggs don't hatch until you actually login the game, I guess its because they need to be clicked ?

happened 3 times now, as soon as I login as normal the egg auto hatches

JavaFX Application Thread exception

I get the following exception thread. App is still working, but I don't think this exception should be happening

Profile update : 540595 XP on LVL 23 84.48 % to LVL 24 - Gained 980 XP - XP/H: 22431 - Runtime: 00:02:37
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
at com.pokegoapi.api.inventory.CandyJar.getCandies(CandyJar.java:80)
at com.pokegoapi.api.pokemon.Pokemon.getCandy(Pokemon.java:150)
at dekk.pw.pokemate.PokeMateUI.lambda$null$5(PokeMateUI.java:162)
at com.sun.javafx.application.PlatformImpl.lambda$null$173(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(Unknown Source)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$148(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
at com.pokegoapi.api.inventory.CandyJar.getCandies(CandyJar.java:80)
at com.pokegoapi.api.pokemon.Pokemon.getCandy(Pokemon.java:150)
at dekk.pw.pokemate.PokeMateUI.lambda$null$5(PokeMateUI.java:162)
at com.sun.javafx.application.PlatformImpl.lambda$null$173(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(Unknown Source)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$148(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Perfect IV's :)

You know what could be AWESOME? If PokeMate could calculate the IV of every pokemon caught, and if its perfect (or >85%) keep it 👍
Ever better if you could just set a white-list of "perfect" pokemons to keep (some are just sausage meat even when they are perfect)
https://www.reddit.com/r/TheSilphRoad/comments/4tupg5/eli5_what_is_iv_and_what_is_perfect/

BTW:

Transferring 1/2 EKANS lvl 49

Being a lvl3 account when the pokemon was caught...I don't think that Ekans could be so hi-level. Maybe something's wrong there ;)

Should show IV spread on pokemon page

The config is picking and choosing pokemon based on their IV's so it should show their IV's in the GUI and the columns could be a bit smaller for stats.

API KEY

Where do I paste my api key to? I'm new to this stuff.

Error spammed in console.

This has been happening since I cloned the latest master (didn't test previous versions).

Exception in thread "JavaFX Application Thread" netscape.javascript.JSException: Invalid function reference
    at com.sun.webkit.dom.JSObject.callImpl(Native Method)
    at com.sun.webkit.dom.JSObject.call(JSObject.java:98)
    at com.lynden.gmapsfx.javascript.JavascriptObject.invokeJavascript(JavascriptObject.java:230)
    at com.lynden.gmapsfx.javascript.object.InfoWindow.setContent(InfoWindow.java:67)
    at dekk.pw.pokemate.PokeMateUI.lambda$null$5(PokeMateUI.java:156)
    at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139)
    at java.lang.Thread.run(Thread.java:745)

[Suggestion] Different Colors and More Stats

Please add different colors when printing captures or releases of Pokemon so we can identify them more easily. Also, displaying the stats of the Pokemon when capturing them would be helpful.

0.1.8 build still no xp gained from pokestops

Love the UI update, but I'm still not getting any experience from tagging pokestops. I'm using a pretty small area with a lot of pokestops... is it possible it's attempting to tag stops before they refresh?

Error at startup!

So I type in "java -jar Pokemate.jar dekk.pw.pokemate.PokeMateUI" and get this Error:

Exception in thread "main" java.lang.NullPointerException
at dekk.pw.pokemate.PokeMate.main(PokeMate.java:36)

Whats wrong?

Getting Google Map issues with 0.1.7

I have my API Key in just fine, and 0 issues with previous version, anyone else experience this?

Jul 24, 2016 9:08:36 PM com.google.maps.internal.OkHttpPendingResult retry
INFO: Retrying request. Retry #1
Jul 24, 2016 9:08:36 PM com.google.maps.internal.OkHttpPendingResult retry
INFO: Retrying request. Retry #2
GoogleMapView.mapResized: triggering resize event
Jul 24, 2016 9:08:37 PM com.google.maps.internal.OkHttpPendingResult retry
INFO: Retrying request. Retry #3
Jul 24, 2016 9:08:38 PM com.google.maps.internal.OkHttpPendingResult retry
INFO: Retrying request. Retry #4
Jul 24, 2016 9:08:40 PM com.google.maps.internal.OkHttpPendingResult retry
INFO: Retrying request. Retry #5
Jul 24, 2016 9:08:43 PM com.google.maps.internal.OkHttpPendingResult retry
INFO: Retrying request. Retry #6
Jul 24, 2016 9:08:45 PM com.google.maps.internal.OkHttpPendingResult retry
INFO: Retrying request. Retry #7
Jul 24, 2016 9:08:50 PM com.google.maps.internal.OkHttpPendingResult retry
INFO: Retrying request. Retry #8

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.