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.

Multithreading support?

Featured Replies

Is multithreading supported by osbot?

I want to make handler that runs in separate thread and able to take control of bot (input) when needed.

It should pause execution of main script logic and interrupt current input call.

Anybody have experience in making such things for osbot?

That sounds like a pain, you'd be better off synchronizing it.

 

Should be possible tho

 

EDIT:

could do something like..

use separate thread to interrupt current loop, and set some variable. Next loop the main thread looks at that variable and performs whatever action it suggests?

Edited by FrostBug

  • Author

Hmm... yeah can try this way.

Executing all input in bot thread should be better than executing in different threads.

Is enumerating objects / reading game states thread-safe?

I'm worried mostly about possibility of interrupting input calls and thread safety of querying objects / game data.

Edited by darkxor

facep.gif


Before. I try to write rs13, is to use multiple threads, the effect is very good, (using another language). I really like osbot, but I do not know how to implement multiple threads in osbot, I was soon to learn

 

 

For example, in the process of taking, you must go event handling, rather than go through the whole process, was carried out, the next mouse plan can be achieved,

Edited by hansen19498

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.