botutils: mouse function updates to utilise the botutils mouse configuration correctly
combinationrunecrafter: using ring of dueling teleport will now always use botutils mouse configuration
This commit is contained in:
parent
9b41e019c5
commit
e36b806094
|
@ -25,7 +25,7 @@ import ProjectVersions.openosrsVersion
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
version = "4.8.1"
|
||||
version = "4.8.2"
|
||||
|
||||
project.extra["PluginName"] = "BotUtils"
|
||||
project.extra["PluginDescription"] = "Illumine - Utils required for plugins to function with added automation"
|
||||
|
|
|
@ -936,7 +936,7 @@ public class BotUtils extends Plugin
|
|||
assert !client.isClientThread();
|
||||
|
||||
Point point = new Point(getRandomIntBetweenRange(min, max), getRandomIntBetweenRange(min, max));
|
||||
moveClick(point);
|
||||
handleMouseClick(point);
|
||||
}
|
||||
|
||||
public void clickRandomPointCenter(int min, int max)
|
||||
|
@ -944,7 +944,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);
|
||||
handleMouseClick(point);
|
||||
}
|
||||
|
||||
public void delayClickRandomPointCenter(int min, int max, long delay)
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
version = "1.8.0"
|
||||
version = "1.9.0"
|
||||
|
||||
project.extra["PluginName"] = "Combination Runecrafter Plugin"
|
||||
project.extra["PluginDescription"] = "Illumine - Combination Runecrafting plugin"
|
||||
|
|
|
@ -42,6 +42,7 @@ import net.runelite.api.MenuEntry;
|
|||
import net.runelite.api.MenuOpcode;
|
||||
import net.runelite.api.ObjectID;
|
||||
import net.runelite.api.Player;
|
||||
import net.runelite.api.Point;
|
||||
import net.runelite.api.Varbits;
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
import net.runelite.api.events.ConfigButtonClicked;
|
||||
|
@ -357,7 +358,7 @@ public class CombinationRunecrafterPlugin extends Plugin
|
|||
else
|
||||
{
|
||||
utils.setMenuEntry(targetMenu);
|
||||
utils.delayClickRandomPointCenter(-200, 200, sleepDelay());
|
||||
utils.delayMouseClick(new Point(0,0), sleepDelay());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue