Can you just give me a normal pic plase.
And be a bit more specific.
Make a little box around the area you want to start, and another lil box where you want the click.
Can you just give me a normal pic plase.
And be a bit more specific.
Make a little box around the area you want to start, and another lil box where you want the click.
idk how to get a pic on here...it asks for a url...and idk it!!
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
Could you do something similar to your first example, except make the dtm of the entrance to the rimmington mine? (in otherwords, the starting point of your first example)
idk how to get a pic on here...it asks for a url when i try to do insert image...and idk it!!
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
http://imageshack.us/
Go there
Click Browse
Click Host it
Give me Link
And i was talking to NewToAutoing![]()
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
Can i borrow that account to make the DTM.
It wont take long, read 1st post, i a trusted guy =).
Also, NewToAutoing, you getting me a pic?
Edit:
Woot i pwn.
This works well for you Dan:
SCAR Code:Center[0]:= DTMFromString('78DA634C636260306140013929290C46409A1' +
'1CA670C04AA0983B0D9A1624F8118454D13504D35013513806AD2' +
'09A8F107AA8985B059A162818AAC286A009D690964');
Tell me how it goes.
Sorry, i was eating dinner. And if i understand correctly..why would you need a starting point..? Shouldn't it work from anywhere as long as the DTM is on the minimap..? As for the picture, i kinda thought you had one since its in your example, but i can get one if needed.
Edit (To further clarify): I mean, that was always my experience with minimap DTMs. I was just planning on using it for the until() part of a loop in a walking procedure, since it's closer to the road than the DTM i'm currently using for that.
Is this bases off of WT-Fakawi's Path thread? Seems like the same basic idea as what he posted HERE but simplified.
ROFL, its nothing like that.
Those are dynamic dtms, completely different.
Im just making normal DTMs, i just know good points/tolerance/area combinations because of experaince =).
@NewToAutoing.
Well yes it should work from anywhere, but a start point helps and script should find dtm from a certain relative area.
Do you want it to click middle of mine? Or do you want it to click into the enterance near copper?
ROFL, its nothing like that.
Those are dynamic dtms, completely different.
Im just making normal DTMs, i just know good points/tolerance/area combinations because of experaince =).
@NewToAutoing.
Well yes it should work from anywhere, but a start point helps and script should find dtm from a certain relative area.
Do you want it to click middle of mine? Or do you want it to click into the enterance near copper?
The entrance to the mines, near the copper. And if i don't respond quickly, the forums are acting all screwy for me all of a sudden (dunno why)
sry bout not giving u the acc...i didnt have 1 and i couldnt go on the site...
but yea...im not sure i know what do do to make this work....can i just put
SCAR Code:function Veb:boolean;
var GoThere:integer;
begin
GoThere:= DTMFromString('78DA634C636260306140013929290C46409A1' +
'1CA670C04AA0983B0D9A1624F8118454D13504D35013513806AD2' +
'09A8F107AA8985B059A162818AAC286A009D690964');
if(FindSymbolIn(x,y,'magic shop',MMX1, MMY1, MMX2, MMY2))then
begin
Mouse(x,y,2,2,true);
CountFlag(6+Random(2));
Exit;
end;
begin
if(not(FindSymbolIn(x,y,'magic shop',MMX1, MMY1, MMX2, MMY2)))then
begin
if(FindDTM(GoThere,x,y,MMX1,MMY1,MMX2,MMY2))then
begin
Mouse(x,y,2,2,true);
Writeln('walking there');
end;
end;
Flag;
FindSymbolIn(x,y,'magic shop',MMX1, MMY1, MMX2, MMY2);
Mouse(x,y,2,2,true);
end;
end;
[offtopic]ne 1 know why InSane was banned?[offtopic]
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
he was MOB, and tried to frame JAD and get him banned. And yoho, i only moved it like a little tiny bit, and it didnt work, and i still dont get why it cant find it as long as the place is in the map. Oh ya, trust him too, he used mine and gave it right back.
@dan cardin [offtopic] InSane was banned because he said JAD gave him srl member scripts. He faked it and now hes banned.. Wizzup/WT-Fakawi found out. [/offtopic]
Dan, that looks fine to me.
I made the DTM from that three walled white thingy on the minimap so stand there and try it out a few times alone.
Get rid of the other stuff and use the sample script in the first post.
Its used to see if the DTM works in the first place, so run some tests and tell me how it goes please.
Successfully compiled
SRL Compiled in 15msec.
Successfully executed
doesnt do ne thing
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
Try this:
SCAR Code:{.include SRL\SRL.scar}
var
Center : array [0..0] of Integer;
I:Integer;
Procedure Load;
Begin
Center[0]:= DTMFromString('78DA63CC636260506740018559590C46409A1' +
'1CA670C04AA7183B0B9A0621F8018454D15504D3901355D4035DE' +
'A86A5E7FF882AAC617A8C607554D9209AA3900FB400B4C');
End;
Procedure Calibrate;
Begin
For I:=0 To 0 Do
Begin
If FindDTM(Center[i],x,y,MMX1,MMY1,MMX2,MMY2) Then
Begin
Mouse(x,y,5,5,True);
Writeln('Clicked ' + IntToStr(i))
Exit;
End;
ENd;
End;
begin
Load
Setupsrl
Calibrate
end.
Make sure the door of the rune shop is visible.
woah...am i starting at the bank or the square?+ runeshop is too crowded to the the door
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
You star 1/2 way between bank and shop.
In that little white square on the minimap, as you indicated in your picture.
well in that case i need 1 to get to the white square from the bank...which is what i thought that i meant...but as it is...that example tester thing u showed me still just compiles then executes
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
Argh!
It walks from square to bank and its been working fine for me.
Ill make you another in a bit then.
for what...the bank to square or the old 1...if it works fine for u then i can just put the dtm in my script...and it should work...right?
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
Mhm, the script in first post is just to test it.
You can use the DTM in your script and t will work the same.
How many times did you test?
How many times did it work?
Glad it worked out for you =)
There are currently 1 users browsing this thread. (0 members and 1 guests)