SRL Archive - OSR Help

How to Fix Line 432: [Hint] (10422:1): Variable 'OLDMS' never used in script.


Harry

2008-01-28 21:56:27

Hey, I think this was the best section for this.

The Devs left a var in SRL that wasn't needed :) Whenever you compile a script with SRL it will say
Successfully compiled
Line 432: [Hint] (10422:1): Variable 'OLDMS' never used in script C:\Program Files\SCAR 3.14\includes\SRL/SRL/Core/AntiRandoms/AntiRandoms.scar

How to fix?:
1. Go to C:\Program Files\SCAR 3.14\includes\SRL\SRL\core\AntiRandoms\
2. Open AntiRandoms.scar
3. Go to Line 432
4. Change that line from
OldMS, PilDTM, cts, Time, dx, dy, Time2: Integer;
to
PilDTM, cts, Time, dx, dy, Time2: Integer;
5. Save.
6. Go to C:\Program Files\SCAR 3.14\includes\SRL\Compile SRL.scar
7. Run it; If it says SRL Compiled in the debug, you are all done. If it gives an ERROR, re download Rev #11, and try again.


Thanks for reading my tut (It is kinda a tut, I don't want people to post here about this 'error' :p)
~ Harry

king vash

2008-01-29 01:41:00

I think that if you can't fix that your self then you should have to live with it

ZephyrsFury

2008-01-29 03:26:53

It doesn't matter really. Its just a hint. No harm done. :p

yanix

2008-01-29 13:40:54

Yup and nice find, is that what u do on ur free time - watching scar includes? (totaly weird dude :D)

FrÕzÑ_§ÕµL

2008-01-29 13:54:35

WorldSwitcher.scar has a missing ';' I believe, unless I deleted it by myself accidentally, so now how the hell am I suppossed to get people to use my script ay?!

Richard

2008-01-29 15:00:50

I had the same problem with one of my scripts, it said that OLDMs or something wasn't used (in line 432) and my script only had 280 :D

Harry

2008-01-29 21:15:48

@dude: It sauid in script AntiRandoms.scar.

@Zyphers: Hints annoy me when I compile scripts :)

mannykind

2008-01-30 01:36:10

nice find… but i changed that… exactly.. nd it still dont work :s

blacksonic2

2008-01-31 18:38:05

ok, that fixed that one error.
now this one pops up
Line 119: [Error] (12818:8): Unknown identifier 'FindMime' in script C:\Program Files\SCAR 3.14\Scripts\GP begger by Hy71194.scar
ne ideas?

79121

2008-02-01 02:00:55

Hey thanks for your help, its got all my scripts back up and running : )

Harry

2008-02-01 08:04:43

@black: FindMime was removed in Revision 11. Just remove it from the script you are using.