Results 1 to 9 of 9

Thread: xs, ys, xe, ye

  1. #1
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default xs, ys, xe, ye

    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
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

  2. #2
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  3. #3
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by PatDuffy View Post
    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 ^.^
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

  4. #4
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    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)

  5. #5
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by Sin View Post
    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?
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

  6. #6
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    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

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  7. #7
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by PatDuffy View Post
    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
    OHHH, I get it now! Thanks
    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?
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

  8. #8
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    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

  9. #9
    Join Date
    Nov 2010
    Location
    Australia
    Posts
    1,472
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by Main View Post
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •