PokemonGoBot icon indicating copy to clipboard operation
PokemonGoBot copied to clipboard

Being a noob

Open Spiritwolf213 opened this issue 10 years ago • 17 comments

Description: As a total newby to java I find it extermely difficult to do any of what you all are talking about, but please dont let this scare you and help your fellow human Steps to reproduce:

  1. Making sure right java.
  2. Downloading everything necessary.
  3. changing the config with huge confusion.
  4. opening everything in the cmd
  5. java -jar pogo.scraper-all-0.4.2.jar

Expected behavior: Running the bot?

Actual behavior: Error: unable to access jarfile

Spiritwolf213 avatar Jul 26 '16 15:07 Spiritwolf213

You are in the wrong directory, probably.

Use cd to switch directories.

jabbink avatar Jul 26 '16 15:07 jabbink

are u sure ur on the right folder? use ls command to show files in the folder

xslkz avatar Jul 26 '16 15:07 xslkz

@xslkz he is on windows, command is dir

shilch avatar Jul 26 '16 15:07 shilch

that surely got it fixed that way, a new issues rised up tho... im terribly sorry for my ignorance in coding, the new issues is that it simpy cannot find the config.properties...

Spiritwolf213 avatar Jul 26 '16 15:07 Spiritwolf213

Copy the config.properties.template

shilch avatar Jul 26 '16 15:07 shilch

You have to create it.

Copy the template - then rename it to config.properties (no .txt on the end).

Agronis avatar Jul 26 '16 15:07 Agronis

Create a wiki tab for questions like this, tutorials and FAQs, I know is all on the readme.md but still.

ghost avatar Jul 26 '16 15:07 ghost

@Emuuung create an Issue for "plz halp common question wiki needed"

Agronis avatar Jul 26 '16 15:07 Agronis

it saves it automatically as a txt.file and idk how to change it...

Spiritwolf213 avatar Jul 26 '16 15:07 Spiritwolf213

MOVE config.properties.txt config.properties in cmd.exe I guess

jabbink avatar Jul 26 '16 15:07 jabbink

Or enable file extensions in system settings

shilch avatar Jul 26 '16 15:07 shilch

it automatically changes to a notepad file if i do that, does that matter or not?

Spiritwolf213 avatar Jul 26 '16 15:07 Spiritwolf213

Open in Notepad Save As... type config.properties Select "All files" from the "save as type" drop-down menu. Click save

mlutze avatar Jul 26 '16 16:07 mlutze

I really can't get it to work, no matter what type i save it in...

Spiritwolf213 avatar Jul 26 '16 16:07 Spiritwolf213

1.open notepad. 2. make a copy of the content of the config.properties.template. fill in info needed in config. File> save as> on drop down menu select all files and for file name type "config.properties" leave the quotes in there to make sure it does not become a .txt file. Save this in the same location as the .jar file. 3. find "cmd.exe" and make a shortcut on desktop, right click properties. change "start in:" to the folder containing the .jar and your config file. Now you just need to start this cmd window and type in: java -jar pogo.scraper-all-0.4.2.jar an

MASSV avatar Jul 26 '16 16:07 MASSV

Open the config.properties with notepad or notepad++, fill in you login and preferences etc. Once all is filled in, save the file as: config.properties and choose type all, HOWEVER make sure to remove the old config.properties.template before saving the new as an "all" file

Leodenact avatar Jul 26 '16 16:07 Leodenact

I appreciate all your support, I finally managed to make it work thanks to all of you.

Spiritwolf213 avatar Jul 26 '16 20:07 Spiritwolf213