Pandemic Posted January 24, 2014 Author Posted January 24, 2014 Omitting braces with only one line inside the statement is ok... but explain why you do that, otherwise people looking at the tutorial will be confused. Sometimes you did it with more than one line, though. I promise you that the walking method in the api does not recurse itself until the destination is reached, therefore you are able to easily fix it by doing what I stated above. Lastly, if this is a tutorial, make sure the code is presentable and functional with no logic errors or syntax errors. The entire point of a tutorial is to teach people how to code correctly. Nested and unnested ifs and loops are basic java knowledge and I told them they should know java before using these tutorials. Have you ever used the API's walk method? I assure you it's far from OK, it'll click the same position 3 or 4 times before it recognizes it's done. The code is quite presentable and works just fine, there are no errors at all.
Noterickho123 Posted January 24, 2014 Posted January 24, 2014 i got red swiggly line under mine_area, can u help? 3
vinylwubsu Posted February 1, 2014 Posted February 1, 2014 i got red swiggly line under mine_area, can u help? did you define mine_area? if so did you define it as MINE_AREA then call it as mine_area?
Pandemic Posted February 1, 2014 Author Posted February 1, 2014 i got red swiggly line under mine_area, can u help? Post a screenshot
biercules Posted February 7, 2014 Posted February 7, 2014 Awesome Guide man! Watch tons of tutorials ,but this Guide is better then every single video. Just finished my first easy script :P Could you show how to implement anti-ban and a GUI in your next Tutorial?
fishdrown Posted March 1, 2014 Posted March 1, 2014 (edited) I just compiled and tested this script but my cursor just moves around inside the bank and doesn't deposit anything. Is it supposed to client.getInventory.depositAll?The way client.getBank.DepositAll looks to me like its trying to deposit my bank into my bank lol.Edit: Nvm getInventoyr doesn't have a deposit all argument so I played around and used this and it worksclient.getInventory().interactWithName("Magic logs", "Deposit-All"); Edited March 1, 2014 by fishdrown
csharpstyle Posted March 5, 2014 Posted March 5, 2014 (edited) Great guide! Thank you, I've been having problems with the walk method in the api until i read this thanks for the explanation on path making! Edited March 5, 2014 by csharpstyle
youdidnt Posted March 11, 2014 Posted March 11, 2014 Thanks, great guide! Now im asking, where could i find info on how to interact with object...like how to write that bot needs to open doors for example? xD
Pandemic Posted March 13, 2014 Author Posted March 13, 2014 Thanks, great guide! Now im asking, where could i find info on how to interact with object...like how to write that bot needs to open doors for example? xD Thanks! You can use something just like we used on the rocks or bank, then use door.interact("Open");
youdidnt Posted March 14, 2014 Posted March 14, 2014 1 more thing, same goes with agility shortcuts right?