Quote:
Originally Posted by PPOBot
Hello. Thanks for making a video!
So what i can say: The red overlay matches, this is good.
It appears that the Bot doesn't detect the encounter correctly.
I assume you are using a Windows computer and not a MAC?
If yes please make sure that you have a version of the Microsoft Visual C++ Redistributable installed. ( )
Also it is not possible that the debug.log file only shows "Run 0 h, 1 min, 49 sec and encountered 0 battles!" since it should at least show some infos about your operating system and stuff.
Could you verify that you enabled the "Debug" setting on settings page 3?
Please restart the Bot, enable debug mode, start the bot, let it encounter a pokemon, wait like 30 seconds and stop it. The debug.log file should contain more information now.
No need to make another video, the content off the debug.log file will be enough for me to find your issue. (you can open the debug.log file with a text editor btw)
|
First of all thanks for the wuick reply! Second i did what you said and now the debug shows this:
DEBUG[1531858935439]: v2.93 on Windows 10 (Java:1.8.0_171)
DEBUG[1531858935440]: Display: 1920x1080
DEBUG[1531858935440]: screen: [-1,95]
DEBUG[1531858935441]: w:-1,b:-16777216,eg:-13355980,bu:-4178129,dw:-1381654,eh:-7631989,eb:-4013374,m1:-8947849,m2:-11053225,m3:-13619152,o:-4350617,fb:-12171706
DEBUG[1531858935441]: Started mining!
DEBUG[1531858935441]: Started hunting!
DEBUG[1531858935977]: Checking for battle!
DEBUG[1531858935997]: java.awt.Point[x=639,y=261] returned -9610421!
DEBUG[1531858935997]: Checking for popup!
DEBUG[1531858936015]: java.awt.Point[x=852,y=491] returned -988741!
DEBUG[1531858936126]: Checking for battle!
DEBUG[1531858936131]: java.awt.Point[x=639,y=261] returned -2174834!
DEBUG[1531858936131]: Checking for popup!
DEBUG[1531858936148]: java.awt.Point[x=852,y=491] returned -263205!
DEBUG[1531858936258]: Checking for battle!
DEBUG[1531858936267]: java.awt.Point[x=639,y=261] returned -9610421!
DEBUG[1531858936267]: Checking for popup!
DEBUG[1531858936281]: java.awt.Point[x=852,y=491] returned -13612944!
DEBUG[1531858936392]: Checking for battle!
DEBUG[1531858936398]: java.awt.Point[x=639,y=261] returned -2109810!
DEBUG[1531858936398]: Checking for popup!
DEBUG[1531858936415]: java.awt.Point[x=852,y=491] returned -1644855!
DEBUG[1531858936525]: Checking for battle!
DEBUG[1531858936532]: java.awt.Point[x=639,y=261] returned -2108782!
DEBUG[1531858936532]: Checking for popup!
DEBUG[1531858936548]: java.awt.Point[x=852,y=491] returned -263205!
DEBUG[1531858936659]: Checking for battle!
DEBUG[1531858936665]: java.awt.Point[x=639,y=261] returned -2109810!
DEBUG[1531858936665]: Checking for popup!
DEBUG[1531858936682]: java.awt.Point[x=852,y=491] returned -263205!
DEBUG[1531858936682]: Checking for dc!
DEBUG[1531858936701]: java.awt.Point[x=488,y=195] returned -10099814!
DEBUG[1531858937011]: Checking for battle!
DEBUG[1531858937015]: java.awt.Point[x=639,y=261] returned -2109810!
DEBUG[1531858937015]: Checking for popup!
DEBUG[1531858937032]: java.awt.Point[x=852,y=491] returned -1514299!
DEBUG[1531858937142]: Checking for battle!
DEBUG[1531858937148]: java.awt.Point[x=639,y=261] returned -2109810!
DEBUG[1531858937148]: Checking for popup!
DEBUG[1531858937164]: java.awt.Point[x=852,y=491] returned -263205!
DEBUG[1531858937274]: Checking for battle!
DEBUG[1531858937282]: java.awt.Point[x=639,y=261] returned -2108782!
DEBUG[1531858937282]: Checking for popup!
DEBUG[1531858937298]: java.awt.Point[x=852,y=491] returned -3684435!
DEBUG[1531858937408]: Checking for battle!
DEBUG[1531858937415]: java.awt.Point[x=639,y=261] returned -9610421!
DEBUG[1531858937415]: Checking for popup!
DEBUG[1531858937432]: java.awt.Point[x=852,y=491] returned -11487032!
DEBUG[1531858937542]: Checking for battle!
DEBUG[1531858937548]: java.awt.Point[x=639,y=261] returned -2174834!
DEBUG[1531858937548]: Checking for popup!
DEBUG[1531858937565]: java.awt.Point[x=852,y=491] returned -263205!
DEBUG[1531858937675]: Checking for battle!
DEBUG[1531858937681]: java.awt.Point[x=639,y=261] returned -9610421!
DEBUG[1531858937681]: Checking for popup!
DEBUG[1531858937698]: java.awt.Point[x=852,y=491] returned -263205!
DEBUG[1531858937698]: Checking for dc!
DEBUG[1531858937715]: java.awt.Point[x=488,y=195] returned -1517932!
DEBUG[1531858938027]: Checking for battle!
DEBUG[1531858938032]: java.awt.Point[x=639,y=261] returned -2438782!
DEBUG[1531858938032]: Checking for popup!
DEBUG[1531858938048]: java.awt.Point[x=852,y=491] returned -988741!
DEBUG[1531858938158]: Checking for battle!
DEBUG[1531858938165]: java.awt.Point[x=639,y=261] returned -2174834!
DEBUG[1531858938165]: Checking for popup!
DEBUG[1531858938181]: java.awt.Point[x=852,y=491] returned -13612944!
DEBUG[1531858938292]: Checking for battle!
DEBUG[1531858938298]: java.awt.Point[x=639,y=261] returned -1381654!
DEBUG[1531858938315]: java.awt.Point[x=642,y=661] returned -13355980!
DEBUG[1531858938315]: Encounter detected!
DEBUG[1531858938516]: Checking for battle encounter name!
DEBUG[1531858938532]: java.awt.Point[x=645,y=311] returned -2561808!
DEBUG[1531858939032]: Waiting for encounter name!
DEBUG[1531858939032]: Checking for battle encounter name!
DEBUG[1531858939048]: java.awt.Point[x=645,y=311] returned -2561808!
DEBUG[1531858939549]: Waiting for encounter name!
DEBUG[1531858939549]: Checking for battle encounter name!
DEBUG[1531858939565]: java.awt.Point[x=645,y=311] returned -2561808!
DEBUG[1531858940065]: Waiting for encounter name!
DEBUG[1531858940065]: Checking for battle encounter name!
DEBUG[1531858940081]: java.awt.Point[x=645,y=311] returned -4537143!
DEBUG[1531858940582]: Waiting for encounter name!
DEBUG[1531858940582]: Checking for battle encounter name!
DEBUG[1531858940597]: java.awt.Point[x=645,y=311] returned -7631989!
DEBUG[1531858940615]: java.awt.Point[x=823,y=337] returned -4013374!
DEBUG[1531858940615]: Waiting for encounter name!
Exception in thread "Thread-6" java.lang.Error: Invalid memory access
at com.sun.jna.Native.invokePointer(Native Method)
at com.sun.jna.Function.invokePointer(Function.java:4 70)
at com.sun.jna.Function.invoke(Function.java:404)
at com.sun.jna.Function.invoke(Function.java:315)
at com.sun.jna.Library$Handler.invoke(Library.java:21 2)
at com.sun.proxy.$Proxy0.TessBaseAPIGetUTF8Text(Unkno wn Source)
at net.sourceforge.tess4j.Tesseract.getOCRText(Unknow n Source)
at net.sourceforge.tess4j.Tesseract.doOCR(Unknown Source)
at net.sourceforge.tess4j.Tesseract.doOCR(Unknown Source)
at net.sourceforge.tess4j.Tesseract.doOCR(Unknown Source)
at net.sourceforge.tess4j.Tesseract.doOCR(Unknown Source)
at net.bplaced.ppobot.PPOBot.analyseEncounter(PPOBot. java:963)
at net.bplaced.ppobot.PPOBot.handleBattle(PPOBot.java :778)
at net.bplaced.ppobot.PPOBot.move(PPOBot.java:558)
at net.bplaced.ppobot.PPOBot.battleProgram(PPOBot.jav a:254)
at net.bplaced.ppobot.RunBot$12$1.run(RunBot.java:465 )
And yes i have microsoft visual cc + +