SwipeX / PokeMate

Automated PokemonGo Application
GNU General Public License v3.0
111 stars 45 forks source link

Error: Unable to access jarfile Pokemate.jar #220

Closed lifeofbolo closed 8 years ago

lifeofbolo commented 8 years ago

What did i do wrong?

veskoz commented 8 years ago

Can u descrive just alittle bit what u did ?

lifeofbolo commented 8 years ago

im trying to run it on mac. is it even compatible with mac? im new to this, so i just followed the usage pretty roughly

skaermbillede 2016-07-30 kl 15 53 25
SippieCup commented 8 years ago

This is a file permissions issue, copy and paste it to another location and see if it works, or edit the permissions manually to be +rwx for all users.

lifeofbolo commented 8 years ago

i installed the Java SDK. Is it the right one?

veskoz commented 8 years ago

Java runs everywhere as long as you have a VM. Imo u don't have permissions to run the jar. Unfortunally i don't know anything about Mac

lifeofbolo commented 8 years ago

@SippieCup do i have to compile the master?

SippieCup commented 8 years ago

I would also suggest downloading the latest release of PokeMate, it is up to date with the last commit.

Once you download it, open up terminal, navigate to the location of the jar, and use the following command:

sudo chmod 777 Pokemate-0.3.0.jar

then try running it

java -jar Pokemate-0.3.0.jar

It should work then

lifeofbolo commented 8 years ago

should i only download the jar file or the source?

SippieCup commented 8 years ago

the jar is fine.

lifeofbolo commented 8 years ago

still bump

skaermbillede 2016-07-30 kl 16 59 33
lifeofbolo commented 8 years ago

tried opening terminal in the folder

skaermbillede 2016-07-30 kl 17 02 23
SippieCup commented 8 years ago

Its working now - you just need to configure the config file for it now. Please visit the wiki on how to do that.

lifeofbolo commented 8 years ago

@SippieCup i did the config file but its still giving me this...

skaermbillede 2016-07-30 kl 17 19 29
SippieCup commented 8 years ago

please ensure that the file is named just "config.properties" and does not have a hidden extension.

alternatively, in the terminal type the following, where [tab] represents the you pressing the tab button:

mv config.prop**[TAB]** config.properties

it will work after that.

kylestev commented 8 years ago

gotta love the nuances of OS X/macOS

lifeofbolo commented 8 years ago

@SippieCup its running. copied the api and inserted it in tha java. but i didn't get the user interface or anything just the terminal running all the data

kylestev commented 8 years ago

you have to enable the ui in the configuration

SippieCup commented 8 years ago

Change show=false to show=true in the config

lifeofbolo commented 8 years ago

@SippieCup hmm.. the map doesn't seem to be working. looks like im in the middle of the sea.

SippieCup commented 8 years ago

That would be your location being wrong, not the map :)

lifeofbolo commented 8 years ago

@SippieCup

skaermbillede 2016-07-30 kl 18 04 37 skaermbillede 2016-07-30 kl 18 05 23
SippieCup commented 8 years ago

That is the default location when something cannot be found on the google maps query. It is because you defined location_by_name, which overrides the latitude and longitude values.

add a "#" to the front of location_by_name to make it #location_by_Name so it is commented out and you will be in Denmark again.

SippieCup commented 8 years ago

Also, I highly suggest against using the location_by_name functionality until it is more developed.

Edit: Accidently closed, reopening until issue is solved.

lifeofbolo commented 8 years ago

@SippieCup Should i go with coordinates only then? if so, what should i type in the location_name?

lifeofbolo commented 8 years ago

@SippieCup what does it mean?

skaermbillede 2016-07-30 kl 18 37 21
SippieCup commented 8 years ago

Thats working as intended, those are requests done to build the path your bot will walk.

lifeofbolo commented 8 years ago

@SippieCup Cool! Thank you very much! :-D

lifeofbolo commented 8 years ago

@SippieCup Why am i not getting anything? like XP/hour after 1 hour and 25 minutes?

skaermbillede 2016-07-30 kl 20 36 20
SippieCup commented 8 years ago

We discovered a bug that happens when you are softbanned, I'll be updating the binary soon once the another bug is ironed out. If you want it now, you will have to build from source.