Jump to content

Joseph

Trade With Caution
  • Posts

    4692
  • Joined

  • Last visited

  • Feedback

    91.3%

Everything posted by Joseph

  1. If you lose pick head you always stuck with a stick. You could walk look to see if your wear the stick or have stick in inventory. Since there like 7 different heads bronze iron steel....etc. Pre loop make sure you have inv space. Regular Loop, pick up and attach the head. Post loop pick up any item you dropped. Re-equipe if it was wielding it before.
  2. isnt jagex implementing a thing where you could change your name. To names that people uses to have, dont play anymore, or is banned.
  3. Joseph

    Edible Snippet

    ya good call, i just change the the null check to size check . Now it works i updated cooked food
  4. Joseph

    Edible Snippet

    So you could use in a gui. Make it Gui friendly. So people dont have to consistently have to look up the item id, then having to type it in the gui. When they could just choose out of an enum. code: JComboBox<Edible> list = new JComboBox(Edible.values()); for example: why use id when you could use names. Also there no need to create 3 variables when you could create one. And have an array of names. Like i do in my enum. Plus since inventory get item uses an array as its argument to search for items. s.inventory.getItem(String...names); it will search for using the array for the first available item. Which reduces the enum variables sizes.
  5. Joseph

    Edible Snippet

    Have fun edit: updated it import org.osbot.rs07.api.model.Item; import org.osbot.rs07.script.Script; public enum Edible { CAKE("slice of cake", "2/3 cake", "cake"), COOKED_MEAT, TUNA_POTATO, TUNA, HERRING, TROUT, SALMON, BASS, LOBSTER, SWORDFISH, MONKFISH, MANTA_RAY, SHARK; private String[] names; Edible(String...names) { this.names = names.length > 0 ? names: new String[] {super.name().toLowerCase().replace("_", " ")}; } @Override public String toString() { return super.name().toLowerCase().replace("_", " "); } public boolean contains(Script s) { return s.inventory.contains(names); } public boolean eat(Script s) { Item item = s.inventory.getItem(names); return item.interact(); } }
  6. change it back to divinity they will never know
  7. Joseph

    MagicTracker

    Renamed some spells: vulnerability, wind blast, wind wave, house teleport lvl 1 enchant (all 6 spells), low level alchemy (both low and high), claws of guthix Rename staff: guthix staffAdd in staffs: all 5 wands suggested by @FrostBug edit: Add new methods: SpellBook: variableName() MagicManager: getSpell() just updated soruce
  8. this shit made me crap the fuck up
  9. Sorry man i use to be able to do this type of stuff like nothing, but i been out the game for like 2 months. That what happens when you hit summer
  10. @Divinity and i dont understand the word demotion, that isnt in are vocabulary. So the next logic step must be promotion.
  11. Joseph

    MagicTracker

    I know I did the same thing with teleporting to house. I was always wondering if it was possible to have both my MM class and the magic enum interact, or work hand by hand. It could make scripting much more easier. Ngl this MM class does help drastically.I need to add in wands and fix the enum name.
  12. Joseph

    MagicTracker

    I never noticed that lol, thanks
  13. Joseph

    MagicTracker

    I just updated my snippet
  14. Joseph

    OSBot 2.2.12

    i havent actually experience the auto updating, but ill keep an eye out
  15. You could use the public field objects, or local path finder. If not you could use the public methods getObjects or getLocalPathFinder
  16. That's what I was thinking, having one account botting, then when the time is up, continue botting with the other account. But it see it as a headache when your trying to show some stats, like level gained, exp until levelTo op: Anything is possible, but it's all about the complexity of the script. To anybody that's want to try. You could most likely create a new class, give the class a constructor of how long you want the script to run for, and it's username (Making sure both account have the same pass). And just override the auto login.
  17. I thought you were joking around with me when you first said cooked meat. My bad. I added it to the list
  18. Joseph

    MagicTracker

    I'll add in wands, but staff type interface may seem redundant but I added it in, so let say you wanted to create your own staff enum and allow user to choose the staff they want on your GUI. Rather then having my long enum of staff, you simply implement the interface, and now your still able to use the magic manager methods. Just like I use to do it on my construction script.I going to update this snippet soon
  19. I got you guys give me like 5 mins
  20. i meant to write edible not editable. Also if anybody knows of any that im missing let me know
  21. naw im for real, i would like to know so i do miss out on anything. Need it for my one of my script.
×
×
  • Create New...