Should i use the FindFastRandom or Normal?
I'd use fast it sounds better, and i think it is better![]()
Should i use the FindFastRandom or Normal?
I'd use fast it sounds better, and i think it is better![]()
FindFastRandoms; (By wt-fakawi of course, and you have to give credits if you use it) Only looks for randoms that can't be solved and other things that aren't included in FindNormalRandoms; like mod detection, checks for scape rune, evil bob.....etc. and FindNormalRandoms; handles fights, talks, lunch lady, mystery boxes.....etc. So you need to call for FindNormalRandoms; , and you could/should use FindFastRandoms as well.
Ok, I'll put a comment on caps "MADE BY WT-FAKAWI THE LEGENDARY SUPER SCRIPTER!" You think he will be happy about that?
EDIT: Where's the FindFastRandoms procedure in?
My script JAD WillowGet it, test it then copy the find fast randoms function
![]()
And I mean in what SRL folder is the FindFastRandoms or is it just a lil piece of script or what?
Btw this is off-topic but what do the things next to avatars of the members mean? Like u got a nurse-teddy? What does it mean![]()
Its not in the SRL manual, its something people put in there scripts and credit others for.
And that would be my helpers cup I am very proud of gettingYou get those when you do things (members only) I help a lot of people for scripting help so somebody (probably fakawi) gave me that. You can get the tutorial writers cup if you write some good tutorials, scripting cup for being a really good scripter...etc. Theres a stickied thread on what all there are and what they are for in general site discussion I think.
try this ...
make Sure You include {.include SRL/SRL/Misc/Trade.scar}
or somthing like that....
SCAR Code:Function FindFastRandoms: Boolean; // By * WT-Fakawi * Edit By SKy
var
i: Integer;
begin
for i:=1 to 13 do
begin
case I of
1: If FindDead then
Result := True;
2: If FindMod then
Result := True;
3: If FindMime then
Result := True;
4: If FindMaze then
Result := True;
5: If FindQuiz then
Result := True;
6: If FindDemon then
Result := True;
7: begin
if NoGameTab then
begin
Result := True;
Players[CurrentPlayer].loc := 'No GameTab';
Logout;
Exit;
end;
end;
8: begin
If InBlack then
begin
Result := True;
Players[CurrentPlayer].loc := 'InBlack';
Logout;
Exit;
end;
end;
9 : If RC Then Result := True;
10 : If FindFight Then
Begin
Result := True;
MakeCompass('N');
RunTo(RunDir, True);
MakeCompass('N');
End;
11: If FindTalk Then Result := True;
12: If HandleTrade Then Result := True;
13: If FindNormalRandoms then result := True;
End;
Wait(1);
end;
end;
Code:Function FindFastRandoms: Boolean; var i: Integer; begin for i:=1 to 8 do begin case I of 1: If FindDead then Result := True; 2: If FindMod then Result := True; 3: If FindMime then Result := True; 4: If FindMaze then Result := True; 5: If FindQuiz then Result := True; 6: If FindDemon then Result := True; 7: begin if NoGameTab then begin Result := True; Players[CurrentPlayer].loc := 'No GameTab'; Logout; Exit; end; end; 7: begin if InBlack then begin Result := True; Players[CurrentPlayer].loc := 'InBlack'; Logout; Exit; end; end; 8: RC; end; wait(1); end; end;The function (FindFastRandoms) itself was initially invented because there are certain randoms you need to search a lot more times than others.Code:function FindNormalRandoms: Boolean; var i: Integer; begin for i := 1 to 16 do begin case I of 1: CloseWindow; 2: if FindTalk then Result := True; 3: if FindDead then Result := True; 4: if FindMod then Result := True; 5: if FindMime then Result := True; 6: if FindMaze then Result := True; 7: if FindQuiz then Result := True; 8: if FindDemon then Result := True; 9: if FindScapeRune then Result := True; 10: if FindTalk then // Call it twice Result := True; 11: if FindLamp(LampSkill) then // Maybe we missed it? Result := True; 12: if (FindNewBox) then begin Result := True; if (UseBoxSolver) then SolveBox else GambleNewBox; end; 13: if FindTrade then Result := True; 14: begin if NoGameTab then begin Result := True; Players[CurrentPlayer].loc := 'No GameTab'; Logout; Exit; end; end; 15: SaveToChatLog; 16: if RC then Result := True; end; Wait(1); end; end;
For example, FindTalk you have to have that almost every everywhere... (it's inside FindNormalRandoms).
What I like to do...
FindTalk - almost all the times
FindFastRandoms - 3 seconds or something
FindNormalRandoms - 8 - 10 seconds..
So it wouldn't be smart just to use one of the things because you'll miss some randoms, get me?
But it's fine to just call FindNormalRandoms... it has everything.. except skill related randoms..
Look through the functions and compare them. Then you know what this function is missing and what this one can be useful for.
There are currently 1 users browsing this thread. (0 members and 1 guests)