peter123456 Posted August 22, 2013 Posted August 22, 2013 I am going to start to learn java and hopefully in a few months code some good bots for you guys cant wait to start!
Guest Falixus Posted August 22, 2013 Posted August 22, 2013 That's great. Any ideas what you would want your first script to be?
peter123456 Posted August 22, 2013 Author Posted August 22, 2013 That's great. Any ideas what you would want your first script to be? your sig is sexy as hell im not surew yet somthin prob not to hard but very useful any ideas?
Guest Falixus Posted August 22, 2013 Posted August 22, 2013 That's great. Any ideas what you would want your first script to be? your sig is sexy as hell im not surew yet somthin prob not to hard but very useful any ideas? Hm. Perhaps a Woodcutting script. :p
peter123456 Posted August 22, 2013 Author Posted August 22, 2013 That's great. Any ideas what you would want your first script to be? your sig is sexy as hell im not surew yet somthin prob not to hard but very useful any ideas? Hm. Perhaps a Woodcutting script. what would you want it to wc?
Guest Falixus Posted August 22, 2013 Posted August 22, 2013 That's great. Any ideas what you would want your first script to be? your sig is sexy as hell im not surew yet somthin prob not to hard but very useful any ideas? Hm. Perhaps a Woodcutting script. what would you want it to wc? No idea. I just know that a lot of people start out with scripts like that.
BotRS123 Posted August 22, 2013 Posted August 22, 2013 Can't wait to see what you bring to the table.
peter123456 Posted August 22, 2013 Author Posted August 22, 2013 The biggest issue I'm having so far is with the brakets I seem to always have too few or too many
triggamortis Posted August 22, 2013 Posted August 22, 2013 You are long ways ahead to even bother to start programming/ developing scripts. If you can't do brackets then you need to understand how basic programming works.
Mr Asshole Posted August 22, 2013 Posted August 22, 2013 If you're having trouble with brackets then idk what to tell you. 1
TheScrub Posted August 22, 2013 Posted August 22, 2013 If you're having trouble with brackets then idk what to tell you. Persian dick as always Peter: If you want to start scripting and learn some java i will link you to some of the basics: Java Keywords: http://docs.oracle.com/javase/tutorial/java/nutsandbolts/_keywords.html Wikipedia is best for the keywords as it gives a definition: http://en.wikipedia.org/wiki/List_of_Java_keywords Java parentheses: http://beginwithjava.blogspot.com.au/2008/07/parens-and-brackets-and-braces-oh-my.html explains the brackets you speak of.. Osbot API: www.osbot.org/api What is an API? http://en.wikipedia.org/wiki/Application_programming_interface Usefully java class's for scripting: http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html http://docs.oracle.com/javase/7/docs/api/java/lang/System.html Important for GUI'S! (User friendly is apart of scripting whether you like it or not) http://www.eclipse.org/windowbuilder/ And of course their is the osbot snippet section http://osbot.org/forum/forum/156-snippets/ 2
peter123456 Posted August 22, 2013 Author Posted August 22, 2013 If you're having trouble with brackets then idk what to tell you. Persian dick as always Peter: If you want to start scripting and learn some java i will link you to some of the basics: Java Keywords: http://docs.oracle.com/javase/tutorial/java/nutsandbolts/_keywords.html Wikipedia is best for the keywords as it gives a definition: http://en.wikipedia.org/wiki/List_of_Java_keywords Java parentheses: http://beginwithjava.blogspot.com.au/2008/07/parens-and-brackets-and-braces-oh-my.html explains the brackets you speak of.. Thanks! Osbot API: www.osbot.org/api What is an API? http://en.wikipedia.org/wiki/Application_programming_interface Usefully java class's for scripting: http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html http://docs.oracle.com/javase/7/docs/api/java/lang/System.html Important for GUI'S! (User friendly is apart of scripting whether you like it or not) http://www.eclipse.org/windowbuilder/ And of course their is the osbot snippet section http://osbot.org/forum/forum/156-snippets/
Brozu Posted September 2, 2013 Posted September 2, 2013 Hey Peter, I'm learning java as well. I also have trouble with the brackets and i find streamlining the code so its all nice and orderly helps with that issue a bit. The IDE that i use is eclipse and if i select all my text and use ctr+shift+f it tidies up my code nicely.
asidy Posted September 2, 2013 Posted September 2, 2013 I would recommend to not use eclipse while learning. Eclipse isn't useful for programs that aren't complex. If you are not knowledgeable enough to have a firm understanding of the language and can't get your script to compile without the help of Eclipse, your script is going to be useless when it is compiled. Java is a very easy language. If you are interested in learning to script, I have a couple of tips for you. 1. Don't use Eclipse, trust me. It will improve your attention to detail which is important in scripting. 2. Read existing code. When I learn any new language, the first thing I do is look through many lines of source code. You will be able to learn how other programmers with more experience than yourself solve problems. This is the single most important step to being a programmer. 3. Head first Java. This book series is great for newbies. Years ago when I was younger I was introduced to these books by one of my high school professors. This book is designed for newbies, with easy to understand language and some fun and interesting hands on projects this is enough to get you up and running with your first scripts. You can download this off thepiratebay easily. 4. Hands on experience. After learning a new concept, for example a while loop, implement it a couple dozen times in different ways to get your fingers used to the syntax. This is just like taking notes in school. Writing things out helps you remember them, and typing out code helps you remember the syntax. Good luck, have fun, and keep at it! There is a VERY steep learning curve for programming. It took me about 3 years of programming as a hobby until it all clicked and I started pumping out some really great programs. It is definitely worth it in the end!
Kittens Posted September 2, 2013 Posted September 2, 2013 GL bro make sure to ask any official scripters on here for help:)