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.

Making Scripts

Featured Replies

I've always wanted to make my own scripts, but I've got no knowledge at all.

 

What do I need to know in terms of knowledge, to make my own scripts?

 

I'm pretty sure I need to know java? But I need you guys to put me in the right direction :D

 

Any Help is appreciated 

1. Learn the basics of Java

2. Set up eclipse with OSBot

3. Look at a script skeleton and look through the API

4. Look through scripts and go through it to get a better feel of the API and how everything works

5. Start writing scripts. You learn through trial and error.

1. Learn the basics of Java

2. Set up eclipse with OSBot

3. Look at a script skeleton and look through the API

4. Look through scripts and go through it to get a better feel of the API and how everything works

5. Start writing scripts. You learn through trial and error.

I highly suggest you don't follow this.

 

Learn Java, yes, but not the basics, I suggest doing some small java projects to understand how it works, and understand OOP, then move onto scripting itself once you get a sense of what you're doing, trial and error results in messy code and you may catch onto some bad habits. 

 

1. Learn the basics of Java

2. Set up eclipse with OSBot

3. Look at a script skeleton and look through the API

4. Look through scripts and go through it to get a better feel of the API and how everything works

5. Start writing scripts. You learn through trial and error.

I highly suggest you don't follow this.

 

Learn Java, yes, but not the basics, I suggest doing some small java projects to understand how it works, and understand OOP, then move onto scripting itself once you get a sense of what you're doing, trial and error results in messy code and you may catch onto some bad habits. 

 

I normally do suggest go more in-depth learning Java, but most people who want to script don't care much for learning. All they want to do is to be able to write something.

 

We have different definitions of basic. When I say basics, I don't just mean learn about primitives and how to write 1+1.

 

Trial and error is the best method for beginners. Without it is he not supposed to script until he is an advanced scripter like @Brainfree?

I'm not discouraging trial and error, just saying he should understand the most important thing, how to use the API, and you should've been more specific rather than basic.

  • Author

I dont want you guys to argue haha. I would be interesting in learning Java itself, but I know that will take a while also. 

 

I guess I'd like to learn to script as well as learn java eventually.

Honestly, i'm still a noob when it comes to scripting. However, go look in the project section, i believe there's two tutorials. OOP is important, and learning primarily from scripts really messed me up. Although i did manage to overcome this, i would recommend the book "Java for dummies" (I believe that's the correct title, there's a couple issues of it), and i'd recommend you take a look at opensource scripts, you'll learn a lot by reading over them, and if you're having an issue that's not included you may find the answer in an already existing script. Best of luck scripting my friend!

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.