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.

Looting Ideas

Featured Replies

Hi Guys!

 

I'm just making a personal fighting script.

 

I want it to loot items by name that is stored in an array.

 

What are your ideas in doing this task. for example you don't want the script to constantly be looting in areas such as the chicken farm because there is much loot to be had there.

 

I thought about creating a timer method so it will only loot for a certain amount of time and not loot again for say 5 minutes.

 

How would you tackle this task!?

Edited by Paddy299

do a looter for pking in wildy/pvp worlds, the gp/hr will be a lot better

Not allowed on osbot :(

Hi Guys!

 

I'm just making a personal fighting script.

 

I want it to loot items by name that is stored in an array.

 

What are your ideas in doing this task. for example you don't want the script to constantly be looting in areas such as the chicken farm because there is much loot to be had there.

 

I thought about creating a timer method so it will only loot for a certain amount of time and not loot again for say 5 minutes.

 

How would you tackle this task!?

 

might want it to do it in the downtime between monsters killed when it's finding another monster to attack.

 

if you want to combine that with your idea, you'd set a variable equal to the current time (once again, when it's finding another monster) and update it each time that you picked up an item. but before picking up an item, you'd make a check too see that the difference between the current time and last pick up time was 5 seconds (or whatever time you want to use). if you need any help, feel free to hit me up because i already know what i'd use to make this.

Think about your problem more.

 

You say:

 

 

for example you don't want the script to constantly be looting in areas such as the chicken farm because there is much loot to be had there.

 

OK. So think about the conditions which should be true before you begin looting.

 

Time based is almost certainty not how you should approach the problem, but it's easy enough to implement (pseudocode):

long nextScheduledTime

func scheduler(someDuration, currentSystemTime):
    return someDuration + currentSystemTime

onStart:
    nextScheduledTime = scheduler(args...)

onLoop:
    if currentSystemTime > nextScheduledTime:
       nextScheduledTime = scheduler(args...)
       <suite>

Edited by Solzhenitsyn

Not allowed on osbot sad.png

 

huh.. facep.gif

Edited by Mr Pro Pop

huh.. facep.gif

pk looting is not allowed? a script that does it :)?

Edited by Gardon

pk looting is not allowed? a script that does it smile.png?

 

I am not really sure if it is allowed or not but I don't think it's not allowed.

if so he could code and use it privately for his own use.

Thanks for replying back to me :)

Edited by Mr Pro Pop

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.