Gilgad Posted January 7, 2014 Share Posted January 7, 2014 Pandemic, two things I dont understand. What does @override do and what does the break; do?? Link to comment Share on other sites More sharing options...
Pandemic Posted January 10, 2014 Author Share Posted January 10, 2014 Pandemic, two things I dont understand. What does @override do and what does the break; do?? Sorry for the late reply I didn't see this post somehow lol. Anyways: 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). and break; just "breaks out of" any loop you happen to be in. Link to comment Share on other sites More sharing options...
lolmanden Posted January 11, 2014 Share Posted January 11, 2014 Thanks for creating, I think i'll start learning scripting. I've done many RSPS sources. Link to comment Share on other sites More sharing options...
vinylwubsu Posted January 31, 2014 Share Posted January 31, 2014 hmm i'm a newb when it comes to java so bear with me here. but esssentially i just started out by rewriting out the script, it doesnt seem to detect the rock is null? or do i have wrong understanding of that? because it goes by name, and the name doesnt change when the rock loses its ore(it just changes id) the script will keep clicking the rock you already mined ;d. Link to comment Share on other sites More sharing options...
Pandemic Posted January 31, 2014 Author Share Posted January 31, 2014 hmm i'm a newb when it comes to java so bear with me here. but esssentially i just started out by rewriting out the script, it doesnt seem to detect the rock is null? or do i have wrong understanding of that? because it goes by name, and the name doesnt change when the rock loses its ore(it just changes id) the script will keep clicking the rock you already mined ;d. I know, this isn't a script to actually use, and in part 2 we fix this problem Link to comment Share on other sites More sharing options...
vinylwubsu Posted January 31, 2014 Share Posted January 31, 2014 I know, this isn't a script to actually use, and in part 2 we fix this problem ah, i just went and made a gui for inputting id's instead.. i must say after doing this. i def prefer Visual Basic's ability to distinguish WHAT THE FUCK IM SAYING when i dont use the proper capitalization/ lack of. i.e in VB if i wrote dim blah as string it would auto correct to Dim blah As String in java its like oh man idk what you mean, errors everywhere! lol Link to comment Share on other sites More sharing options...
Sex Posted February 2, 2014 Share Posted February 2, 2014 Your tuts are the best 1 Link to comment Share on other sites More sharing options...
RoomScape Posted February 4, 2014 Share Posted February 4, 2014 (edited) Never mind, didn't fully read it. Edited February 4, 2014 by RoomScape Link to comment Share on other sites More sharing options...
telfordd Posted February 4, 2014 Share Posted February 4, 2014 Fantastic Tut, used yours to create my script i think your next tut should be adding custom paint, time ran, xp gained, ore mined ph etc that would make a fantastic tut :P Link to comment Share on other sites More sharing options...
Al Pacino Posted February 6, 2014 Share Posted February 6, 2014 Followed all of your guides and I still have so much trouble. I guess scripting just isn't my cup of tea. Link to comment Share on other sites More sharing options...
Panic Plox Posted February 17, 2014 Share Posted February 17, 2014 Maybe I should go to my councelor and add just 1 basic programming class to my schudule next year. If i could just know the basics, maybe this would help me learn more? This looks so intense, and some makes sense, then other parts make me drool. lol. I think I need like hands on learning for it. Nice post tho Link to comment Share on other sites More sharing options...
Ganjaman Posted February 20, 2014 Share Posted February 20, 2014 very nice tutorial only with no expercience with java this seems like it would take me ages to understand and learn this. Link to comment Share on other sites More sharing options...
iHunTer Posted February 22, 2014 Share Posted February 22, 2014 I am trying to make combat script, but I can't find how to make it wait while attacking a monster, because it clicks on it all the time. Can you help me? Link to comment Share on other sites More sharing options...
TheKnight Posted March 6, 2014 Share Posted March 6, 2014 This is gold tyvm! Link to comment Share on other sites More sharing options...
Zanhon Posted March 8, 2014 Share Posted March 8, 2014 how would i go about dropping specific items? Link to comment Share on other sites More sharing options...