This bug is geared toward newer mirror users who commonly hook mirror mode with their RS account logged in already This issue has been reported before, and it has improved, however inventory items are still messed up: getInventory() exists getInventory().getItems() exists however the actual items are messed up, and their names = null code:
@Override
public void onPaint(Graphics2D g) {
int x = 15;
int y = 90;
boolean invNull = getInventory() != null;
g.drawString("Inv exists = " + invNull, x, y += 15);
if (getInventory() == null) {
return;
}
boolean invItems = getInventory().getItems() != null;
g.drawString("Inv items exist = " + invItems, x, y += 15);
if (getInventory().getItems() == null) {
return;
}
int slot = 0;
for (Item i : getInventory().getItems()) {
g.drawString("Item[" + slot + "] = " + i.getName(), x, y += 15);
slot++;
}
}
this bug leads to ALOT of spam posts and help threads, so it benefits not only script writers, but the entire community
thanks