Log in

View Full Version : When I try and run a script.



wolfpack81
07-06-2007, 12:01 AM
[Runtime Error] : Exception: Filepaths can not contain any of these characters: / : * ? " < > | in line 138 in script C:\Program Files\SCAR 3.10\includes\SRL/SRL.scar

Any help.

Oh and its showing srl.scar here it is:


{************************************************* ***************************
Scar Standard Resource Library
************************************************** **************************}

// * core
{.include srl\srl\core\Globals.scar}
{.include srl\srl\core\Setup.scar}
{.include srl\srl\core\Users.scar}
{.include srl\srl\core\Math.scar}
{.include srl\srl\core\Timing.scar}
{.include srl\srl\core\MouseFlag.scar}
{.include srl\srl\core\Text.scar}
{.include srl\srl\core\GameTab.scar}
{.include srl\srl\core\DTM.scar}
{.include srl\srl\core\Color.scar}
{.include srl\srl\core\AutoColor.scar}
{.include srl\srl\core\BitMap.scar}
{.include srl\srl\core\DoorProfiles.scar}
{.include srl\srl\core\Symbol.scar}
{.include srl\srl\misc\SCSS.scar}
{.include srl\srl\core\Login.scar}
{.include srl\srl\core\Object.scar}
{.include srl\srl\core\Inventory.scar}
{.include srl\srl\core\AutoTalk.scar}
{.include srl\srl\core\MapWalk.scar}
{.include srl\srl\core\RC.scar}
{.include srl\srl\misc\GlobalStats.scar}

{.include srl\srl\core\AntiRandoms\Common.scar}
{.include srl\srl\core\AntiRandoms\Box.scar}
{.include srl\srl\core\AntiRandoms\Certer.scar}
{.include srl\srl\core\AntiRandoms\Demon.scar}
{.include srl\srl\core\AntiRandoms\Frog.scar}
{.include srl\srl\core\AntiRandoms\Quiz.scar}
{.include srl\srl\core\AntiRandoms\Sandwich.scar}
{.include srl\srl\core\AntiRandoms\AntiRandoms.scar}

{.include srl\srl\core\AntiBan.scar}
{.include srl\srl\core\Bank.scar}

// * f2p
//{.include srl\srl\skill\Cooking.scar}
//{.include srl\srl\skill\Crafting.scar}
//{.include srl\srl\skill\Firemaking.scar}
//{.include srl\srl\skill\Fishing.scar}
//{.include srl\srl\skill\Magic.scar}
//{.include srl\srl\skill\Mining.scar}
//{.include srl\srl\skill\Prayer.scar}
//{.include srl\srl\skill\Ranging.scar}
//{.include srl\srl\skill\Runecrafting.scar}
//{.include srl\srl\skill\Smithing.scar}
//{.include srl\srl\skill\WoodCutting.scar}

// * p2p
//{.include srl\srl\skill\Agility.scar}
//{.include srl\srl\skill\Farming.scar}
//{.include srl\srl\skill\Fletching.scar}
//{.include srl\srl\skill\Herblore.scar}
//{.include srl\srl\skill\Slayer.scar}
//{.include srl\srl\skill\Thieving.scar}
//{.include srl\srl\skill\Hunting.scar}

// * meta
//{.include srl\srl\skill\Fighting.scar}

// * colorfinders
//{.include srl\srl\misc\FaladorColorFinder.scar}
//{.include srl\srl\misc\DraynorColorFinder.scar}

// * Loading?
//{.include srl\srl\misc\Loading.scar}

{ const MaskName;
Description: Name you want scar to be disguised as. }
const MaskName = 'SCAR Divi. Powered by SRL.';

// SetCamera:string;

{************************************************* ******************************
procedure UnSafeDisguiseScar(txt: string);
By: Freddy1990
Description: Sets Scar to custom disguise name in windowstray.
************************************************** *****************************}
procedure UnSafeDisguiseScar(txt: string);
begin
Disguise(txt);
end;

{************************************************* ******************************
procedure DisguiseScar(txt: String);
By: Freddy1990
Description: Sets Scar to custom disguise name in windowstray.
************************************************** *****************************}
procedure DisguiseScar(txt: String);
begin
Disguise(txt);
end;

{************************************************* ******************************
function PluginsExist(Plugins : array of string) : boolean;
By: Ron
Description: Checks if the PluginsExist.
************************************************** *****************************}
function PluginsExist(Plugins : array of string) : boolean;
var
i : integer;
begin
Result := True;
for i := 0 to GetArrayLength(Plugins)-1 do
if(Not(FileExists(AppPath+'\plugins\'+Plugins[i])))then
begin
WriteLn(Plugins[i]+' is missing from: '+AppPath+'plugins\');
Result := False;
end;
end;

{************************************************* *****************************
procedure SetupSRL;
By: WT-Fakawi
Description: Setup SRL.
************************************************** ***************************}
procedure SetupSRL;
begin
if(not(PluginsExist(['BoxPlugin.dll','CerterPlugin.dll','FreddyPlugin.d ll','QuizPlugin.dll'])))then
TerminateScript;
MarkTime ( ST );

LoraxFTW := False;

RoadColor := 0;
WaterColor := 0;
BankColor := 0;
Banks := 0;
kLastChoice := -1;
DisguiseScar(MaskName);

LoadSRLBitMaps;

TheFile := RewriteFile(AppPath + 'ChatLog.txt', False);

LoadSRLConfig;
SetMouseMode(false);
FindClient:=True;
loadcosinearrays;

if LampSkill = '' then LampSkill := 'Mining';

SymbolAccuracy:= 0.8;

InitFreddyPlugin(GetClientWindowHandle);
SetUpSRLReport;

MarkTime ( HoverMark );
Writeln ('SRL Compiled in '+ IntToStr ( HoverMark - ST ) + 'msec.');

MarkTime(LogOutMark);
MarkTime(RandomChatMark);
MarkTime(RandomClickMark);
MarkTime(RotateMark);
MarkTime(KillScriptMark);
MarkTime(LeaveScreenMark);
MarkTime(PickUpMouseMark);
MarkTime(HoverMark);
MarkTime(BoredMark);
MarkTime(MouseSpeedMark);
MarkTime(RCTimeMark);
MarkTime(ST);

end;

Wanted
07-06-2007, 12:59 AM
Yes this seems to be an actual problem with SCAR Divi 3.10 that just came out today, I guess just use SCAR 3.06 w/ patch until Freddy fixes it.

Does anyone know how to fix this besides Freddy?

gamer716
07-06-2007, 03:41 AM
yea it got same problem right now when i installed Scar 3.10. I hope there is a fix coming soon.

YoHoJo
07-06-2007, 03:58 AM
Thew new Scar is not compatible with the new srl.
Please continue using Scar 3.06 until this is fixed.

Stevee
07-06-2007, 10:30 AM
hmm, alright yo ho