Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question some questions

Joined
Feb 24, 2020
Messages
33
been messing around with my bot and there are some things i noticed i don't understand:
  • Is there any difference performance wise in Mouse.setPathGenerator(Mouse.MLP_PATH_GENERATOR) vs Mouse.setPathGenerator(Mouse.CLOUSE_PATH_GENERATOR)?
  • How comes that decreasing setSpeedMultiplier(double multiplier) before interaction increases the hover accuracy?
Is there any api for fast item value retrieval? I have noticed that using:

Code:
public static int GetValue(GroundItem item) {
    int itemID = item.getId();
    GrandExchange.Item geItem = GrandExchange.lookup(itemID);
    if (geItem != null) {
        int itemPrice = geItem.getPrice();
        int itemQuantity = item.getQuantity();
        if (itemQuantity > 1) {
            return itemPrice * itemQuantity;
        }
        return itemPrice;
    }
    return 0;
}

is very slow and somewhat unreliable therefore cannot be called regularly on itemLoot events

also another thing is the ensouled heads GrandExchange.lookup(itemID) returns not valid ID by SDK however runelite correctly tells value on drop
 
Top