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.

Configs for questing

Featured Replies

Hello. Ive used configs in the past and they work great. However I've encountered some anomalies &  found ways to overcome but i need a cleaner approach to this one.

Problem:  My task is to ask 5 npcs a same question, however the config value does not change. The value only increases when all 5 are questioned and i go back talking that ive actually questioned all 5 .

The quest state is definetly changed, but not in value. This does not happen with any other quest-where is the information stored? 

I mean, wouldn't a simple for/switch loop fix this issue if you're trying to talk to ONLY 5 npc's?

for(int x = 0;x<5;x++) {

switch(x) {

case 0:

(talk to first npc)

case 1:

(talk to 2nd npc)

case 2:

(etc...)

case 3:

case 4:

}

}

It eliminates the need to manually increment values and also makes sure that it only loops 5 times and not more 

 

Correct me if I'm wrong though, it's the first thing that came to my mind when reading this post

 

  • Author
35 minutes ago, Protoprize said:

I mean, wouldn't a simple for/switch loop fix this issue if you're trying to talk to ONLY 5 npc's?

for(int x = 0;x<5;x++) {

switch(x) {

case 0:

(talk to first npc)

case 1:

(talk to 2nd npc)

case 2:

(etc...)

case 3:

case 4:

}

}

It eliminates the need to manually increment values and also makes sure that it only loops 5 times and not more 

 

Correct me if I'm wrong though, it's the first thing that came to my mind when reading this post

 

I like to confirm quest state before i move on to next task. Like after going through a dialog with some guy in varrock,the config value increases and i can teleport to new region. 

Otherwise, if it missclicks the npc, or the game lags a bit, it could teleport, move to next npcs and end up stuck later since it didnt ask all 5.

It is not a huge deal but a nice addition to scripts reliability. 

12 minutes ago, HeyImJamie said:

Look into Varbits.

i think u got the right idea. thx

14 minutes ago, extatus said:

I like to confirm quest state before i move on to next task. Like after going through a dialog with some guy in varrock,the config value increases and i can teleport to new region. 

Otherwise, if it missclicks the npc, or the game lags a bit, it could teleport, move to next npcs and end up stuck later since it didnt ask all 5.

It is not a huge deal but a nice addition to scripts reliability. 

i think u got the right idea. thx

If you let me know what quest it is I can see if I have the Varbits.

  • Author
9 minutes ago, HeyImJamie said:

If you let me know what quest it is I can see if I have the Varbits.

Fairy Tale Part I

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.