Log in

View Full Version : Can anyone help?



BarackOBieber
01-29-2012, 01:07 AM
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
01-29-2012, 01:10 AM
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
01-29-2012, 01:11 AM
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
01-29-2012, 01:12 AM
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
01-29-2012, 01:14 AM
Hold on Ill try to fix it.

BarackOBieber
01-29-2012, 01:20 AM
Ok thanks.

kevin33
01-29-2012, 01:24 AM
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
01-29-2012, 01:27 AM
Thank you VERY much it worked :) +1 rep!

kevin33
01-29-2012, 01:27 AM
No problem. Anytime :) Thank you

BarackOBieber
01-29-2012, 01:34 AM
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
01-29-2012, 01:39 AM
Its outdated. If you read the posts, he said wait til he updates it -.-

BarackOBieber
01-29-2012, 01:43 AM
Oh thanks

Mat
01-29-2012, 12:43 PM
needs SRL 5 so S1N needs to update it :P