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.

NewtonWoodcutter - First public script

Featured Replies

NewtonWoodcutter

Source: https://github.com/JamesNewton1/NewtonWoodcutter

 

Overview

This is my first publicly released script. With my public scripts, my aim is to provide a twist to a script instead of the same old stuff. In this case, I thought it'd be interesting to see what it would be like to create a generic script. What I mean by generic is that you can implement the script on any bot you like. All the logic is done using generic interfaces. I have provided an implementation for OSBot which is in the org.newton.wc.osbot package. I wouldn't recommend running this script in its current state, as there is no real antiban and I haven't tested it much at all.

 

GUI

Nice and simple. Does what it says on the tin.

YOSNijp.png

 

What I learnt

Writing generic scripts is useful in the sense that it allows you to easily and concisely write the logic of your script. The problem is, because bots do not follow any standards, you need to hack around with datatypes and methods to make sure it can be implemented on any bot.

 

Feedback

I'd really appreciate any feedback you guys can provide, since this is my first public script. I have spent a lot of time writing java code in the past, but not nearly as much time on OSBot scripts. It would also be pretty cool if someone tried to implement it on another bot, just to see how that goes. Let me know if you do. You could even create a branch on Git for it.

Edited by Newt0n

throw some pictures in there man, would look so much more appealing by the way good job.

also as it is your first public script people would prefer if you threw a picture in there of a virus scan on it.

Edited by leony

  • Author

throw some pictures in there man, would look so much more appealing by the way good job.

also as it is your first public script people would prefer if you threw a picture in there of a virus scan on it.

Hey, thanks for the feedback! I'll take a screenshot of the very simple GUI, I guess. The source code is free to view on GitHub, so there's no need for a virus check :)

I'll buy an account tonight and test it, nice job

  • Author

I'll buy an account tonight and test it, nice job

I think there's an issue with the webwalking. I'm going to look into it tomorrow. You can still test the powerchopping part of the script though :)

  • Author

Pushed an update to Git. Hopefully I can get the script on the SDN now, seems to run really well! :)

List of changes:

Added paint for keeping track of state, runtime, levels gained, xp
gained
Added timer class for runtime
Name change: Trees -> Tree
Fixed GUI bugs with not closing properly
Added prioritise best tree option
Fixed logic problem with banking
Added version number
 

 

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.