Code Monkey home page Code Monkey logo

Comments (21)

jabbink avatar jabbink commented on May 30, 2024 1

Not code related.

Read the "manual" (the 3 lines).

from pokemongobot.

aleixsb avatar aleixsb commented on May 30, 2024

You have to build the project with gradlew

from pokemongobot.

lazerplain1 avatar lazerplain1 commented on May 30, 2024

I did already

from pokemongobot.

Catnippi avatar Catnippi commented on May 30, 2024

once you've built the project you should have a compiled .jar found at \build\libs

from pokemongobot.

aleixsb avatar aleixsb commented on May 30, 2024

if you do gradlew tasks you'll see all options just do a run and will execute the project

from pokemongobot.

lazerplain1 avatar lazerplain1 commented on May 30, 2024

@D3C1V3R after the project completed i didnt get any fold besides . gradle thats it

from pokemongobot.

lazerplain1 avatar lazerplain1 commented on May 30, 2024

@aleixsb i got a build fail

from pokemongobot.

aleixsb avatar aleixsb commented on May 30, 2024

so there is your problem, check your java instalation or copy here the build error.

Have you just cloned this repo? There is a small bug right now that you can fix simply edditing Main.kt you can follow the fix in #41

from pokemongobot.

mluigi avatar mluigi commented on May 30, 2024

To run the program, do gradlew run

If you have a build fail, post the error message.

from pokemongobot.

lazerplain1 avatar lazerplain1 commented on May 30, 2024

@pr0ves unresolved reference:PTCLogin

from pokemongobot.

mluigi avatar mluigi commented on May 30, 2024

PTCLogin() is a function from the PokemonGoAPI, and gradle doesn't find it.
Try to run again gradlew build and see if it downloads anything, it should download the libraries needed for programs.

from pokemongobot.

CosmoRing avatar CosmoRing commented on May 30, 2024

Just change PTCLogin to PtcLogin everywere. PokeGOAPI renamed the class.

from pokemongobot.

lazerplain1 avatar lazerplain1 commented on May 30, 2024

another error now it cant compile java

from pokemongobot.

CosmoRing avatar CosmoRing commented on May 30, 2024

Did you replace the code on Main.tk in line 175 for this:
auth = PtcLogin(http).login(username, properties.getProperty("password"))

and line 26 for this:
import com.pokegoapi.auth.PtcLogin

I think you only need to replace this and do gradlew build on your projects folder.

from pokemongobot.

lazerplain1 avatar lazerplain1 commented on May 30, 2024

i changed that already

from pokemongobot.

mluigi avatar mluigi commented on May 30, 2024

The import line too?
Try again gradlew build and post the full message error

from pokemongobot.

lazerplain1 avatar lazerplain1 commented on May 30, 2024

@pr0ves ERROR: JAVA_HOME is not set and 'java' command could be found in your PATH

from pokemongobot.

lazerplain1 avatar lazerplain1 commented on May 30, 2024

i did that but i cant run the main.kt

from pokemongobot.

jabbink avatar jabbink commented on May 30, 2024

If you're not a programmer, download the .jar from the releases tab and run it directly with Java 1.7+.

If you would be a programmer, you'd know that you have to do ./gradlew build

(if you build it before ./gradlew --refresh-dependencies clean build)

from pokemongobot.

lazerplain1 avatar lazerplain1 commented on May 30, 2024

correction its .\gradlew build and its say some shit about my java

from pokemongobot.

jabbink avatar jabbink commented on May 30, 2024

k

from pokemongobot.

Related Issues (20)

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.