Jump to content

Cyro

Members
  • Posts

    387
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Cyro

  1. Cyro

    All Food Support

    Instead of myPlayer()#getClient() you can just use clientWhy not use item#getItemDefinition() And the first option might not be the in the first index in the actions array Not sure but you might want to check it
  2. good job it looks nice and the API is way better than before
  3. Nice tutorial , I like how you use the pictures it will encourage people to write the code and not c&p
  4. Is that you own server?
  5. it's java (what u use for scripting) not javascript they are different http://www.java.com/en/download/faq/java_javascript.xml
  6. i agree i am pretty sure message.contains("Woodcutting level"); would return true if you level up there are 2 onMessage() methods use the one with Message as parameter then you can check for the type of the message
  7. nice methods , i made my own ages ago and mainly it was because of the scrolling postCount++;
  8. They are actually quite easy basically but can be confusing at the start or just some of the methods.This might help you http://www.tutorialspoint.com/java/java_strings.htm Good luck with this and have fun
  9. it was a simple good game why is he taking it down? he makes 50k/day from ads for android you can extract the apk for it(there is an app for it) and save the file to you computer so you don't lose it and reinstall it on any android device
  10. Just delete the client jar located in Data folder within osbot's folder
  11. I just noticed this. Never actually looked or cared about this
  12. school starts...

  13. Cyro

    New Shop API

    Check the inventory class there is interact methodshttp://osbot.org/api/org/osbot/script/rs2/ui/Inventory.html
  14. you already added it that why you got that i like running it through eclipse as i can see all the logs on the eclispe console which stays there even if osbot closes also the errors and the lines are there simply click it and it navigates to the line which is causing the error
  15. if you mean adding the jar file to your build path 1. right click on your Java project in the package explorer 2. navigate to Build path 3. Select Add External Archives. 4. select osbot jar and click open
  16. Cyro

    change the TWC Pip

    Idk how you see it as misleading It has a warning sign "Trade with caution" And those hazard stripes I see it as alerting and it draws the attention of the people so they be warned Imo It's good the way it is, no need for a change
  17. I had this problem back in pb iirc all I did was clear the cache+cookies If that doesn't work contact a mod
  18. Make sure that your java and eclipse have the same bit version so they both have to be 64 or 32 Glad I could help
  19. Well then you might have different bits version for jdk and eclipseMake sure they both are 32 or 64 Or it could be that your PATH variable is missed up this is how to change/set it: http://www.java.com/en/download/help/path.xml Set it to your jdk bin folder
  20. Yeah ik but what im saying is it doesnt go back to the same tileinstead it will skip the current tile and the next tile as you are decreasing and going forward in your reversed path. That should be an incement operatwr
  21. Yeah you're right but they are in the process of learning and they should get use to using tools.They will be dealing with more confusing stuff while they are scripting. You could add it as an alternative, up to you anyway private void traversePath(Position[] path, boolean reversed) throws InterruptedException { if (!reversed) { for (int i = 1; i < path.length; i++) if (!walkTile(path)) i--; } else { for (int i = path.length-2; i > 0; i--) if (!walkTile(path)) i--;//<-- was referring to this one it goes to the next tile when it fails to walk the current one } }
  22. happy new year ^_^

  23. nice tutorial, i like how simple it is and would help out people who are new to scripting tho you have explained how to create a path instead of using notepad and recoding the tile you are on you could show them how to use a path maker it saves time, good for long as paths and less confusing in your traversePath() the reversed part shouldn't i be increasing
×
×
  • Create New...