Skip 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.

Low Resource CLI mode does not start script

Featured Replies

1. Version: 2.4.81

2. What? Starting OSBot from the CLI with the flash "-allow lowcpu,lowresource" together with a "-script" does not start the script

3. Errors:  No. I do receive a notification about low cpu and low resource mode being initialted

4. How to replicate:

Works:

java -jar "osbot.jar" -login abuse:mypassword -bot test@[member=test].com:test:0000 -world 381 -allow lowcpu -proxy my:proxy -script biggestbotfarmEU:3

Does not work:

java -jar "osbot.jar" -login abuse:mypassword -bot test@[member=test].com:test:0000 -world 381 -allow lowcpu,lowresource  -proxy my:proxy -script biggestbotfarmEU:3

5. Persistent issue: Yes, since launch of lowresource mode in .71

 

- Abuse

  • Author

Add a -debug 5005 in there and screenshot any errors you are receiving. 

Starting OSBot in low cpu mode
Debug enabled on port 5005
[DEBUG][08/03 11:00:13 AM]: Injected 2 field list filters
[DEBUG][08/03 11:00:13 AM]: Injected 2 field filters
[DEBUG][08/03 11:00:13 AM]: Injected 2 method list filters
[DEBUG][08/03 11:00:13 AM]: Injected 3 method filters
Starting OSBot in low resource mode
In debug mode!
Listening for transport dt_socket at address: 5005
Stealth injection class-filter enabled!
[DEBUG][08/03 11:00:14 AM]: OSBot is now ready!
[INFO][08/03 11:00:15 AM]: Loaded 1 RS accounts!
Loaded 2 local scripts and 6 SDN scripts.
[INFO][08/03 11:00:16 AM]: Welcome to OSBot 2.4.81!
[INFO][08/03 11:00:16 AM]: Updated injection hooks for client revision : 119!
[DEBUG][Bot #1][08/03 11:00:16 AM]: Initializing stealth injection bot...
[INFO][Bot #1][08/03 11:00:18 AM]: Downloading latest RS2 old-school client parameters...
[DEBUG][Bot #1][08/03 11:00:18 AM]: Injected bot reference into client!
[DEBUG][Bot #1][08/03 11:00:18 AM]: Injected world accessors!
[DEBUG][Bot #1][08/03 11:00:19 AM]: Injected 36 class and 319 field accessors!
[DEBUG][Bot #1][08/03 11:00:19 AM]: Injected canvas!
[DEBUG][Bot #1][08/03 11:00:19 AM]: Injected 4 model update calls!
[DEBUG][Bot #1][08/03 11:00:19 AM]: Injected 12 definition calls!
[DEBUG][Bot #1][08/03 11:00:19 AM]: Injected 14 definition transformation calls!
[DEBUG][Bot #1][08/03 11:00:20 AM]: Injected random.dat patch for bot #1
[DEBUG][Bot #1][08/03 11:00:20 AM]: Injected 4 tooltip callbacks!
[DEBUG][Bot #1][08/03 11:00:21 AM]: Injected 2 config callbacks!
[DEBUG][Bot #1][08/03 11:00:21 AM]: Injected 10 head message callbacks!
[DEBUG][Bot #1][08/03 11:00:21 AM]: Injected 1 chatbox message callbacks!
[DEBUG][Bot #1][08/03 11:00:23 AM]: Injected 22 draw skip points!
[DEBUG][Bot #1][08/03 11:00:25 AM]: Injected 0 hit splat callbacks!
[DEBUG][Bot #1][08/03 11:00:25 AM]: Injected 2 equipment callbacks!
[DEBUG][Bot #1][08/03 11:00:25 AM]: Injected 3 login return code callbacks!
[DEBUG][Bot #1][08/03 11:00:26 AM]: Injected 5 analysis callbacks!
[DEBUG][Bot #1][08/03 11:00:27 AM]: Loading RS world : 381
[INFO][Bot #1][08/03 11:00:27 AM]: Initializing 35 API modules...
[INFO][08/03 11:00:28 AM]: Started bot #1

I did not encounter any errors

  • Author

Yeah' I've noticed that too.

Just a quick confirmation: is "-allow lowcpu,lowresource" the right syntax? Maybe it's messing with the way the parameters are parsed

 

Regards.

 

 

EDIT:

Low resource + script starting CLI in general seems to be broken.

I've started the client in just lowresource mode, script still did not start however it did notify me about trying to start the script

Starting local script with name: tutorialisland
Debug enabled on port 5005
[DEBUG][08/07 01:19:21 AM]: Injected 2 field list filters
[DEBUG][08/07 01:19:21 AM]: Injected 2 field filters
[DEBUG][08/07 01:19:21 AM]: Injected 2 method list filters
[DEBUG][08/07 01:19:21 AM]: Injected 3 method filters
Starting OSBot in low resource mode
In debug mode!
Listening for transport dt_socket at address: 5005
Stealth injection class-filter enabled!
[DEBUG][08/07 01:19:21 AM]: OSBot is now ready!
[INFO][08/07 01:19:23 AM]: Loaded 2 RS accounts!
Loaded 5 local scripts and 6 SDN scripts.
[INFO][08/07 01:19:23 AM]: Welcome to OSBot 2.4.82!
[INFO][08/07 01:19:24 AM]: Updated injection hooks for client revision : 120!
[DEBUG][Bot #1][08/07 01:19:24 AM]: Initializing stealth injection bot...
[ERROR][08/07 01:19:24 AM]: Uncaught exception!
java.lang.NullPointerException

        at org.osbot.BotApplication.main(pz:184)

[INFO][Bot #1][08/07 01:19:25 AM]: Downloading latest RS2 old-school client parameters...
[DEBUG][Bot #1][08/07 01:19:25 AM]: Injected bot reference into client!
[DEBUG][Bot #1][08/07 01:19:26 AM]: Injected world accessors!
[DEBUG][Bot #1][08/07 01:19:26 AM]: Injected 36 class and 319 field accessors!
[DEBUG][Bot #1][08/07 01:19:26 AM]: Injected canvas!
[DEBUG][Bot #1][08/07 01:19:26 AM]: Injected 3 model update calls!
[DEBUG][Bot #1][08/07 01:19:26 AM]: Injected 9 definition calls!
[DEBUG][Bot #1][08/07 01:19:26 AM]: Injected 12 definition transformation calls!
[DEBUG][Bot #1][08/07 01:19:26 AM]: Injected random.dat patch for bot #1
[DEBUG][Bot #1][08/07 01:19:26 AM]: Injected 3 tooltip callbacks!
[DEBUG][Bot #1][08/07 01:19:26 AM]: Injected 7 config callbacks!
[DEBUG][Bot #1][08/07 01:19:26 AM]: Injected 15 head message callbacks!
[DEBUG][Bot #1][08/07 01:19:26 AM]: Injected 4 chatbox message callbacks!
[DEBUG][Bot #1][08/07 01:19:27 AM]: Injected 32 draw skip points!
[DEBUG][Bot #1][08/07 01:19:29 AM]: Injected 0 hit splat callbacks!
[DEBUG][Bot #1][08/07 01:19:29 AM]: Injected 3 equipment callbacks!
[DEBUG][Bot #1][08/07 01:19:29 AM]: Injected 2 login return code callbacks!
[DEBUG][Bot #1][08/07 01:19:29 AM]: Injected 17 analysis callbacks!
[DEBUG][Bot #1][08/07 01:19:29 AM]: Loading RS world : 381
[INFO][Bot #1][08/07 01:19:30 AM]: Initializing 35 API modules...
[INFO][08/07 01:19:30 AM]: Started bot #1

Splitting the -allow parameter in two (-allow lowcpu -allow lowresource) did manage to start the bot in both lowcpu, lowresource and attempt to start the script, however the script never got launched. Note the nullpointer

 

 

 

 

Edited by Abuse

Think I fixed it in the next version, make sure to try out version 2.4.83 when it comes out. 

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.