Skip to content

Scrolling mouse macro written in Java to automate scrolling for a mobile game.

Notifications You must be signed in to change notification settings

boonaki/etkr-macro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ETKR Macro


A mouse macro for the game Evony: The Kings Return.

img

Recent Changes:

  • Fixed critical bug where macro didn't stop after restarting the macro
  • Changed search pattern height + width to swipe counts for simplicity
  • The Y-level that the macro moves in is now also defined by the user, rather than being hard-coded.

How It's Made:

Tech used: Java

This application was built for my father. The game, Evony: The King's Return is a mobile base-building game where, in short, there is a large map. Simply swiping around the map collects valuable resources, but that can lead to repetitive motion injuries. So I developed this macro to combat that hazard, while still being able to collect the valuable resources.

How to Use:

  • First you need to specify the coordinates for where you want the macro to start to drag horizontally by clicking the Find Starting Position button and clicking anywhere outside of the application.
  • Next you need to specify the coordinates for where you want the macro to stop dragging by clicking the Find End Position button and clicking anywhere outside of the application.
  • You can check the Repeat Infinitely checkbox to have the macro repeat until manually stopping.
  • In the Horizontal Swipe Count textbox, specify the number of times you want the macro to swipe horizontally before performing another swipe vertically.
  • In the Vertical Swipe Count textbox, specify the number of times you want the macro to swipe vertically. This value is used to determine how when the macro will end.

This is dependent on whether or not the Repeat Infinitely checkbox is ticked.

  • After you have all the points specified, click the Start Mouse Macro button

  • Pressing any key on the keyboard will stop the macro in-progress, though will not be immediate.

  • Pressing the q key on the keyboard will quit the application entirely, immediately.

Examples:

Take a look at these couple examples that I have in my own portfolio:

Progressio: https://github.com/boonaki/progress

Binary-Upload-React: https://github.com/boonaki/binary-upload-react

MC Modpack Repository: https://github.com/boonaki/mc-modpackdb

About

Scrolling mouse macro written in Java to automate scrolling for a mobile game.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages