SRL Archive - Outdated Tutorials

X1, y1, x2, y2


shaunthasheep

2007-05-30 08:34:03

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?

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

2007-05-30 09:39:26

I love the creativity. Very nice job.

Rikje

2007-05-30 10:35:25

w00t! thanks, I finnaly understand what MSX etc. means :D
Nice tut.

codx1

2007-05-30 10:37:58

thx.

Drew_Dawg

2007-05-30 22:15:03

i understood what the coordinates where for
but i never understood MS,MM,MI,MC, thanks a bunch

Bobarkinator

2007-05-30 23:24:50

I finally know what those mean :D

(Sarcasm…)

me_ntal

2007-05-31 00:38:03

is it a bad idea to use mmouse((MSX2/2),(MSY2/2),10,10); to move to the center of the screen

shaunthasheep

2007-05-31 11:31:33

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

2007-06-24 07:55:46

Thanks man.
-jbrauman

wired16

2007-06-24 08:00:53

short, and to the point.. LOVE IT

alach11

2007-06-25 00:21:08

Lol this intimidated me when I was first learning SCAR. Good job.

passiondrive

2007-06-25 15:34:09

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

2007-06-27 13:25:00

From: passiondrive
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

2007-06-27 16:12:45

Thanks

Macho Man67

2007-06-29 02:15:26

Thanks The RS Monkey! This really helped me for when I am trying to find DTM's in different areas.

zenma

2007-07-01 16:05:34

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

2007-07-02 06:27:17

wouldnt the x1,y1 and x2,y2 coordinates be the same for everyone?

supersayian2224

2007-07-03 20:55:32

Ty so much monkey! I've been confused so long about this and now i know! :)

Jason2gs

2007-07-03 23:34:21

Simple, and didn't learn anything, but I love the big text! Makes everything so much easier to read :)

Martingon

2007-08-20 01:39:59

I bookmarked this post… added rep…

Very very helpful.

Kik

2007-08-20 11:12:46

Finally! Somebody tells me what those preset coordinates are! Thanks alot. I'll definitely be using these now.

Bumpish? Very helpful.

Wdf?

2007-09-18 21:52:41

UGH. Ty :) I've been having lots of trouble with this :)

Bourdou!

2007-09-18 21:58:17

Semi-grave dig. Ah well, this is very useful.

applesauce121

2007-09-20 22:45:48

Great tut!!!! I really thought this was very useful. THANKS!

matviy

2007-09-23 14:53:41

Ive been trying to understand what that means for a while. Thanks for explaining.

EvilChicken!

2007-10-23 15:26:09

OMGWTF U PWN WOOT.

No, really, good job, thanks.

rep

jvwarrior

2007-11-11 17:03:46

short but life saving thanx this will help me a lot on my autminer

Dudenow12

2007-11-16 18:48:02

Very quick and helpful!!

PwNZoRNooB

2007-11-17 01:53:51

Funny looking tut :D

HOW AM I SUPPOSED TO GET THOSE COORDINATES. WTF.