Jump to content

Stimpack

Lifetime Sponsor
  • Posts

    424
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Stimpack

  1. Stimpack

    OSBot 2.4.162

    can't reproduce bug described above. post ur code
  2. gl https://osbot.org/forum/topic/115124-explvs-scripting-101/ , after you learn a little bit of java
  3. a little snippet that gets the name/amount of rune(s) inside of your rune pouch import org.osbot.rs07.api.Configs; public class RunePouch { private static int getRuneId(final Configs configs, final Slot slot) { final int c = configs.get(slot.configRuneName); switch (slot) { case FIRST: return c & 0x3F; case SECOND: return c >>> 6 & 0x3F; case THIRD: return c >>> 12 & 0x3F; default: return 0; } } public static int getAmount(final Configs configs, final Slot slot) { final int c = configs.get(slot.configRuneAmount); switch (slot) { case FIRST: return c >>> 18; case SECOND: return c & 0x3FFF; case THIRD: return c >>> 14; default: return 0; } } public static String getName(final Configs configs, final Slot slot) { switch (RunePouch.getRuneId(configs, slot)) { case 1: return "Air rune"; case 2: return "Water rune"; case 3: return "Earth rune"; case 4: return "Fire rune"; case 5: return "Mind rune"; case 6: return "Chaos rune"; case 7: return "Death rune"; case 8: return "Blood rune"; case 9: return "Cosmic rune"; case 10: return "Nature rune"; case 11: return "Law rune"; case 12: return "Body rune"; case 13: return "Soul rune"; case 14: return "Astral rune"; case 15: return "Mist rune"; case 16: return "Mud rune"; case 17: return "Dust rune"; case 18: return "Lava rune"; case 19: return "Steam rune"; case 20: return "Smoke rune"; default: return "None"; } } public static int getAmount(final Configs configs, final String runeName) { for (final Slot slot : Slot.values()) { if (RunePouch.getName(configs, slot).equals(runeName)) { return getAmount(configs, slot); } } return 0; } public enum Slot { FIRST(1139, 1139), SECOND(1139, 1140), THIRD(1139, 1140); private final int configRuneName; private final int configRuneAmount; Slot(final int configRuneName, final int configRuneAmount) { this.configRuneName = configRuneName; this.configRuneAmount = configRuneAmount; } } } usage, etc. get rune name in slot 1 RunePouch.getName(getConfigs(), RunePouch.Slot.FIRST); get rune amount in slot 1 RunePouch.getAmount(getConfigs(), RunePouch.Slot.FIRST); get blood rune amount RunePouch.getAmount(getConfigs(), "Blood rune");
  4. need another chart to explain this chart
  5. reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
  6. Stimpack

    osMiner

    yup, need 99 crafting OR completion of all hard tasks fally diary
  7. sell as private script
  8. try this for (int i = 0; i < 28; i++) { if (getMouse().click(getInventory().getMouseDestination(i))) { sleep(random(100, 125)); } } you can decrement i if it fails to click the slot, but that may produce weird results also may want to check if there's an item at slot unless you want it to click empty slots
  9. i make my mules follow each other conga line style until reaching the transfer location also helps to make them dance so jagex know u r not a robot
  10. try getInventory().getItemInSlot of cadava berries then check the name of it, maybe there's weird formatting? idk. could also open your inventory then picking from bush, as suggested above. really strange based on code, it shouldn't be doing that..
  11. how many times does it repeat after inventory already contains berries?
  12. good luck on your new journey
  13. have u tried checking firemaking xp
  14. gl yung poly
  15. Aim hacks
  16. Thanks @Alek !! What was wrong with ConditionalSleep?
  17. triggered on topic: nobody gon tell u
  18. last i remember pest control areas change every time u join a game
×
×
  • Create New...