SRL Archive - RS3 Outdated / Broken Scripts

Setup.scar


Baked0420

2008-04-14 12:44:26

Can someone please post their setup.scar srcipt, I tried searchign everywhere and googling but I can't find how to fix my error. Just post the script in here and I'll copy and paste, or download it what ever, but like every script I try to run it aways uses setup.scar so I pretty much can't run any script, at least all the ones I've tried so far uses it.


Or if you know how to fix this error then please tell me, it keeps saying

Line 102: [Error] (351:1): Unknown identifier 'Filename' in script C:\Program Files\SCAR 3.14\includes\srl\srl\core\Setup.scar

line 102 is bold:


procedure LoadSRLConfig;
var
aFile: Integer;

begin
aFile := OpenFile(AppPath + 'SRL.CFG', False);
if (aFile < 0) then
begin
SaveSRLConfig;
aFile := OpenFile(AppPath + 'SRL.CFG', False);
end;

ReadFileString(aFile, zFile, FileSize(aFile));

Filename := getSRLData('Filename');
MouseSpeed := StrToInt(getSRLData('Mousespeed'));
LampSkill := getSRLData('Lampskill');
UseSandwichSolver := setBoolean(getSRLData('UseSandwichSolver'));
UseBoxSolver := setBoolean(getSRLData('UseBoxSolver'));
UseCerterSolver := setBoolean(getSRLData('UseCerterSolver'));
CheckHPFirst := setBoolean(getSRLData('Check HP'));
Screenshots := setBoolean(getSRLData('Screenshots'));
DebugRadialRoad := setBoolean(getSRLData('DebugRadialRoad'));
SRLID := getSRLData('SRLID');
SRLPassword := getSRLData('SRLPassword');
CloseFile(aFile);
end;


but if someone can just post theirs I'd much rather do that because ti would be much easier and everytime I try to delete these and reload them I still get errors.

ShowerThoughts

2008-04-14 13:39:48

maybe get the newest? try that?

Baked0420

2008-04-14 14:19:20

you mean get scar 3.15? if thats what you're saying then yea I was thinking bout that, getting 3.14 was how I got rid of a couple different errors, if this thread doesn't help me get an answer then I'm just going to try that, if that doesn't work then I'm just going to get real mad, I haven't been able to run one script yet, (besides bejeweled, WHICH ISN'T EVEN FOR RUNESCAPE!!) it's rediculous. I don't know what to do, everytime I run a script I get some error fix it then there's other errors in other scripts and it just goes on forever.

Harry

2008-04-14 14:54:36

It is removed in Rev 16 (TBR soon).

And it is an include file - you don't run it, silly goose! :)