SRL Archive - S.M.A.R.T. Tutorials

A tut that works perfect and simple to folo


Spiritualowl

2008-03-20 22:53:19

Yes I stole this from another website but since this is a forum for cheating =P
and im sorry if these words turn out unreadable but it wont let me change the color for some reason.


What is S.M.A.R.T.

S.M.A.R.T is an unmodified RuneScape client, all it does is load the RuneScape main applet on it's own form, allowing it to perform mouse and keyboard actions, and passing the client-screen bitmapto SCAR. It uses it's own embedded mouse, thus allowing you to do other things on your computer while automating RuneScape by either minimizing or simply overlapping your screen!

How Do I Install S.M.A.R.T.

STEP ONE
a. Go to My computer –> C:/ Program Files/ SCAR 3.14/ includes/ SRL / SRL / misc
b. Open the Smart SCAR Script File
c. Add this code in the very first line

CODE
{$DEFINE SMART}

d. Save



STEP TWO

a. Go to My computer –> C:/ Program Files/ SCAR 3.14/ includes/ SRL
b. Open the SRL SCAR Script File
c. Add this code as the first line under "begin"


CODE
{$IFDEF SMART}
SmartSetupEx(107,True,True);
wait(10000+random(5000));
SetTargetDC(SmartGetDC);
repeat
wait(100);
until(SmartGetColor(253, 233)<>1118604);
{$ENDIF}


d. Save

107 is simply the number of the world your signing into and may be edited as you please.
It's prob. better to change it since we dont want the autoers all signing into the same world





STEP THREE

Now that Scar has been edited all you have to do now is add a small piece of code to the scipts you download so that it recognizes S.M.A.R.T. (Some newer scripts may already have this code)

Add this code
CODE
{.include SRL/SRL/Misc/Smart.Scar}


right before this code in the script
CODE
{.include SRL/SRL.Scar}.


So it should look something like this
CODE
Program (name of script)
{.include SRL/SRL/Misc/Smart.scar}
{.include srl/srl.scar}




STEP FOUR

Run Script
This is what the S.M.A.R.T game client will look like

Reduced: 93% of original size [ 771 x 567 ] - Click to view full image



FAQ

Why does S.M.A.R.T close when I start a script?
a. you didnt follow Step 3
b. You need download
Java 1.6 or higher for S.M.A.R.T. to work.

Is S.M.A.R.T detectable?
No. S.M.A.R.T. is not detectable since it does not modify the JageX RuneScape applet.

——————–


Spiritualowl

2008-03-20 22:54:34

Darn im sorry everyone but it wouldnt let me change the color of the writing

Runescapian321

2008-03-20 22:56:50

This is almost the exact same thing as this - http://www.villavu.com/forum/showthread.php?t=21279?t=23223

mixster

2008-03-21 18:05:15

It is the exact same thing except it looks like SmartSetupEx is used instead of SmartSetup. Also, it has random colours so anyone who tries to read it can't or becomes blind before the end.

Cazax

2008-03-21 18:13:37

Yes I stole this from another website but since this is a forum for cheating =P


Another website? another thread you meant.

Harry

2008-03-21 18:26:11

(S)he stole it from that crap website http://www.mmorpguides.com/ :p Look at the image in there for the "wink.gif" ;)

Zodia

2008-03-25 02:01:01

I can't find the Smart files. I download the latest versions, but I can't find it. I looked in the places it should be but I can't see or find it. If anyone can tell me where to download it please tell me.

KoKouKo

2008-03-25 02:20:33

isnt the best guide just making the file yourself then creating an extract0rz

then make the guide;
1) DL
2) Extract

Rich

2008-03-26 16:58:00

Worked for me. Cheers mate.

EDIT:

Works on one script that I have tested, but on another I get this error:

Line 8: [Error] (12638:11): Duplicate identifier 'MOVEMOUSE' in script D:\Program Files\SCAR 3.14\includes\SRL/SRL/Misc/Smart.Scar

EDITT: Never mind, got it going.

dver

2008-03-28 16:29:28

I have problesm with the thing the one above posted, how do i fix it ?

mixster

2008-03-30 06:18:05

Include SMART before SRL so it's

{.include SRL/SRL/misc/Smart.scar}
{.include SRL/srl.scar}
At the top of the file under the program.

slakan

2008-03-31 13:58:02

oki im a bit "new" in this smart stuff :P

ive followed the tut in smart section how i change smart and srl to run Smart .. i tryed this 4 times and i till got errors and stuff..

Under here ill show u what ive done and what i got..


_________________________________________________

This is my srl, change to do smart..

//----------------------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//----------------------------------------------------------------------------//
//-- by: Azeroth, Bebemycat2, BenLand100, benleegt, Boreas, c0de, --//
//-- Cheesehunk, Dankness, driger1592, Flyboy, Freddy1990, --//
//-- inferno, Kernel Klink, Knightstreak, Krazy_Meerkat, Krichevskoy, --//
//-- Lorax, Mad Cow, masquerader, moparisthebest, Mutant Squirrle, --//
//-- nielsie95, phantombmx, pups, Pyro, realrune, Renax, Ron, RsN, --//
//-- Solemn wishes, Spky, SRL, Starblaster100, Stupid3ooo, Sumilion, --//
//-- tarajunky, Wizzup?, WT-Fakawi, XxKanexX, Yakman, _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}

//----------------------------------------------------------------------------//
// -- 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/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/Core/FlagChat.scar}
{.include SRL/SRL/Core/Login.scar}
{.include SRL/SRL/Core/Mapwalk.scar}
{.include SRL/SRL/Core/Bitmap.scar}
{.include SRL/SRL/Core/DTM.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/Frog.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/ChatRandoms.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
{$IFDEF SMART}
SmartSetupEx(144,True,True);
wait(10000+random(5000));
SetTargetDC(SmartGetDC);
repeat
wait(100);
until(SmartGetColor(253, 233)<>1118604);
{$ENDIF}
MouseSpeed := 15;
CheckHPFirst := True;
Reincarnate := False;
TalkAfterRandoms := False;
RoadColor := 0;
WaterColor := 0;
BankColor := 0;
LampSkill := 'mining';
SetUpSRLReport;
SetMouseMode(false);
LoadCosineArrays;
SymbolAccuracy:= 0.8;
LoadNPCArray;
LoadSRLBitMaps;
SolveChatRandoms := True;
SetupSRLAutoResponder
UseSandWichSolver := True;
UseBoxSolver := True;
UseCerterSolver := True;
UseFindmod := True;
UseFindtrade := True;
Screenshots := False;
TheFile := RewriteFile(ScriptPath + 'ChatLog.txt', False);
Writeln ('SRL Compiled in '+ IntToStr(GetTimeRunning) + ' msec');
end;

This is my smart, change to do smart..

{$DEFINE SMART}
{
smart.scar overwrites the SCAR procedures.
You should always include this before any other include, even SRL.scar
}

procedure MoveMouse(x, y: Integer);
begin
SmartMoveMouse(x, y);
end;

procedure HoldMouse(x, y: Integer; left: Boolean);
begin
SmartHoldMouse(x, y, left);
end;

procedure ReleaseMouse(x, y: Integer; left: Boolean);
begin
SmartReleaseMouse(x, y, left);
end;

procedure KeyUp(key: Byte);
begin
If Key = 13 Then
Key := 10;
SmartReleaseKey(key);
end;

procedure KeyDown(key: Byte);
begin
If Key = 13 Then
Key := 10;
SmartHoldKey(key);
end;

procedure SendKeys(S: String);
begin
SmartSendKeys(S);
end;

procedure GetMousePos(var x, y: Integer);
begin
SmartGetMousePos(x, y);
end;

function GetColor(x, y: Integer): Integer;
begin
result:= SmartGetColor(x, y);
end;

procedure SmartSetTarget;
var
Smart_Bitmap: Integer;
begin
Smart_Bitmap:= BitmapFromString(765,503,'');
GetBitmapCanvas(Smart_Bitmap).Handle:= SmartGetDC;
SetTargetBitmap(Smart_Bitmap);
FreeBitmap(Smart_Bitmap);
end;

function FindWindow(Title: String): Boolean;
begin
result:= true;
end;

procedure ActivateClient;
begin
end;

function FindWindowBySize(Width, Height: Integer): Boolean;
begin
result:= true;
end;

procedure SmartSetupEx(worldnumber: integer; hiDetail, signed: boolean);
var
prefix: string;
begin
prefix := ReadINI('World' + IntToStr(worldnumber), 'Prefix', AppPath + 'includes\SRL\SCSS\worlds.ini');
if(prefix = '')then
begin
writeln('Invalid world number or corrupted world list. Please review your settings');
TerminateScript;
end;
SmartSetup(prefix, hiDetail, signed);
end;



When i open lets take Varrock_East_Smart_miner_By_MK_V12_rev14

and it have this on the top:

{.include SRL/SRL/Misc/Smart.scar}
{.include srl/srl.scar}
Var
RError, TotalLoadsDone, x, y, LogyIn, responds, attack, rx, ry, MDTM: integer;
IronMined, CombatLvl, TotalIronMined, bankers, howmany, counz, BankDTM: integer;
IronOreBFS, PRes, index, MineW, RespTime, FD, NumberOfResponds: Integer;
kkzf, OkiClick, PF, Wield, FSetup: boolean;
upzor, onezor, twozor: string;
randomminetext: array [0..14] of String;
Question: array of String;
RespondNo: array of array of String;

Ive read that u had to have the smart includes, but i still get this error: or bug idk

Include file C:\Program Files\SCAR 3.15\includes\SRL\SRL\Core\Bitmap.scar does not exist.
Include file C:\Program Files\SCAR 3.15\includes\SRL\SRL\Core\DTM.scar does not exist.
Failed when compiling

Now u see im missing files, when i go scar - tools - srl download and do check it get back at normal..

When i try the tut again i get the same problem xD i like change what i should change in smart and srl and when i load a smart script MADE off the pros i get this missing files..

Help?

Markus

2008-03-31 15:44:33

Clearly a rip of a rip of my tut: http://64.233.183.104/search?q=cache:X5Fvqh55_Q0J:www.mmorpguides.com/forum/index.php%3Fshowtopic%3D7674+%22%7B%24IFDEF+SMART%7D%22&hl=nl&client=firefox-a&gl=nl&strip=1
Even the coords are the same wtf? Only SmartSetup -> SmartSetupEx,

Spiritualowl

2008-04-10 20:48:01

If it makes everyone happy i got it from http://www.mmorpguides.com
I payed for a year and then realized it is really bad and not much works on there
but…. I found the smart guide really useful so i decided since I love Srl so much
Ill gift the site with it It helped me maybe it will help others as well.

Yes i got it from crap site lol

:garfield:

hillsidenight

2008-11-17 19:14:07

Ok! seriously guys, leave him alone, he just posted a tut.

Who cares if it came from a bad website, stop bugging him about it! This should be considered spam!


Thanks for trying to help anyways spiritual

pikoparty

2008-11-20 15:06:20

cool, thank you

staffa

2008-12-05 06:13:44

When I start a script it automatically goes to srl.scar and this error pops up
Line 88: [Error] (16309:28): Invalid number of parameters in script C:\Program Files\SCAR 3.15\includes\srl/srl.scar
Any help?

Santa R. Claus

2008-12-06 16:43:39

ok im stuck one step one sad but when i go into includes there is just a notepad file in there no srl or anything what do i need to do or download
ps. i have scar 3.15 but i went into the 3.14 file

poopy2177

2008-12-06 18:45:38

i keep getting this error:

Line 89: [Error] (16200:1): Unexpected end of file in script C:\Program Files (x86)\SCAR 3.15\Includes\SRL\SRL.sca

heres what my line 89 looks liks:

wait(10000+random(5000));

isnt that right please help!

staffa

2008-12-07 06:37:04

ok ok, I have one more problem.
Line 8: [Error] (16417:11): Duplicate identifier 'MOVEMOUSE' in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Misc/Smart.Scar
I've done two tutorials and this is the final error I get.
Any Help??:confused:

Spiritualowl

2009-01-22 03:31:18

try updating scar atm smart is bugging up with the rs updates

runegold

2009-01-22 20:24:44

works well, no problems