Compare commits
No commits in common. "master" and "v3.3" have entirely different histories.
|
@ -4,4 +4,3 @@ export.jardesc
|
||||||
.classpath
|
.classpath
|
||||||
.profile
|
.profile
|
||||||
/default.profile
|
/default.profile
|
||||||
target/
|
|
||||||
|
|
46
pom.xml
46
pom.xml
|
@ -1,46 +0,0 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
<groupId>de.mrbesen</groupId>
|
|
||||||
<artifactId>clashroyalebot</artifactId>
|
|
||||||
<packaging>jar</packaging>
|
|
||||||
<version>1.0-SNAPSHOT</version>
|
|
||||||
<name>clashroyalebot</name>
|
|
||||||
<url>http://maven.apache.org</url>
|
|
||||||
<properties>
|
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
|
||||||
</properties>
|
|
||||||
<dependencies>
|
|
||||||
|
|
||||||
</dependencies>
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>single</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<configuration>
|
|
||||||
<descriptorRefs>
|
|
||||||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
||||||
</descriptorRefs>
|
|
||||||
<archive>
|
|
||||||
<manifest>
|
|
||||||
<mainClass>de.mrbesen.cr.auto.clicker.Main</mainClass>
|
|
||||||
</manifest>
|
|
||||||
<manifestEntries>
|
|
||||||
<Class-Path>.</Class-Path>
|
|
||||||
</manifestEntries>
|
|
||||||
</archive>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</project>
|
|
|
@ -1,4 +1,4 @@
|
||||||
package de.mrbesen.cr.auto.clicker;
|
package mrbesen.cr.auto.clicker;
|
||||||
|
|
||||||
import java.awt.AWTException;
|
import java.awt.AWTException;
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
|
@ -34,7 +34,7 @@ public class Clicker implements Runnable{
|
||||||
private int randomness = 15;
|
private int randomness = 15;
|
||||||
private boolean paused = false;
|
private boolean paused = false;
|
||||||
private boolean backfocus = false;
|
private boolean backfocus = false;
|
||||||
private final int waittime = 250;//time between mouse teleports and clicks
|
private final int waittime = 50;//time between mouse teleports and clicks
|
||||||
|
|
||||||
private int mincolordistance = 35;
|
private int mincolordistance = 35;
|
||||||
private Overlay ov = null;
|
private Overlay ov = null;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.mrbesen.cr.auto.clicker;
|
package mrbesen.cr.auto.clicker;
|
||||||
|
|
||||||
public class Main {
|
public class Main {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package de.mrbesen.cr.auto.clicker;
|
package mrbesen.cr.auto.clicker;
|
||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
import java.awt.Graphics;
|
import java.awt.Graphics;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.mrbesen.cr.auto.clicker;
|
package mrbesen.cr.auto.clicker;
|
||||||
|
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package de.mrbesen.cr.auto.clicker;
|
package mrbesen.cr.auto.clicker;
|
||||||
|
|
||||||
import java.awt.AWTException;
|
import java.awt.AWTException;
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.mrbesen.cr.auto.clicker;
|
package mrbesen.cr.auto.clicker;
|
||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package de.mrbesen.cr.auto.clicker;
|
package mrbesen.cr.auto.clicker;
|
||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
import java.awt.Dimension;
|
import java.awt.Dimension;
|
||||||
|
@ -26,6 +26,8 @@ import javax.swing.event.ChangeEvent;
|
||||||
import javax.swing.event.ChangeListener;
|
import javax.swing.event.ChangeListener;
|
||||||
import javax.swing.filechooser.FileNameExtensionFilter;
|
import javax.swing.filechooser.FileNameExtensionFilter;
|
||||||
|
|
||||||
|
import com.sun.istack.internal.Nullable;
|
||||||
|
|
||||||
public class UI implements ActionListener {
|
public class UI implements ActionListener {
|
||||||
|
|
||||||
private boolean isSelectionRunning = false; //true if an selection Thread is working,
|
private boolean isSelectionRunning = false; //true if an selection Thread is working,
|
||||||
|
@ -482,7 +484,7 @@ public class UI implements ActionListener {
|
||||||
* @param startvalue inital value
|
* @param startvalue inital value
|
||||||
* @param komma 10^x offset for komma digits
|
* @param komma 10^x offset for komma digits
|
||||||
*/
|
*/
|
||||||
public Slider(String prefix, String sufix, int minvalue, int maxvalue, int startvalue, int komma, ChangeListener cl, Updater upd, boolean enabled) {//ChangeListener or Updater could be Null!
|
public Slider(String prefix, String sufix, int minvalue, int maxvalue, int startvalue, int komma, @Nullable ChangeListener cl,@Nullable Updater upd, boolean enabled) {//ChangeListener or Updater could be Null!
|
||||||
slider = new JSlider(minvalue, maxvalue, startvalue);
|
slider = new JSlider(minvalue, maxvalue, startvalue);
|
||||||
slider.addChangeListener(this);
|
slider.addChangeListener(this);
|
||||||
if(prefix != null)
|
if(prefix != null)
|
Loading…
Reference in New Issue