Comments (15)
Are you sure you don't have a typo ? Works perfectly here.
from pokemongobot.
You most likely have it as a txt file. Right click the file. Go to 'Get Info'. Under 'Name & Extension' you'll likely see 'config.properties.txt' Delete the '.txt' and then save/keep your change.
from pokemongobot.
nope i did it already.. I dunno i'm certainly doing something wrong, PC is not catching pokemon either.. You guys locate jar file on desktop?
from pokemongobot.
Did you try to locate your folder in the terminal
cd "your folder"
from pokemongobot.
THIS HELPED THANK YOU @Dr4mEdo
from pokemongobot.
💃 @Dr4mEdo
from pokemongobot.
Guys I have one last request.
I'd like to have a bash script for this one, features will be:
1st) End process after 8 minutes of farming/botting
2nd) Start process
3rd) exectue "cd [location of my pokebot folder]"
4th)execute "java -jar [jar folder name]
5th) loop, i have no coding skills, so i'll be glad if someone can create it for me if it's not time consuming
from pokemongobot.
I've put together this script which seems to do somewhat what I think you're looking for, although not in the order you asked. It makes the process timeout after 480 seconds, which is 8 minutes and then restarts again. To make this work more easily as a one click to run program, you could put it in a .command file. This file need it's permissions changed by running chmod a+x [.command file location here]
function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
cd [location of my pokebot folder]
while true
do
timeout 480 java -jar pogo.scraper-all-0.2.1.jar
done
I've tested it with 15 seconds timeout and it seemed to do the trick just fine. Hope it works for you as well. For many, including me, this isn't useful as restarting makes users using Google to login needing to authenticate each time through google.com/devices... Oh well :)
from pokemongobot.
@CptJackieSparrow what did you have to do to get it working?
from pokemongobot.
open terminal
write "cd" hit space the drag and drop the folder your jar app in (not jar app, te folder), hit enter
then write "java -jar" hit space them drag and drop jar app, hit enter.
from pokemongobot.
@CptJackieSparrow i should've removed this, i just used the absolute path to the file from my user
from pokemongobot.
@WithoutWout thanks brother. I'll have a look at it when i go home, lets see if a code dumb like me can make it work
from pokemongobot.
Exception in thread "Thread-16" com.pokegoapi.exceptions.RemoteServerException: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null at com.pokegoapi.api.map.Map.getMapObjects(Map.java:175) at com.pokegoapi.api.map.Map.getMapObjects(Map.java:147) at com.pokegoapi.api.map.Map.getMapObjects(Map.java:93) at ink.abb.pogo.scraper.MainKt$main$$inlined$fixedRateTimer$lambda$lambda$1.invoke(Main.kt:166) at ink.abb.pogo.scraper.MainKt$main$$inlined$fixedRateTimer$lambda$lambda$1.invoke(Main.kt) at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18) Caused by: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null at com.pokegoapi.main.ServerRequest.getData(ServerRequest.java:31) at com.pokegoapi.api.map.Map.getMapObjects(Map.java:173) ... 5 more Exception in thread "Thread-15" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at com.pokegoapi.main.RequestHandler.sendServerRequests(RequestHandler.java:104) at com.pokegoapi.api.map.Map.getMapObjects(Map.java:170) at com.pokegoapi.api.map.Map.getMapObjects(Map.java:147) at com.pokegoapi.api.map.Map.getMapObjects(Map.java:93) at com.pokegoapi.api.map.Map.getMapObjects(Map.java:83) at com.pokegoapi.api.map.Map.getRetainedMapObject(Map.java:51) at com.pokegoapi.api.map.Map.getCatchablePokemon(Map.java:64) at ink.abb.pogo.scraper.MainKt.processMapObjects(Main.kt:216) at ink.abb.pogo.scraper.MainKt$main$$inlined$fixedRateTimer$lambda$lambda$1.invoke(Main.kt:167) at ink.abb.pogo.scraper.MainKt$main$$inlined$fixedRateTimer$lambda$lambda$1.invoke(Main.kt) at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18)
here's the error i'm getting now
from pokemongobot.
That error means, as the first line indicates in an unreadable way, that the remote server broke down, aka Niantics servers are broken.
from pokemongobot.
thank you guys for your awesome support!
from pokemongobot.
Related Issues (20)
- Encounter failed with result HOT 3
- run a few hours then get this error message then after that not catch any pokemon HOT 1
- System hangs up HOT 4
- error message popup then the whole night hang there HOT 1
- bot not starting "Exception in Thread default" HOT 1
- [Question] Is it safe to open the bot after the latest update? HOT 9
- Im guessing this bot is dead HOT 2
- [Question] Pokefarmer Hash Service HOT 1
- Bot doing fine, getting this error everytime HOT 4
- Exception in thread "default" HOT 3
- Getting profile data from pogo server..Unexpected response envelope status received: SESSION_INVALIDATED HOT 1
- I cannot find the solution anywhere. Please help HOT 1
- Bot gets stuck in a loop of DOWNLOAD_SETTINGS & GET_INVENTORY HOT 1
- [BUG?] Bot can't get player HOT 1
- ..
- Can't start bot, I think it's a language problem
- Can't start the bot, I think it's a language problem HOT 1
- Can't start the bot
- when getting profile data from pogo server HOT 4
- Stuck on getting profile data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pokemongobot.