SRL Archive - S.M.A.R.T. Questions and Answers.

Fight cave help


gaetano

2008-03-04 18:05:01

Hey, ive been trying to work hy's fight cave on smart, it loads up perfectly but it wont log in. help anyone?

hessels92

2008-03-05 01:49:01

wat settings u used

shrubie1

2008-03-05 03:43:08

when it gets to log in screen click back on the scar and see if it says "everything is looking good"
doing "(insert number here)" number of runs.

StrikerX

2008-03-05 04:26:32

try using version 1.75 of the fight cave runner

gaetano

2008-03-05 08:40:36

From: shrubie1
when it gets to log in screen click back on the scar and see if it says "everything is looking good"
doing "(insert number here)" number of runs.


No it just said somthing sucsessfully w.e

mixster

2008-03-05 10:58:41

Please post in the right help section - this is for SMART help. Also, post errors with a persons script in their topic/pm them.

VivaLaRofl

2008-03-05 11:07:22

Line 40 50 should be this:

program Hy71194FightCaveRunner; // Hy71194 was here. =P
{.include SRL/SRL/Misc/Smart.scar}
{.include SRL/SRL.scar}

And lines 2153 to 2154 should be this:

  SmartSetupex(159, False, True);
SetTargetDC(SmartGetDC);
Or as the whole procedure(Starting from line 2147 - 2195):

//-----------------------------------------------------------------\\
{ SetMeUp - Sets up the script ||
\\-----------------------------------------------------------------//}
procedure SetMeUp;
begin

SmartSetupex(159, False, True);
SetTargetDC(SmartGetDC);
SetupSRL;
Top := True;
MouseSpeed := MouseSpeedz + Random(3) - Random(3);
BeforeSleep := TotalNeeded + Random(10) - Random(10);
HDebug('MouseSpeed := '+IntToStr(MouseSpeed));
WriteLn('Doing '+IntToStr(BeforeSleep)+' runs before our next sleep! (Random Values added to TotalNeeded)');
s := 0; // For Debug saving.
VersionChecker;
SaveDebug; // Push 'Always Allow For This Folder'!!! :)
MarkTime(EnterMark);
ScriptID := '322';
SRLID := YourSRLID;
SRLPassword := YourSRLPassword;
DisguiseMySCAR;
DeclareMyPlayers;
CheckMeOut;
WriteLn('Everything looks good, now starting script... :)');
//Wait(1000+Random(1000));
// LoginPlayer now does activate client; Minimizing SCAR messed up the ActiveWindow... :( //GetApplication.Minimize; // Minimises SCAR (It is like ActivateClient, only better! (Doesn't make SCAR ever loose focus)) :P
Wait(1000+Random(1000));
if LoggedIn then
begin
Logout;
Wait(200+Random(1000));
//LoginPlayer;
end;
SwitchWorld;
LoginPlayer; // Fail-safe.
GameTab(1);
CBLevel := GetCombatLevel;
RetaliateMe;
GetAllLevels;
SetRun(True);
Weapons;
Chats;
GameTab(4);
FindNormalRandoms;
SetAngle(True);
RuneScapeClan;
StartTime := GetSystemTime;
end;

And just change the:

  SmartSetupex(159, False, True);

Line to whatever number, DO NOT EDIT THE REST. The "159" part is the world you want to load; MUST BE P2P.

Hope this helped.

gaetano

2008-03-05 16:18:29

From: VivaLaRofl
Line 40 50 should be this:

program Hy71194FightCaveRunner; // Hy71194 was here. =P
{.include SRL/SRL/Misc/Smart.scar}
{.include SRL/SRL.scar}

And lines 2153 to 2154 should be this:

  SmartSetupex(159, False, True);
SetTargetDC(SmartGetDC);
Or as the whole procedure(Starting from line 2147 - 2195):

//-----------------------------------------------------------------\\
{ SetMeUp - Sets up the script ||
\\-----------------------------------------------------------------//}
procedure SetMeUp;
begin

SmartSetupex(159, False, True);
SetTargetDC(SmartGetDC);
SetupSRL;
Top := True;
MouseSpeed := MouseSpeedz + Random(3) - Random(3);
BeforeSleep := TotalNeeded + Random(10) - Random(10);
HDebug('MouseSpeed := '+IntToStr(MouseSpeed));
WriteLn('Doing '+IntToStr(BeforeSleep)+' runs before our next sleep! (Random Values added to TotalNeeded)');
s := 0; // For Debug saving.
VersionChecker;
SaveDebug; // Push 'Always Allow For This Folder'!!! :)
MarkTime(EnterMark);
ScriptID := '322';
SRLID := YourSRLID;
SRLPassword := YourSRLPassword;
DisguiseMySCAR;
DeclareMyPlayers;
CheckMeOut;
WriteLn('Everything looks good, now starting script... :)');
//Wait(1000+Random(1000));
// LoginPlayer now does activate client; Minimizing SCAR messed up the ActiveWindow... :( //GetApplication.Minimize; // Minimises SCAR (It is like ActivateClient, only better! (Doesn't make SCAR ever loose focus)) :P
Wait(1000+Random(1000));
if LoggedIn then
begin
Logout;
Wait(200+Random(1000));
//LoginPlayer;
end;
SwitchWorld;
LoginPlayer; // Fail-safe.
GameTab(1);
CBLevel := GetCombatLevel;
RetaliateMe;
GetAllLevels;
SetRun(True);
Weapons;
Chats;
GameTab(4);
FindNormalRandoms;
SetAngle(True);
RuneScapeClan;
StartTime := GetSystemTime;
end;

And just change the:

  SmartSetupex(159, False, True);

Line to whatever number, DO NOT EDIT THE REST. The "159" part is the world you want to load; MUST BE P2P.

Hope this helped.


TYSM MAN IT WORKS NOW!!!!!!!!!!!!! LIFE SAVER!

Harry

2008-03-05 16:23:15

You probably forgot SetTargetDC ;)

VivaLaRofl

2008-03-06 03:12:35

From: gaetano
TYSM MAN IT WORKS NOW!!!!!!!!!!!!! LIFE SAVER!


No problem, what I learn I share.

From: Hy71194
You probably forgot SetTargetDC ;)


Probably. Also, you don't mind me posting what I did, do you? I know some script makers are highly against the use of SMART with their scripts..