Not every time.. lol. Oh well, you guys win this battle.. but my way would work also..
okay well i tried the dtm thing and made it a lot like chris said do and i tried making the bankers sub points but it just didnt work and clicked random places... Any more ideas?
I would have to recommend using the bankers as subpoints (even though I am not mem, I do know what I am talking about lol). I would set tolerance of the parent to 255 and then for the subpoints area of 3 maybe and tolerance of 10-15?
Edit: give me a link to the picture or something and I'll even make it for you (I'm f2p)
Edit: and that finding the symbol as a backup := good idea.
Sirlaughsalot, if you trust me enough, loan me your account with your character standing exactly where you are immediately before you want to click on the bankers and i will make the DTM for you...
That goes for me as well, though if he doesn't trust itschris he won't trust me probably lol seeing as I am not a member. But just for the record my offer still stands. Or you can upload the pic (try photobucket.com) and I will make that way...
Edit: Just take a picture (print screen button then paste in MSPaint or something) and leave the whole minimap on there for me and I will create a DTM.
Lol, same as Dusk.. It's hard to create one when the picture is so small..
OK well you know what I just used that pic on the first page and I made the DTM for you. I even made a sample script that finds the bank and clicks for you! Yeah, I know, I'm awesome. (I swear, if anyone complains that I have no failsafes or antirandoms I will kill them lol). Anyways here is the DTM:
DTM := DTMFromString('78DA6314676060E0654001FF7FBE64F80FA 41' +
'9416C2060E40632F82072CC5035EFBE5830F043D58000588D 38AA' +
'9A2FEF8351D5C80109515435576F2BA3A80100129E0ED0');
And here is the sample script:
SCAR Code:program FindBankTest;
{.include SRL/SRL.scar}
var
x, y, BankDTM : Integer;
procedure FindTheBank;
begin
BankDTM := DTMFromString('78DA6314676060E0654001FF7FBE64F80FA41' +
'9416C2060E40632F82072CC5035EFBE5830F043D58000588D38AA' +
'9A2FEF8351D5C80109515435576F2BA3A80100129E0ED0');
if (FindDTM(BankDTM, x, y, MMx1, MMy1, MMx2, MMy1)) then
begin
Writeln('YAY WE FOUND THE BANK!!!');
MFNF(x, y, -1, 1);
end else
begin
Writeln('We Did Not Find The Bank DTM');
if (FindSymbol(x, y, 'bank')) then
begin
Writeln('WE FOUND THE BANK SYMBOL!!!');
MFNF(x, y, -1, 1);
end else
begin
Writeln('Man We Fail.... Better End The Script');
TerminateScript;
end;
end;
end;
begin
SetupSRL;
ActivateClient;
FindTheBank;
end.
Thanks man ill try that im goin to clear some brush ill be back in like 9 hours... well lunch before that but... whatever... THANKS!
okay ya'll we bitchin about how it is hard to do it because you dont know what it looks like, sothats where i will be running from and whatnot... I was thinking, maybe make multiple DTM's of the bank and use them all to account for the bank symbol being over the wall.... Btw it didnt work... and what were those mouse functions you were using i have never seen them before
MFNF stands for MouseFindNoFlag (that was the old function name but they thought it was too long. What it does is it clicks the spot of x, y and then it will wait for the flag disappear. The difference between this and MouseFlag is that if that when it clicks and there is no flag, the mouse will move xmod, ymod pixels until it makes one. Solves one of the major problems with Flag. my xmod is -1 and ymod is 1 meaning it will move 1 pixel left and 1 pixel down if it doesnt find it. I made a rapage DTM tutorial and here is the link for you:
http://www.villavu.com/forum/showthread.php?t=31021
Btw if the procedure i made isn't working, it is only if the bank is on your minimap, just in case you didn't know that. the walking part you will have to do yourself.
yeah i just switched out the DTM's I kept my procedure, goin to bed have a long day tomorrow, keep shooting ideas ill reply in the morning
Actually, color finding will work. I've been there and you could simply make a blind-click to the south and then search for the color. If he winds up by the bank, he can then rotate the camera to see if he can get a view of a banker. Another FCT later, he's got the menu open and can select bank. He'll run to the bankers.
The jealous temper of mankind, ever more disposed to censure than
to praise the work of others, has constantly made the pursuit of new
methods and systems no less perilous than the search after unknown
lands and seas.
Anybody have any suggestions? anything that would maybe be easier or whatnot?
R0b0t1's idea was possible. Try that one.
I would just do a find symbol and that is all. Walk to the bank and then Find Symbol and then click. Boom you are in the bank.
well the problem with that is if you walk outside the bank you never actually get to the bankers... unless you are on the door side of the bank, and it is extremely difficult to get the bank booth because the are the same color as everything else.. and look at the first page...
Oh yea I forgot about that. I do not understand why the DTMs are not working for him but whatever. I really suggest making your own DTM. See my tutorial if you do not know how. It is TRULY the best way I know how. Other than that use the color finding way.
i know how to make a DTM, for some reason my whole script is bugging all the sudden so i guess im gonna hold back the new release...
I have a feeling something is divinely flawed with this procedure... because I use 5 DTM's and they dont work... Or maybe just the DTM's are wrong...
SCAR Code:Procedure WalktoBank;
begin
Status('Walking to the bank')
Repeat
If FindDTM(BankDTM,x,y,MMx1,MMy1,MMx2,MMy2) then
Begin
Writeln('Found BankDTM')
Mouse (x,y,2,2,true)
end;
If FindDTM(BankDTM2,x,y,MMx1,MMy1,MMx2,MMy2) then
Begin
Writeln('Found BankDTM2')
Mouse (x,y,2,2,true)
end;
If FindDTM(BankDTM3,x,y,MMx1,MMy1,MMx2,MMy2) then
Begin
Writeln('Found BankDTM3')
Mouse (x,y,2,2,true)
end;
If FindDTM(BankDTM4,x,y,MMx1,MMy1,MMx2,MMy2) then
Begin
Writeln('Found BankDTM4')
Mouse (x,y,2,2,true)
end;
If FindDTM(BankDTM5,x,y,MMx1,MMy1,MMx2,MMy2) then
Begin
Writeln('Found BankDTM5')
Mouse (x,y,2,2,true)
end;
SymbolAccuracy:=0.2;
begin
If FindSymbol(x,y,'Bank') then
mouse (x,y,2,2,true);
end;
until (flag) or (i>=10)
if (i>10) then
begin
LogOut;
Status('Could not find the bank')
ProgressReport;
Status('About to terminate script opening web page')
OpenWebPage('http://www.villavu.com/forum/showthread.php?t=28457')
TerminateScript;
end;
end;
Okay just checking one last time, you know that DTMs are not used to walk you to the bank UNLESS the bank is already on the minimap correct?
OMG yes look at the 2nd page i have a full picture of where im coming from/going to...
Okay I was just checking. Try a FindDTMRotated if you still feel like doin DTMs. Otherwise do whatever you want.
Okay i think i have done something pretty ingenious, i now have it if it cannot find the banker then it will log out/back in then click on the symbol again and so on and so forth, it works pretty well =D
There are currently 1 users browsing this thread. (0 members and 1 guests)