diff --git a/.gitignore b/.gitignore index 7b12add..7526fc1 100755 --- a/.gitignore +++ b/.gitignore @@ -1,50 +1,50 @@ -### Eclipse -.classpath -.project -.settings/ - -HELP.md -target/ -!.mvn/wrapper/maven-wrapper.jar -!**/src/main/** -!**/src/test/** - -### STS ### -.mvn -.apt_generated -.classpath -.factorypath -.project -.settings -.springBeans -.sts4-cache -mvnw -mvnw.cmd - -### IntelliJ IDEA ### -.idea -*.iws -*.iml -*.ipr - -### NetBeans ### -/nbproject/private/ -/nbbuild/ -/dist/ -/nbdist/ -/.nb-gradle/ -build/ - -### VS Code ### -.vscode/ - -### Log4j2 ### -logs -*.log - -# Ignore Mac DS_Store files -.DS_Store - -dependency-reduced-pom.xml - +### Eclipse +.classpath +.project +.settings/ + +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/** +!**/src/test/** + +### STS ### +.mvn +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache +mvnw +mvnw.cmd + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ + +### VS Code ### +.vscode/ + +### Log4j2 ### +logs +*.log + +# Ignore Mac DS_Store files +.DS_Store + +dependency-reduced-pom.xml + cert.pem \ No newline at end of file diff --git a/pgo-automat-settings.properties b/pgo-automat-settings.properties index bbdb5f3..911a184 100644 --- a/pgo-automat-settings.properties +++ b/pgo-automat-settings.properties @@ -1,5 +1,5 @@ #Pokémon GO Automatizace - Nastavení -#Fri Dec 12 11:08:56 CET 2025 +#Sun Dec 14 20:04:32 CET 2025 autoklik.count=500 window.width=807 transfer.delay=0 diff --git a/src/main/java/com/pokemongo/PokemonGoAutomation.java b/src/main/java/com/pokemongo/PokemonGoAutomation.java index 02a04ff..d1b5dba 100644 --- a/src/main/java/com/pokemongo/PokemonGoAutomation.java +++ b/src/main/java/com/pokemongo/PokemonGoAutomation.java @@ -364,7 +364,7 @@ public class PokemonGoAutomation { } } - if (bestScore > 0.92) { + if (bestScore > 0.80) { Point bestMatch = new Point( windowBounds.x + bestX + (tWidth / 2), windowBounds.y + bestY + (tHeight / 2)); @@ -583,7 +583,7 @@ public class PokemonGoAutomation { System.out.println("ÄŒekám na INCLUDE dialog..."); robot.delay(100); - if (clickIncludeButton(70)) { + if (clickIncludeButton(110)) { System.out.println("ÄŒekám na potvrzovací dialog t3..."); robot.delay(100); clickConfirmTransferButton(t3Template, 70);