January 24, 201412 yr Author 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.
February 1, 201412 yr 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?
February 7, 201411 yr 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?
March 1, 201411 yr 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, 201411 yr by fishdrown
March 5, 201411 yr 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, 201411 yr by csharpstyle
March 11, 201411 yr 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
March 13, 201411 yr Author 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");
Create an account or sign in to comment