SRL Archive - OSR Help

Unknown identifier 'Smart_Server'


Diddy Kong

2010-04-17 15:30:23

program new;

{.include/SRL/SRL/Misc/SMART.scar}
{.include/SRL/SRL.scar}

const
SmartWorld = 15;
SmartMembers = False;
SmartSigned = True;
SmartSuperDetail = False;

begin
Smart_Server := SmartWorld;
Smart_Members := SmartMembers;
Smart_Signed := SmartSigned;
Smart_SuperDetail := SmartSuperDetail;
SetupSRL;
end.

[Error] (13:3): Unknown identifier 'Smart_Server' at line 13
Compiling failed.

I don't understand why it's giving me this error??

Ogre

2010-04-17 15:55:29

{.include SRL/SRL/misc/smart.scar}
{.include SRL/SRL.scar}

not

{.include/SRL/SRL/Misc/SMART.scar}
{.include/SRL/SRL.scar}

maybe?

Frement

2010-04-17 16:25:53

program new;
{.include SRL/SRL/Misc/SMART.scar}
{.include SRL/SRL.scar}

const
SmartWorld = 15;
SmartMembers = False;
SmartSigned = True;
SmartSuperDetail = False;

begin
SetupSRL;
Smart_Server := SmartWorld;
Smart_Members := SmartMembers;
Smart_Signed := SmartSigned;
Smart_SuperDetail := SmartSuperDetail;
end.

Ogre

2010-04-17 16:27:21

So is it working now?
…

Awkwardsaw

2010-04-17 16:34:14

From: Frement
program new;
{.include SRL/SRL/Misc/SMART.scar}
{.include SRL/SRL.scar}

const
SmartWorld = 15;
SmartMembers = False;
SmartSigned = True;
SmartSuperDetail = False;

begin
SetupSRL;
Smart_Server := SmartWorld;
Smart_Members := SmartMembers;
Smart_Signed := SmartSigned;
Smart_SuperDetail := SmartSuperDetail;
end.


wouldnt that load smart before the custom vars are declared?

Frement

2010-04-17 16:35:40

From: Awkwardsaw
wouldnt that load smart before the custom vars are declared?


Hmmh, i dunno :) I havent tested.'

EDIT:
Fixed version
program new;
{.include SRL/SRL/Misc/SMART.scar}
{.include SRL/SRL.scar}

const
SmartWorld = 15;
SmartMembers = False;
SmartSigned = True;
SmartSuperDetail = False;

begin
Smart_Signed := SmartSigned;
Smart_SuperDetail := SmartSuperDetail;
Smart_Server := SmartWorld;
Smart_Members := SmartMembers;
SetupSRL;
end.

Wanted

2010-04-17 16:56:42

From: Awkwardsaw
wouldnt that load smart before the custom vars are declared?


Yes

Diddy Kong

2010-04-17 17:27:24

Exception in Script: Plugins(libsmart) has not been found

I have moved all my plugins from '..\Includes\SRL\place inside plugins folder\' to '..\Plugins\'.

Nava2

2010-04-17 17:36:38

use the srl.sex extention.

It will install it all for you.

Diddy Kong

2010-04-17 21:53:35

From: Nava2
use the srl.sex extention.

It will install it all for you.


How do I run that?

[Error] (27:33): Unknown identifier 'Settings' at line 27

Nava2

2010-04-17 22:06:34

Go view -> extentions and enable srl.sex.