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.

Webwalking resource discarding

Featured Replies

Hello OSBot community, I'm making my second script, which includes fishing and cooking with banking. I've seen answers to other optimization posts, that web walking accounts for most of the memory usage when running a script. Is this true? If so, does garbage collector discard this resource or do I need some special way of removing it if it is not used? 

Also, does returning higher waiting values in onLoop() function make the script less demanding or just slower?

1 hour ago, DCHILLING said:

Also, does returning higher waiting values in onLoop() function make the script less demanding or just slower?

It depends a lot on what the onLoop() function does.

if you just have simple logic such as if/else or switch then it is not going to make too much difference

If you have more complex logic, or lots of variable instanciation on each loop then it will be more demanding if it loops quicker

Generally, it is not going to make much difference for most people but it depends how many bots you plan to run and your system specs I guess

 

Dunno about webwalking memory usage though, I don't have any issues with memory usage personally

  • 2 weeks later...
  • Author
On 9/26/2024 at 1:59 PM, Khaleesi said:

If I'm correct the resources used is mainly for loading and caching the map data

Do you know of a way to discard this cache? I've got scripts where walking is infrequent or is used once to get in position. It would be really nice to have as much memory on the machine to accompany as many bots possible 😃

On 10/6/2024 at 10:37 AM, DCHILLING said:

Do you know of a way to discard this cache? I've got scripts where walking is infrequent or is used once to get in position. It would be really nice to have as much memory on the machine to accompany as many bots possible 😃

Not sure if possible without a restart

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.