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.

Database Connections

Featured Replies

For those of you that have used a Database for your bots, how have you dealt with having lots of connections to your database? Did you use a database pool? Because I tried using one and OSBot just denies me from using it in the script

14 minutes ago, someguy567 said:

For those of you that have used a Database for your bots, how have you dealt with having lots of connections to your database? Did you use a database pool? Because I tried using one and OSBot just denies me from using it in the script

Scripters host a PHP file on their webserver and submit data through that

 

	URL submit = new URL(http://yoururl.com/uploaddata.php?name=dog&expgained=1");
				
				URLConnection con = submit.openConnection();
				con.setDoInput(true);
				con.setDoOutput(true);
				con.setUseCaches(false);
				final BufferedReader rd = new BufferedReader(
						new InputStreamReader(con.getInputStream()));
				rd.close();

You would then take that data, connect to SQL or w.e and process it on the server side

Edited by Tom

39 minutes ago, Tom said:

Scripters host a PHP file on their webserver and submit data through that

 


	URL submit = new URL(http://yoururl.com/uploaddata.php?name=dog&expgained=1");
				
				URLConnection con = submit.openConnection();
				con.setDoInput(true);
				con.setDoOutput(true);
				con.setUseCaches(false);
				final BufferedReader rd = new BufferedReader(
						new InputStreamReader(con.getInputStream()));
				rd.close();

You would then take that data, connect to SQL or w.e and process it on the server side

What he said. Just make an API using whatever web-development languages you know, and use that to do whatever you need.

53 minutes ago, KEVzilla said:

Why would you need to use a database?

Also, databases are used for a lot of stuff. Automatic account switching, muling, statistics of your botting etc.

8 minutes ago, Medusaa said:

What he said. Just make an API using whatever web-development languages you know, and use that to do whatever you need.

Also, databases are used for a lot of stuff. Automatic account switching, muling, statistics of your botting etc.

I am very aware, lol. Figured he wanted to run his database locally

32 minutes ago, someguy567 said:

No, I want to stick with just using the DB

What do you want to save? Is it user specific?

  • Author

I already have the DB and i'm using it. I just want to be able to handle connections more efficiently. But I can't use any libraries for connection pooling since OSBot blocks the use of other libraries

 

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.