botutils: moveclick changed to click
This commit is contained in:
parent
17f400e27c
commit
a371bc26d8
|
@ -25,7 +25,7 @@ import ProjectVersions.openosrsVersion
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
version = "3.3.3"
|
||||
version = "3.4.0"
|
||||
|
||||
project.extra["PluginName"] = "BotUtils"
|
||||
project.extra["PluginDescription"] = "Illumine - Utils required for plugins to function with added automation"
|
||||
|
|
|
@ -812,7 +812,7 @@ public class BotUtils extends Plugin
|
|||
assert !client.isClientThread();
|
||||
|
||||
Point point = new Point(getRandomIntBetweenRange(min, max), getRandomIntBetweenRange(min, max));
|
||||
moveClick(point);
|
||||
click(point);
|
||||
}
|
||||
|
||||
public void clickRandomPointCenter(int min, int max)
|
||||
|
@ -820,7 +820,7 @@ public class BotUtils extends Plugin
|
|||
assert !client.isClientThread();
|
||||
|
||||
Point point = new Point(client.getCenterX() + getRandomIntBetweenRange(min, max), client.getCenterY() + getRandomIntBetweenRange(min, max));
|
||||
moveClick(point);
|
||||
click(point);
|
||||
}
|
||||
|
||||
public void delayClickRandomPointCenter(int min, int max, long delay)
|
||||
|
@ -853,10 +853,10 @@ public class BotUtils extends Plugin
|
|||
|
||||
if (point.getX() > viewportWidth || point.getY() > viewportHeight || point.getX() < 0 || point.getY() < 0)
|
||||
{
|
||||
clickRandomPointCenter(-200, 200);
|
||||
clickRandomPointCenter(-100, 100);
|
||||
return;
|
||||
}
|
||||
moveClick(point);
|
||||
click(point);
|
||||
}
|
||||
|
||||
public void handleMouseClick(Rectangle rectangle)
|
||||
|
@ -864,7 +864,7 @@ public class BotUtils extends Plugin
|
|||
assert !client.isClientThread();
|
||||
|
||||
Point point = getClickPoint(rectangle);
|
||||
moveClick(point);
|
||||
click(point);
|
||||
}
|
||||
|
||||
public void delayMouseClick(Point point, long delay)
|
||||
|
|
|
@ -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-19","sha512sum":"98C457FBD65A8C44685051634327554243DC9ECE0FA5783AFFF927BC8EB5F22916127CDDCB504D5F3ED213502C7EEEE848D2E7B4C7A092E4537698D23A2062D5","version":"3.3.3","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/botutils-3.3.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-19","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-19","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-19","sha512sum":"0F22F3AB1424EA28BDACA6A4DAE64272958AD57D1AE22708E53A8DFC8A7598898BB39990A0379802BEB2CEA1680604D8BA520C412A976261616B9E1F16CE0B2D","version":"1.1.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/powerfighter-1.1.0.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-19","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-19","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-19","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-19","sha512sum":"344E35C1EA9B5933D1E6EED20DFD91FA979B49DCC59BD57732D0A56E35507B0C397C8D5AA99095A85B17A23CE72E239FF9A8E0CC51D1F01455B4193BB3CDD8E4","version":"3.4.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/botutils-3.4.0.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-19","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-19","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-19","sha512sum":"0F22F3AB1424EA28BDACA6A4DAE64272958AD57D1AE22708E53A8DFC8A7598898BB39990A0379802BEB2CEA1680604D8BA520C412A976261616B9E1F16CE0B2D","version":"1.1.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/powerfighter-1.1.0.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-19","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-19","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-19","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"}]}]
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue