Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Optimal pattern to repetitively click the same spell

Featured Replies

Hello,

Imagine I am making a script where I just have to repetitively click the same magic spell every 3 seconds 10 times in a row (before doing a different action like banking or walking or whatever).

What is the best way to make the clicking human-like? I also want to make sure I am casting the spell every 3s to maximize exp/hr as well.
Currently I just do this:

if (getMagic().castSpell(spell)) {
            lastAction = "Cast spell";
            log("Cast spell");
            new ConditionalSleep(2000, 1000) {
                @Override
                public boolean condition() throws InterruptedException {
                    return myPlayer().isAnimating();
                }
            }.sleep();
        }

This approach seems so flawed as Jagex can easily determine (over a long period of time) that my clicking is always between 2s and 3s (if i am using the api correctly). And BOOM ban incoming.
thanks in advance

Edited by yawhide

I'm sure one of the 9 year old experts at the Botting and Bans section can give you his/her professional opinion - moving thread.

You want max xp but complain about it looking like a bot :???: no human can get max XP over long periods of time. 

If you want it more random then sleep between larger intervals 

  • Author
8 minutes ago, Alek said:

I'm sure one of the 9 year old experts at the Botting and Bans section can give you his/her professional opinion - moving thread.

for the new ConditionalSleep method, does the third param 

sleepDeviation - The normal distribution upper bound and deviation for the sleepTime.

add a random number from the range [0, sleepDeviation) to whatever was given for the timeout?

 

edit: woops it says right there "sleepTime".

so to be clear, if I had 

ConditionalSleep(1000, 100, 2000)

my condition would be checked between 100 and 2100ms for 1000ms?

Edited by yawhide

Aslong as you have a lower and upper limit for your sleeps, they will eventually create a pattern if used over a extended period of time.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.