zwaffel Posted March 2, 2018 Share Posted March 2, 2018 Hello, i'm new to java and script writting and have been following an tutorial on youtube. if(!client.getInventory().isFull()) { Im trying to use this to get my inventory but it doesnt seem to work. On the youtube vid i am following (marked the right spot) it will auto fill in with getInventory from the api. But it doesnt do that for me. Is this video to out dated to use or am i doing something wrong ? I Implemented the script manifest etc. i Quote Link to comment Share on other sites More sharing options...
FrostBug Posted March 2, 2018 Share Posted March 2, 2018 getInventory method will be available from your Script subclass (via MethodProvider). The tutorial there seems outdated Quote Link to comment Share on other sites More sharing options...
d0zza Posted March 2, 2018 Share Posted March 2, 2018 This guide may be a little outdated. 1) Make sure you have the osbot jar set as a dependency for the project. 2) Try just using getInventory().isFull() instead. Quote Link to comment Share on other sites More sharing options...
zwaffel Posted March 2, 2018 Author Share Posted March 2, 2018 Alright thanks for clearing that up, will be looking for more recent guides and tutorials. Quote Link to comment Share on other sites More sharing options...
Team Cape Posted March 2, 2018 Share Posted March 2, 2018 (edited) Learn Java first. Edited March 2, 2018 by Team Cape Quote Link to comment Share on other sites More sharing options...
zwaffel Posted March 2, 2018 Author Share Posted March 2, 2018 (edited) 30 minutes ago, Team Cape said: Learn Java first. I wanted to see some code in action before following the class acadamy class. I think this will give me a better understanding of what's going on when following those classes. Edit: typo Edited March 2, 2018 by zwaffel Quote Link to comment Share on other sites More sharing options...
inababila Posted March 2, 2018 Share Posted March 2, 2018 (edited) What @Team Cape said. After that check these links, I am sure they will help you. https://osbot.org/forum/forum/250-tutorials/ The osbot api, you will find everything you need. https://osbot.org/forum/forum/250-tutorials/ So many tutorials out on how to code for osrs. 1 minute ago, zwaffel said: I wanted to see some code in action before following the code acadamy class. I think this will give me a better understanding of what's going on when following those classes. Edited March 2, 2018 by inababila Quote Link to comment Share on other sites More sharing options...
Team Cape Posted March 2, 2018 Share Posted March 2, 2018 6 minutes ago, zwaffel said: I wanted to see some code in action before following the class acadamy class. I think this will give me a better understanding of what's going on when following those classes. Edit: typo nah. i've helped at least 60 people that want to learn both "at the same time". all of them quit - literally 100%. if you actually want to do it, forget about this for just a week and learn java. Quote Link to comment Share on other sites More sharing options...
zwaffel Posted March 2, 2018 Author Share Posted March 2, 2018 Alright i will take your advice. Thank you. Quote Link to comment Share on other sites More sharing options...
HeyImJamie Posted March 2, 2018 Share Posted March 2, 2018 45 minutes ago, Team Cape said: nah. i've helped at least 60 people that want to learn both "at the same time". all of them quit - literally 100%. if you actually want to do it, forget about this for just a week and learn java. I learned both at the same time Quote Link to comment Share on other sites More sharing options...
Team Cape Posted March 2, 2018 Share Posted March 2, 2018 25 minutes ago, HeyImJamie said: I learned both at the same time i love u fam but didnt u used to have scripter 1 Quote Link to comment Share on other sites More sharing options...
HeyImJamie Posted March 2, 2018 Share Posted March 2, 2018 1 hour ago, Team Cape said: i love u fam but didnt u used to have scripter 1 Yah I messaged Alek and requested it to be removed because I released some scripts on another client and didn't realise cross scripting was allowed 1 Quote Link to comment Share on other sites More sharing options...
Deceiver Posted March 2, 2018 Share Posted March 2, 2018 3 minutes ago, HeyImJamie said: Yah I messaged Alek and requested it to be removed because I released some scripts on another client and didn't realise cross scripting was allowed c u........ Quote Link to comment Share on other sites More sharing options...
HeyImJamie Posted March 3, 2018 Share Posted March 3, 2018 9 hours ago, Deceiver said: c u........ u aint shit cos u aint lit Quote Link to comment Share on other sites More sharing options...
Deceiver Posted March 3, 2018 Share Posted March 3, 2018 17 minutes ago, HeyImJamie said: u aint shit cos u aint lit 1 Quote Link to comment Share on other sites More sharing options...