View Full Version : error help
redda69
10-11-2008, 02:23 PM
Line 88: [Error] (16197:14): Syntax error in script C:\Program Files\SCAR 3.15\includes\srl/srl.scar
Line 88: [Error] (16197:14): Syntax error in script C:\Program Files\SCAR 3.15\includes\srl/srl.scar
and this is line 88:
SmartSetupEx("World Number", "Safe Mode", "Signed", "Super Detail");
radiclerobby
10-11-2008, 02:52 PM
hey you neeed to take off the EX on SmartSetup well just make that line look like this
Smartsetup('world70',true,true,true)
that should solve your problem
redda69
10-11-2008, 03:11 PM
now i get
Failed when compiling
Line 91: [Error] (16197:1): Unexpected end of file in script C:\Program Files\SCAR 3.15\includes\srl\srl.scar
on line 91 which reads:
CheckHPFirst := True;
Method
10-11-2008, 03:17 PM
now i get
Failed when compiling
Line 91: [Error] (16197:1): Unexpected end of file in script C:\Program Files\SCAR 3.15\includes\srl\srl.scar
on line 91 which reads:
CheckHPFirst := True;
You're probably trying to compile or run SRL.scar itself instead of whatever script you're running. All of the includes will give that error if you try to compile or run them individually.
redda69
10-11-2008, 03:28 PM
all im doing is opening the script and hitting the green arrow
Method
10-11-2008, 03:56 PM
Post your SRL.scar (in SCAR tags), please.
redda69
10-12-2008, 01:24 AM
Post your SRL.scar (in SCAR tags), please.
//----------------------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//----------------------------------------------------------------------------//
//-- by: Azeroth, Bebe, BenLand100, benleegt, Boreas, c0de, --//
//-- Cheesehunk, dakota, Dankness, driger1592, Flyboy, Freddy1990, --//
//-- Hobbit, inferno, Kernel Klink, Knightstreak, Krazy_Meerkat, --//
//-- Krichevskoy, Liquid, Lorax, Mad Cow, Markus, masquerader, --//
//-- mastaraymond, moparisthebest, Mutant Squirrle, n3ss3s nielsie95, --//
//-- phantombmx, pups, Pyro, RAM, realrune, Renax, Ron, RsN, --//
//-- SKy Scripter, solemn wishes, Spky, SRL, Starblaster100, S --//
//-- tupid3ooo, Sumilion, tarajunky, The Claw, The_Rs_Monkey, Zephyrsfury --//
//-- Wizzup?, WT-Fakawi, XxKanexX, Yakman, YoHoJo, _ChArMz, --//
//-- --//
//-- ....... and the SRL Community. --//
//----------------------------------------------------------------------------//
//----------------------------------------------------------------------------//
// -- SRL Level 1 Includes --//
// -- --//
// -- Low Level SCAR Math, Mouse Movement and Color Clicking routines. --//
//----------------------------------------------------------------------------//
{.include SRL/SRL/Core/Globals.scar}
{.include SRL/SRL/Core/Math.scar}
{.include SRL/SRL/Core/Mouse.scar}
{.include SRL/SRL/Core/Color.scar}
{.include SRL/SRL/Core/Players.scar}
{.include SRL/SRL/Core/Overwrite.scar}
//----------------------------------------------------------------------------//
// -- SRL Level 2 Includes --//
// -- --//
// -- Interface, Object and OCR routines. --//
//----------------------------------------------------------------------------//
{.include SRL/SRL/Core/Timing.scar}
{.include SRL/SRL/Core/GameTab.scar}
{.include SRL/SRL/Core/SRLLog.scar}
{.include SRL/SRL/Core/Text.scar}
{.include SRL/SRL/Core/Inventory.scar}
{.include SRL/SRL/Core/Object.scar}
//----------------------------------------------------------------------------//
// -- SRL Level 3 Includes --//
// -- --//
// -- MapWalking, AntiRandoms, Bank, Symbol and many more... --//
//----------------------------------------------------------------------------//
{.include SRL/SRL/Misc/Bitmaps.scar}
{.include SRL/SRL/Core/FlagChat.scar}
{.include SRL/SRL/Core/Login.scar}
{.include SRL/SRL/Core/Mapwalk.scar}
{.include SRL/SRL/Core/Bank.scar}
{.include SRL/SRL/Core/Symbol.scar}
{.include SRL/SRL/Core/RC.scar}
{.include SRL/SRL/Core/AutoColor.scar}
{.include SRL/SRL/Core/AntiRandoms/Common.scar}
{.include SRL/SRL/Core/Globalstats.scar}
{.include SRL/SRL/Core/CAutoRespond.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/Forester.scar}
{.include SRL/SRL/Core/AntiRandoms/Quiz.scar}
{.include SRL/SRL/Core/AntiRandoms/Sandwich.scar}
{.include SRL/SRL/Core/AntiRandoms/EvilBob.scar}
{.include SRL/SRL/Core/AntiRandoms/Leo.scar}
{.include SRL/SRL/Core/AntiRandoms/Frog.scar}
{.include SRL/SRL/Core/AntiRandoms/ChatRandoms.scar}
{.include SRL/SRL/Core/AntiRandoms/Molly.scar}
{.include SRL/SRL/Core/AntiRandoms/Pillory.scar}
{.include SRL/SRL/Core/Antirandoms/Pinball.scar}
{.include SRL/SRL/Core/Antirandoms/Maze.scar}
{.include SRL/SRL/Core/AntiRandoms/AntiRandoms.scar}
{.include SRL/SRL/Core/AntiBan.scar}
{.include SRL/SRL/Core/Amount.scar}
{************************************************* ******************************
procedure SetupSRL;
by: SRL Dev Team
Description: Sets up all variables needed to run SRL.
************************************************** *****************************}
procedure SetupSRL;
begin
MouseSpeed := 15;
CheckHPFirst := True;
Reincarnate := False;
TalkAfterRandoms := False;
RoadColor := 0;
WaterColor := 0;
BankColor := 0;
LampSkill := 'mining';
SetUpSRLReport;
LoadCosineArrays;
SymbolAccuracy:= 0.8;
LoadNPCArray;
LoadSRLBitMaps;
SolveChatRandoms := True;
SetupSRLAutoResponder;
UseFindMod := True;
LogoutOnMod := True;
UseFindTrade := True;
Screenshots := False;
InitializeSRLLogFile;
Writeln ('SRL Compiled in '+ IntToStr(GetTimeRunning) + ' msec');
end;
666d3v1l666
10-12-2008, 06:48 AM
Try redownloading srl.
Post what happens when you try and run the script then.
Oh, and what script are you trying to run?
redda69
10-12-2008, 08:11 AM
i redownloaded it i am trying to run RM power cutter 3.60
Failed when compiling
Line 1807: [Hint] (20273:1): Variable 'I' never used in script C:\Users\Rhys\AppData\Local\Microsoft\Windows\Temp orary Internet Files\Low\Content.IE5\883PRW5Y\RM%20Power%20Cutter %203.60[1].scar
Line 1807: [Hint] (20273:1): Variable 'H' never used in script C:\Users\Rhys\AppData\Local\Microsoft\Windows\Temp orary Internet Files\Low\Content.IE5\883PRW5Y\RM%20Power%20Cutter %203.60[1].scar
Line 2086: [Error] (20552:43): Type mismatch in script C:\Users\Rhys\AppData\Local\Microsoft\Windows\Temp orary Internet Files\Low\Content.IE5\883PRW5Y\RM%20Power%20Cutter %203.60[1].scar
666d3v1l666
10-12-2008, 08:44 AM
Oh, try saving your scripts in the Scripts folder in the Scar folder.
redda69
10-12-2008, 09:30 AM
nah didnt work same message should it open in a form because it doesnt i just open rs and put the crosshair on and get errors
666d3v1l666
10-12-2008, 09:38 AM
I know!
You should have read the last post, or at least be a bit fish as to why the tread was closed:
This script is outdated, and Rasta Magician is not currently active on the forums, and hasn't been for over a month. I am closing this thread due to the large amount of spamming going on here. If Rasta returns, it will be reopened.
redda69
10-12-2008, 09:48 AM
i know but i cant get ANY script to work u wanna paste me a link to a auto wc and give me a short tut on how to use like simplify it alot...like type stuff here put xhair on now. plz it would help alot
TViYH
10-12-2008, 06:27 PM
Redda, read these tutorials:
How to setup players.
Ultimate Beginner Tutorial
Things the Beginner Tutorials Don't...
redda69
10-13-2008, 10:52 AM
i cant find them lol can u just paste the url's?
redda69
10-13-2008, 11:53 AM
okay new error here we go!
47 program PowerChopper;
Line 47: [Error] (47:1): Unable to register function function FindGapsTPA(TPA : TPointArray; MinPixels: Integer): T2DPointArray; in script C:\Users\Rhys\Desktop\[SRL]PowerChopper...scar
TViYH
10-13-2008, 07:00 PM
First, you can't find tutorials that are clearly labeled in the Tutorial Island.
Now, you can't use the search button to help fix your error.
Mate, you can just search to fix some errors.
People have already fixed them.
Sorry if I sound harsh.
redda69
10-14-2008, 09:13 AM
you dont think i tried searching ur tuts? i didnt think of the errors though...
redda69
10-14-2008, 09:14 AM
i found 2 i could not find the other and they didnt help at all, they had nothing to do with the errors i was getting
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.