View Full Version : Use Item > Object Help.
KeepBotting
01-27-2012, 06:28 PM
Hey guys real quick question here...How do I get the bot to take an item from the inventory, and use it on an Object in Runescape?
Example: using dry clay on a well
Example: using a needle on leather, then selecting the "chaps" button.
Not asking to be spoonfed, just wondering which procedure I use and if anything special is involved.
I don't have any idea what bitmaps or DTMs are. If what I'm asking involves either of those, more help would be appreciated.
I will credit you in the script.
Thanks,
KeepBotting
Ok,so first you would check for the item in your inventory with a DTM ( YoHoJo's tutorial, very helpful and informative (http://www.youtube.com/watch?v=SlS4q9MiFX4) ) and hover over the item to check the uptext is correct then click the item so it is selected
Next you'd have to see if the item is selected so you can use it say on a well. To do this you would assign ActivatedItem to a variable then check if ActivatedItem > -1 if it is then continue with the rest of your script.
KeepBotting
01-27-2012, 06:44 PM
Ok,so first you would check for the item in your inventory with a DTM ( YoHoJo's tutorial, very helpful and informative (http://www.youtube.com/watch?v=SlS4q9MiFX4) ) and hover over the item to check the uptext is correct then click the item so it is selected
Next you'd have to see if the item is selected so you can use it say on a well. To do this you would assign ActivatedItem to a variable then check if ActivatedItem > -1 if it is then continue with the rest of your script.Thank you, I shall try this soon.
Or, if the item in your inventory is constant,
MouseItem(X, Mouse_(whatever));
and then use it on the object.
KeepBotting
01-29-2012, 03:23 PM
Or, if the item in your inventory is constant,
MouseItem(X, Mouse_(whatever));
and then use it on the object.
I have just tried this, and I get an error: "Type mismatch."
Here is my procedure:
What am I doing wrong?
procedure SoftenClay;
begin
FindNormalRandoms;
MouseItem(1, true);
if FindObj(x, y, 'ell', 3951701, 10) then
ChooseOption('ell');
end;
Supertrent1
01-29-2012, 03:49 PM
I would suggest using DTM's. They make everything easier and they take like 5 seconds to get.
KeepBotting
01-29-2012, 03:50 PM
I would suggest using DTM's. They make everything easier and they take like 5 seconds to get.I shall try this as well, thank you.
I have just tried this, and I get an error: "Type mismatch."
Here is my procedure:
What am I doing wrong?
procedure SoftenClay;
begin
FindNormalRandoms;
MouseItem(1, true);
if FindObj(x, y, 'ell', 3951701, 10) then
ChooseOption('ell');
end;
MouseItem I think uses only mouse_left, mouse_right, mouse_move params as of SRL5.
A good DTM tutorial would be Demise's. I suggest you use the right half of the item to make the DTMs as the left half are still a buggy at times.
KeepBotting
01-30-2012, 03:10 AM
MouseItem I think uses only mouse_left, mouse_right, mouse_move params as of SRL5.
A good DTM tutorial would be Demise's. I suggest you use the right half of the item to make the DTMs as the left half are still a buggy at times.Thanks, will try this.
Not sure I wanna use DTMs just yet, I'll see what I can accomplish with SRL5 first.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.