Bloodycub Posted July 2, 2016 Share Posted July 2, 2016 if (Stairsarea2thfloor.contains(myPlayer())); walking.walk(Stairsarea2thfloor);???? i need to climb down Quote Link to comment Share on other sites More sharing options...
FrostBug Posted July 2, 2016 Share Posted July 2, 2016 (edited) Interact with the staircase, or use webwalking instead. Also what on earth is a "seconth floor" ? EDIT: Looking at your code again, I see that it's literal nonsense. Consider revising. 1. if(true); what is this? why are you terminating your if statement with ; 2. If you're already in the area, why do you need to walk to it? Edited July 2, 2016 by FrostBug Quote Link to comment Share on other sites More sharing options...
Bloodycub Posted July 2, 2016 Author Share Posted July 2, 2016 Interact with the staircase, or use webwalking instead. Also what on earth is a "seconth floor" ? i need to interact with staircase "climb down" And its typo Quote Link to comment Share on other sites More sharing options...
Ayylmao420 Posted July 2, 2016 Share Posted July 2, 2016 i need to interact with staircase "climb down" And its typo RS2Object stairs = getObjects().closest(o -> o.getName().equls("Stairs) && o.hasAction("Climb-down")); stairs.interact("Climb-down"); 2 Quote Link to comment Share on other sites More sharing options...
Bloodycub Posted July 2, 2016 Author Share Posted July 2, 2016 Interact with the staircase, or use webwalking instead. Also what on earth is a "seconth floor" ? EDIT: Looking at your code again, I see that it's literal nonsense. Consider revising. 1. if(true); what is this? why are you terminating your if statement with ; 2. If you're already in the area, why do you need to walk to it? walking.walk(Stairsarea2thfloor); if (Stairsarea2thfloor.contains(myPlayer()));{ well still this dosent solve my problem how do i interact with stairs. Quote Link to comment Share on other sites More sharing options...
FrostBug Posted July 2, 2016 Share Posted July 2, 2016 i need to interact with staircase "climb down" And its typo Terminating an if statement with ; like you're doing will make it an empty statement. The line below it will be executed regardless of the evaluation of the if-statement walking.walk(Stairsarea2thfloor); if (Stairsarea2thfloor.contains(myPlayer()));{ well still this dosent solve my problem how do i interact with stairs. If you don't learn some basic java before you start scripting, you're gonna have a very bad time 1 Quote Link to comment Share on other sites More sharing options...
Bloodycub Posted July 2, 2016 Author Share Posted July 2, 2016 Terminating an if statement with ; like you're doing will make it an empty statement. The line below it will be executed regardless of the evaluation of the if-statement If you don't learn some basic java before you start scripting, you're gonna have a very bad time well you dont make it any better 5/5 Quote Link to comment Share on other sites More sharing options...
FrostBug Posted July 2, 2016 Share Posted July 2, 2016 well you dont make it any better 5/5 You should be able to use that information to fix the problem, though. Quote Link to comment Share on other sites More sharing options...
Explv Posted July 2, 2016 Share Posted July 2, 2016 if (Stairsarea2thfloor.contains(myPlayer())); walking.walk(Stairsarea2thfloor); ???? i need to climb down 10/10 1 Quote Link to comment Share on other sites More sharing options...
Solution Posted July 2, 2016 Share Posted July 2, 2016 Not to be a douche here, but what's stated above is true. I highly recommend at least trying to get the basics of java. Look at some tutorials online (either video or text-based) to get a better understanding of programming logic and 'rules'. Then try to look at some open-source scripts available and think of why some of the stuff that is in there is written that way, see if you can fully understand what every line of code does. As easy it seems, having other people spoon-feed you code isn't going to teach you anything, at best you'll fix very small problems, not understand why it's fixed and run into something similar 10 minutes later. 1 Quote Link to comment Share on other sites More sharing options...
Harry Posted July 2, 2016 Share Posted July 2, 2016 What the guys said above. You cant just expect all the answers from other scripters Quote Link to comment Share on other sites More sharing options...
Chris Posted July 3, 2016 Share Posted July 3, 2016 just use walking.webwalk and just read some tutorials here. fuck the haters 2 Quote Link to comment Share on other sites More sharing options...
qverkk Posted July 3, 2016 Share Posted July 3, 2016 (edited) webwalker is burning cpus, write ur own walkr Edited July 3, 2016 by qverkk 1 Quote Link to comment Share on other sites More sharing options...