View Full Version : xs, ys, xe, ye
KeepBotting
02-14-2012, 12:59 AM
What are those four parameters? I know they're the boundaries of where you want to search for a colour, but can someone describe to me which one is which?
Start in upper-left, go clockwise?
Start in lower-right, go counterclockwise?
How do I get these?
Thanks,
kb
PatDuffy
02-14-2012, 01:02 AM
Starts at upper left and goes to bottom right
E: To get them, there are pre-set areas for areas such as MSX1,MSX2(MainScreen), MIX1(inventory),MM(miinimap) and MC(chat)
OR you could grab specific points using the color picker and use those.
KeepBotting
02-14-2012, 01:10 AM
Starts at upper left and goes to bottom right
E: To get them, there are pre-set areas for areas such as MSX1,MSX2(MainScreen), MIX1(inventory),MM(miinimap) and MC(chat)
OR you could grab specific points using the color picker and use those.Upper-left, upper-right, lower-right, lower-left?
I can't use MS, MM or MC, because I'm not including SRL ^.^
MSX1,MSY1,MSX2,MSY2 - Main RS Screen/Game Interface
MMX1,MMY1,MMX2,MMY2 - Minimap
MCX1,MCY1,MCX2,MCY2 - Chatbox
MBX1, MBY1, MBX2, MBY2 - MAIN Bank screen(no tabs)
KeepBotting
02-14-2012, 01:13 AM
MSX1,MSY1,MSX2,MSY2 - Main RS Screen/Game Interface
MMX1,MMY1,MMX2,MMY2 - Minimap
MCX1,MCY1,MCX2,MCY2 - Chatbox
MBX1, MBY1, MBX2, MBY2 - MAIN Bank screen(no tabs)I can't use MS, MM or MC, because I'm not including SRL ^.^
Is the order for xs., ys, xe, ye "upper-left, upper-right, lower-right, lower-left" or something different?
PatDuffy
02-14-2012, 01:15 AM
no, xs,ys is 1 specific point, the top left. xe,ye is the other point, the bottom right
E: A Point has an x and y value
KeepBotting
02-14-2012, 01:17 AM
no, xs,ys is 1 specific point, the top left. xe,ye is the other point, the bottom right
E: A Point has an x and y valueOHHH, I get it now! Thanks :D
So, if I use select client, and set my xs, ys, xe, xe, values to say 100, 100, 100, 100...it would only search within those co-ordinates?
yes, if you have like 5, 10, 35, 65 (up text field) it will only find colors within thoses boundary.
Just make sure your xe is not bigger than xs and same goes with ye cannot be bigger than ys:)
KingKong
02-14-2012, 05:18 AM
Just make sure your xe is not bigger than xs and same goes with ye cannot be bigger than ys:)
Its the other way, ys < ye and xs < xe.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.