SRL Archive - Reflection Help

error


Magiic

2008-09-26 11:21:37

ok its my first time using reflection but even the simplest script will not compile im trying to run
program PathWalking;
{.Include SRL\SRL\Misc\Smart.Scar}
{.Include SRL\SRL.Scar}
{.Include SRL\SRL\Reflection\Reflection.Scar}
{.include D-Include\DInclude.scar}

procedure SetupSmart;
begin
SmartSetup('world109', True, True, false);
Wait(1000);
SetTargetDC(SmartGetDC);
end;

begin
SetupSRL;
LoadHooks;
SetupSmart;
end.
but i get the error
Failed when compiling
Line 24: [Error] (17635:1): Duplicate identifier 'NPCDef' in script C:\Program Files\SCAR 3.15\includes\SRL\SRL\Reflection\Hooks.Scar

it's probably something stupid but i'm a stupid person lol:cartman:

pini3000

2008-09-26 13:17:10

I know this may sound dumb, but when was the last time you updated reflections? The Hooks were recently updated and everything seems to be working now.

Try re-downloading SRL and Relfections, it might work. If you have already done this then just ignore me :)

ItsEmerica

2008-10-01 15:56:29

From: pini3000
I know this may sound dumb, but when was the last time you updated reflections? The Hooks were recently updated and everything seems to be working now.

Try re-downloading SRL and Relfections, it might work. If you have already done this then just ignore me :)


Thanks dude, I had the same problem with this. It is fixed now, I thought I already updated Reflection but it was changed the day after I did. :duh: