SRL Archive - Reflection Help

My reflection is messed up...


Xtensity

2008-09-04 16:41:49

I followed several tutorials on how to find NPCs and here is what I got….

{.Include SRL\SRL\Misc\Smart.Scar}
{.Include SRL\SRL.Scar}
{.Include SRL\SRL\Reflection\Reflection.Scar}
var NPC:TNPC;
Begin
SetUpSRL;
SmartSetup('World60',false,false,false)
If (FindNPC('Banker', NPC)) Then
begin
WriteLn('Banker Found')
MMouse(NPC.MSX,NPC.MSY,4,4);
end else
WriteLn('Cant Find Banker')
end.

But I keep getting Line 11: [Error] (17503:12): Unknown identifier 'MSX'

WHY? It worked fine in all the tutorial videos.. what am I doing wrong…. I even had the little function window pop up and all I got was…
and what they got is…

Why??

MylesMadness

2008-09-04 17:07:49

{.Include SRL\SRL\Misc\Smart.Scar}
{.Include SRL\SRL.Scar}
{.Include SRL\SRL\Reflection\Reflection.Scar}
var NPC:TNPC;
Begin
SetUpSRL;
SmartSetup('World60',false,false,false)
If (FindNPC('Banker', NPC)) Then
begin
WriteLn('Banker Found')
MMouse(NPC.MS.X,NPC.MS.Y,4,4);
end else
WriteLn('Cant Find Banker')
end.

Xtensity

2008-09-04 17:17:27

From: Mylesmadness
{.Include SRL\SRL\Misc\Smart.Scar}
{.Include SRL\SRL.Scar}
{.Include SRL\SRL\Reflection\Reflection.Scar}
var NPC:TNPC;
Begin
SetUpSRL;
SmartSetup('World60',false,false,false)
If (FindNPC('Banker', NPC)) Then
begin
WriteLn('Banker Found')
MMouse(NPC.MS.X,NPC.MS.Y,4,4);
end else
WriteLn('Cant Find Banker')
end.



Wow, I swear I had tried that, hm maybe I kept getting another error, I'll edit if it worked.

Edit: Thanks