PDA

View Full Version : X1, y1, x2, y2



shaunthasheep
05-30-2007, 12:34 PM
X1, Y1, X2, Y2 (or Xs, Ys, Xe, Ye)

Well, what are you supposed to fill those in with? You'll find out in this tutorial!!!


X1, Y1, X2, Y2 := OMFG, A Box? Are You For Serial?

http://img444.imageshack.us/img444/9764/sigro3.png
Yes, they create a box. Simple right? Yup. But wait...


HOW AM I SUPPOSED TO GET THOSE COORDINATES. WTF.

Well. If your using SRL. And trying to capture certain areas in the runescape client. All your have to fill them in with are these:

MainScreen := MSX1, MSY1, MSX2, MSY2
Minimap := MMX1, MMY1, MMX2, MMY2
Inventory := MIX1, MIY1, MIX2, MIY2
Chat := MCX1, MCY1, MCX2, MCY2

Those are the boxes around Mainscreen, Minimap, Inventory, and Chat.
But, How would i use them?

this will search for Black on the main screen:
if FindColor(x, y, 0, MSX1, MSY1, MSX2, MSY2) then
MMouse(x, y, 0, 0);
x, y = Return Coordinates. 0 = color (black), MSX1, MSY1, MSX2, MSY2 = screen.

but what if i don't need those boxes, and want a diffrent one. You make it =)

Get the Color Picker. Move to the Upper-Left corner of your box, and select.
you should get something like "Color Picked: 16777215 at (55, 78)"
What ever is in the parentheses are your X1, and Y1 (X1, Y1)
Now Get the color picker and move to the Bottom Right.
Same as above, but those are your X2, Y2.

Just fill them in and you now know X1, Y1, X2, Y2!

WhoCares357
05-30-2007, 01:39 PM
I love the creativity. Very nice job.

Rikje
05-30-2007, 02:35 PM
w00t! thanks, I finnaly understand what MSX etc. means :D
Nice tut.

codx1
05-30-2007, 02:37 PM
thx.

Drew_Dawg
05-31-2007, 02:15 AM
i understood what the coordinates where for
but i never understood MS,MM,MI,MC, thanks a bunch

Bobarkinator
05-31-2007, 03:24 AM
I finally know what those mean :D

(Sarcasm...)

me_ntal
05-31-2007, 04:38 AM
is it a bad idea to use mmouse((MSX2/2),(MSY2/2),10,10); to move to the center of the screen

shaunthasheep
05-31-2007, 03:31 PM
This doesn't have anything to do with Mouse

Mouse(x, y, randx, rany)

but mental, that'll work, but why not use Mouse(MSCX - 5, MSCY - 5, 10, 10)

jbrauman
06-24-2007, 11:55 AM
Thanks man.
-jbrauman

wired16
06-24-2007, 12:00 PM
short, and to the point.. LOVE IT

alach11
06-25-2007, 04:21 AM
Lol this intimidated me when I was first learning SCAR. Good job.

passiondrive
06-25-2007, 07:34 PM
Helped, thanks The_Rs_Monkey good tut i'm sure this will help many people, however i (personally) have a problem with this, if i say:

if (FindColor(x,y,FishSymbol,MMX1, MMY1, MMX2, MMY2))then
MMouse(x,y,0,0);

Will this move to where the colors were found, and then click them?

PassionDrive

shaunthasheep
06-27-2007, 05:25 PM
Helped, thanks The_Rs_Monkey good tut i'm sure this will help many people, however i (personally) have a problem with this, if i say:

if (FindColor(x,y,FishSymbol,MMX1, MMY1, MMX2, MMY2))then
MMouse(x,y,0,0);

Will this move to where the colors were found, and then click them?

PassionDrive
Yes

Too click you need Mouse(x, y, 0, 0, True);

passiondrive
06-27-2007, 08:12 PM
Thanks

Macho Man67
06-29-2007, 06:15 AM
Thanks The RS Monkey! This really helped me for when I am trying to find DTM's in different areas.

zenma
07-01-2007, 08:05 PM
wow thanks for the awsome tut :) now i know how to search for stuff in certain boxes. and u can use the boxes to search for bitmaps right?
Edit: nevermind about the question lol i just read the post above

sheetomg
07-02-2007, 10:27 AM
wouldnt the x1,y1 and x2,y2 coordinates be the same for everyone?

supersayian2224
07-04-2007, 12:55 AM
Ty so much monkey! I've been confused so long about this and now i know! :)

Jason2gs
07-04-2007, 03:34 AM
Simple, and didn't learn anything, but I love the big text! Makes everything so much easier to read :)

Martingon
08-20-2007, 05:39 AM
I bookmarked this post... added rep...

Very very helpful.

Kik
08-20-2007, 03:12 PM
Finally! Somebody tells me what those preset coordinates are! Thanks alot. I'll definitely be using these now.

Bumpish? Very helpful.

Wdf?
09-19-2007, 01:52 AM
UGH. Ty :) I've been having lots of trouble with this :)

Bourdou!
09-19-2007, 01:58 AM
Semi-grave dig. Ah well, this is very useful.

applesauce121
09-21-2007, 02:45 AM
Great tut!!!! I really thought this was very useful. THANKS!

matviy
09-23-2007, 06:53 PM
Ive been trying to understand what that means for a while. Thanks for explaining.

EvilChicken!
10-23-2007, 07:26 PM
OMGWTF U PWN WOOT.

No, really, good job, thanks.

rep

jvwarrior
11-11-2007, 10:03 PM
short but life saving thanx this will help me a lot on my autminer

Dudenow12
11-16-2007, 11:48 PM
Very quick and helpful!!

PwNZoRNooB
11-17-2007, 06:53 AM
Funny looking tut :D


HOW AM I SUPPOSED TO GET THOSE COORDINATES. WTF.