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:
illumineawake 2020-10-02 09:19:49 +10:00
parent 9b41e019c5
commit e36b806094
9 changed files with 7 additions and 6 deletions

View File

@ -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"

View File

@ -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)

View File

@ -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"

View File

@ -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.

BIN
release/botutils-4.8.2.jar Normal file

Binary file not shown.

Binary file not shown.