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.

Joseph

Trade With Caution
  • Joined

  • Last visited

Everything posted by Joseph

  1. thats crazy i like the sword and elephant. What are those object made out of? and you cant print with color?
  2. Joseph posted a topic in Snippets
    public boolean containsAll(boolean inv, String...items) { //boolean true = inventory, false = bank for (String item: items) { if (inv ? !inventory.contains(item): !bank.contains(item)) { return false; } } return true; } its a great util im always using
  3. because walking event is a event. for you to execute that event you need the eventExecutor. bot#getEventExectuor.execute(EVENT);
  4. is that a burn?
  5. make sure to use the EventExecutor that can be found in the bot class
  6. idk about you guys ive been off of school for like a week already. All my prof gave me an option finish early or........... we all choose early fuck that ive been party since bout a week ago
  7. i hate you -.- i will be first one of these days edit: ALEK!!!!!!! please add in a convertObjects(list<object>) into your util class, -.- that hit would of saved me so much time lol
  8. for your condition make it sleep until the entity is visible
  9. if i have a class extend method provider should i use initializeContext or exchangeContext in the constructor?
  10. Joseph replied to shatterhand's topic in Resolved
    naw laz changed it after osb 2
  11. Joseph replied to Joseph's topic in Snippets
    that's exactly what i was thinking but fuck it
  12. thanks you for your hard work
  13. Joseph replied to shatterhand's topic in Resolved
    if i can recall it was 2 free tabs for free users
  14. The better explaination Alek gets. the faster he could fix these problem.
  15. It would be better if they had a bit bigger of a view.
  16. Joseph posted a topic in Snippets
    Come on nub@Alek please add in the polygon area array in the Banks class. this is what you made me do. Current work around: public PolygonArea[] webBanks() { List<PolygonArea> banks = new ArrayList<PolygonArea>(); Collections.addAll(banks, Banks.AL_KHARID, Banks.ARDOUGNE_NORTH, Banks.CAMELOT, Banks.CATHERBY, Banks.DRAYNOR, Banks.EDGEVILLE, Banks.FALADOR_EAST, Banks.FALADOR_WEST, Banks.LUMBRIDGE_LOWER, Banks.LUMBRIDGE_UPPER, Banks.VARROCK_EAST, Banks.VARROCK_WEST, Banks.YANILLE); return banks.toArray(new PolygonArea[banks.size()]); }
  17. @Alek since Banks is a class that has static polygonsArea. Can you make a static method that returns all the polygons in banks. So it will be easier for the scripters to cycle through the different banks with out manually creating an array of polygonsArea like i had to do. Unless you want to add in my method. i dont mind.
  18. good shit alek, you should get on the chat i want to ask you something.
  19. Just a heads up I released the source. Under mouse handler
  20. @Alek can you teach us how to use polygonArea
  21. This wasn't my idea, it was cory. But I tried to make it into a reality and some more. I do remember reading your topic about adding priority into a task. Which don't sound too hard to inplement. I'll see if I could think of something.
  22. http://osbot.org/forum/topic/63478-mouse-handler/#entry699439
  23. Joseph posted a topic in Snippets
    Concept http://osbot.org/forum/topic/63464-anitban-system-concept/ import java.util.Random; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.input.mouse.EntityDestination; import org.osbot.rs07.script.MethodProvider; import org.osbot.rs07.script.Script; import org.osbot.rs07.utility.Condition; import org.osbot.rs07.utility.ConditionalSleep; public class MouseHandler { /** * I tried to keep hovering and delaying away form each other. */ public static final int SECOND = 1000; public static final int MINUTE = 60 * SECOND; private Script sI; private Random random = new Random(); private boolean multiclicking; private boolean hovering; private boolean delay; private long lastUpdated = System.currentTimeMillis(); private long lastChecked = System.currentTimeMillis(); private long shouldUpdate = -1; //add in the string name (OSBot username) boolean so our character has a little profile. public MouseHandler(Script sI) { this.sI = sI; this.delay = random.nextBoolean(); //shouldAllow(name); this.hovering = delay ? false: random.nextBoolean(); this.multiclicking = random.nextBoolean(); this.shouldUpdate = this.randomUpdate(); } public boolean shouldAllow(String name) { return name.length() % 2 == 0; } public int randomDelay() { return MethodProvider.gRandom(8, 7) * SECOND; } public int randomUpdate() { return MethodProvider.gRandom(40, 20) * MINUTE; } public boolean useDelay() { if (!this.delay) { return true; } else{ new ConditionalSleep(randomDelay()) { @Override public boolean condition() throws InterruptedException { return false; } }.sleep(); return true; } } public boolean hoverEntity(Entity entity) { if (!hovering) { return true; }else{ if (entity != null) { return entity.hover(); }else{ return true; } } } public boolean multiclicking(Entity entity, final boolean condition) { if (!multiclicking) { return true; } else{ if (entity != null) { return sI.mouse.continualClick(new EntityDestination(sI.bot, entity), new Condition() { @Override public boolean evaluate() { return condition; }}); }else{ return true; } } } public long getTimeLeft() { long time = this.shouldUpdate - (System.currentTimeMillis() - this.lastUpdated); return time > 0 ? time: -1; } public void update() { if (System.currentTimeMillis() - this.lastChecked > MINUTE) { this.lastChecked = System.currentTimeMillis(); if (getTimeLeft() < 0) { this.hovering = random.nextBoolean(); this.delay = hovering ? false: random.nextBoolean(); this.multiclicking = random.nextBoolean(); this.lastUpdated = System.currentTimeMillis(); this.shouldUpdate = this.randomUpdate(); } } } public boolean allowHovering() { return this.hovering; } public boolean allowDelay() { return this.delay; } public boolean allowMulticlicking() { return this.multiclicking; } }
  24. Joseph replied to Wannous's topic in Archive
    My AIO crafter has one.
  25. For everybody: this class isn't really a antiban system it's more of an intelligent mouse handler. Meant to help the scripters implement an on and off switch for these different type of mouse events. Key word over time. This system is meant for those who don't run their bots for over a year. It's meant for the average joe to bot like 2-3 hours. i created my own randomize timer. So the delay will always be random. The update timer too. I mean for those who bot for 20 plus hour shouldn't be using this type of system. It's meant for the average job. We could always add in the option of if they want the system in or not To bad I couldnt think of any other thing i could add in. Maybe miss clicking but idk. It kind of does for me. Becuse I'm my AIO crafter I have some script modes that allow hovering. But if the person runs the script for like 3 hours they will be hovering for the whole three hours. With my system they will be allowed to hover, stop, have a reaction delay, support multiclicking, and as well as having all three different mouse type turned off so you could have a normal bot. this is just the beginning stage of the class. it could be improved and it's possible to add in a profile.To everybody: I'll probably release as open source. Can I ask you why I would do two version test.

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.