SRL Archive - OSR Help

Quick Question


Slashed

2012-12-22 13:42:36

It's kinda a dumb question but I would like some help please :tongue:

How do I get the coordinates of the X and Y to use in a Box? ( like MouseBox).

I want to get a region that never changes in the main screen but I don't want to include the whole main Screen. ( I tried color picker but that gives me the coords of my screen not rs window). :redface:

Thanks in advance!

The Killer

2012-12-22 13:56:46

From: Slashed
It's kinda a dumb question but I would like some help please :tongue:

How do I get the coordinates of the X and Y to use in a Box? ( like MouseBox).

I want to get a region that never changes in the main screen but I don't want to include the whole main Screen. ( I tried color picker but that gives me the coords of my screen not rs window). :redface:

Thanks in advance!


use colour picker like you said but make sure you have selected the target screen (the green crosshair thing)

Rezozo

2012-12-22 14:05:15

From: The Killer
use colour picker like you said but make sure you have selected the target screen (the green crosshair thing)


He asked for co-ordinates.

To find the top left and bottom right, drag the cross-hairs to the SMART window first, then hover your mouse over the two points, and look at the bottom left of the Simba text window.

It should show your X and Y points.
~Rez

The Killer

2012-12-22 14:06:57

From: The Killer
use colour picker like you said but make sure you have selected the target screen (the green crosshair thing)


From: Rezozo
He asked for co-ordinates.

To find the top left and bottom right, drag the cross-hairs to the SMART window first, then hover your mouse over the two points, and look at the bottom left of the Simba text window.

It should show your X and Y points.
~Rez


Isn't that what I said?
and you need to remove -50 off the y cord for runescape because of navbar

DannyRS

2012-12-22 14:09:34

From: The Killer
Isn't that what I said?
and you need to remove -50 off the y cord for runescape because of navbar


I'm so used to doing -50 in my head, that if the devs fixed the co-ords i think it would be harder to go back haha

Rezozo

2012-12-22 14:16:05

From: The Killer
Isn't that what I said?
and you need to remove -50 off the y cord for runescape because of navbar


I read color picker tool and immediately went to reply. Why do you need the color picker tool if you are going to drag the cross-hairs anyway?

From: DannyRS
I'm so used to doing -50 in my head, that if the devs fixed the co-ords i think it would be harder to go back haha


Lol, not me. Haven't coded in ages, starting up again now though. Is it possible to fix it easily? I mean take off the banner and all, from the top?
~Rez

J J

2012-12-22 14:25:46

From: Rezozo
I read color picker tool and immediately went to reply. Why do you need the color picker tool if you are going to drag the cross-hairs anyway?



Lol, not me. Haven't coded in ages, starting up again now though. Is it possible to fix it easily? I mean take off the banner and all, from the top?
~Rez

You can't just simply take off the banner. It is part of the RuneScape jar that is loaded. It's not some sort of advert or something.

And you need to drag the cross-hairs to get the focus on the right Window/Application. Then you can grab a certain coord by using the Color picker tool.

DannyRS

2012-12-22 14:25:49

Just make your own mouse move function using your normal way, but -50 on the Y's, thats what i do, no good for the color picker though

Could make your own color one too with little more work, think i did it in my MTA script?

Slashed

2012-12-22 14:26:07

@Rezozo The color picker prints the coordinates to the debug box, which makes it easier to copy.

So, the problem was that I didn't specify the client… I knew it was a dumb question but hey, now I know that and that little bit about the Y coordinate. :tongue:

Thanks a bunch!