Hey, I am wondering if there is a function that clicks on a shop keeper and selects trade?
Or would i just need to use FindObjTPA?
Thanx
Also if i have to use the findobjTPA then after i click false how would i choose trade? thanx!
Hey, I am wondering if there is a function that clicks on a shop keeper and selects trade?
Or would i just need to use FindObjTPA?
Thanx
Also if i have to use the findobjTPA then after i click false how would i choose trade? thanx!
ChooseOption(); Is the procedure used to choose and option from the menu. You would want to use ChooseOption('rade'); or something similar.
FindObjTPA() Works great! Use it if you don't know anything more advanced (FindObjTPA is not for the newbeginners either but is much easier to understand than TPA's)
if FindDTM(???, e, f, MSX1, MSY1, MSX2, MSY2) then
Mouse(e, f, 3, 3, false);
Wait(350 + (random(150)));
ChooseOption(All);
It left clicks then just hangs without clicking deposit all?
Do you know why?
Are you sure that you used ChooseOption correctly?
In your example (ChooseOption(All);) you forgot to add '-signs to the params.
ChooseOption('All'); Should work.
Even better would be to use ChooseOption('eposi'); Why? Because there are more characters that has to match for the function to click.
FindDTM is something else than FindObjTPA. Read about DTMs and it's uses here: http://www.villavu.com/forum/showthread.php?t=51105
yes i added the '' signs.
still does not work? do i have to add a mouse(x,y) after chooseoption('')?
No, ChooseOption(); should click by itself. The only reason why it doesn't click must be because it did not find the text 'All'... Weird.. Try this script:
SCAR Code:{.include SRL/SRL.Scar}
begin
SetupSRL;
Mouse(MSCX-20, MSCY-20, 40, 40, False);
WriteLn(BoolToStr(ChooseOption('alk')));
end.
Tell me what it says in the debugbox
Hmm.. Where in the runescape world are you? Is it possible to walk to the middle of the screen? If so then the problem may be that your font is not correct, or your SRL is acting childish.
Try installing SRL one more time and if the problem still encours then reinstall SCAR and SRL.
Everything else i have used in scar has works, i duno?
Last edited by joshdabest01; 12-01-2009 at 12:45 PM.
This is really weird.. :/
Has any other scripts you've run worked for you? (I guess so, since you wrote "Everything else i have used...')
I honestly have no idea what to do.. What SRL version are you using? You should be using #39. Reinstall SRL.
EDIT: So it works when using ChooseOption to drop??? Try to use only "low" chars (NOT CAPITALIZED LIKE THIS) and see if that works.
Yes when i have it in my inventory it will drop, but when i open up the deposit box and left click then it wont choose all? i tried all with lowercase already.
Any other ideas?
Could i make a FindobjTPA? and do it like that?
So like false click on the item then findTPA and click true?
as a work around?
You could make a bitmap and search for that.. but the best would be to find out why the ChooseOption wont work on "epos" for you.. :/ Works for me
edit out.
Ce ne sont que des gueux
There are currently 1 users browsing this thread. (0 members and 1 guests)