SRL Archive - Reflection (Archive)

Trouble with updated Reflection


syntax1993

2011-11-17 12:35:49

I'm REALLLYYY new to this and I'm looking to learn scripting.

Now I've got this problem. For a small while it worked well, but right now, it seems after updating Reflection (got it off the jithub first, it worked, auto updated & stopped working) it doesn't work.

I'm getting this error:
[Error] D:\Simba\Includes\Reflection\./Core/Nodes.simba(16:44): Unknown identifier 'hook_nodecache_GetNodes' at line 15
Compiling failed.

Using a basic thing as a script:

Program Test;

{.include srl/srl/misc/smart.scar}
{.include SRL/SRL.scar}
{.include Reflection/Reflection.simba}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := '****'; // your username
Players[0].Pass := '****'; // your password
Players[0].Nick := '****'; // 3-4 letters of your username
Players[0].Active := True; //Use this player or not?
End;

procedure MainLoop;
begin
if(not(LoggedIn))then
LoginPlayer;
repeat
until(false);
end;

begin
Smart_Signed := true;
Smart_Server := 34;
Smart_SuperDetail := false;
SetupSRL;
SetupReflection;
DeclarePlayers;
MainLoop;
end.

Also, when it worked, it didn't auto login. How come? (I did fill in my name & pass)

Thanks!
Syntax1993
- New kid -

YoHoJo

2011-11-17 12:45:28

Reflection is broken yo.
So all scripts that use reflection are broken.
You want to only use COLOR scripts.
If the script says anything about Reflection.simba at the top, it's broken.