Ok i am learning reflection i am totally new here, i am reading
http://www.villavu.com/forum/showthread.php?t=46636
i testing this script.
PHP Code:
program New;
{.include srl/srl/misc/smart.scar}
{.include srl/srl.scar}
{.include srl/srl/reflection/reflection.scar}
//-----------------------------------------------
//-----------------------------------------------
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
CurrentPlayer := 0;
NumberOfPlayers(HowManyPlayers);
Players[0].Name := 'xxxx';
Players[0].Pass := 'xxxx';
Players[0].Nick := 'xxxx';
Players[0].Active := true;
end;
//-----------------------------------------------
procedure FindGuide;
var
NPCC: TNPC;
begin
If(FindNPC('Lumbridge',NPCC))then
writeln('Found the Guide! woot');
end;
//-----------------------------------------------
procedure MainLoop;
begin
DeclarePlayers;
LoginPlayer;
repeat
//xxxxx
FindGuide;
//xxxxx
Until False
end;
//-----------------------------------------------
//-----------------------------------------------
//-----------------------------------------------
begin
Smart_Server := 152;//World to load?
Sart_Members := False;//Members?
Smart_Signed := True;//Signed client?
Smart_SuperDetail := False;//SMART high detail?
SetupSRL;
MainLoop;
end.
then i press run i getting this error
Code:
Failed when compiling
Line 661: [Error] (22229:58): Type mismatch in script C:\Program Files\SCAR 3.21\includes\SRL\SRL\Reflection\Characters.Scar
and it opens Characters.Scar in new tab.
reflection downloaded by Zasz's Scar Updater 2.0 Vista (I got xp btw xp version doesn't want to work for me.)