SRL Archive - Reflection Help

Wtf, Help TViYH


TViYH

2010-06-24 16:28:34

[Error] C:\Simba\Includes\SRL\SRL\Reflection\Login.scar(220:38): Unknown identifier 'NICKTPA' at line 219

if Length(Players[CurrentPlayer].NickTPA) < 2 then

That's the line^

Anyone help?

Shuttleu

2010-06-24 16:45:16

thats a wizzy plugin

if its simba then try restarting it
i had that error and restarting fixed it

~shut

EDIT: if not then try moving the plugins again

EDIT: also did you use srl.sex to get srl?

Wizzup?

2010-06-24 16:59:50

Try cloning the correct repository. Or try this latest snapshot: http://wizzup.org/static/srl/srlref.tar.bz2

Cstrike

2010-07-03 18:46:27

From: Wizzup?
Try cloning the correct repository. Or try this latest snapshot: http://wizzup.org/static/srl/srlref.tar.bz2


With both the newest version, and along with me trying tortoise from the link posted in the [How to….] thread, I get a failure here

{*******************************************************************************
function GetMyLocPos: TTile;
By: BenLand100
Description: Returns the global tile position of your player.
*******************************************************************************}
function GetMyLocPos: TTile;
var
me: Integer;
begin
me := SmartGetFieldObject(0, hook_static_MyPlayer);
Result.x := (SmartGetFieldInt(me, hook_animable_PixelX) - SmartGetFieldInt(0, hook_static_BaseX)) / 512;
Result.y := (SmartGetFieldInt(me, hook_animable_PixelY) - SmartGetFieldInt(0, hook_static_BaseY)) / 512;
SmartFreeObject(me);
end;

end; = line 107 :(

Error message:
[Error] D:\…\Simba\Includes\Reflection\./Core/Core.simba(108:3): Unknown identifier 'MarkTime' at line 107
Compiling failed.

Is that bold part supposed to be there? Or is it a mess up on my part?

EDIT: Upon removing the period it didn't change anything

Code attempted:
{$i Reflection\Reflection.simba}
{$i SRL\SRL.scar}
program new;
begin
SetupSRL;
writeln ('test');
end.
Altering the code had no affect on the error.

i luffs yeww

2010-07-03 19:08:30

;) You include reflection after SRL.


{$Define SMART}
{$i SRL/SRL.scar}
{$i reflection/Reflection.simba}

begin
SMART_Server := 64;
SMART_Members := True;
SMART_Signed := True;
SMART_SuperDetail := False;
SetupSRL;
SetupReflectionEx(True);
end.

Cstrike

2010-07-03 19:46:21

Ugh I suck.
+rep for literally helping me all day, I really appreciate it :)

i luffs yeww

2010-07-03 20:11:20

:) Yeah, no problem. If you have MSN I can help you quicker. ;)