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.

Support for external libraries

Featured Replies

Basically I wan't my bot to connect to IRC and send messages to the channel using this library https://github.com/TheLQ/pircbotx . The bot doesn't find the classes from the pircbotx library though so how would I go about fixink this?

Edited by mylo

Yes to can import multiple libraries. You cannot extend two classes. This sounds like an easy workaround, I advise you to learn a little bit more about java..

Edited by Qubit

  • Author
4 minutes ago, Qubit said:

Yes to can import multiple libraries. You cannot extend two classes. This sounds like an easy workaround, I advise you to learn a little bit more about java..

Yeah my bad i worded it so bad I'm importing 2 libraries but the problem is osbot can't find the external library. 

  • Author

This is how I've set it up let me know if I've done something wrong @Gary_Oak.

8bb2fd99231c4ae573f0564a8c4a567d.png

ae47f1b9cc98c3c6aa27918155e74a99.png

2dee5810054fb9e6cd0cec693459d4f2.png 

and I get this error

[ERROR][07/25 12:25:40 AM]: Failed to load local script : com/thoughtworks/xstream/converters/reflection/CGLIBEnhancedConverter$ReverseEngineeredCallbackFilter.class
[ERROR][07/25 12:25:41 AM]: Failed to load local script : org/pircbotx/UserHostmask$1.class
[ERROR][07/25 12:25:41 AM]: Failed to load local script : org/pircbotx/Channel$1.class
[ERROR][07/25 12:25:41 AM]: Failed to load local script : org/pircbotx/MultiBotManager$BotFutureCallback.class

 

Edited by mylo

Normally I use Maven/ant/gradle to handle externals. 

But I think doing it without maven you need to tell add them to your class path manually, instead of just referencing them you should copy the jars your referencing and add them to your folder where your .class files are generated and then reference those ones there and include them in your export

Edited by Gary_Oak

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.