SRL Archive - OSR Help

help rid me of the pain ore


Dick Trickle

2013-06-12 17:29:56

so last night i made a script JUST for superheating runite ore. it runs fine, but if i lagg while casting, there's a rare chance that it will not smelt all 5 runite and when it goes to bank, it will deposit all the bars, go to deposit the spare runite, then doesn't,withdraws coal, 5 runite, and finishes the cycle, leaving the 6th runite. I was able to make it detect this 6th runite ore, yet no matter what i try to make it bank it, no matter what function/function combination (i even tried hard coding it) it messes up.
right now i have this for an example

if CountItems('dtm', runite, []) >= 1
then
MMouseItem(8);
wait(50);
ClickMouse2(Mouse_left);

even though it still says mouse_left, it right clicks the ore, and then move the mouse approx. 150 pixels left and continues banking.
long story short i've got through multiple advil trying to solve this head ache. anyone have any thoughts?

Sawyer

2013-06-12 17:33:34

EOC or 07?

Dick Trickle

2013-06-12 17:35:52

eoc

Dick Trickle

2013-06-12 17:36:57

was debating making my rune bars a dtm, and having it detect when there's 5 rune bars in inv before banking?

Kevin

2013-06-12 17:47:34

From: Dick Trickle
was debating making my rune bars a dtm, and having it detect when there's 5 rune bars in inv before banking?


If it's EOC, you can simply use the progress bar that is an optional popup and watch for it to disappear from the main screen. As soon as it's gone, you're done - and that will be true for a ton of activities.

Dick Trickle

2013-06-12 17:50:10

ah, didn't even think of it that way, thanks!

Stayon

2013-06-12 21:45:41

From: Kevin
If it's EOC, you can simply use the progress bar that is an optional popup and watch for it to disappear from the main screen. As soon as it's gone, you're done - and that will be true for a ton of activities.


I could have sworn no production screen pops up for superheating? It's usually on make-"x" stuff I thought?

Dick Trickle

2013-06-14 01:39:58

yeah i didnt think about it until i tried it. i ended up have it count the nature runes in my inv, then spam the last ore until the runes = that number - 5.