SRL Archive - Help

Unable to find 'slr/srl.simba'


Mahatna

2012-04-27 10:20:16

Hi guys when i try to compile my script, *Been reading the tutorials* I get the error posted in the title.

Heres the code im using
program new;
program new;
{$i slr/srl.simba}
Procedure DeclarePlayers;
begin

HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := ''; // E.G griff721 would be riff.
Players[0].Active:=True; // If you want current user to use this script
end;
begin

SetUpSRL;
ActivateClient;
end.

I have tryed updating all extensions ect.. not working, any ideas?Thanks

Joe

2012-04-27 10:27:37

There is no
end;
to your declareplayers

Mahatna

2012-04-27 10:30:58

Thats not the problem still get the error.

masterBB

2012-04-27 10:36:50

{$i srl/srl.simba}

instead of

{$i slr/srl.simba}

edit:
program new;
program new;

should be just

program YourProgramName;

Mahatna

2012-04-27 10:45:00

From: masterBB
{$i srl/srl.simba}

instead of

{$i slr/srl.simba}

edit:
program new;
program new;

should be just

program YourProgramName;



Thanks that fixed the problem, but whats the difference between the two? i copy + pasta the code you put on top of the current seems exactly the same?
Thanks for the help/Fast reply.

Mahatna

2012-04-27 10:49:46

From: Mahatna
Thanks that fixed the problem, but whats the difference between the two? i copy + pasta the code you put on top of the current seems exactly the same?
Thanks for the help/Fast reply.


NVM i see what i did wrong now. lol.:spot:

Abu

2012-04-27 10:52:14

From: Mahatna
Thanks that fixed the problem, but whats the difference between the two? i copy + pasta the code you put on top of the current seems exactly the same?
Thanks for the help/Fast reply.


Lol, the difference is SRL is the name of the include that gives you all the wonderful functions you can put in your script.

SLR - with 'L' before the 'R', well, that doesn't exist in Simba… :p

masterBB

2012-04-27 10:59:14

Haha, I though it would be clear if I made it bold. Oh well. Let me experiment a bit for the next time ;)

{$i srl/srl.simba}

instead of

{$i slr/srl.simba}

so

S L R
Should be

S R L

Joe

2012-04-27 11:52:06

From: masterBB
Haha, I though it would be clear if I made it bold. Oh well. Let me experiment a bit for the next time ;)

{$i srl/srl.simba}

instead of

{$i slr/srl.simba}

so

S L R
Should be

S R L


Woah… its like a whole new world :p

Mahatna

2012-04-27 12:02:24

From: masterBB
Haha, I though it would be clear if I made it bold. Oh well. Let me experiment a bit for the next time ;)

{$i srl/srl.simba}

instead of

{$i slr/srl.simba}

so

S L R
Should be

S R L


I know my bad :duh::duh: