SRL Archive - Help

Keep getting this error...


Asalci

2012-02-17 22:34:12

Whenever i try to test my script i keep getting this error

[Error] C:\Simba\Includes\srl/srl/misc/smart.simba(2:1): 'BEGIN' expected at line 1

I dont understand why I am getting this error, help?

Ashaman88

2012-02-17 23:15:21

what does your code look like?

Asalci

2012-02-17 23:22:25

program New;
{$DEFINE SMART}
{$i srl/srl.simba}

whenever I put anything in the includes having to do with smart i get the error

Ashaman88

2012-02-17 23:44:05

do other peoples scripts work when you try to run them?

if they do you are probably missing your main loop

something like

begin
ClearDebug;
SetupSRL;
DeclarePlayers;
LoginPlayer;
repeat
//(call your functions)
until// (whatever)
end.

Asalci

2012-02-18 00:07:30

I tried running someone elses script that worked for me earlier today and got the same error, I think something got messed up in my C:\Simba\Includes\SRL/SRL/misc/smart.simba

edit. when i try compliling just the C:\Simba\Includes\SRL/SRL/misc/smart.simba script i get the error [Error] (1:1): Unexpected end of file at line 0

Caotom

2012-02-18 00:14:48

From: Asalci
I tried running someone elses script that worked for me earlier today and got the same error, I think something got messed up in my C:\Simba\Includes\SRL/SRL/misc/smart.simba

edit. when i try compliling just the C:\Simba\Includes\SRL/SRL/misc/smart.simba script i get the error [Error] (1:1): Unexpected end of file at line 0


Could you post up your C:\Simba\Includes\SRL/SRL/misc/smart.simba ?

~Caotom

Ashaman88

2012-02-18 10:16:43

I would first try updating everything and if that didn't work, uninstall and reinstall simba.

Asalci

2012-02-18 15:23:06

thanks guys got i fixed now