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.

Packaging MySQL (and the Mysql driver jar) into a script?

Featured Replies

I know this is probably a reach, but I'm curious if anyone's had any luck running custom scripts that rely on external JAR dependencies?

I want to connect to a MySQL database from my script so I have it include the mysql connector driver jar, but this isn't included when you export to a jar; so my script fails as it doesn't know what com.mysql.jdbc.Driver is.  

This will only be used locally, so no worries about this not being supported via the SDN.


All the stack overflow posts I can find point to exporting it as a "runnable external jar" so you can include external jars in the package.  But this obviously doesn't seem right as the script by itself isn't runnable.
 

Edited by Colonel_Panic

4 minutes ago, Deceiver said:

cant use jdbc or any other external jar/lib because of security exceptions

 

you have to use sockets :)

Doesn't OSBot block socket connections in security manager?

3 minutes ago, Night said:

Doesn't OSBot block socket connections in security manager?

idk lad- its what everyone else says who farms on a decent scale

  • Author
19 minutes ago, Deceiver said:

cant use jdbc or any other external jar/lib because of security exceptions

 

you have to use sockets :)

Gross. Was hoping to avoid sockets, but I guess I'll have to use em anyways.  Thanks for the input man!

You can setup a http server, create a connection between client and server and then do db stuff via server. 

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.