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.

Scripting guide for newcomers?

Featured Replies

So I haven't really browsed the section much for a topic similar to this and if I come across one I will delete this thread.

 

I am now on summer break and have a substantial amount of time on my hands. I want to start learning to script, so I had a few questions.

 

1. What's the best program to use for scripting?

2. Are there any decent guides out there that would help me out?

3. Is there anyone that's willing to help me out if I have any questions? I'm a do-it-yourself kind of person, I won't be asking simple little questions, just questions about random things I get stuck on

 

Thanks!

To script effectively, you'll need a thorough knowledge and understanding of the 'Java' language.

 

This is a guide to learning the language, created by the official website; http://docs.oracle.com/javase/tutorial/java/

Consider that a guideline, there is plenty more to learn.

 

I'd suggest downloading Eclipse or IntelliJ if you want to begin scripting.

 

no...

...on

That's JavaScript.

is that not what you want to learn for the basics? 

is that not what you want to learn for the basics? 

 

Java != JavaScript

 

Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only.

Java != JavaScript

 

Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only.

 

Yes they are different, but they also have some simmilarities in sytax. I've used codeacademy to learn the ground basics of how the loops should look, declaring etc. Then there are many good tutorials, I've found these few helpful:

 

https://www.youtube.com/user/MrIndigestion/videos - this guy has solid video tuts, they are for another client, but it doesn't vary that much, I found this source helpful especially when setting up my first GUI which I could not find so detailed tut about around here

 

http://osbot.org/forum/topic/47351-video-osbot-scripting-tutorials/

 

http://osbot.org/forum/topic/26816-where-to-get-started-scriptingjava/

 

http://osbot.org/forum/topic/38920-i-want-someone-to-teach-me-scripting/

 

http://osbot.org/forum/topic/27475-the-ultimate-osbot-scripting-guide/

 

These are just some threads I've been learning from. There are many more in Programming and Scripting section of the forum. Don't expect anybody to give you a list of things that you just need to look throught to learn scripting 100%. It very much depends on your will to learn. There are countless tutorials on youtube and other sites too.

 

But yeah, first I would say you need some basic understanding of Java. Then maybe you should take a look at some open source script code to see how other ppl code and how a script skeleton and script itself should look when finished and working. To write a simple, basic script you don't need much. To write a good, flawless, top product you need a lot of knowledge and a strong will, I would say, that would get you on that level of experience.

 

Good luck with this anyway, I hope to see some script from you soon :)

 

PS: This might be not be the best time to learn scripting as the whole thing is switching to OSBot 2 which has different API 'n stuff and most of the tutorials here are written for OSBot 1...

 

PS: This might be not be the best time to learn scripting as the whole thing is switching to OSBot 2 which has different API 'n stuff and most of the tutorials here are written for OSBot 1...

 

^

 

Unless you learn the osb2 api.

PS: This might be not be the best time to learn scripting as the whole thing is switching to OSBot 2 which has different API 'n stuff and most of the tutorials here are written for OSBot 1...

If you know Java learning an API (especially OSBot) literally is a 10 minute procedure.

If you know Java learning an API (especially OSBot) literally is a 10 minute procedure.

 

Learning pure java without a fun and directly rewarding project (a script for example) isn't the way to go for everyone.

 

I'm not afraid to claim that 75+% of the SDN scripters, OSDs and even the Devs probably didn't knew jack shit about java before they wrote their first runescape scripts (not for this bot per se).

Learning pure java without a fun and directly rewarding project (a script for example) isn't the way to go for everyone.

 

I'm not afraid to claim that 75+% of the SDN scripters, OSDs and even the Devs probably didn't knew jack shit about java before they wrote their first runescape scripts (not for this bot per se).

While that is true, learning Java "just to script" is stupid and you will never learn anything. Even writing your own methods doesn't teach you much as it's literally nested if statements with maybe a loop to grab some sort of Entity. Your code will never improve if you don't learn the language itself.

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.