SRL Archive - OSR Help

help rid me of the pain ore


Dick Trickle

2013-06-12 17:00:20

so last night i made a script JUST for superheating runite ore. it runs fine, but if i lagg while banking, theres a rare chance that it will withdraw 6 runite instead of 5. 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 ~150 pixels left and continues banking.
long story short ive got through multiple advil trying to solve this head scratcher. anyone have any thoughts?

Kevin

2013-06-12 17:06:53

First thing's first - Simba Development means development of the actual SIMBA program, and not individual scripts. Problems with individual scripts go here: http://villavu.com/forum/forumdisplay.php?f=491

Now as for the actual problem… When withdrawing, instead of left clicking 5 (or 6 in the lag case) times, why not right click and withdraw 5?

ClickMouse2(Mouse_right);
WaitOption('w-5', 1000);

Dick Trickle

2013-06-12 17:12:21

because it will right click, and manage to have the '5' option above the runite still, then click again. along with if it smelts all but one ore, it will bank the bars, and when it goes to bank the spare runite, it will do the same deposit problem.
also, along the lines of the wrong forum, ill keep that in mind, haven't used forums in forever, sorry. better to know now than ever.

–maybe it's something to do with my runite dtm?

Kevin

2013-06-12 17:26:48

From: Dick Trickle
because it will right click, and manage to have the '5' option above the runite still, then click again. along with if it smelts all but one ore, it will bank the bars, and when it goes to bank the spare runite, it will do the same deposit problem.
also, along the lines of the wrong forum, ill keep that in mind, haven't used forums in forever, sorry. better to know now than ever.

–maybe it's something to do with my runite dtm?


How does the '5' option end up above the runite? And what is your issue with depositing? Depositi(2,28,true); should deposit everything you care about (if you're using the coal bag, if not, DepositAll; will deposit everything).

Sorry if I sounded rude at all with the forum comment, it's just stuff like that helps keep it clean around here and easier for people to actually see your thread.

Dgby714

2013-07-25 13:59:33

Moved. =)