diff --git a/iutils/iutils.gradle.kts b/iutils/iutils.gradle.kts index 628610fb..0718665a 100644 --- a/iutils/iutils.gradle.kts +++ b/iutils/iutils.gradle.kts @@ -23,7 +23,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -version = "1.7.0" +version = "1.8.0" project.extra["PluginName"] = "iUtils" project.extra["PluginDescription"] = "Illumine - Utils required for plugins to function with added automation" diff --git a/iutils/src/main/java/net/runelite/client/plugins/iutils/iUtils.java b/iutils/src/main/java/net/runelite/client/plugins/iutils/iUtils.java index 1c8fc040..cdd6f9af 100644 --- a/iutils/src/main/java/net/runelite/client/plugins/iutils/iUtils.java +++ b/iutils/src/main/java/net/runelite/client/plugins/iutils/iUtils.java @@ -169,7 +169,6 @@ public class iUtils extends Plugin { public void doActionMsTime(MenuEntry entry, Point point, int timeToDelay) { - Runnable runnable = () -> { menu.setEntry(entry); mouse.handleMouseClick(point); @@ -178,6 +177,22 @@ public class iUtils extends Plugin { action.delayTime(timeToDelay, runnable); } + public void doModifiedActionMsTime(MenuEntry entry, int modifiedID, int modifiedIndex, int modifiedOpcode, Rectangle rect, int timeToDelay) + { + Point point = mouse.getClickPoint(rect); + doModifiedActionMsTime(entry, modifiedID, modifiedIndex, modifiedOpcode, point, timeToDelay); + } + + public void doModifiedActionMsTime(MenuEntry entry, int modifiedID, int modifiedIndex, int modifiedOpcode, Point point, int timeToDelay) + { + Runnable runnable = () -> { + menu.setModifiedEntry(entry, modifiedID, modifiedIndex, modifiedOpcode); + mouse.handleMouseClick(point); + }; + + action.delayTime(timeToDelay, runnable); + } + public void oneClickCastSpell(WidgetInfo spellWidget, MenuEntry targetMenu, long sleepLength) { menu.setEntry(targetMenu, true); mouse.delayMouseClick(new Rectangle(0, 0, 100, 100), sleepLength); diff --git a/plugins.json b/plugins.json index 9a3d01db..e69de29b 100644 --- a/plugins.json +++ b/plugins.json @@ -1 +0,0 @@ -[{"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-11-05","sha512sum":"E6E86ECC9B7E7F45A97E7BF97A57F733247D5EDF280E14C83B685EEB517F64C421E069210E76E3672547B18F80EE148D973240627EB41D8FBA11C2A8EB359355","version":"4.9.1","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/botutils-4.9.1.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"iCombination Runecrafter Plugin","description":"Illumine - Combination Runecrafting plugin","id":"icombinationrunecrafterplugin-plugin","releases":[{"date":"2020-11-05","sha512sum":"5CF8190D3AB08D63ED8E5BA87D183A580270C31353F07BC80FF4576F3F742F66CFC2E97066370ADA2D7B5B61C67F00CB7C123C0B362E6581F7B4F831EDA147DE","version":"2.0.1","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/icombinationrunecrafter-2.0.1.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"iMagic Caster","description":"Illumine automated magic caster","id":"imagiccaster-plugin","releases":[{"date":"2020-11-05","sha512sum":"C2FD765B4E98DAF24A4DBE53D1CEF9324ADE6B91D50E18A3BF59BEC4E965EFED74F117243719EAE8CABB9817412CC2A62F78D61E3B26A0336019E3ACA64C3B8C","version":"3.0.1","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/imagiccaster-3.0.1.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"iMenu Debugger Plugin","description":"Illumine - Menu Debugger plugin","id":"imenudebuggerplugin-plugin","releases":[{"date":"2020-11-05","sha512sum":"0491580D6FD8D5DA35F2F6F8723D84365D46F5446F533EE3B0053AEF9318F4E842F78886E6567F0F1E0CB0034C9D7D3CD438943615DBFA1E5495A6D58E04789E","version":"1.0.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/imenudebugger-1.0.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"iPowerfighter Plugin","description":"Illumine - Powerfighter plugin","id":"ipowerfighterplugin-plugin","releases":[{"date":"2020-11-05","sha512sum":"8F21035BCEAAD4F397AD219E254978107F9247486E31CFADE83AAFC3710EEF0339EB6F99B847B5A0479A614790860BCBC92739402C67C5504519DC965B03BFFD","version":"3.3.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/ipowerfighter-3.3.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"iPower Skiller","description":"Illumine auto power skiller plugin","id":"ipowerskiller-plugin","releases":[{"date":"2020-11-05","sha512sum":"65B6112296D33786A454651A97768F7F157595D302C71E5A290866EC72CE5B8C181EDF90F59348F430C11EDE3825A0A883C91D2A1BAE4CBE247F11C49DA430B0","version":"5.0.1","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/ipowerskiller-5.0.1.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"iQuick Eater","description":"Illumine - auto eat food, consume potions and equip items","id":"iquickeater-plugin","releases":[{"date":"2020-11-05","sha512sum":"AE38E3ADAC6D9A4AFD730831369D814D16E10E2766067BDF44D0D6B9CA86C3CF606826A6F4E01F362D3A7F4AF164990221616751EE1A1F589211AF12F1AD5379","version":"4.2.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/iquickeater-4.2.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"iRandom Handler","description":"illumine - Dismiss random events and handle genie","id":"irandomhandler-plugin","releases":[{"date":"2020-11-05","sha512sum":"12B35C7A9DF568EE8B8C3437264B90770EAEFC351BDE29DBC16653E71280E30663863D7027216F0118563267AA24DF4D7ED2FE54375491B1DED0A70F2FC557E9","version":"2.0.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/irandomhandler-2.0.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"iRooftop Agility","description":"Illumine automated rooftop agility plugin","id":"irooftopagility-plugin","releases":[{"date":"2020-11-05","sha512sum":"C1FAE9C4D82CFD3FCEA8A9D1D81A95A42F87E960CCE35FDCAAC3F0D443517D28904E837B3FAE5152F2424FDC71E518EDC0955FE15FFDF8AB14DB5C34BD3544C6","version":"5.0.2","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/irooftopagility-5.0.2.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"iTaskTemplate","description":"Illumine - Task Template plugin","id":"itasktemplate-plugin","releases":[{"date":"2020-11-05","sha512sum":"29C88613DAC55A2DB28E9FF4856BDCAD41074053285ACE55C9BB5F75AF45773EC90EB27B4879A52AA4F82E2D4CB2D116E37A9816E31AE12BE35620DB5B959CE6","version":"1.0.1","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/itasktemplate-1.0.1.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"iUtils","description":"Illumine - Utils required for plugins to function with added automation","id":"iutils-plugin","releases":[{"date":"2020-11-05","sha512sum":"7B93D8644414588EFAEEC74C6BAB35A8A22C0C611DECF6922F016AAB2640A9F7642F878C0417097F2738E5807237C5BC8B6AB0399DF25DC20B00A8FA03AEBF26","version":"1.7.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/iutils-1.7.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"iWorld Walker Plugin","description":"Illumine - World Walker plugin","id":"iworldwalkerplugin-plugin","releases":[{"date":"2020-11-05","sha512sum":"80BBE9E2A798A8FA09A418BA2E22B96FD3C71C830024473E23E614465CCAF948BA8233929557F4C6DB531837057E4FD7506FB489C768FBABB21376A2EF14B963","version":"2.2.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/iworldwalker-2.2.0.jar?raw=true","requires":"0.0.1"}]}] diff --git a/release/botutils-4.9.1.jar b/release/botutils-4.9.1.jar deleted file mode 100644 index c63578e4..00000000 Binary files a/release/botutils-4.9.1.jar and /dev/null differ diff --git a/release/icombinationrunecrafter-2.0.1.jar b/release/icombinationrunecrafter-2.0.1.jar deleted file mode 100644 index 77e222a0..00000000 Binary files a/release/icombinationrunecrafter-2.0.1.jar and /dev/null differ diff --git a/release/imagiccaster-3.0.1.jar b/release/imagiccaster-3.0.1.jar deleted file mode 100644 index 481421af..00000000 Binary files a/release/imagiccaster-3.0.1.jar and /dev/null differ diff --git a/release/imenudebugger-1.0.0.jar b/release/imenudebugger-1.0.0.jar deleted file mode 100644 index 9611ad37..00000000 Binary files a/release/imenudebugger-1.0.0.jar and /dev/null differ diff --git a/release/ipowerfighter-3.3.0.jar b/release/ipowerfighter-3.3.0.jar deleted file mode 100644 index 6883342a..00000000 Binary files a/release/ipowerfighter-3.3.0.jar and /dev/null differ diff --git a/release/ipowerskiller-5.0.1.jar b/release/ipowerskiller-5.0.1.jar deleted file mode 100644 index 10159fcb..00000000 Binary files a/release/ipowerskiller-5.0.1.jar and /dev/null differ diff --git a/release/iquickeater-4.2.0.jar b/release/iquickeater-4.2.0.jar deleted file mode 100644 index 5aff6fcc..00000000 Binary files a/release/iquickeater-4.2.0.jar and /dev/null differ diff --git a/release/irandomhandler-2.0.0.jar b/release/irandomhandler-2.0.0.jar deleted file mode 100644 index cab96c75..00000000 Binary files a/release/irandomhandler-2.0.0.jar and /dev/null differ diff --git a/release/irooftopagility-5.0.2.jar b/release/irooftopagility-5.0.2.jar deleted file mode 100644 index be186383..00000000 Binary files a/release/irooftopagility-5.0.2.jar and /dev/null differ diff --git a/release/itasktemplate-1.0.1.jar b/release/itasktemplate-1.0.1.jar deleted file mode 100644 index c3028188..00000000 Binary files a/release/itasktemplate-1.0.1.jar and /dev/null differ diff --git a/release/iutils-1.7.0.jar b/release/iutils-1.7.0.jar deleted file mode 100644 index a3cadb87..00000000 Binary files a/release/iutils-1.7.0.jar and /dev/null differ diff --git a/release/iworldwalker-2.2.0.jar b/release/iworldwalker-2.2.0.jar deleted file mode 100644 index e22ef53c..00000000 Binary files a/release/iworldwalker-2.2.0.jar and /dev/null differ