tolerance changed

This commit is contained in:
rdavidek 2025-12-14 20:05:39 +01:00
parent f88912666c
commit 85764fed2d
3 changed files with 52 additions and 52 deletions

98
.gitignore vendored
View File

@ -1,50 +1,50 @@
### Eclipse ### Eclipse
.classpath .classpath
.project .project
.settings/ .settings/
HELP.md HELP.md
target/ target/
!.mvn/wrapper/maven-wrapper.jar !.mvn/wrapper/maven-wrapper.jar
!**/src/main/** !**/src/main/**
!**/src/test/** !**/src/test/**
### STS ### ### STS ###
.mvn .mvn
.apt_generated .apt_generated
.classpath .classpath
.factorypath .factorypath
.project .project
.settings .settings
.springBeans .springBeans
.sts4-cache .sts4-cache
mvnw mvnw
mvnw.cmd mvnw.cmd
### IntelliJ IDEA ### ### IntelliJ IDEA ###
.idea .idea
*.iws *.iws
*.iml *.iml
*.ipr *.ipr
### NetBeans ### ### NetBeans ###
/nbproject/private/ /nbproject/private/
/nbbuild/ /nbbuild/
/dist/ /dist/
/nbdist/ /nbdist/
/.nb-gradle/ /.nb-gradle/
build/ build/
### VS Code ### ### VS Code ###
.vscode/ .vscode/
### Log4j2 ### ### Log4j2 ###
logs logs
*.log *.log
# Ignore Mac DS_Store files # Ignore Mac DS_Store files
.DS_Store .DS_Store
dependency-reduced-pom.xml dependency-reduced-pom.xml
cert.pem cert.pem

View File

@ -1,5 +1,5 @@
#Pokémon GO Automatizace - Nastavení #Pokémon GO Automatizace - Nastavení
#Fri Dec 12 11:08:56 CET 2025 #Sun Dec 14 20:04:32 CET 2025
autoklik.count=500 autoklik.count=500
window.width=807 window.width=807
transfer.delay=0 transfer.delay=0

View File

@ -364,7 +364,7 @@ public class PokemonGoAutomation {
} }
} }
if (bestScore > 0.92) { if (bestScore > 0.80) {
Point bestMatch = new Point( Point bestMatch = new Point(
windowBounds.x + bestX + (tWidth / 2), windowBounds.x + bestX + (tWidth / 2),
windowBounds.y + bestY + (tHeight / 2)); windowBounds.y + bestY + (tHeight / 2));
@ -583,7 +583,7 @@ public class PokemonGoAutomation {
System.out.println("Čekám na INCLUDE dialog..."); System.out.println("Čekám na INCLUDE dialog...");
robot.delay(100); robot.delay(100);
if (clickIncludeButton(70)) { if (clickIncludeButton(110)) {
System.out.println("Čekám na potvrzovací dialog t3..."); System.out.println("Čekám na potvrzovací dialog t3...");
robot.delay(100); robot.delay(100);
clickConfirmTransferButton(t3Template, 70); clickConfirmTransferButton(t3Template, 70);