Log in

View Full Version : Unable to find 'slr/srl.simba'



Mahatna
04-27-2012, 02:20 PM
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
04-27-2012, 02:27 PM
There is no
end;
to your declareplayers

Mahatna
04-27-2012, 02:30 PM
Thats not the problem still get the error.

masterBB
04-27-2012, 02:36 PM
{$i srl/srl.simba}

instead of

{$i slr/srl.simba}

edit:
program new;
program new;

should be just

program YourProgramName;

Mahatna
04-27-2012, 02:45 PM
{$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
04-27-2012, 02:49 PM
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
04-27-2012, 02:52 PM
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
04-27-2012, 02:59 PM
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 http://villavu.com/vb/images/icons/icon2.gif L http://villavu.com/vb/images/icons/icon2.gif R http://villavu.com/vb/images/icons/icon13.gif

Should be

S http://villavu.com/vb/images/icons/icon2.gif R http://villavu.com/vb/images/icons/icon2.gif L http://villavu.com/vb/images/icons/icon14.gif

Joe
04-27-2012, 03:52 PM
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 http://villavu.com/vb/images/icons/icon2.gif L http://villavu.com/vb/images/icons/icon2.gif R http://villavu.com/vb/images/icons/icon13.gif

Should be

S http://villavu.com/vb/images/icons/icon2.gif R http://villavu.com/vb/images/icons/icon2.gif L http://villavu.com/vb/images/icons/icon14.gif

Woah... its like a whole new world :p

Mahatna
04-27-2012, 04:02 PM
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 http://villavu.com/vb/images/icons/icon2.gif L http://villavu.com/vb/images/icons/icon2.gif R http://villavu.com/vb/images/icons/icon13.gif

Should be

S http://villavu.com/vb/images/icons/icon2.gif R http://villavu.com/vb/images/icons/icon2.gif L http://villavu.com/vb/images/icons/icon14.gif

I know my bad :duh::duh: