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.

Client sometimes crashes when started

Featured Replies

I sometimes get this error when launching the client with cli. It doesn't happen too often - maybe 1 in 50-60 launches


[DEBUG][03/11 02:13:04 PM]: OSBot is now ready!
[INFO][03/11 02:13:05 PM]: Loaded 3 RS accounts!
[ERROR][03/11 02:13:05 PM]: Uncaught exception!
java.lang.NullPointerException
	at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:903)
	at javax.swing.JComponent.getPreferredSize(JComponent.java:1662)
	at javax.swing.JTextField.getPreferredSize(JTextField.java:424)
	at javax.swing.Spring$WidthSpring.getPreferredValue(Spring.java:352)
	at javax.swing.Spring$AbstractSpring.getValue(Spring.java:210)
	at javax.swing.SpringLayout.layoutContainer(SpringLayout.java:1228)
	at java.awt.Container.layout(Container.java:1510)
	at java.awt.Container.doLayout(Container.java:1499)
	at java.awt.Container.validateTree(Container.java:1695)
	at java.awt.Container.validateTree(Container.java:1704)
	at java.awt.Container.validateTree(Container.java:1704)
	at java.awt.Container.validateTree(Container.java:1704)
	at java.awt.Container.validate(Container.java:1630)
	at java.awt.Container.validateUnconditionally(Container.java:1667)
	at java.awt.Window.pack(Window.java:818)
	at org.osbot.ub.<init>(wx:43)
	at org.osbot.BotApplication.IIiIIiiiIiii(gz:612)
	at org.osbot.BotApplication.main(gz:51)

 

  • Author
34 minutes ago, Alek said:

What were the parameters?

java -jar "osbot 2.4.118.jar" -login user:pass -mem 1024 -debug 5015 -allow lowcpu,norandoms -bot botlogin:botpass:0000 -script FreshTrainer:FreshAccount-4965-N


Btw, it was happening before, not only on 2.4.118 release.

Edited by nosepicker

  • 1 month later...
  • 2 weeks later...
  • Author

Thanks,

I don't get this error anymore with lowresource. Though sadly I still need the paint on my scripts.  Is there any other workaround?

6 hours ago, nosepicker said:

Thanks,

I don't get this error anymore with lowresource. Though sadly I still need the paint on my scripts.  Is there any other workaround?

Seems to be an issue with the UI on some machines through setlookandfeel. What operating system are you on?

  • Author
2 hours ago, Alek said:

Seems to be an issue with the UI on some machines through setlookandfeel. What operating system are you on?

This happens on Ubuntu 16.10 64 bit (has Oracle java), though if I remember correctly, I saw this happening on Windows 10 as well. Thanks for the heads up, will check if my Linux system isn't missing anything 

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.