August 9, 201312 yr 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 Any Help is appreciated
August 9, 201312 yr 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.
August 9, 201312 yr 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.
August 9, 201312 yr 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?
August 9, 201312 yr 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.
August 9, 201312 yr 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.
August 10, 201312 yr 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!