SRL Archive - S.M.A.R.T. General and Q/A.

Aww... Im SoOoOoOo Confused!!!


Timer

2007-11-19 16:13:54

Ok, would some one please be nice enuf to take the time to explain this to me…

ok i doified srl.scar like markus said…

I run the script…

scar Dissaperes…

I wait and wait..

A RS client Never Opens…
( i don't have one open…, shouldn't SMART open a web browzer on its own…? )

I re open scar… try to re open and run the script.

error appears…

i restart scar again…

i can run a script!

it repeats..


Now Would Somone please tell Me Where SCAR goes to and why isn't runescape poping up..??? could some on please explain to me how to get this strait??? im just so frusterated…, i feel, i don't know, just bad…

Hugolord

2007-11-19 16:15:30

You need ot add er :

SmartSetup('at8', false, false); while not(SmartReady) do Wait(100); SetTargetDC(SmartGetDC);

on your script

legendaryhero90

2007-11-19 16:18:06

1.do you have the smart plugin in the folder?

2.did you modify the scripts so they are smart compatible?

Markus

2007-11-19 16:19:01

Get at msn, I help you out :)

munk

2007-11-19 16:20:26

get the newest java update. I had this problem on one of my computer and i look in the system tray and it says "java update available", updated, worked fine :D

Timer

2007-11-19 16:20:27

ok here you don't understand, lets recap…

Iv done nothing eccept download SMART and The SMART.dll and Edit Smart.scar + SRL.scar See… and now…??? the problem above… lol

{$DEFINE SMART}

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
SmartReleaseKey(key);
end;

procedure KeyDown(key: Byte);
begin
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;

//----------------------------------------------------------------------------//
//-- 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/DoorProfiles.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/Setup.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/ChatRandoms.scar}
{.include SRL/SRL/Core/AntiRandoms/AntiRandoms.scar}
{.include SRL/SRL/Core/AntiBan.scar}
{.include SRL/SRL/Core/Amount.scar}
{.include SRL/SRL/Core/Users.scar}

{*******************************************************************************
procedure SetupSRL;
by: SRL Dev Team
Description: Sets up all variables needed to run SRL.
*******************************************************************************}

procedure SetupSRL;
begin
{$IFDEF SMART}
SmartSetup('swe2', False, True);
Repeat
Wait(5000);
Until(SmartReady);
SetTargetDC(SmartGetDC);
repeat
wait(2000);
until(SmartGetColor(253, 233)<>1118604);
{$ENDIF}
MouseSpeed := 15;
NickNameBMP := 0;
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(AppPath + 'ChatLog.txt', False);
Writeln ('SRL Compiled in '+ IntToStr(GetTimeRunning) + ' msec');
end;

I'm So0o0o0o0o0o0o0o0o0o0 sad im being left out of all the fun!

Hugolord

2007-11-19 16:22:49

you need to declare it in your script -,-

legendaryhero90

2007-11-19 16:23:00

ok…

so answer my second question.

did you modify the script your trying to use to be compatible with SMART?

Timer

2007-11-19 16:26:44

all i gotta do is add
{.include SMART.scar}//before SRL.scar and Call SetupSRL; see in that procedure look in the code, and umm Markus... ow about Ventrilo but in Private?

//----------------------------------------------------------------------------//
//-- 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/DoorProfiles.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/Setup.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/ChatRandoms.scar}
{.include SRL/SRL/Core/AntiRandoms/AntiRandoms.scar}
{.include SRL/SRL/Core/AntiBan.scar}
{.include SRL/SRL/Core/Amount.scar}
{.include SRL/SRL/Core/Users.scar}

{*******************************************************************************
procedure SetupSRL;
by: SRL Dev Team
Description: Sets up all variables needed to run SRL.
*******************************************************************************}

procedure SetupSRL;
begin
{$IFDEF SMART}
SmartSetup('swe2', False, True);
Repeat
Wait(5000);
Until(SmartReady);
SetTargetDC(SmartGetDC);
repeat
wait(2000);
until(SmartGetColor(253, 233)<>1118604);
{$ENDIF}
MouseSpeed := 15;
NickNameBMP := 0;
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(AppPath + 'ChatLog.txt', False);
Writeln ('SRL Compiled in '+ IntToStr(GetTimeRunning) + ' msec');
end;

legendaryhero90

2007-11-19 16:30:47

did you ever try calling SMART.scar in the script that you are using?

program HELP TIM BLAH BLAH
{.include smart.scar}
{.include SRL/SRL.scar}

or if you did do that… did you ever add the

  SmartSetup('po2', false, true);
while not(SmartReady) do Wait(100);
SetTargetDC(SmartGetDC);

to the beginning of your script's mainloop?

Timer

2007-11-19 16:34:08

at the beggining is Setupsrl; ehh… see –>>>

{*******************************************************************************
procedure SetupSRL;
by: SRL Dev Team
Description: Sets up all variables needed to run SRL.
*******************************************************************************}

procedure SetupSRL;
begin
{$IFDEF SMART}
SmartSetup('swe2', False, True);
Repeat
Wait(5000);
Until(SmartReady);
SetTargetDC(SmartGetDC);
repeat
wait(2000);
until(SmartGetColor(253, 233)<>1118604);
{$ENDIF}
MouseSpeed := 15;
NickNameBMP := 0;
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(AppPath + 'ChatLog.txt', False);
Writeln ('SRL Compiled in '+ IntToStr(GetTimeRunning) + ' msec');
end;

legendaryhero90

2007-11-19 16:39:17

im not talking about SRL.scar

im talking about the script that you are using to auto like, wizzup's ess miner, fakawi's smelter, COWz, L.A.M.E, etc.

did you try putting {.include smart.scar} on top of the {.include SRL/SRL.scar} in the script

and

did you declare Smartsetup in the beginning of the mainloop of the script

Markus

2007-11-19 16:40:43

It looks allright.
Be sure to include smart.scar BEFORE srl.
If you did and it still doesn't work then redownload Scar 3.13

Timer

2007-11-19 16:44:50

yes see
Program DraynorNetter;

{.include Smart.scar}
{.include SRL\SRL.scar}

then the main loop

Begin
SetupSRL;
{then the rest of the main loop...}

(this is for personal uses…)

see though…

SetupSRL
{*******************************************************************************
procedure SetupSRL;
by: SRL Dev Team
Description: Sets up all variables needed to run SRL.
*******************************************************************************}

procedure SetupSRL;
begin
{$IFDEF SMART}
SmartSetup('swe2', False, True);
Repeat
Wait(5000);
Until(SmartReady);
SetTargetDC(SmartGetDC);
repeat
wait(2000);
until(SmartGetColor(253, 233)<>1118604);
{$ENDIF}
{ The Rest Of SetupSRL well, kinda SetupSRL... LOL }

legendaryhero90

2007-11-19 16:47:11

1. update java?

2.should just probably re-download 3.13

EDIT:

did you add {$DEFINE SMART} to the first line of Smart.scar???

Markus

2007-11-19 16:50:34

@legendary: his setupsrl calls pmartsetup ;)

Redownload 3.13
Install newest Java.
Redownload SMARtT.

Timer

2007-11-19 16:51:32

yes i added that, and I cant get any newer version of JAVA, i got a ME not XP and the newer Versions are NOT Compadible With My Computer… :(

SMART Cries For Me…

Why Don't I Get To Use S…:( M…:( A…:( R…:( T…?

Infantry001

2007-11-19 18:15:23

Aww man. ME doesn't support the latest javas? That really sucks for you. You need the latest one to run SMART…

Timer

2007-11-19 19:53:10

Me only gets up to JAVA version 5 update 14 no version 6… =[

but do I have to open up runescape?

could some one PLEASE make me a video!!!

legendaryhero90

2007-11-19 20:41:02

From: Timer150
Me only gets up to JAVA version 5 update 14 no version 6… =[

but do I have to open up runescape?

could some one PLEASE make me a video!!!


no you dont have to open up anything except SCAR

run the script and the SMART browser comes up by itself

*poof* like magic and a little red dot on the browser does all the clicking and you can minimize it as much as you want.

the Freedom of SMART! AHHHH! it feels nice

*that's if it doesnt lag LOL*

RAM

2007-11-19 20:41:07

From: Timer150
Me only gets up to JAVA version 5 update 14 no version 6… =[

but do I have to open up runescape?

could some one PLEASE make me a video!!!


Looks like you're going to have to upgrade your OS to XP, before you can upgrade your JAVA…..

Timer

2007-11-20 17:42:54

Well, my Fucking Dad won't buy me a new one… my Mom agress but not me Dad… :(

Sorry for da language…

RAM

2007-11-20 17:53:39

Just upgrade your Operating System to XP from your previous version…. search in the VM/Computer help section, same principle as installing an Operating System to a virtual machine…. There are certain versions that don't require you to have a license..Tiny XP, Crystal XP, etc….

Good Luck,

~RAM

Timer

2007-11-20 18:17:22

nah I convinced my mom to sweet talk my dad, to get a Windows XP 80GB Mem, 1/2 gig of Ram (like 548 MB or what ever), brand NEW witch includes and update to Windows Vista Bissness + Quick Books PRO for $90 when evr I want :D

FrÕzÑ_§ÕµL

2007-11-28 03:37:30

LMAO lucky you. I hate XP, its rediculous, so many process for nothing (used to rune bout 40-50). Vista is horrible! My mates got it and to move a file he has to click yes like 3 times! Uh rediculous! So I simply download torrent of TinyXP rev06 hehe, works like a dream, starts with 12 processes, can disable what you want, works perfect like normal XP, perfect add blocker, especially good for F2P RS :P At most processes I ever run now is 25 hehe! Go eXPerience, he is the man!