-
Posts
69 -
Joined
-
Last visited
-
Feedback
0%
Posts posted by MassRS
-
-
You need to check woodcutting xp. For more antiban tips contact @Alek
-
1
-
-
Please wait for a client update. Before using the script
On 9/21/2018 at 12:20 AM, Unknownz said:How do i add this please?
Download the file. Place the file in your local scripts folder.
-
2 hours ago, Eagle Scripts said:
All direct external connections are blocked by OSBot
look into REST APIs. Once your knowledge about them suffices, make a proper REST api
.
Thank you sir
-
1
-
-
22 minutes ago, Knuckolls said:
did you manage to comfobble the mainframe and deltoid the flux capacitor?
I did that and it worked.
I did that for my wireless energy transfering module wich shoots electro beams in to the ionosphere and had my cat work as receiver.
It worked then... But didnt work for this.
Ly2
-
4 minutes ago, HeyImJamie said:
JDBC / External libraries are blocked by OSBot.
Only for scripts on SDN right? because people with mysql db's also use JDBC
-
6 minutes ago, Zummy said:
I actually changed to a mysql db for my project. Unless you really need it to work with an Access db i'd recommend doing the same.
At this moment that isn't an option for me.
There must be some kind of way to get the driver working right?
-
6 minutes ago, NakedPotato said:
I found this helpful when I did it.
Does it work with a Access database? I think that method is for mysql db's
-
So i'm having problems with connecting to my MS Access database with UcanAccess.
I found this snippet on google:
// variables Connection connection = null; Statement statement = null; ResultSet resultSet = null; // Step 1: Loading or registering Oracle JDBC driver class try { Class.forName("net.ucanaccess.jdbc.UcanaccessDriver");//Loading Driver } catch(ClassNotFoundException cnfex) { log("Problem in loading or " + "registering MS Access JDBC driver"); cnfex.printStackTrace(); } // Step 2: Opening database connection try { log("TRYING TO CONNECT DB"); String msAccDB = "C:\\Database\\DB1.accdb"; String dbURL = "jdbc:ucanaccess://" + msAccDB; // Step 2.A: Create and get connection using DriverManager class connection = DriverManager.getConnection(dbURL); // Step 2.B: Creating JDBC Statement statement = connection.createStatement(); // Step 2.C: Executing SQL & retrieve data into ResultSet resultSet = statement.executeQuery("SELECT * FROM bots"); // processing returned data and printing into console while(resultSet.next()) { log("DB CONNECTED"); log(resultSet.getInt(1) + "\t" + resultSet.getString(2) + "\t" + resultSet.getString(3) + "\t" + resultSet.getBoolean(4) + "\t" + resultSet.getBoolean(5)); } } catch(SQLException sqlex){ sqlex.printStackTrace(); }
But i can't seem to succesfully load the driver, i get this message in the log:
[INFO][Bot #1][09/20 10:02:27 PM]: Problem in loading or registering MS Access JDBC driver [INFO][Bot #1][09/20 10:02:27 PM]: TRYING TO CONNECT DB
I have the .jar's from UcanAccess.
I've tried the following already:
- Place the .jar's in the Eclipse workspace.
- Place the .jar's in the Eclipse workspace in my package folder.
- Imported the .jar's in Eclipse as External jar's.
Can't seem to figure this out..
-
because of the game update today; some functions are not working properly in OSBot.
You need to wait for the OSBot update and everything will work as usual.
-
Use high quality scripts, don't run click intensive scripts without breaks or for too long.
Second: you can not "not risk a ban" there is always a risk of getting banned.
IMO: it don't matter what day of the week you bot, just bot smart.
-
-
Added the jar.
-
mCannon.
Script designed for cannoning @ ogre's in the Combat training camp, but you can use it pretty much anywhere just follow the instructions carefully.
Features:
- AFK when idle.
- Telegrab's seeds.
- Repair's cannon.
- GUI.
Screenshots:
SpoilerGUI:
Changelog:
QuoteUpdate:
- Added telegrab support for less expensive seeds.
- Added option to select or deselect randomized wait time between refilling.
Release:
- Telegrabbing expensive + cheap seeds.
- Toggle AFK mode.
- Toggle more human-like reaction times.
Updated version(9/24):
-
In the layer menu, pressing the little lock next to the layer name also enables you to delete the background layer.
-
That's beautifull
Awesome, congratulations mate!!
-
^
walking.webWalk(area);
spam clicks the last tile. is there a way around this?
-
Can someone give me an example of how to walk a path and open gates if any are blocking your path?
SOLVED: webwalk opens gates
-
2
-
-
this guy got me a nice logo
script coming soon btw
-
1
-
-
Here's an example:
List<Position> path = Arrays.asList( new Position(3135, 3511, 0), new Position(3133, 3505, 0), new Position(3130, 3500, 0), new Position(3129, 3496, 0) );
getWalking().walkPath(path);
-
3
-
-
Show us some of your work mate
-
Cool i wish i was a script 2
lol wut?
-
My main also got banned 3 days ago for 48 hours.
-
If I had to guess, you're not checking if bone is null (i.e. an item exists with one of those names.)
if (bone != null && bone.isOnScreen())
you also need to null check bone != null
thanks guys, seems to work
-
So when i wrote my script but when it's up and running after some time it starts lagging really bad and gives this error in the logger:
[ERROR][Bot #1][01/17 07:46:41 PM]: Error in script executor! java.lang.NullPointerException at mWyverns.getState(mWyverns.java:134) at mWyverns.onLoop(mWyverns.java:142) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(qf:131) at java.lang.Thread.run(Unknown Source)
at line 134 i have this:GroundItem bone = getGroundItems().closestThatContains("potion","Clue", "Adamant", "Granite", "Uncut", "key", "logs", "Runite", "battlestaff", "Rune", "Dragon", "Snapdragon", "Ranarr", "bar", "Draconic","bones"); if (bone.isOnScreen()) return State.LOOT;
mCannon | AFK | REACTION TIMING | TELEGRABBING
in Combat & Prayer
Posted
Just updated the script,
check out the new version.