TheGreatests Posted March 24, 2017 Share Posted March 24, 2017 Need method to getting a certain level, and if itsa grater then or equal to. I need it to validate a node. public class Addy extends Walk2Zone { private Script s; public Addy(Script sA) { super(sA); // TODO Auto-generated constructor stub } @Override public boolean validate() throws InterruptedException { return s.players.experienceTracker.skills! = (Skill.MINING);; ///How do I implement a method that validates this if my skills above a certain level I need to make a int of the value but kinda went brain dead } @Override public boolean execute() throws InterruptedException { return false; } Quote Link to comment Share on other sites More sharing options...
Night Posted March 24, 2017 Share Posted March 24, 2017 https://osbot.org/api/ 1 Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 24, 2017 Author Share Posted March 24, 2017 2 minutes ago, Night said: https://osbot.org/api/ I know haha, but seriously am lost still. I had such a brain fuck its terrible -_- Quote Link to comment Share on other sites More sharing options...
Chris Posted March 24, 2017 Share Posted March 24, 2017 WHE ARE GOING DEEPERRR.... ENHANCEEEE https://osbot.org/api/org/osbot/rs07/api/Skills.html 1 Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 24, 2017 Author Share Posted March 24, 2017 Woulds this validate if my skills level is? at? 29? return s.players.skills.getStatic(Skill.MINING) != 29; Quote Link to comment Share on other sites More sharing options...
DrDu Posted March 24, 2017 Share Posted March 24, 2017 (edited) getSkills().getDynamic(Skill.MINING) = 9 Edited March 24, 2017 by DrDu Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 24, 2017 Author Share Posted March 24, 2017 1 minute ago, DrDu said: getSkills().getDynamic(Skill.MINING) = 9 Fucking dude did this - return s.players.skills.getStatic(Skill.MINING) != 29; Whats another way to get it by exact experience? I mean, I want it to go and get a certain item if the experience is 23,000,00 or more? How do you search via experience experience? Quote Link to comment Share on other sites More sharing options...
DrDu Posted March 24, 2017 Share Posted March 24, 2017 1 minute ago, TheGreatests said: Fucking dude did this - return s.players.skills.getStatic(Skill.MINING) != 29; Whats another way to get it by exact experience? I mean, I want it to go and get a certain item if the experience is 23,000,00 or more? How do you search via experience experience? Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 24, 2017 Author Share Posted March 24, 2017 6 minutes ago, DrDu said: getSkills().getDynamic(Skill.MINING) = 9 Still incorrect Just now, DrDu said: see, I am doing all these.. Description Resource Path Location Type The value of the local variable status is not used Walk2Zone.java /MiningTo31/src line 23 Java Problem Quote Link to comment Share on other sites More sharing options...
Chris Posted March 24, 2017 Share Posted March 24, 2017 1 Quote Link to comment Share on other sites More sharing options...
Chris Posted March 24, 2017 Share Posted March 24, 2017 ENHANCEEEEEEE https://osbot.org/api/org/osbot/rs07/api/Skills.html#getExperience-org.osbot.rs07.api.ui.Skill- 1 Quote Link to comment Share on other sites More sharing options...
DrDu Posted March 24, 2017 Share Posted March 24, 2017 7 minutes ago, TheGreatests said: Still incorrect see, I am doing all these.. pm me ur skype lol Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 24, 2017 Author Share Posted March 24, 2017 return s.skills.getExperience(Skill.MINING) <=23000; ;) Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 24, 2017 Author Share Posted March 24, 2017 7 minutes ago, DrDu said: pm me ur skype lol Whats ur skype my friend! I added ypu, mines Elvis.basic3 Quote Link to comment Share on other sites More sharing options...