private void antiban() { if (System.currentTimeMillis() - antiban > random(120000, 420000)) { if (random(0, 2) == 1) { camera.setRotation(random(1, 360)); } else { final int tab = tabConstants[random(0, tabConstants.length)]; if (tab == TAB_STATS) { game.openTab(tab); wait(random(600, 700)); final RSInterface statInterface = iface.get(320); if (statInterface != null) { try { final RSInterfaceChild stat = statInterface.getChild(statConstants[random(0, statConstants.length)]); if (stat != null) { mouse.move( stat.getAbsoluteX(), stat.getAbsoluteY(), stat.getWidth(), stat.getHeight()); waitSafely(random(1100, 1600)); } } catch (Exception e) { } } } else { game.openTab(tab); waitSafely(random(1100, 1600)); } } antiban = System.currentTimeMillis(); } }