SRL Archive - SRL Bugs

Line 270 Invalid number of parameters in script AntiRandoms\Sandwich.scar


Sex

2010-01-15 20:52:21

Line 270: [Error] (15725:1): Invalid number of parameters in script C:\Program Files (x86)\SCAR 3.22\includes\SRL\SRL\Core\AntiRandoms\Sandwich.scar
I've checked out to revision 341 of the open dev repository.
Happens with a blank script. I.e:

{.include SRL/SRL.scar}
begin
end.

Mr. Doctor

2010-01-15 20:53:33

Update your SRL? SVN update on the SRL folder in the includes.

Sex

2010-01-15 20:58:28

I've checked out to revision 341 of the open dev repository.
Revision 341 is the latest.

Mr. Doctor

2010-01-15 21:08:03

From: Sex
Revision 341 is the latest.


Maybe it conflicted?

YoHoJo

2010-01-15 21:16:19

Easy fix.
SVN you scar folder to this URL:
http://freddy1990.com/svn/scarprerelease

And make sure you use the scar placed in the newly created /prerelease folder.
All fixed.

Sex

2010-01-15 21:29:19

From: YoHoJo
Easy fix.
SVN you scar folder to this URL:
http://freddy1990.com/svn/scarprerelease

And make sure you use the scar placed in the newly created /prerelease folder.
All fixed.

Thank you. Haven't used SRL in a long time and I tend to stay away from pre releases and wait until a stable beta comes out.

YoHoJo

2010-01-15 21:39:42

SCAR's never stable :p

Sex

2010-01-15 21:42:36

It used to be.

Gu3st...

2010-01-16 07:25:58

From: Sex
It used to be.
are you referring to 2.03?

Anyways, check the line 269
It should be:
s := rs_GetUpTextAt(x, y - 2)
Useful information:
Notice there is no ; at the end of the line, that makes SCAR think the error is at line 270. If you add a ; after 269 then SCAR will think that the error is at line 269.