Log in

View Full Version : SRL Co-ords



rkroxpunk
03-27-2007, 11:10 AM
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?

Boreas
03-27-2007, 11:11 AM
Look in globals.scar

A G E N T
03-27-2007, 12:00 PM
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.....:google:


Oh deary me I love that one!

rkroxpunk
03-27-2007, 12:31 PM
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.....:google:


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

nielsie95
03-27-2007, 12:34 PM
This is what Boreas (and probably you) mean:

{ 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;

rkroxpunk
03-27-2007, 12:49 PM
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?

nielsie95
03-27-2007, 01:36 PM
Just write MSX1, MSY1....
It will just work as long as you have the include :)

danrox2004
03-27-2007, 02:56 PM
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...

rkroxpunk
03-28-2007, 12:10 AM
Yeah thanks Dan already found that out but that just confirmed it thanks :D