Results 1 to 9 of 9

Thread: SRL Co-ords

  1. #1
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default SRL Co-ords

    I've seen everywhere that SRL has an automatic co ords for a box around the game screen instead of having to type (x,y,0,0,600,600) or whatever you just type in the letters. could someone please tell me what they are and is there one for Inventory and Chatwindow?
    Sleeping...

  2. #2
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Look in globals.scar

  3. #3
    Join Date
    Feb 2007
    Location
    Toronto, Ontario, Canada
    Posts
    586
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Despite Boreas' rather laconic reply, you can try using FindMSColor(x,y,colour) or FindMMColor(x,y,colour) Now if you can't figure out how to use these.....


    Oh deary me I love that one!

  4. #4
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    Quote Originally Posted by A G E N T 83 View Post
    Despite Boreas' rather laconic reply, you can try using FindMSColor(x,y,colour) or FindMMColor(x,y,colour) Now if you can't figure out how to use these.....


    Oh deary me I love that one!
    err I don't think that's what i mean but thanks anyway. I'll check it out

    EDIT: thanks Boreas i found em
    Sleeping...

  5. #5
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    This is what Boreas (and probably you) mean:

    SCAR Code:
    { const MMCX, MMCY;
      Description: MiniMap Centre Point. }

    const
      MMCX = 648;
      MMCY = 86;

    { const MMX1, MMY1, MMX2, MMY2;
      Description: MiniMap Edge Points. }

    const
      MMX1 = 570;
      MMY1 = 5;
      MMX2 = 735;
      MMY2 = 166;

    { const MSX1, MSY1, MSX2, MSY2;
      Description: Main Screen EdgePoints. }

    const
      MSX1 = 5;
      MSY1 = 5;
      MSX2 = 515;
      MSY2 = 338;

    { const MSCX, MSCY;
      Description: Main Screen Centre Points. }

    const
      MSCX = 255;
      MSCY = 166;

    { const MIX1, MIY1, MIX2, MIY2;
      Description: Inventory EdgePoints. }

    const
      MIX1 = 555;
      MIY1 = 205;
      MIX2 = 740;
      MIY2 = 464;

    { const MICX, MICY;
      Description: Inventory Centre Points. }

    const
      MICX = 370;
      MICY = 232;

    { const MCX1, MCY1, MCX2, MCY2;
      Description: Chat Screen EdgePoints. }

    const
      MCX1 = 4;
      MCY1 = 342;
      MCX2 = 505;
      MCY2 = 460;

    { const MCCX, MCCY;
      Description: Chat Screen Centre Points. }

    const
      MCCX = 252;
      MCCY = 230;
    Hup Holland Hup!

  6. #6
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    Yup although do you just write MSX1, MSY1, MSX2, MSY2 for example or do u have to make them a const, a var or include or will it just work as long as u have SRL/SRL.scar include?
    Sleeping...

  7. #7
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Just write MSX1, MSY1....
    It will just work as long as you have the include
    Hup Holland Hup!

  8. #8
    Join Date
    Oct 2006
    Posts
    207
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    if you cant be bothered looking in globals.scar -
    mainscreen is MSX1, MSX2, MSY1, MSY2
    chat is MCX1, MCX2, MCY1, MCY2
    Those are of the top of my head, may be wrong.

    EDIT: Oops none of the above replies came up when i saw this thread just then...

  9. #9
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    Yeah thanks Dan already found that out but that just confirmed it thanks
    Sleeping...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Co-ords to degrees ?
    By Jethr0x in forum OSR Help
    Replies: 13
    Last Post: 06-28-2008, 07:32 PM
  2. Ordering co-ords
    By rogeruk in forum OSR Help
    Replies: 3
    Last Post: 10-16-2007, 11:35 PM
  3. How to find exact pixel at co-ords
    By Sp0rky in forum OSR Help
    Replies: 4
    Last Post: 03-06-2007, 04:06 PM

Posting Permissions

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