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.

Music On/Off

Featured Replies

While making my fishing script on Karajama island to fish lobsters, I noticed an extremely high usage of memory when fishing lobsters/swordfish. 

This does not occur when fishing anything else in Runescape. Now this only occurred while I had my music on, but when I turned the RS music off, the memory would go down to normal. 

I have no idea how or why this happens but it has been bugging me for a week now. 

 

The problem only seems to occur on linux too. 

I rewrote the fishing script 5 different times but the problem still occurred. The way it got fixed was by putting all of the RS music off. 

 

This makes no sense to me what so ever. 

probs memory leak on a particular sound for linux

On a Linux as well, 16.10 the Yakkety version - sound doesn't seem to affect mine, it just starts leaking at some point after a couple hours which is.. meh.

From the little research I've done on this, it seems that audio is in fact the culprit. My educated guess is that when the game makes a sound, java queues it up to be sent to the local audio device. On VPS/Dedicated servers though, there is no audio device. So the buffers fill up until it crashes the JVM.

 

There are two ways to fix this, first way is Juggles method. If you have control of the script, this is the best method (maybe better with method #2? untested). Simply make a script able to disable the music, or manually do this to each acc (Go into settings, move all 3 sliders in sound options to the left).

 

The second way is to install an audio server. I simply installed ALSA + Pulseaudio with a "dummy" driver, and in my tests I have seen this also allows the buffer to be emptied. For a basic tutorial on this in Ubuntu:

 

http://askubuntu.com/questions/28176/how-do-i-run-pulseaudio-in-a-headless-server-installation

 

Feel free to contact me if you are having trouble as well.

 

Thanks again @Juggles for giving me this hint, this issue has been a thorn in me side for a while now. Not anymore smile.png

Edited by Lemons

Maybe the audio listener is broken for linux.

Perhaps try running client in debug mode and see if it's throwing errors or something?

  • 1 month later...
On 3/19/2017 at 3:56 AM, tranzystor3 said:

Its those hot runescape beats, man.

rs tracks are straight fireeeee

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.