parent
e36b806094
commit
fe9487f969
|
@ -6,9 +6,7 @@
|
|||
package net.runelite.client.plugins.autoclickillumine;
|
||||
|
||||
import com.google.inject.Provides;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
import java.util.concurrent.ExecutorService;
|
||||
|
@ -20,14 +18,14 @@ import lombok.Setter;
|
|||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.Client;
|
||||
import net.runelite.api.GameState;
|
||||
import net.runelite.api.NPC;
|
||||
import net.runelite.api.Point;
|
||||
import net.runelite.api.Skill;
|
||||
import net.runelite.api.NPC;
|
||||
import net.runelite.client.game.ItemManager;
|
||||
import net.runelite.api.widgets.Widget;
|
||||
import net.runelite.api.widgets.WidgetInfo;
|
||||
import net.runelite.api.widgets.WidgetItem;
|
||||
import net.runelite.client.config.ConfigManager;
|
||||
import net.runelite.client.game.ItemManager;
|
||||
import net.runelite.client.input.KeyManager;
|
||||
import net.runelite.client.plugins.Plugin;
|
||||
import net.runelite.client.plugins.PluginDependency;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
import ProjectVersions.openosrsVersion;
|
||||
|
||||
/*
|
||||
* Copyright (c) 2019 Owain van Brakel <https://github.com/Owain94>
|
||||
* All rights reserved.
|
||||
|
|
|
@ -27,19 +27,23 @@
|
|||
package net.runelite.client.plugins.blackjackillumine;
|
||||
|
||||
import com.google.inject.Provides;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
||||
import java.util.concurrent.ScheduledExecutorService;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import javax.inject.Inject;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.*;
|
||||
import net.runelite.api.Point;
|
||||
import net.runelite.api.events.*;
|
||||
import net.runelite.api.util.Text;
|
||||
import net.runelite.api.widgets.WidgetItem;
|
||||
import net.runelite.client.Notifier;
|
||||
import net.runelite.client.config.ConfigManager;
|
||||
import net.runelite.client.eventbus.EventBus;
|
||||
import net.runelite.client.eventbus.Subscribe;
|
||||
import net.runelite.client.game.NPCManager;
|
||||
import net.runelite.client.input.KeyManager;
|
||||
import net.runelite.client.menus.AbstractComparableEntry;
|
||||
import net.runelite.client.menus.MenuManager;
|
||||
import net.runelite.client.plugins.Plugin;
|
||||
|
@ -48,21 +52,9 @@ import net.runelite.client.plugins.PluginDescriptor;
|
|||
import net.runelite.client.plugins.PluginType;
|
||||
import net.runelite.client.plugins.botutils.BotUtils;
|
||||
import net.runelite.client.util.HotkeyListener;
|
||||
import net.runelite.client.input.KeyManager;
|
||||
import org.apache.commons.lang3.RandomUtils;
|
||||
import org.pf4j.Extension;
|
||||
|
||||
import java.awt.*;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
||||
import java.util.concurrent.ScheduledExecutorService;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import static java.awt.event.InputEvent.BUTTON1_DOWN_MASK;
|
||||
|
||||
/**
|
||||
* Authors gazivodag longstreet
|
||||
*/
|
||||
|
|
|
@ -26,25 +26,19 @@
|
|||
package net.runelite.client.plugins.blastfurnacebot;
|
||||
|
||||
import com.google.inject.Provides;
|
||||
|
||||
import java.awt.event.KeyEvent;
|
||||
import java.time.Duration;
|
||||
import java.time.Instant;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.inject.Inject;
|
||||
|
||||
import lombok.AccessLevel;
|
||||
import lombok.Getter;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import net.runelite.api.*;
|
||||
|
||||
import static net.runelite.api.NullObjectID.NULL_29330;
|
||||
import static net.runelite.api.NullObjectID.NULL_9092;
|
||||
|
||||
import static net.runelite.api.ObjectID.*;
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
import net.runelite.api.events.*;
|
||||
import net.runelite.api.util.Text;
|
||||
import net.runelite.api.widgets.Widget;
|
||||
import net.runelite.api.widgets.WidgetID;
|
||||
|
@ -58,10 +52,7 @@ import net.runelite.client.plugins.Plugin;
|
|||
import net.runelite.client.plugins.PluginDependency;
|
||||
import net.runelite.client.plugins.PluginDescriptor;
|
||||
import net.runelite.client.plugins.PluginType;
|
||||
|
||||
import static net.runelite.api.ObjectID.*;
|
||||
import static net.runelite.client.plugins.blastfurnacebot.BlastFurnaceState.*;
|
||||
|
||||
import net.runelite.client.plugins.botutils.BotUtils;
|
||||
import net.runelite.client.ui.overlay.OverlayManager;
|
||||
import net.runelite.client.ui.overlay.infobox.InfoBoxManager;
|
||||
|
|
|
@ -3,8 +3,6 @@ package net.runelite.client.plugins.blastfurnacebot;
|
|||
import java.awt.Dimension;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.Rectangle;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.text.NumberFormat;
|
||||
import java.time.Duration;
|
||||
import java.time.Instant;
|
||||
import javax.inject.Inject;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
import ProjectVersions.openosrsVersion
|
||||
|
||||
/*
|
||||
* Copyright (c) 2019 Owain van Brakel <https://github.com/Owain94>
|
||||
* All rights reserved.
|
||||
|
|
|
@ -26,28 +26,19 @@
|
|||
package net.runelite.client.plugins.essencehighlighter;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.*;
|
||||
import net.runelite.api.Point;
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
import net.runelite.client.game.SkillIconManager;
|
||||
|
||||
import net.runelite.client.ui.overlay.Overlay;
|
||||
import net.runelite.client.ui.overlay.OverlayLayer;
|
||||
import net.runelite.client.ui.overlay.OverlayPosition;
|
||||
import net.runelite.client.ui.overlay.OverlayUtil;
|
||||
|
||||
import net.runelite.api.Client;
|
||||
import net.runelite.api.GameObject;
|
||||
import net.runelite.api.InventoryID;
|
||||
import net.runelite.api.Item;
|
||||
import net.runelite.client.ui.overlay.components.ImageComponent;
|
||||
|
||||
|
||||
import java.awt.*;
|
||||
|
||||
import static net.runelite.api.ItemID.*;
|
||||
import net.runelite.api.Point;
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
import net.runelite.client.game.SkillIconManager;
|
||||
import net.runelite.client.ui.overlay.Overlay;
|
||||
import net.runelite.client.ui.overlay.OverlayLayer;
|
||||
import net.runelite.client.ui.overlay.OverlayPosition;
|
||||
import net.runelite.client.ui.overlay.OverlayUtil;
|
||||
|
||||
|
||||
@Slf4j
|
||||
|
|
|
@ -26,7 +26,6 @@ package net.runelite.client.plugins.essencehighlighter;
|
|||
|
||||
import com.google.inject.Provides;
|
||||
import java.util.HashSet;
|
||||
|
||||
import java.util.Set;
|
||||
import javax.inject.Inject;
|
||||
import lombok.AccessLevel;
|
||||
|
@ -37,9 +36,8 @@ import net.runelite.api.DecorativeObject;
|
|||
import net.runelite.api.GameObject;
|
||||
import net.runelite.api.GameState;
|
||||
import net.runelite.api.NPC;
|
||||
import static net.runelite.api.NullItemID.NULL_8975;
|
||||
import net.runelite.api.NullObjectID;
|
||||
import net.runelite.api.Varbits;
|
||||
import net.runelite.client.events.ConfigChanged;
|
||||
import net.runelite.api.events.GameObjectDespawned;
|
||||
import net.runelite.api.events.GameObjectSpawned;
|
||||
import net.runelite.api.events.GameStateChanged;
|
||||
|
@ -48,12 +46,11 @@ import net.runelite.api.events.VarbitChanged;
|
|||
import net.runelite.client.Notifier;
|
||||
import net.runelite.client.config.ConfigManager;
|
||||
import net.runelite.client.eventbus.Subscribe;
|
||||
import net.runelite.client.events.ConfigChanged;
|
||||
import net.runelite.client.plugins.Plugin;
|
||||
import net.runelite.client.plugins.PluginDescriptor;
|
||||
import net.runelite.client.plugins.PluginType;
|
||||
import net.runelite.client.ui.overlay.OverlayManager;
|
||||
|
||||
import static net.runelite.api.NullItemID.NULL_8975;
|
||||
import org.pf4j.Extension;
|
||||
|
||||
@Extension
|
||||
|
|
|
@ -29,9 +29,6 @@ import net.runelite.client.config.Config;
|
|||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
||||
@ConfigGroup("EssenceHighlighter")
|
||||
public interface EssenceConfig extends Config
|
||||
{
|
||||
|
|
|
@ -25,13 +25,8 @@
|
|||
*/
|
||||
package net.runelite.client.plugins.motherlodebot;
|
||||
|
||||
import javax.swing.JButton;
|
||||
import javax.swing.JPanel;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.Range;
|
||||
import net.runelite.client.config.Units;
|
||||
|
||||
@ConfigGroup("MotherlodeBot")
|
||||
public interface MotherlodeBotConfiguration extends Config
|
||||
|
|
|
@ -26,9 +26,12 @@
|
|||
package net.runelite.client.plugins.motherlodebot;
|
||||
|
||||
import com.google.inject.Provides;
|
||||
import java.util.concurrent.ArrayBlockingQueue;
|
||||
import java.util.concurrent.BlockingQueue;
|
||||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import javax.inject.Inject;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.*;
|
||||
import static net.runelite.api.ObjectID.ORE_VEIN_26661;
|
||||
import static net.runelite.api.ObjectID.ORE_VEIN_26662;
|
||||
import static net.runelite.api.ObjectID.ORE_VEIN_26663;
|
||||
|
@ -38,27 +41,17 @@ import static net.runelite.api.ObjectID.ROCKFALL_26680;
|
|||
import net.runelite.api.coords.LocalPoint;
|
||||
import net.runelite.api.coords.WorldArea;
|
||||
import net.runelite.api.coords.WorldPoint;
|
||||
import net.runelite.api.events.*;
|
||||
import net.runelite.api.queries.GameObjectQuery;
|
||||
import net.runelite.api.queries.WallObjectQuery;
|
||||
import net.runelite.api.widgets.Widget;
|
||||
import net.runelite.api.widgets.WidgetInfo;
|
||||
import net.runelite.api.widgets.WidgetItem;
|
||||
import net.runelite.client.config.ConfigManager;
|
||||
import net.runelite.client.eventbus.Subscribe;
|
||||
import net.runelite.client.events.ConfigChanged;
|
||||
import net.runelite.client.plugins.Plugin;
|
||||
import net.runelite.client.plugins.PluginDependency;
|
||||
import net.runelite.client.plugins.PluginDescriptor;
|
||||
import net.runelite.client.plugins.PluginType;
|
||||
import net.runelite.client.plugins.botutils.BotUtils;
|
||||
import org.pf4j.Extension;
|
||||
import java.util.*;
|
||||
import java.util.concurrent.ArrayBlockingQueue;
|
||||
import java.util.concurrent.BlockingQueue;
|
||||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import static net.runelite.client.plugins.motherlodebot.MotherlodeBotState.*;
|
||||
import org.pf4j.Extension;
|
||||
|
||||
|
||||
@Extension
|
||||
|
|
|
@ -25,13 +25,9 @@
|
|||
*/
|
||||
package net.runelite.client.plugins.powerskiller;
|
||||
|
||||
import javax.swing.JButton;
|
||||
import javax.swing.JPanel;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.Range;
|
||||
import net.runelite.client.config.Units;
|
||||
|
||||
@ConfigGroup("PowerSkiller")
|
||||
public interface PowerSkillerConfiguration extends Config
|
||||
|
|
|
@ -26,12 +26,13 @@
|
|||
package net.runelite.client.plugins.powerskiller;
|
||||
|
||||
import com.google.inject.Provides;
|
||||
import java.util.concurrent.ArrayBlockingQueue;
|
||||
import java.util.concurrent.BlockingQueue;
|
||||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import javax.inject.Inject;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.*;
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
import net.runelite.api.coords.WorldPoint;
|
||||
import net.runelite.api.events.*;
|
||||
import net.runelite.api.widgets.Widget;
|
||||
import net.runelite.api.widgets.WidgetInfo;
|
||||
import net.runelite.api.widgets.WidgetItem;
|
||||
|
@ -43,13 +44,8 @@ import net.runelite.client.plugins.PluginDependency;
|
|||
import net.runelite.client.plugins.PluginDescriptor;
|
||||
import net.runelite.client.plugins.PluginType;
|
||||
import net.runelite.client.plugins.botutils.BotUtils;
|
||||
import org.pf4j.Extension;
|
||||
import java.util.*;
|
||||
import java.util.concurrent.ArrayBlockingQueue;
|
||||
import java.util.concurrent.BlockingQueue;
|
||||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import static net.runelite.client.plugins.powerskiller.PowerSkillerState.*;
|
||||
import org.pf4j.Extension;
|
||||
|
||||
|
||||
@Extension
|
||||
|
|
|
@ -30,7 +30,6 @@ import java.util.Arrays;
|
|||
import java.util.Set;
|
||||
import javax.inject.Inject;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.*;
|
||||
import net.runelite.api.events.InteractingChanged;
|
||||
import net.runelite.api.events.MenuEntryAdded;
|
||||
import net.runelite.api.events.MenuOptionClicked;
|
||||
|
|
|
@ -26,12 +26,8 @@
|
|||
package net.runelite.client.plugins.test;
|
||||
|
||||
import com.google.inject.Provides;
|
||||
|
||||
import io.reactivex.rxjava3.schedulers.Schedulers;
|
||||
import java.awt.event.KeyEvent;
|
||||
import static java.awt.event.KeyEvent.VK_ENTER;
|
||||
import java.time.Instant;
|
||||
import java.util.Collection;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
import java.util.Set;
|
||||
import java.util.concurrent.ArrayBlockingQueue;
|
||||
|
@ -40,56 +36,28 @@ import java.util.concurrent.ThreadPoolExecutor;
|
|||
import java.util.concurrent.TimeUnit;
|
||||
import javax.inject.Inject;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.*;
|
||||
import static net.runelite.api.ObjectID.*;
|
||||
import static net.runelite.api.Varbits.BLAST_FURNACE_COFFER;
|
||||
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
import net.runelite.api.coords.WorldArea;
|
||||
import net.runelite.api.coords.WorldPoint;
|
||||
import net.runelite.api.events.*;
|
||||
|
||||
import net.runelite.api.geometry.Shapes;
|
||||
import net.runelite.api.queries.ActorQuery;
|
||||
import net.runelite.api.queries.BankItemQuery;
|
||||
import net.runelite.api.queries.GameObjectQuery;
|
||||
import net.runelite.api.queries.InventoryItemQuery;
|
||||
import net.runelite.api.queries.InventoryWidgetItemQuery;
|
||||
import net.runelite.api.queries.PlayerQuery;
|
||||
import net.runelite.api.queries.TileQuery;
|
||||
import net.runelite.api.queries.WidgetItemQuery;
|
||||
import net.runelite.api.util.Text;
|
||||
import net.runelite.api.widgets.Widget;
|
||||
import net.runelite.api.widgets.WidgetInfo;
|
||||
|
||||
import net.runelite.api.queries.NPCQuery;
|
||||
|
||||
import net.runelite.api.widgets.WidgetItem;
|
||||
import net.runelite.client.config.ConfigManager;
|
||||
import net.runelite.client.eventbus.Subscribe;
|
||||
import net.runelite.client.events.ConfigChanged;
|
||||
import net.runelite.client.game.ItemManager;
|
||||
import net.runelite.client.menus.InventoryComparableEntry;
|
||||
import net.runelite.client.menus.MenuManager;
|
||||
import net.runelite.client.menus.WidgetMenuOption;
|
||||
import net.runelite.client.plugins.Plugin;
|
||||
import net.runelite.client.plugins.PluginDependency;
|
||||
import net.runelite.client.plugins.PluginDescriptor;
|
||||
import net.runelite.client.plugins.PluginManager;
|
||||
import net.runelite.client.plugins.PluginType;
|
||||
import net.runelite.client.plugins.botutils.BotUtils;
|
||||
import net.runelite.client.ui.overlay.infobox.InfoBoxManager;
|
||||
import org.pf4j.Extension;
|
||||
|
||||
/*import net.runelite.client.rsb.methods.Tiles;
|
||||
import net.runelite.client.rsb.wrappers.RSArea;
|
||||
import net.runelite.client.rsb.wrappers.RSTile;*/
|
||||
import net.runelite.client.ui.overlay.infobox.InfoBoxManager;
|
||||
import net.runelite.client.util.QuantityFormatter;
|
||||
import net.runelite.http.api.ge.GrandExchangeClient;
|
||||
import net.runelite.http.api.osbuddy.OSBGrandExchangeClient;
|
||||
import net.runelite.http.api.osbuddy.OSBGrandExchangeResult;
|
||||
import org.pf4j.Extension;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/*import net.runelite.client.rsb.methods.*;
|
||||
import net.runelite.client.rsb.botLauncher.*;*/
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
package net.runelite.client.plugins.test;
|
||||
|
||||
import java.util.function.Consumer;
|
||||
import net.runelite.client.config.Alpha;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
import ProjectVersions.openosrsVersion
|
||||
|
||||
/*
|
||||
* Copyright (c) 2019 Owain van Brakel <https://github.com/Owain94>
|
||||
* All rights reserved.
|
||||
|
@ -25,7 +23,7 @@ import ProjectVersions.openosrsVersion
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
version = "4.8.2"
|
||||
version = "4.8.3"
|
||||
|
||||
project.extra["PluginName"] = "BotUtils"
|
||||
project.extra["PluginDescription"] = "Illumine - Utils required for plugins to function with added automation"
|
||||
|
|
|
@ -6,12 +6,13 @@
|
|||
package net.runelite.client.plugins.botutils;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.inject.Provides;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.Rectangle;
|
||||
import java.awt.event.KeyEvent;
|
||||
import static java.awt.event.KeyEvent.VK_ENTER;
|
||||
import java.awt.event.MouseEvent;
|
||||
import java.io.IOException;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
|
@ -28,7 +29,6 @@ import java.util.stream.Collectors;
|
|||
import javax.annotation.Nullable;
|
||||
import javax.inject.Inject;
|
||||
import javax.inject.Singleton;
|
||||
import com.google.inject.Provides;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.ChatMessageType;
|
||||
import net.runelite.api.Client;
|
||||
|
@ -77,10 +77,7 @@ import net.runelite.client.game.ItemManager;
|
|||
import net.runelite.client.plugins.Plugin;
|
||||
import net.runelite.client.plugins.PluginDescriptor;
|
||||
import net.runelite.client.plugins.PluginType;
|
||||
|
||||
import static java.awt.event.KeyEvent.VK_ENTER;
|
||||
import static net.runelite.client.plugins.botutils.Banks.ALL_BANKS;
|
||||
|
||||
import net.runelite.http.api.ge.GrandExchangeClient;
|
||||
import net.runelite.http.api.osbuddy.OSBGrandExchangeClient;
|
||||
import net.runelite.http.api.osbuddy.OSBGrandExchangeResult;
|
||||
|
@ -913,7 +910,7 @@ public class BotUtils extends Plugin
|
|||
mouseEvent(503, p);
|
||||
}
|
||||
|
||||
public int getRandomIntBetweenRange(int min, int max)
|
||||
public static int getRandomIntBetweenRange(int min, int max)
|
||||
{
|
||||
//return (int) ((Math.random() * ((max - min) + 1)) + min); //This does not allow return of negative values
|
||||
return ThreadLocalRandom.current().nextInt(min, max + 1);
|
||||
|
|
|
@ -0,0 +1,123 @@
|
|||
package net.runelite.client.plugins.botutils;
|
||||
|
||||
import java.awt.Dimension;
|
||||
import java.awt.Rectangle;
|
||||
import java.awt.event.MouseEvent;
|
||||
import javax.inject.Inject;
|
||||
import javax.inject.Singleton;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.Client;
|
||||
import net.runelite.api.Point;
|
||||
import static net.runelite.client.plugins.botutils.BotUtils.getRandomIntBetweenRange;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@Slf4j
|
||||
@Singleton
|
||||
public class MouseUtils
|
||||
{
|
||||
|
||||
@Inject
|
||||
private Client client;
|
||||
|
||||
@Inject
|
||||
private BotUtilsConfig config;
|
||||
|
||||
|
||||
private void mouseEvent(int id, @NotNull Point point)
|
||||
{
|
||||
MouseEvent e = new MouseEvent(
|
||||
client.getCanvas(), id,
|
||||
System.currentTimeMillis(),
|
||||
0, point.getX(), point.getY(),
|
||||
1, false, 1
|
||||
);
|
||||
|
||||
client.getCanvas().dispatchEvent(e);
|
||||
}
|
||||
|
||||
/**
|
||||
* This method must be called on a new
|
||||
* thread, if you try to call it on
|
||||
* {@link net.runelite.client.callback.ClientThread}
|
||||
* it will result in a crash/desynced thread.
|
||||
*/
|
||||
public void click(Client client, Rectangle rectangle)
|
||||
{
|
||||
assert !client.isClientThread();
|
||||
|
||||
Point point = getClickPoint(rectangle);
|
||||
click(point);
|
||||
}
|
||||
|
||||
public void click(Point p)
|
||||
{
|
||||
assert !client.isClientThread();
|
||||
|
||||
if (client.isStretchedEnabled())
|
||||
{
|
||||
final Dimension stretched = client.getStretchedDimensions();
|
||||
final Dimension real = client.getRealDimensions();
|
||||
final double width = (stretched.width / real.getWidth());
|
||||
final double height = (stretched.height / real.getHeight());
|
||||
final Point point = new Point((int) (p.getX() * width), (int) (p.getY() * height));
|
||||
mouseEvent(501, point);
|
||||
mouseEvent(502, point);
|
||||
mouseEvent(500, point);
|
||||
return;
|
||||
}
|
||||
mouseEvent(501, p);
|
||||
mouseEvent(502, p);
|
||||
mouseEvent(500, p);
|
||||
}
|
||||
|
||||
public void moveClick(Rectangle rectangle)
|
||||
{
|
||||
assert !client.isClientThread();
|
||||
|
||||
Point point = getClickPoint(rectangle);
|
||||
moveClick(point);
|
||||
}
|
||||
|
||||
public void moveClick(Point p)
|
||||
{
|
||||
assert !client.isClientThread();
|
||||
|
||||
if (client.isStretchedEnabled())
|
||||
{
|
||||
final Dimension stretched = client.getStretchedDimensions();
|
||||
final Dimension real = client.getRealDimensions();
|
||||
final double width = (stretched.width / real.getWidth());
|
||||
final double height = (stretched.height / real.getHeight());
|
||||
final Point point = new Point((int) (p.getX() * width), (int) (p.getY() * height));
|
||||
mouseEvent(504, point);
|
||||
mouseEvent(505, point);
|
||||
mouseEvent(503, point);
|
||||
mouseEvent(501, point);
|
||||
mouseEvent(502, point);
|
||||
mouseEvent(500, point);
|
||||
return;
|
||||
}
|
||||
mouseEvent(504, p);
|
||||
mouseEvent(505, p);
|
||||
mouseEvent(503, p);
|
||||
mouseEvent(501, p);
|
||||
mouseEvent(502, p);
|
||||
mouseEvent(500, p);
|
||||
}
|
||||
|
||||
public Point getClickPoint(@NotNull Rectangle rect)
|
||||
{
|
||||
final int x = (int) (rect.getX() + getRandomIntBetweenRange((int) rect.getWidth() / 6 * -1, (int) rect.getWidth() / 6) + rect.getWidth() / 2);
|
||||
final int y = (int) (rect.getY() + getRandomIntBetweenRange((int) rect.getHeight() / 6 * -1, (int) rect.getHeight() / 6) + rect.getHeight() / 2);
|
||||
|
||||
return new Point(x, y);
|
||||
}
|
||||
|
||||
public void moveMouseEvent(Rectangle rectangle)
|
||||
{
|
||||
assert !client.isClientThread();
|
||||
|
||||
Point point = getClickPoint(rectangle);
|
||||
moveClick(point);
|
||||
}
|
||||
}
|
|
@ -1,8 +1,4 @@
|
|||
import com.savvasdalkitsis.jsonmerger.JsonMerger
|
||||
import okhttp3.Call
|
||||
import okhttp3.Callback
|
||||
import okhttp3.OkHttpClient
|
||||
import okhttp3.Request
|
||||
import org.gradle.api.DefaultTask
|
||||
import org.gradle.api.tasks.TaskAction
|
||||
import org.gradle.kotlin.dsl.extra
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
version = "2.8.0"
|
||||
version = "2.8.1"
|
||||
|
||||
project.extra["PluginName"] = "Magic Caster"
|
||||
project.extra["PluginDescription"] = "Illumine automated magic caster"
|
||||
|
|
|
@ -30,12 +30,12 @@ import com.owain.chinbreakhandler.ChinBreakHandler;
|
|||
import java.time.Instant;
|
||||
import javax.inject.Inject;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.AnimationID;
|
||||
import net.runelite.api.ChatMessageType;
|
||||
import net.runelite.api.Client;
|
||||
import net.runelite.api.GameState;
|
||||
import net.runelite.api.MenuEntry;
|
||||
import net.runelite.api.MenuOpcode;
|
||||
import net.runelite.api.GameState;
|
||||
import net.runelite.api.ChatMessageType;
|
||||
import net.runelite.api.AnimationID;
|
||||
import net.runelite.api.NPC;
|
||||
import net.runelite.api.Player;
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
|
@ -45,7 +45,6 @@ import net.runelite.api.events.ConfigButtonClicked;
|
|||
import net.runelite.api.events.GameStateChanged;
|
||||
import net.runelite.api.events.GameTick;
|
||||
import net.runelite.api.queries.NPCQuery;
|
||||
import net.runelite.api.widgets.Widget;
|
||||
import net.runelite.api.widgets.WidgetInfo;
|
||||
import net.runelite.api.widgets.WidgetItem;
|
||||
import net.runelite.client.config.ConfigManager;
|
||||
|
@ -58,9 +57,15 @@ import net.runelite.client.plugins.PluginManager;
|
|||
import net.runelite.client.plugins.PluginType;
|
||||
import net.runelite.client.plugins.botutils.BotUtils;
|
||||
import net.runelite.client.plugins.botutils.ContainerUtils;
|
||||
import static net.runelite.client.plugins.magiccaster.MagicCasterState.FIND_ITEM;
|
||||
import static net.runelite.client.plugins.magiccaster.MagicCasterState.FIND_NPC;
|
||||
import static net.runelite.client.plugins.magiccaster.MagicCasterState.HANDLE_BREAK;
|
||||
import static net.runelite.client.plugins.magiccaster.MagicCasterState.IDLING;
|
||||
import static net.runelite.client.plugins.magiccaster.MagicCasterState.ITEM_NOT_FOUND;
|
||||
import static net.runelite.client.plugins.magiccaster.MagicCasterState.MOVING;
|
||||
import static net.runelite.client.plugins.magiccaster.MagicCasterState.NPC_NOT_FOUND;
|
||||
import net.runelite.client.ui.overlay.OverlayManager;
|
||||
import org.pf4j.Extension;
|
||||
import static net.runelite.client.plugins.magiccaster.MagicCasterState.*;
|
||||
|
||||
|
||||
@Extension
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
version = "0.0.3"
|
||||
version = "0.0.4"
|
||||
|
||||
project.extra["PluginName"] = "Menu Debugger Plugin"
|
||||
project.extra["PluginDescription"] = "Illumine - Menu Debugger plugin"
|
||||
|
|
|
@ -25,16 +25,12 @@
|
|||
*/
|
||||
package net.runelite.client.plugins.menudebugger;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.function.Consumer;
|
||||
import net.runelite.client.config.Button;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigSection;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Range;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("MenuDebugger")
|
||||
public interface MenuDebuggerConfig extends Config
|
||||
|
|
|
@ -26,23 +26,21 @@
|
|||
package net.runelite.client.plugins.menudebugger;
|
||||
|
||||
import com.google.inject.Provides;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.*;
|
||||
import java.util.concurrent.*;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import javax.inject.Inject;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.Client;
|
||||
import net.runelite.api.GameObject;
|
||||
import net.runelite.api.GameState;
|
||||
import net.runelite.api.Item;
|
||||
import net.runelite.api.MenuEntry;
|
||||
import net.runelite.api.Player;
|
||||
import net.runelite.api.Point;
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
import net.runelite.api.events.ConfigButtonClicked;
|
||||
import net.runelite.api.events.GameTick;
|
||||
import net.runelite.api.MenuEntry;
|
||||
import net.runelite.api.events.MenuOptionClicked;
|
||||
import net.runelite.client.config.ConfigManager;
|
||||
import net.runelite.client.eventbus.Subscribe;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
version = "2.0.0"
|
||||
version = "2.0.1"
|
||||
|
||||
project.extra["PluginName"] = "Powerfighter Plugin"
|
||||
project.extra["PluginDescription"] = "Illumine - Powerfighter plugin"
|
||||
|
|
|
@ -25,7 +25,14 @@
|
|||
*/
|
||||
package net.runelite.client.plugins.powerfighter;
|
||||
|
||||
import net.runelite.client.config.*;
|
||||
import net.runelite.client.config.Button;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigSection;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Range;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("PowerFighter")
|
||||
public interface PowerFighterConfig extends Config
|
||||
|
|
|
@ -39,10 +39,30 @@ import java.util.stream.Collectors;
|
|||
import java.util.stream.Stream;
|
||||
import javax.inject.Inject;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.*;
|
||||
import net.runelite.api.ChatMessageType;
|
||||
import net.runelite.api.Client;
|
||||
import net.runelite.api.GameState;
|
||||
import net.runelite.api.InventoryID;
|
||||
import net.runelite.api.Item;
|
||||
import net.runelite.api.ItemContainer;
|
||||
import net.runelite.api.ItemDefinition;
|
||||
import net.runelite.api.ItemID;
|
||||
import net.runelite.api.MenuEntry;
|
||||
import net.runelite.api.MenuOpcode;
|
||||
import net.runelite.api.NPC;
|
||||
import net.runelite.api.Player;
|
||||
import net.runelite.api.Skill;
|
||||
import net.runelite.api.TileItem;
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
import net.runelite.api.coords.WorldPoint;
|
||||
import net.runelite.api.events.*;
|
||||
import net.runelite.api.events.ActorDeath;
|
||||
import net.runelite.api.events.ChatMessage;
|
||||
import net.runelite.api.events.ConfigButtonClicked;
|
||||
import net.runelite.api.events.GameStateChanged;
|
||||
import net.runelite.api.events.GameTick;
|
||||
import net.runelite.api.events.ItemContainerChanged;
|
||||
import net.runelite.api.events.ItemDespawned;
|
||||
import net.runelite.api.events.ItemSpawned;
|
||||
import net.runelite.api.widgets.WidgetInfo;
|
||||
import net.runelite.api.widgets.WidgetItem;
|
||||
import net.runelite.client.callback.ClientThread;
|
||||
|
@ -53,7 +73,6 @@ import net.runelite.client.plugins.PluginDependency;
|
|||
import net.runelite.client.plugins.PluginDescriptor;
|
||||
import net.runelite.client.plugins.PluginType;
|
||||
import net.runelite.client.plugins.botutils.BotUtils;
|
||||
|
||||
import net.runelite.client.ui.overlay.OverlayManager;
|
||||
import net.runelite.http.api.osbuddy.OSBGrandExchangeResult;
|
||||
import org.pf4j.Extension;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
version = "4.8.0"
|
||||
version = "4.8.1"
|
||||
|
||||
project.extra["PluginName"] = "Power Skiller"
|
||||
project.extra["PluginDescription"] = "Illumine auto power skiller plugin"
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
*/
|
||||
package net.runelite.client.plugins.powerskiller;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.function.Consumer;
|
||||
import net.runelite.client.config.Button;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
|
|
|
@ -9,8 +9,8 @@ import javax.inject.Inject;
|
|||
import javax.inject.Singleton;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.Client;
|
||||
import net.runelite.api.Perspective;
|
||||
import static net.runelite.api.MenuOpcode.RUNELITE_OVERLAY_CONFIG;
|
||||
import net.runelite.api.Perspective;
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
import static net.runelite.client.ui.overlay.OverlayManager.OPTION_CONFIGURE;
|
||||
import net.runelite.client.ui.overlay.OverlayMenuEntry;
|
||||
|
|
|
@ -31,30 +31,29 @@ import java.awt.Rectangle;
|
|||
import java.time.Instant;
|
||||
import java.util.Collection;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import javax.inject.Inject;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.Client;
|
||||
import net.runelite.api.GameObject;
|
||||
import net.runelite.api.GameState;
|
||||
import net.runelite.api.MenuEntry;
|
||||
import net.runelite.api.MenuOpcode;
|
||||
import net.runelite.api.NPC;
|
||||
import net.runelite.api.NullObjectID;
|
||||
import net.runelite.api.ObjectID;
|
||||
import net.runelite.api.Player;
|
||||
import net.runelite.api.GameState;
|
||||
import net.runelite.api.MenuOpcode;
|
||||
import net.runelite.api.WallObject;
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
import net.runelite.api.coords.WorldArea;
|
||||
import net.runelite.api.coords.WorldPoint;
|
||||
import net.runelite.api.events.ConfigButtonClicked;
|
||||
import net.runelite.api.events.GameObjectDespawned;
|
||||
import net.runelite.api.events.GameStateChanged;
|
||||
import net.runelite.api.events.GameTick;
|
||||
import net.runelite.api.events.ItemContainerChanged;
|
||||
import net.runelite.api.events.GameObjectDespawned;
|
||||
import net.runelite.api.events.ConfigButtonClicked;
|
||||
import net.runelite.api.events.NpcDefinitionChanged;
|
||||
import net.runelite.api.events.MenuOptionClicked;
|
||||
import net.runelite.api.events.NpcDefinitionChanged;
|
||||
import net.runelite.api.widgets.Widget;
|
||||
import net.runelite.client.config.ConfigManager;
|
||||
import net.runelite.client.eventbus.Subscribe;
|
||||
|
@ -65,9 +64,9 @@ import net.runelite.client.plugins.PluginDescriptor;
|
|||
import net.runelite.client.plugins.PluginManager;
|
||||
import net.runelite.client.plugins.PluginType;
|
||||
import net.runelite.client.plugins.botutils.BotUtils;
|
||||
import static net.runelite.client.plugins.powerskiller.PowerSkillerState.*;
|
||||
import net.runelite.client.ui.overlay.OverlayManager;
|
||||
import org.pf4j.Extension;
|
||||
import static net.runelite.client.plugins.powerskiller.PowerSkillerState.*;
|
||||
|
||||
|
||||
@Extension
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
version = "3.2.0"
|
||||
version = "3.3.1"
|
||||
|
||||
project.extra["PluginName"] = "Quick Eater"
|
||||
project.extra["PluginDescription"] = "Illumine - auto eat food, consume potions and equip items"
|
||||
|
|
|
@ -40,7 +40,6 @@ import net.runelite.api.VarPlayer;
|
|||
import net.runelite.api.events.ChatMessage;
|
||||
import net.runelite.api.events.GameStateChanged;
|
||||
import net.runelite.api.events.GameTick;
|
||||
import net.runelite.api.events.HitsplatApplied;
|
||||
import net.runelite.api.events.StatChanged;
|
||||
import net.runelite.api.events.VarbitChanged;
|
||||
import net.runelite.api.widgets.WidgetInfo;
|
||||
|
@ -98,15 +97,18 @@ public class QuickEaterPlugin extends Plugin
|
|||
ItemID.SUPER_STRENGTH1, ItemID.SUPER_STRENGTH2, ItemID.SUPER_STRENGTH3, ItemID.SUPER_STRENGTH4,
|
||||
ItemID.DIVINE_SUPER_STRENGTH_POTION1, ItemID.DIVINE_SUPER_STRENGTH_POTION2, ItemID.DIVINE_SUPER_STRENGTH_POTION3, ItemID.DIVINE_SUPER_STRENGTH_POTION4,
|
||||
ItemID.DIVINE_SUPER_COMBAT_POTION1, ItemID.DIVINE_SUPER_COMBAT_POTION2, ItemID.DIVINE_SUPER_COMBAT_POTION3, ItemID.DIVINE_SUPER_COMBAT_POTION4,
|
||||
ItemID.SUPER_COMBAT_POTION1, ItemID.SUPER_COMBAT_POTION2, ItemID.SUPER_COMBAT_POTION3, ItemID.SUPER_COMBAT_POTION4);
|
||||
ItemID.COMBAT_POTION1, ItemID.COMBAT_POTION2, ItemID.COMBAT_POTION3, ItemID.COMBAT_POTION4,
|
||||
ItemID.SUPER_COMBAT_POTION1, ItemID.SUPER_COMBAT_POTION2, ItemID.SUPER_COMBAT_POTION3, ItemID.SUPER_COMBAT_POTION4);
|
||||
private final Set<Integer> ATTACK_SET = Set.of(ItemID.ATTACK_POTION1, ItemID.ATTACK_POTION2, ItemID.ATTACK_POTION3, ItemID.ATTACK_POTION4,
|
||||
ItemID.SUPER_ATTACK1, ItemID.SUPER_ATTACK2, ItemID.SUPER_ATTACK3, ItemID.SUPER_ATTACK4,
|
||||
ItemID.DIVINE_SUPER_ATTACK_POTION1, ItemID.DIVINE_SUPER_ATTACK_POTION2, ItemID.DIVINE_SUPER_ATTACK_POTION3, ItemID.DIVINE_SUPER_ATTACK_POTION4,
|
||||
ItemID.DIVINE_SUPER_COMBAT_POTION1, ItemID.DIVINE_SUPER_COMBAT_POTION2, ItemID.DIVINE_SUPER_COMBAT_POTION3, ItemID.DIVINE_SUPER_COMBAT_POTION4,
|
||||
ItemID.SUPER_COMBAT_POTION1, ItemID.SUPER_COMBAT_POTION2, ItemID.SUPER_COMBAT_POTION3, ItemID.SUPER_COMBAT_POTION4);
|
||||
ItemID.COMBAT_POTION1, ItemID.COMBAT_POTION2, ItemID.COMBAT_POTION3, ItemID.COMBAT_POTION4,
|
||||
ItemID.SUPER_COMBAT_POTION1, ItemID.SUPER_COMBAT_POTION2, ItemID.SUPER_COMBAT_POTION3, ItemID.SUPER_COMBAT_POTION4);
|
||||
private final Set<Integer> DEFENCE_SET = Set.of(ItemID.DEFENCE_POTION1, ItemID.DEFENCE_POTION2, ItemID.DEFENCE_POTION3, ItemID.DEFENCE_POTION4,
|
||||
ItemID.SUPER_DEFENCE1, ItemID.SUPER_DEFENCE2, ItemID.SUPER_DEFENCE3, ItemID.SUPER_DEFENCE4,
|
||||
ItemID.DIVINE_SUPER_DEFENCE_POTION1, ItemID.DIVINE_SUPER_DEFENCE_POTION2, ItemID.DIVINE_SUPER_DEFENCE_POTION3, ItemID.DIVINE_SUPER_DEFENCE_POTION4,
|
||||
ItemID.COMBAT_POTION1, ItemID.COMBAT_POTION2, ItemID.COMBAT_POTION3, ItemID.COMBAT_POTION4,
|
||||
ItemID.DIVINE_SUPER_COMBAT_POTION1, ItemID.DIVINE_SUPER_COMBAT_POTION2, ItemID.DIVINE_SUPER_COMBAT_POTION3, ItemID.DIVINE_SUPER_COMBAT_POTION4,
|
||||
ItemID.SUPER_COMBAT_POTION1, ItemID.SUPER_COMBAT_POTION2, ItemID.SUPER_COMBAT_POTION3, ItemID.SUPER_COMBAT_POTION4);
|
||||
private final Set<Integer> RANGED_SET = Set.of(ItemID.RANGING_POTION1, ItemID.RANGING_POTION2, ItemID.RANGING_POTION3, ItemID.RANGING_POTION4,
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -2,8 +2,12 @@ package net.runelite.client.plugins.rooftopagility;
|
|||
|
||||
import lombok.AccessLevel;
|
||||
import lombok.Getter;
|
||||
|
||||
import static net.runelite.api.NullObjectID.*;
|
||||
import static net.runelite.api.NullObjectID.NULL_36241;
|
||||
import static net.runelite.api.NullObjectID.NULL_36242;
|
||||
import static net.runelite.api.NullObjectID.NULL_36243;
|
||||
import static net.runelite.api.NullObjectID.NULL_36244;
|
||||
import static net.runelite.api.NullObjectID.NULL_36245;
|
||||
import static net.runelite.api.NullObjectID.NULL_36246;
|
||||
|
||||
public enum Portals
|
||||
{
|
||||
|
|
|
@ -27,28 +27,17 @@ package net.runelite.client.plugins.rooftopagility;
|
|||
|
||||
import com.google.inject.Provides;
|
||||
import com.owain.chinbreakhandler.ChinBreakHandler;
|
||||
|
||||
import java.time.Duration;
|
||||
import java.time.Instant;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import javax.inject.Inject;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.Client;
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
import net.runelite.api.coords.WorldPoint;
|
||||
import net.runelite.api.DecorativeObject;
|
||||
import net.runelite.api.events.ConfigButtonClicked;
|
||||
import net.runelite.api.events.GameStateChanged;
|
||||
import net.runelite.api.events.ItemContainerChanged;
|
||||
import net.runelite.api.events.ItemDespawned;
|
||||
import net.runelite.api.events.ItemSpawned;
|
||||
import net.runelite.api.events.GameTick;
|
||||
import net.runelite.api.events.MenuOptionClicked;
|
||||
import net.runelite.api.GameState;
|
||||
import net.runelite.api.GameObject;
|
||||
import net.runelite.api.GameState;
|
||||
import net.runelite.api.GroundObject;
|
||||
import net.runelite.api.ItemID;
|
||||
import net.runelite.api.MenuEntry;
|
||||
|
@ -58,6 +47,15 @@ import net.runelite.api.Skill;
|
|||
import net.runelite.api.Tile;
|
||||
import net.runelite.api.TileItem;
|
||||
import net.runelite.api.Varbits;
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
import net.runelite.api.coords.WorldPoint;
|
||||
import net.runelite.api.events.ConfigButtonClicked;
|
||||
import net.runelite.api.events.GameStateChanged;
|
||||
import net.runelite.api.events.GameTick;
|
||||
import net.runelite.api.events.ItemContainerChanged;
|
||||
import net.runelite.api.events.ItemDespawned;
|
||||
import net.runelite.api.events.ItemSpawned;
|
||||
import net.runelite.api.events.MenuOptionClicked;
|
||||
import net.runelite.api.widgets.Widget;
|
||||
import net.runelite.api.widgets.WidgetInfo;
|
||||
import net.runelite.api.widgets.WidgetItem;
|
||||
|
@ -71,11 +69,10 @@ import net.runelite.client.plugins.PluginDescriptor;
|
|||
import net.runelite.client.plugins.PluginManager;
|
||||
import net.runelite.client.plugins.PluginType;
|
||||
import net.runelite.client.plugins.botutils.BotUtils;
|
||||
import static net.runelite.client.plugins.rooftopagility.RooftopAgilityState.*;
|
||||
import net.runelite.client.ui.overlay.OverlayManager;
|
||||
import org.pf4j.Extension;
|
||||
|
||||
import static net.runelite.client.plugins.rooftopagility.RooftopAgilityState.*;
|
||||
|
||||
|
||||
@Extension
|
||||
@PluginDependency(BotUtils.class)
|
||||
|
|
|
@ -25,7 +25,14 @@
|
|||
*/
|
||||
package net.runelite.client.plugins.worldwalker;
|
||||
|
||||
import net.runelite.client.config.*;
|
||||
import net.runelite.client.config.Button;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigSection;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Range;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("WorldWalker")
|
||||
public interface WorldWalkerConfig extends Config
|
||||
|
|
|
@ -26,20 +26,16 @@
|
|||
package net.runelite.client.plugins.worldwalker;
|
||||
|
||||
import com.google.inject.Provides;
|
||||
import java.time.Duration;
|
||||
import java.time.Instant;
|
||||
import javax.inject.Inject;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.Client;
|
||||
import net.runelite.api.GameState;
|
||||
import net.runelite.api.MenuEntry;
|
||||
import net.runelite.api.Player;
|
||||
import net.runelite.api.World;
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
import net.runelite.api.coords.WorldPoint;
|
||||
import net.runelite.api.events.ConfigButtonClicked;
|
||||
import net.runelite.api.events.GameTick;
|
||||
import net.runelite.api.events.MenuOptionClicked;
|
||||
import net.runelite.client.config.ConfigManager;
|
||||
import net.runelite.client.eventbus.Subscribe;
|
||||
import net.runelite.client.events.ConfigChanged;
|
||||
|
@ -48,8 +44,6 @@ import net.runelite.client.plugins.PluginDependency;
|
|||
import net.runelite.client.plugins.PluginDescriptor;
|
||||
import net.runelite.client.plugins.PluginType;
|
||||
import net.runelite.client.plugins.botutils.BotUtils;
|
||||
import static net.runelite.client.plugins.worldwalker.WorldWalkerState.*;
|
||||
|
||||
import net.runelite.client.ui.overlay.OverlayManager;
|
||||
import org.pf4j.Extension;
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
version = "1.0.3"
|
||||
version = "1.0.4"
|
||||
|
||||
project.extra["PluginName"] = "World Walker Plugin"
|
||||
project.extra["PluginDescription"] = "Illumine - World Walker plugin"
|
||||
|
|
Loading…
Reference in New Issue