diff --git a/botutils/botutils.gradle.kts b/botutils/botutils.gradle.kts index 50baecdb..e17dbe6e 100644 --- a/botutils/botutils.gradle.kts +++ b/botutils/botutils.gradle.kts @@ -25,7 +25,7 @@ import ProjectVersions.openosrsVersion * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -version = "3.4.2" +version = "3.4.3" project.extra["PluginName"] = "BotUtils" project.extra["PluginDescription"] = "Illumine - Utils required for plugins to function with added automation" diff --git a/botutils/src/main/java/net/runelite/client/plugins/botutils/BotUtils.java b/botutils/src/main/java/net/runelite/client/plugins/botutils/BotUtils.java index f44da69c..c167289f 100644 --- a/botutils/src/main/java/net/runelite/client/plugins/botutils/BotUtils.java +++ b/botutils/src/main/java/net/runelite/client/plugins/botutils/BotUtils.java @@ -813,7 +813,7 @@ public class BotUtils extends Plugin assert !client.isClientThread(); Point point = new Point(getRandomIntBetweenRange(min, max), getRandomIntBetweenRange(min, max)); - click(point); + moveClick(point); } public void clickRandomPointCenter(int min, int max) @@ -821,7 +821,7 @@ public class BotUtils extends Plugin assert !client.isClientThread(); Point point = new Point(client.getCenterX() + getRandomIntBetweenRange(min, max), client.getCenterY() + getRandomIntBetweenRange(min, max)); - click(point); + moveClick(point); } public void delayClickRandomPointCenter(int min, int max, long delay) @@ -857,7 +857,7 @@ public class BotUtils extends Plugin clickRandomPointCenter(-100, 100); return; } - click(point); + moveClick(point); } public void handleMouseClick(Rectangle rectangle) @@ -865,7 +865,7 @@ public class BotUtils extends Plugin assert !client.isClientThread(); Point point = getClickPoint(rectangle); - click(point); + moveClick(point); } public void delayMouseClick(Point point, long delay) diff --git a/plugins.json b/plugins.json index 26b99be4..9ee3c31e 100644 --- a/plugins.json +++ b/plugins.json @@ -1 +1 @@ -[{"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"BotUtils","description":"Illumine - Utils required for plugins to function with added automation","id":"botutils-plugin","releases":[{"date":"2020-08-20","sha512sum":"22E8E1F4B9A1886BD46FB2D3357FFEEEE625330B1BAA25D9F0B1CB45B0E79DD76F40FC236303555D62DF564F0BE8D8D563212015BACC1DB87DEA2E5D6E8E4DDF","version":"3.4.2","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/botutils-3.4.2.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Combination Runecrafter Plugin","description":"Illumine - Combination Runecrafting plugin","id":"combinationrunecrafterplugin-plugin","releases":[{"date":"2020-08-20","sha512sum":"72F8E4CCC310108417433C544877700ACE2A2330ACA6C9A7261DA65516EDBDFFE18B81F1AD7F3A01760BA1E014AE0E610C13F8F99179963F1BEBC4AD9BD0C9A7","version":"1.5.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/combinationrunecrafter-1.5.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Magic Splasher","description":"Illumine automated magic splasher","id":"magicsplasher-plugin","releases":[{"date":"2020-08-20","sha512sum":"81F3F23A7E7D2E2DEF6CA68D850E85CE5CD57AB0E976F8085944C6E6B784DCD78AA9250D19147B126B8A4EAFD3232002174940E5D03D0430D24539114EC7985F","version":"2.4.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/magicsplasher-2.4.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Powerfighter Plugin","description":"Illumine - Powerfighter plugin","id":"powerfighterplugin-plugin","releases":[{"date":"2020-08-20","sha512sum":"7EFF8B21AFA824EA90621878E513061232CE7B095F953BD17F530B006033C5FE1B4E23488C6420B28FF8AA4ABADC2C1F51383B6FEA696C108F4ACF4E4B0C484B","version":"1.2.3","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/powerfighter-1.2.3.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Power Skiller","description":"Illumine auto power skiller plugin","id":"powerskiller-plugin","releases":[{"date":"2020-08-20","sha512sum":"D7056A08074FC94BDE5515AD55372B66A3015A5BBC0F227343FCCDB9796DA45CFF5A4FED57E2DF7735BD813B72B24110F81FCDC1B3E911A24B1A4F3919576B66","version":"4.0.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/powerskiller-4.0.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Quick Eater","description":"Illumine - auto eat food below configured HP","id":"quickeater-plugin","releases":[{"date":"2020-08-20","sha512sum":"C7AE17243E7EF8B3D71BA19DAEABAC6C456D362217ABE0ED30B66B49F049C0E85A08CEDC109B5118A58F66A94667D2FC3B0AC73312A53FA9F6F3204FA5E0B92C","version":"2.6.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/quickeater-2.6.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Rooftop Agility","description":"Illumine automated rooftop agility plugin","id":"rooftopagility-plugin","releases":[{"date":"2020-08-20","sha512sum":"DE067063E0E567BE6CCC568F9FD16ECF977A2F9D957980C9374F4B28175693858374B9FB2F6C1053B2D79267F70202F32D34DE3DE9207464B3E33497BCAF1DD5","version":"3.5.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/rooftopagility-3.5.0.jar?raw=true","requires":"0.0.1"}]}] +[{"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"BotUtils","description":"Illumine - Utils required for plugins to function with added automation","id":"botutils-plugin","releases":[{"date":"2020-08-20","sha512sum":"E9C96003EB8A0A72B90AC8AA036C9EAC51F08C6FE9A0BF5038B1E50EE183FC8E271B6E31B8AF6FD99D2942066410B43A9DFEB45F510A3BD72F0292DBD91F1B81","version":"3.4.3","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/botutils-3.4.3.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Combination Runecrafter Plugin","description":"Illumine - Combination Runecrafting plugin","id":"combinationrunecrafterplugin-plugin","releases":[{"date":"2020-08-20","sha512sum":"72F8E4CCC310108417433C544877700ACE2A2330ACA6C9A7261DA65516EDBDFFE18B81F1AD7F3A01760BA1E014AE0E610C13F8F99179963F1BEBC4AD9BD0C9A7","version":"1.5.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/combinationrunecrafter-1.5.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Magic Splasher","description":"Illumine automated magic splasher","id":"magicsplasher-plugin","releases":[{"date":"2020-08-20","sha512sum":"81F3F23A7E7D2E2DEF6CA68D850E85CE5CD57AB0E976F8085944C6E6B784DCD78AA9250D19147B126B8A4EAFD3232002174940E5D03D0430D24539114EC7985F","version":"2.4.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/magicsplasher-2.4.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Powerfighter Plugin","description":"Illumine - Powerfighter plugin","id":"powerfighterplugin-plugin","releases":[{"date":"2020-08-20","sha512sum":"7EFF8B21AFA824EA90621878E513061232CE7B095F953BD17F530B006033C5FE1B4E23488C6420B28FF8AA4ABADC2C1F51383B6FEA696C108F4ACF4E4B0C484B","version":"1.2.3","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/powerfighter-1.2.3.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Power Skiller","description":"Illumine auto power skiller plugin","id":"powerskiller-plugin","releases":[{"date":"2020-08-20","sha512sum":"D7056A08074FC94BDE5515AD55372B66A3015A5BBC0F227343FCCDB9796DA45CFF5A4FED57E2DF7735BD813B72B24110F81FCDC1B3E911A24B1A4F3919576B66","version":"4.0.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/powerskiller-4.0.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Quick Eater","description":"Illumine - auto eat food below configured HP","id":"quickeater-plugin","releases":[{"date":"2020-08-20","sha512sum":"C7AE17243E7EF8B3D71BA19DAEABAC6C456D362217ABE0ED30B66B49F049C0E85A08CEDC109B5118A58F66A94667D2FC3B0AC73312A53FA9F6F3204FA5E0B92C","version":"2.6.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/quickeater-2.6.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Rooftop Agility","description":"Illumine automated rooftop agility plugin","id":"rooftopagility-plugin","releases":[{"date":"2020-08-20","sha512sum":"DE067063E0E567BE6CCC568F9FD16ECF977A2F9D957980C9374F4B28175693858374B9FB2F6C1053B2D79267F70202F32D34DE3DE9207464B3E33497BCAF1DD5","version":"3.5.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/rooftopagility-3.5.0.jar?raw=true","requires":"0.0.1"}]}] diff --git a/release/botutils-3.4.2.jar b/release/botutils-3.4.3.jar similarity index 79% rename from release/botutils-3.4.2.jar rename to release/botutils-3.4.3.jar index 80b9b8c2..1de71efa 100644 Binary files a/release/botutils-3.4.2.jar and b/release/botutils-3.4.3.jar differ