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.

Help to implement tick manipulation

Featured Replies

Hey guys, I'm trying to make a bot that uses tick manipulation, I need to drop an item and interact with an object on the same tick.

I tried a few different approaches but none worked perfectly. Any tips for me?

int gameTick = tickCounter.getCurrentTick();
if (barrels.get(0).interact("Take pickaxe")) {
	DropItemSlot(0);
	Sleep.sleepUntil(() -> (tickCounter.getCurrentTick() != gameTick), 600);
}

 

  • Author
20 hours ago, Gunman said:

Don't forget to take in account for mouse speed

I tried to look for a method to change the mouse speed, but the ones I found didn't work

Another thing, I noticed that the "onGameTick" method is working for me only in Stealth Mode, in mirror mode it doesn't work, am I doing something wrong?

51 minutes ago, Heiz said:

I tried to look for a method to change the mouse speed, but the ones I found didn't work

Another thing, I noticed that the "onGameTick" method is working for me only in Stealth Mode, in mirror mode it doesn't work, am I doing something wrong?

onGameTick isn't supported in Mirror Mode. I think MGI said he won't be adding support either because of detection or something, I don't really know why.

https://osbot.org/api/org/osbot/rs07/event/interaction/MouseMoveProfile.html

	getBot().getMouseMoveProfile().setSpeedBaseTime(0); // What controls how fast the mouse is. Lower is faster
        getBot().getMouseMoveProfile().getSpeedBaseTime(); //Get also get the value so you can see the base settings.
        
        getBot().setMouseMoveProfile(new MouseMoveProfile()
                .setNoise(0)
                .setDeviation(0)
                .setOvershoots(0)
                .setSpeedBaseTime(0) 
                .setFlowSpeedModifier(0) 
                .setMinOvershootDistance(0)
                .setFlowVariety(MouseMoveProfile.FlowVariety.MEDIUM)
                .setOvershoots(0)
        );

New mouse has to be enabled to use this ^

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.