SRL Archive - Help and Support

Mmcx, Mmcy


Bam Bam

2007-04-20 19:43:26

I was looking for the values of these Const's but I can't find them anywhere and know I'm really just curious as to where they are.

Smartzkid

2007-04-20 19:50:19

Globals.scar

Bam Bam

2007-04-20 19:51:57

I looked there… Unless they arent there in the Divi version of SRL

edit:
Silently curses Freddy for removing them from Divi version, lol I feel so stupid now

const
MMCX = 648;
MMCY = 86;

Bobarkinator

2007-04-20 20:54:19

They are in Divi they are just coded into Divi instead of in SRL. All the SRL constant points that used to be there when you downloaded SRL, I believe, were now coded into Divi. Just look in the new Divi functions and procedures in the Scar folder and they are at the bottom. It would help to identify what they are though because I don't know what they all are.

Boreas

2007-04-21 00:05:38

writeln(inttostr(mmcx)+','+inttostr(mmcy)); would work either way

Wanted

2007-04-21 00:08:01

:rolleyes: ;)

begin
ClearDebug;
Writeln('MMCX is : '+IntToStr(MMCX));
Writeln('MMCY is : '+IntToStr(MMCY));
Wait(1000);
Writeln('Wow! why didnt I think of that!')
end.

EDIT:
Oh, lol I just saw Boreas posted similar to this.

Thick As Blood

2007-04-21 00:18:41

pwn you all.

begin
ClearDebug;
Writeln('MMCX,MMCY = ('+IntToStr(MMCX)+','+IntToStr(MMCY)+')');
end.

god i'm a noob.

Boreas

2007-04-21 00:26:08

And the lesson of the day is: refresh right before you post :p

Bobarkinator

2007-04-21 01:07:05

From: Boreas
And the lesson of the day is: refresh right before you post :p


Still haven't had that happen to me and I really hope it doesn't or I really will have to start refreshing…

Thick As Blood

2007-04-21 02:02:02

haha, i saw both the posts, i just wanned to give my worthless 2 cents.

Bam Bam

2007-04-21 09:54:05

Yeah, I guess I could have done it many ways I didn't think of :redface:

Edit:

WOOT! Im not a chicken anymore :D

Freddy1990

2007-04-21 16:40:47

I believe Freddy did implement all gamecoordinate constants from SRL into Divi :)

Bobarkinator

2007-04-21 18:18:31

Maybe include a description of what they all are because I don't know what they all are. Most but not all..

Boreas

2007-04-21 23:22:56

CX,CY = center of box
X1,Y1 = top left corner of box
X2,Y2 = bottom right of box

MM = minimap
MI = inventory/gametab
MS = main screen
MC = chat box

MISC hehe

writeln(inttotsr( them to see where they are, or clickmouse on paint on a screen shot of the applet