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.

Macro Cooker - Intelligent Areas

Featured Replies

For those of you that are familiar with my Macro Cooker script, the biggest challenge is allowing the user to select any cooking location in the game. The main obstacle was dynamically creating areas around the heat source which are desirable. This means detecting Ranges or Stoves that are inside and ensuring that your player doesn't accidentally walk outside.

Doing some shameless self-promotion, I finally came up with a nice result for my latest update. Hopefully I will be using some of the same techniques in the webwalker.

 

None of these areas are static, they are all dynamically generated:

 
Al-Kharid:
e3b9a375e21ab4aab130ada2ed082026.png

 

Varrock (showing both sides of a wall):
5ef2f17fb53928711bc59b23786fa127.png

 

Edgeville:
c5b70209aac8630edae4587989ef6bc4.png

 

Hopefully my valued gray names enjoy the hour or so I spent into this. 

That'd be big improvement to scripts, where it depends on key locations.

what sort of checks did you do to test if a tile would be a valid addition to the area?

  • Author
1 minute ago, TheWind said:

what sort of checks did you do to test if a tile would be a valid addition to the area?

I start off with a simple Area a = entity.getArea(1), grabbing all with a distance of 1 of the entity. After that I filter all reachable positions, then filtered by real distance from the position to the entity using local path finder. Once that's finished I have all the positions which are valid; these are then sorted by x/y values, first index and last index are used to create the rectangle area. 

All these stoves are facing the same way, I wanna see an example in lumbridge castle

2 minutes ago, Tom said:

All these stoves are facing the same way, I wanna see an example in lumbridge castle

Here

07808cdb50c1045f63b0bd1b0a3f888e.png

  • Author
2 minutes ago, Tom said:

All these stoves are facing the same way, I wanna see an example in lumbridge castle

They aren't, it's just the angle. Al-Kharid faces east and Varrock faces north.

Just now, Alek said:

Is this your new API?

Yes, its an attempt to make up for the atrocity the other one was lol.

3 minutes ago, Alek said:

I hate your wrappers like this:
https://github.com/Lem0ns/QuantumAPI/blob/master/src/rip/quantum/api/QuantumStore.java

But whats not to like about some of your solutions like the map stuff. Overall looks good!

Yeah I kinda just wrapped them all, I been removing the ones that are obviously useless slowly. I'll probably remove this class as well. I haven't released it yet for a reason hehe.

Edited by Lemons

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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.