SRL Archive - RS3 Help

Pack Smelting Times


Incurable

2014-09-01 12:49:08

Hi,

I'm making an AIO Lumby smelter and have used tabBackpack.waitSlotPixelChange(slot, time) to tell when a load has been smelted, but I don't have access to an account with the levels high enough to see how long it takes to smelt a full pack of each bar. If someone has the times, or is able to get them for me, I'd greatly appreciate it.

Alternatively, is there an easier way to check whether or not a pack is completed that doesn't involve using specific times for each type of ore?

Cheers.

Ian

2014-09-01 12:53:12

You could use DTMs or bitmaps of the bars or ore, and either detect being finished by not finding the ore or by finding a certain number of bars.

Another option is that you could do it the same way that my jewellery crafter and use the production screen to detect when you're done. This has the advantage of knowing when you're done even if for some reason you don't get the ores or bars you expect.

Incurable

2014-09-01 12:55:58

I didn't think of the DTM/bmp method, thanks, I'll try that now.

How do you use the production screen to check? I couldn't find anything in the documentation.

EDIT: I'm looking at your script now and I think I understand how you did it. You have a bitmap of the cancel button and you wait while the script can still find it on the screen, correct?

Ian

2014-09-01 13:46:39

From: Incurable
I didn't think of the DTM/bmp method, thanks, I'll try that now.

How do you use the production screen to check? I couldn't find anything in the documentation.

EDIT: I'm looking at your script now and I think I understand how you did it. You have a bitmap of the cancel button and you wait while the script can still find it on the screen, correct?


Yes, but the way I did it will make sure that if it disappears quickly but then reappears it will not stop waiting. This is because the level up sparkles block it out. To make sure it stops waiting as soon as possible it will stop as soon as it sees the blue done button as well.

Incurable

2014-09-01 13:57:42

From: BMWxi
Yes, but the way I did it will make sure that if it disappears quickly but then reappears it will not stop waiting. This is because the level up sparkles block it out. To make sure it stops waiting as soon as possible it will stop as soon as it sees the blue done button as well.


Very clever, thank you for the help, I've managed to implement a rudimentary version of it so far.