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!
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!