Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Optimum Scripts

Members
  • Joined

  • Last visited

Everything posted by Optimum Scripts

  1. I'm pretty sure dynamic didn't mean anything unless i was using dragon axe using the special, changed it and still the same error. Thanks though for spotting that out
  2. My current progression bar isn't working correctly, it's shortening instead of widening gif: http://i.imgur.com/VV7g5JA.gifv here is the code: /** * Calculates the length of the progress bar * * @return - the progress bar length */ public int calculateLength() { int value = 0; int alphaFactor = 165; int baseXp = skills.getDynamic(Skill.WOODCUTTING); int currentXp = skills.getExperience(Skill.WOODCUTTING); int nextLevel = skills.getExperienceForLevel( skills.getStatic(Skill.WOODCUTTING) + 1 ); currentXp -= nextLevel; currentXp += baseXp; value = currentXp; return Math.abs(value) / alphaFactor; } i want it to increase in size fixed: /** * Calculates the length of the progress bar * * @return - the progress bar length */ public int calculateLength() { int value = 0; int alphaFactor = 165; int baseXp = skills.getExperienceForLevel( skills.getStatic(Skill.WOODCUTTING)); int currentXp = skills.getExperience(Skill.WOODCUTTING); int nextLevel = skills.getExperienceForLevel( skills.getStatic(Skill.WOODCUTTING) + 1 ); logger.debug("baseXp "+ baseXp); logger.debug("currentXp "+ currentXp); logger.debug("nextLevel "+ nextLevel); int levelXp = nextLevel - baseXp; logger.debug("level xp "+ levelXp); value = (nextLevel - currentXp) -(currentXp - baseXp); logger.debug("new value "+value); return Math.abs(value - levelXp) / alphaFactor; }
  3. I was planning on right clicking players nearby , I've been analyzing my own behaviors ingame Setter and getter's aren't really necessary atm, i know it's bad practice not using proper encapsulation but hey, it's a start. and again, thanks a lot!
  4. Can't tell if serious or not :P
  5. Thanks everyone, The script is now funtional, banking, chopping. My next plan is to work on anti-ban, please give me ideas
  6. Thanks for this, about the id's, theres more than 1 bank booth object (one that's closed, one that's not even a bank but called bank booth) all within draynor, that's why i actually wanted to use the id's, about the npc's i will use the name Thanks for the Banks.DRAYNOR, clearly i didn't read the API :P Wouldn't isAnimating pickup walking as an animation ? Edit: https://github.com/Optimumrsps/OptimumChopper/blob/master/src/com/optimum/impl/Started.java#L35
  7. Thanks for the welcome messages lads!
  8. I'm new to the 07 scripting scene, but i love java so why not make a script. This script will contain some of my own anti-ban systems, and i will hopefully create a really efficient bot that cuts willow logs, this is obviously work in progress Soruce Code: https://github.com/Optimumrsps/OptimumChopper If you have any information or questios for me, don't be afraid to ask/say
  9. Thanks Hi Sorry , are youtube links aloud?
  10. Optimum Scripts posted a topic in Introductions
    Alright guys, You can call me optimum. I love java and i hope that i can bring some pretty efficient scripts to you. Feel free to ask me any questions, thanks!

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.