Log in

View Full Version : Y Co-Ords is 50 pixels off?



h4x_
11-21-2012, 07:11 PM
Hi there, i havent used simba in quite a while and it seems like the addition of the "home,support,forums,clans" toolbar to RS has meant that whenever i drag crosshairs onto smart and hover over a pixel for its coordinates it is locating 50 pixels lower than it actually is? ide prefer to change it so that simba itself is fixed, instead of adding 50 to every function that uses a co-ordinate... thanks for any help guys!

P1ng
11-21-2012, 07:55 PM
Pretty much what happened is when you call SetupSRL it tells the script to ignore that bars presence. So when you use the colour picker to get co-ordinates they are 50px lower than when you script is actually running because the colour picker just takes the whole client.

h4x_
11-21-2012, 07:58 PM
Pretty much what happened is when you call SetupSRL it tells the script to ignore that bars presence. So when you use the colour picker to get co-ordinates they are 50px lower than when you script is actually running because the colour picker just takes the whole client.

hmm alright, i guess ill have to manually add 50px, thanks for the info :)

Ashaman88
11-21-2012, 08:13 PM
hmm alright, i guess ill have to manually add 50px, thanks for the info :)

Yes it's a little annoying, but an exercise in mental math eh!?

euphemism
11-21-2012, 08:24 PM
hmm alright, i guess ill have to manually add 50px, thanks for the info :)

As far as I know, you need to subtract 50 pixels off the Y-coordinate taken from the color picker.

Ian
11-21-2012, 08:29 PM
As far as I know, you need to subtract 50 pixels off the Y-coordinate taken from the color picker.
Yeah, it is subtract. Does the DTM editor have corrected coords too?

h4x_
11-21-2012, 08:30 PM
As far as I know, you need to subtract 50 pixels off the Y-coordinate taken from the color picker.

oh no! i literally just finished adding 50 lol :/ thanks :P

Edit: now im really confused somehow i have "GetColor(6,6)" so i cant do GetColor(6,-44) hmm...

Ian
11-21-2012, 08:37 PM
oh no! i literally just finished adding 50 lol :/ thanks :P

now you'll need to -100 :p

Markus
11-21-2012, 08:44 PM
Yeah, it is subtract. Does the DTM editor have corrected coords too?

DTM coords are relative so it doesn't matter if they are shifted 50 or 5000 pixels for the matter.

Ian
11-21-2012, 08:47 PM
DTM coords are relative so it doesn't matter if they are shifted 50 or 5000 pixels for the matter.

Ok, thanks. I might have used it to get coordinates once, when I first started :p

P1ng
11-22-2012, 05:46 AM
You may need to select your client before using the colour picking tool to grab co-ordinates, that could be where you are getting this (6,6) issue.

Noob King
11-22-2012, 08:17 AM
Nevermind, miss-understood the problem.