Mitchy Posted December 22, 2013 Share Posted December 22, 2013 Wow nice, I'll use this if I ever want to start making scripts Link to comment Share on other sites More sharing options...
Pandemic Posted December 23, 2013 Author Share Posted December 23, 2013 Allright Pandemic, awesome tutorial. I am not new to coding, as I have created a fairly complex YouTube bot through Visual Basic that took me about 4 months. That being said, I jumped right into Java a while back and lost a lot of the touch I used to have. Looking over this, I like what you did here. I just simply would like to see more diversity in the code. For example, what we can and can't change, and less structured since afterall, scripts can differ so greatly. I suppose what I am trying to say is can you show us what we can add and take away with this script, and diversify the tutorial a bit? Can you also show us more with creating an accurate paint (especially a draggable one, that seems to be the new thing). Looking through what you did here, I feel as if we would have to create a powermining script. How do we add banking? The same way we added that it mines the rocks? But what about finding the nearest location, drawing the points for it to walk (or randomizing them inbetween), etc.? There are just so many unanswered points here, and I almost feel as if I have to create a script where it powermines or powerchops because that's all I would be capable of doing. Wow, thanks for reading the tutorial and I'm glad you like it (sort of at least). Everything that you've said here is very, very true. I'm doing this on purpose, because I'm working on a full series of scripting tutorials (around 5 total) that will each teach you more and more. Stay tuned for the future tutorials P.S. The next tutorials will all be more on actually scripting and less on setup (as this one is). Once again though, thanks for the write up! 3 Link to comment Share on other sites More sharing options...
Taynk Posted December 23, 2013 Share Posted December 23, 2013 Awesome Link to comment Share on other sites More sharing options...
Pandemic Posted December 23, 2013 Author Share Posted December 23, 2013 Thanks the second tutorial is 90% done, I just need to get screen shots and IDs. Part 2 includes path making, path walking, and banking. Stay tuned Link to comment Share on other sites More sharing options...
ping pong Posted December 23, 2013 Share Posted December 23, 2013 Allright Pandemic, awesome tutorial. I am not new to coding, as I have created a fairly complex YouTube bot through Visual Basic that took me about 4 months. That being said, I jumped right into Java a while back and lost a lot of the touch I used to have. Looking over this, I like what you did here. I just simply would like to see more diversity in the code. For example, what we can and can't change, and less structured since afterall, scripts can differ so greatly. I suppose what I am trying to say is can you show us what we can add and take away with this script, and diversify the tutorial a bit? Can you also show us more with creating an accurate paint (especially a draggable one, that seems to be the new thing). Looking through what you did here, I feel as if we would have to create a powermining script. How do we add banking? The same way we added that it mines the rocks? But what about finding the nearest location, drawing the points for it to walk (or randomizing them inbetween), etc.? There are just so many unanswered points here, and I almost feel as if I have to create a script where it powermines or powerchops because that's all I would be capable of doing. Wow, thanks for reading the tutorial and I'm glad you like it (sort of at least). Everything that you've said here is very, very true. I'm doing this on purpose, because I'm working on a full series of scripting tutorials (around 5 total) that will each teach you more and more. Stay tuned for the future tutorials P.S. The next tutorials will all be more on actually scripting and less on setup (as this one is). Once again though, thanks for the write up! Perfect! Thanks a ton for the analysis! And just to clarify, I do like this tutorial as it is great for beginning. One of the best I have seen in respects to scripting. Do you happen to have a Skype? I would like to get more in depth quickly and could use some advising probably beyond this. Link to comment Share on other sites More sharing options...
Pandemic Posted December 23, 2013 Author Share Posted December 23, 2013 I sent you a PM. Link to comment Share on other sites More sharing options...
zScripz Posted December 24, 2013 Share Posted December 24, 2013 Why do so many people use states? I don't see how using states helps at all. It doesn't really serve a purpose. Its a good question. Most scripters use this state system without even realizing that they could do without it and achieve the same purpose. However, I agree it does make for cleaner code. Link to comment Share on other sites More sharing options...
Pandemic Posted December 24, 2013 Author Share Posted December 24, 2013 The second tutorial will be released tonight, yay! Link to comment Share on other sites More sharing options...
Cerberus Posted December 26, 2013 Share Posted December 26, 2013 I will try to learn how to scrip, thanks for the tutorials, you got skype or something? I'd like to ask a few questions and maybe get pointed out in right direction etc, would be very nice of you, thanks once again! Link to comment Share on other sites More sharing options...
Pandemic Posted December 26, 2013 Author Share Posted December 26, 2013 Sure do: PandemicScripts Link to comment Share on other sites More sharing options...
RhymeAsylum Posted December 26, 2013 Share Posted December 26, 2013 Awesome guide! Simple and to the point. This will definitely help the people just starting out scripting. Link to comment Share on other sites More sharing options...
aphexhdm Posted December 26, 2013 Share Posted December 26, 2013 Didn't really explain what @override means Link to comment Share on other sites More sharing options...
Omoshu Posted December 26, 2013 Share Posted December 26, 2013 Didn't really explain what @override means Override is an annotation that means you are overriding a method from a superclass. It doesn't have any functional purposes, other than readability, so people reading your code knows the method is overriden from another class. Link to comment Share on other sites More sharing options...
Pandemic Posted December 26, 2013 Author Share Posted December 26, 2013 Didn't really explain what @override means Override is an annotation that means you are overriding a method from a superclass. It doesn't have any functional purposes, other than readability, so people reading your code knows the method is overriden from another class. Thanks Omoshu, but this is a rather technical version of what it does, so let me explain it much simpler: The @Override above a function simply means that OSBot will use this function instead of the default function that's defined in the Script class (the one our script is extending from). You can also call the default function by doing the super() function inside of the function you're overriding (well it's useless in this case, because the Script class functions are empty). 2 Link to comment Share on other sites More sharing options...
Merlo227 Posted December 29, 2013 Share Posted December 29, 2013 Hi I dont know any Java at all, only some HTML, would I be able to learn this language without going back to Java? Link to comment Share on other sites More sharing options...