SRL Archive - Help

Can anyone help?


BarackOBieber

2012-01-28 20:07:00

When trying to use the S1NYews script I get this error: "Unable to find file 'srl/srl/misc/smart.scar' used from ' '" I'm not sure why I'm getting this error, I updated my SRL, MSI, and SPS. Can anyone tell me that answer to this problem?

kevin33

2012-01-28 20:10:11

Change this:
{$include srl/srl/misc/smart.scar}
{$I SRL/SRL.Scar}
{$I srl/srl/misc/debug.scar} TO


{$include srl/srl/misc/smart.simba}
{$I SRL/SRL.Simba}
{$I srl/srl/misc/debug.simba}

Caotom

2012-01-28 20:11:26

From: BarackOBieber
When trying to use the S1NYews script I get this error: "Unable to find file 'srl/srl/misc/smart.scar' used from ' '" I'm not sure why I'm getting this error, I updated my SRL, MSI, and SPS. Can anyone tell me that answer to this problem?


I future if you ever see a script that is trying to define a .scar change it to .simba and see if it works (if it doesn't then search for the answer on the forums or ask :) ).

~Caotom

BarackOBieber

2012-01-28 20:12:29

Thanks, that fixed that problem, but now I get an error saying this: "[Hint] (86:10): Variable 'Result' never used at line 85
[Hint] (93:10): Variable 'Result' never used at line 92
[Hint] (100:10): Variable 'Result' never used at line 99
[Hint] (110:10): Variable 'Result' never used at line 109
[Error] (119:15): Type mismatch at line 118
Compiling failed."

kevin33

2012-01-28 20:14:41

Hold on Ill try to fix it.

BarackOBieber

2012-01-28 20:20:15

Ok thanks.

kevin33

2012-01-28 20:24:09

Ok so for the first error. Change SetAngle(True) to SetAngle(SRL_ANGLE_HIGH);

Second error: SetAngle(False) change to SetAngle(SRL_ANGLE_NONE);

Same thing for the next one. I think that si all I had to change. Let me know.

BarackOBieber

2012-01-28 20:27:08

Thank you VERY much it worked :) +1 rep!

kevin33

2012-01-28 20:27:50

No problem. Anytime :) Thank you

BarackOBieber

2012-01-28 20:34:42

I ran the script, after getting 4 logs I get this:
formWriteln: Found North Yew
formWriteln: Yew Tree is down. Banking
formWriteln: Successfully executed.
formWriteln: The following DTMs were not freed: [SRL - Lamp bitmap, 1]
formWriteln: The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admi
n bitmap, SRL - Flag bitmap]

Sorry for being such a noob, lol

Adobe

2012-01-28 20:39:47

Its outdated. If you read the posts, he said wait til he updates it -.-

BarackOBieber

2012-01-28 20:43:30

Oh thanks

Mat

2012-01-29 07:43:43

needs SRL 5 so S1N needs to update it :P