Coh3n
2012-03-05 19:41:46
Cheers,
The SRL Development Team
2012-03-05 19:41:46
2012-03-05 22:27:58
[Hint] C:\Simba\Includes\SRL/SRL/core/antirandoms\beekeeper.simba(194:3): Variable 'T' never used at line 193
[Error] (1788:3): Unknown identifier 'ScreenShots' at line 1787
Compiling failed.
2012-03-06 01:16:38
From: SytherixOh I didn't realize I changed that variable name.
Hey Coh3n, I'm not sure if this is general or specific to the random. I've only just started out and I'm not sure what I'm doing wrong.
When trying to use Narcle's [AK]Smelter I get the error:
I replaced "ScreenShots := true;" with "SRL_RandomScreenShot := true;" and it compiled fine. However as soon as it logged in, it "detected" the Freaky Forester random even though I was not in a random.
I hope I haven't post this in the wrong section.
2012-03-06 08:23:00
From: Coh3n
Oh I didn't realize I changed that variable name.
And you could have posted in the forester thread, but it's okay. You now know for next time. :)
Does that happen every time? Also, where were you? It first checks if the magic tabs exists, if not, it'll see if there's more than 10 NPCs on the minimap, then it checks for an excess of green on the minimap.
2012-03-06 13:39:26
From: SytherixIf findNormalRandoms is called when the bank is open, then yes that could be a problem. I'll add a bankScreen check for the next version.
I don't know about the magic tab though, I certainly had my magic tab there. Actually on afterthought, when banking you no longer have your magic tab - could that be an issue when scanning for randoms?
2012-03-07 01:49:18
From: Coh3n
If findNormalRandoms is called when the bank is open, then yes that could be a problem. I'll add a bankScreen check for the next version.
2012-03-07 11:38:26
2012-03-07 14:59:20
From: YoHoJoClickNorth(SRL_ANGLE_LOW) is called when Mime is detected. You're saying there should be another check?
I think the Mime could use a double check for proper compass angle and setangle after entering. It wouldn't hurt and I entered mine and was at N but a weird setangle.
2012-03-14 15:55:12
2012-03-14 19:24:06
2012-03-15 16:26:28
2012-03-15 16:54:01
2012-03-15 18:45:06
2012-03-16 10:01:36
2012-03-16 15:37:17
2012-03-17 01:54:21
From: Rob17You just have to add this to your script. :)
Hi
Im new here, and not very good with all this
I just wanted to know how do you actually make the script do randoms
sorry if i sound nooby? :/
FindNormalRandoms();
From: clinkton5That means no randoms were detected. If you were in one and it wasn't detected, either the detector is broken (which I don't think is the case), or the script isn't calling FindNormalRandoms.
no my debug logs r not there the only thing in the logs is current user: and then my username
From: clinkton5Please don't double post, that's what the edit button is for. ;)
here is debug log for quiz random
[00:36:19]: ***** Found Random: Quiz Master *****
[00:36:22]: Quiz_ScanItem: Trout Fish Big, with a score of 0
[00:36:23]: Quiz_ScanItem: Tuna Fish Big, with a score of 2
[00:36:25]: Quiz_ScanItem: Ring Small, with a score of 2
[00:36:25]: GetTROAUse: UseNames - ['Edible', 'Jewelry']
[00:36:25]: GetTROAUse: UseCounts - [2, 1]
[00:36:25]: GetTROAUse: Result - Edible
[00:36:25]: Quiz_SolveQuestion: We need to pick Ring Small at slot 3
[00:36:27]: Quiz_Solve: Answered question wrong
[00:36:29]: Quiz_ScanItem: Trout Fish Big, with a score of 0
[00:36:31]: Quiz_ScanItem: Tuna Fish Big, with a score of 2
[00:36:32]: Quiz_ScanItem: Trout Fish Small, with a score of 2
[00:36:32]: GetTROAUse: UseNames - ['Edible']
[00:36:32]: GetTROAUse: UseCounts - [3]
[00:36:32]: GetTROAUse: Result - Edible
2012-03-17 11:12:31
[00:12:08]: ***** Found Random: Mordaut *****
[00:12:12]: MD_IDSmallPuzzle: Identifying puzzle
[00:12:12]: MD_IDSmallPuzzle: Scanning objects...
[00:12:35]: MD_IDSmallPuzzle: Objects scanned
[00:12:35]: MD_IDSmallPuzzle: Didn't ID puzzle
[00:12:35]: MD_IDSmallPuzzle: Identifying puzzle
[00:12:35]: MD_IDSmallPuzzle: Scanning objects...
[00:12:58]: MD_IDSmallPuzzle: Objects scanned
[00:12:58]: MD_IDSmallPuzzle: Found Small Puzzle: Weapons (3/3 objects)
[00:12:58]: MD_SolveSmallPuzzle: Solving...
[00:13:21]: MD_SolveSmallPuzzle: Found Mace in slot 7
[00:13:23]: MD_SolveSmallPuzzle: Solved Small Puzzle: Weapons
[00:13:23]: MD_Solve: Incorrectly solved puzzle
[00:13:27]: MD_IDSmallPuzzle: Identifying puzzle
[00:13:27]: MD_IDSmallPuzzle: Scanning objects...
[00:13:49]: MD_IDSmallPuzzle: Objects scanned
[00:13:49]: MD_IDSmallPuzzle: Found Small Puzzle: Smithing (2/3 objects)
[00:13:49]: MD_SolveSmallPuzzle: Solving...
[00:14:03]: MD_SolveSmallPuzzle: Found Bar in slot 6
[00:14:05]: MD_SolveSmallPuzzle: Solved Small Puzzle: Smithing
[00:14:09]: MD_IDSmallPuzzle: Identifying puzzle
[00:14:09]: MD_IDSmallPuzzle: Scanning objects...
[00:14:31]: MD_IDSmallPuzzle: Objects scanned
[00:14:31]: MD_IDSmallPuzzle: Found Small Puzzle: Combat (2/3 objects)
[00:14:31]: MD_SolveSmallPuzzle: Solving...
[00:14:55]: MD_SolveSmallPuzzle: Didn't find bottom objects, try 1
[00:15:20]: MD_SolveSmallPuzzle: Didn't find bottom objects, try 2
[00:15:45]: MD_SolveSmallPuzzle: Didn't find bottom objects, try 3
[00:15:51]: MD_SolveSmallPuzzle: Found Platebody in slot 5
[00:15:54]: MD_SolveSmallPuzzle: Solved Small Puzzle: Combat
[00:15:55]: MD_Solve: Incorrectly solved puzzle
[00:15:58]: MD_IDSmallPuzzle: Identifying puzzle
[00:15:58]: MD_IDSmallPuzzle: Scanning objects...
[00:16:19]: MD_IDSmallPuzzle: Objects scanned
[00:16:19]: MD_IDSmallPuzzle: Found Small Puzzle: Drink (2/3 objects)
[00:16:19]: MD_SolveSmallPuzzle: Solving...
[00:16:45]: MD_SolveSmallPuzzle: Didn't find bottom objects, try 1
[00:17:10]: MD_SolveSmallPuzzle: Didn't find bottom objects, try 2
[00:17:36]: MD_SolveSmallPuzzle: Didn't find bottom objects, try 3
[00:18:02]: MD_SolveSmallPuzzle: Didn't find bottom objects, try 4
[00:18:31]: MD_SolveSmallPuzzle: Didn't find bottom objects, try 5
[00:18:31]: MD_IDSmallPuzzle: Identifying puzzle
[00:18:31]: MD_IDSmallPuzzle: Scanning objects...
[00:18:52]: MD_IDSmallPuzzle: Objects scanned
[00:18:52]: MD_IDSmallPuzzle: Didn't ID puzzle
[00:18:52]: MD_IDSmallPuzzle: Identifying puzzle
[00:18:52]: MD_IDSmallPuzzle: Scanning objects...
[00:19:12]: MD_IDSmallPuzzle: Objects scanned
[00:19:12]: MD_IDSmallPuzzle: Didn't ID puzzle
[00:19:12]: MD_IDSmallPuzzle: Identifying puzzle
[00:19:13]: MD_IDSmallPuzzle: Scanning objects...
[00:19:28]: MD_IDSmallPuzzle: Objects scanned
[00:19:28]: MD_IDSmallPuzzle: Didn't ID puzzle
[00:19:28]: MD_IDSmallPuzzle: Identifying puzzle
[00:19:28]: MD_IDSmallPuzzle: Scanning objects...
[00:19:41]: MD_IDSmallPuzzle: Objects scanned
[00:19:41]: MD_IDSmallPuzzle: Didn't ID puzzle
[00:19:42]: MD_IDSmallPuzzle: Identifying puzzle
[00:19:42]: MD_IDSmallPuzzle: Scanning objects...
[00:20:03]: MD_IDSmallPuzzle: Objects scanned
[00:20:03]: MD_IDSmallPuzzle: Found Small Puzzle: Boots (2/3 objects)
[00:20:03]: MD_SolveSmallPuzzle: Solving...
[00:20:32]: MD_SolveSmallPuzzle: Didn't find bottom objects, try 1
[00:20:59]: MD_SolveSmallPuzzle: Didn't find bottom objects, try 2
[00:21:15]: MD_SolveSmallPuzzle: Didn't find bottom objects, try 3
[00:21:19]: MD_SolveSmallPuzzle: Didn't find bottom objects, try 4
[00:21:27]: MD_SolveSmallPuzzle: Didn't find bottom objects, try 5
[00:03:52]: ***** Found Random: Rewards *****
[00:03:52]: RD_SolveBox: Found reward box
[00:03:58]: RD_Solve: Didn't solve reward, dropping as a failsafe
[00:03:58]: ***** Solved Random: Rewards *****
[00:03:58]: ***** Found Random: Rewards *****
[00:03:58]: RD_SolveBox: Found reward box
[00:04:00]: RD_Solve: Didn't solve reward, dropping as a failsafe
[00:04:02]: ***** Solved Random: Rewards *****
[00:31:41]: ***** Found Random: Frog *****
[00:31:50]: Frog_ClickRoyal: Clicked a frog
[00:32:01]: Frog_ClickRoyal: Clicked a frog
[00:32:14]: Frog_ClickRoyal: Clicked a frog
[00:32:18]: Frog_WaitChat: Clicked wrong frog
[00:32:22]: Frog_ClickRoyal: Clicked a frog
[00:32:23]: Frog_WaitChat: Talking to the Royal Frog
[00:32:36]: ***** Solved Random: Frog *****
[00:32:37]: ***** Found Random: Rewards *****
[00:32:37]: RD_SolveBox: Found reward box
[00:32:38]: RD_Solve: Didn't solve reward, dropping as a failsafe
[00:32:40]: ***** Solved Random: Rewards *****
2012-03-17 13:11:26
2012-03-17 18:53:07
From: Coh3n
^ According to that, it solved Frog just fine. You debug text is incomplete for Mordaut, and the Reward box will be dropped if the uptext isn't found (which can happen depending on the background).
E: In the last 2 days SRL has solved, for me, Drill Demon, Quiz, Mordaut, Beekeeper, and Pinball.
2012-03-17 19:44:37
From: xtrapspIt's enabled by default. The logs are quite detailed (detailed enough, anyway), so if you just posted it I'm sure it would help.
hmm since then it's done 2 more but the logs are really short… I'l try and get some more detailed logs. I should enable debug?
2012-03-19 19:04:16
2012-03-19 19:21:39
2012-03-20 15:50:12
From: wazzzupRead the title of the thread.
I suggest a thread in the Anti Randoms section stating which randoms are working and which aren't, with dates of when each is disabled. It would help developers/scripters efficiently and quickly get to where they need to be without having to waste time going through each thread and seeing where people are at with it?
2012-03-21 21:37:17

{$DEFINE SRL5}
{$DEFINE CRASHSMART}
{$DEFINE SMART}
{$i SRL/srl.simba}
Procedure RandomCheck;
var
OldStatus: String;
begin
if FindNormalRandoms then
begin
SRLRandomsReport;
end;
end;
begin
Smart_Server := 72;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
RandomCheck;
MMouse(MSCX, MSCY, 0, 0); //Takes 15 seconds before this line executes..
end.
2012-03-22 00:37:43
2012-03-22 00:40:40
From: Coh3n
Did you modify your SRL at all? That doesn't happen to me (and yes, I ran your example script).

2012-03-22 00:50:04
2012-05-05 04:45:24
2012-05-05 07:18:01
From: starrychelx
hi just a quick question. Have the randoms already been updated onto the client or do I have to add them myself? Thanks in advance!
2012-05-07 19:36:03
2012-05-07 19:38:40
From: rs2info
Is there a way you can select your rewards? Every time I have a lamp in my inventory it automatically uses it on Attack, which I do not want….
BoxRewards := ['']; // put what you want in quotation marks
2012-05-07 19:42:47
2012-05-07 21:28:39
2012-05-10 18:16:45
2012-05-15 16:10:53
2012-05-18 15:15:37
From: Scruff
Not sure this is the right place, but can you pick which reward you get after completing the random? The script I am running keeps picking the random box reward, and I would prefer a lamp.
Thanks.
2012-05-20 15:16:27
if not FindAllRandoms then
begin
// handle failed random
end;2012-06-01 10:15:19
2012-06-01 10:25:35
From: Creath
I think there must be an issue with SMART, or something similar. SRL RandomTool has failed like almost every random I've come across, even ones that claim to be working.
I've failed:
Mime
Pillory
Maze
Classroom
And more, I'm sure.
The only randoms I can recall working correctly are the Sandwhich Lady and the Abyss Teleporter (Clicked on the same pipe over and over, but it worked so I suppose that's fine).
People are reporting that all of these are working fine for them, and that problems may be caused by SMART lag. I have a quadcore with 4GB RAM so I don't think it's on my computers end, is there another issue and a possible fix?
2012-06-01 15:25:51
From: [J]ustin
Yes some randoms are broken but as you can see, people don't post logs/pm account details any more so the Random team are unable to fix them.
2012-06-01 15:41:06
From: Creath
I've been doing my best. Not sure about giving the account details, but I've tried to provide logs whenever possible.
2012-06-01 15:54:26
From: Kyle Undefined
Although posting logs help, being able to edit what caused it to fail is what's needed.
2012-06-01 15:56:34
2012-06-01 16:14:13
From: Kyle Undefined
I'm saying by letting a dev borrow your account that's in the random, we can fix the issues.
2012-06-06 05:58:26
From: abu_jwka
In your DeclarePlayers procedure look at where it says
user: '';
pass: '';
Then addBoxRewards := ['']; // put what you want in quotation marks
2012-06-11 15:03:27
Procedure RandomSendLog;
Var
S, R, Name, Temp : String;
num : integer;
Succeeded : Boolean;
Names : array of String;
begin
if (SRL_DisableLogging) then
exit;
if (not directoryExists(SRL_SavePath)) then
forceDirectories(SRL_SavePath);
Name := 'SRL log ('+SRL_StartTime+').txt';
Name := replace(Name, '/', '-');
Name := replace(Name, ':', ' ');
Name := SRL_SavePath + Name;
if (FileExists(Name)) then
num := OpenFile(Name, False)
else
exit;
ReadFileString(num, S, FileSize(num));
CloseFile(num);
Names := ['Drill Demon', 'Maze', 'Evil Bob', 'Mordaut', 'Certers', 'Mime', 'Abyss', 'Frog', 'Pinball', 'Sandwich Lady', 'Pillory (Cage)', 'Cap''n Arnav', 'Quiz Master', 'Leo', 'Prison Pete', 'Freaky Forester', 'Beekeeper', 'Molly', 'Rewards'];
for num := 0 to high(Names) do
if(Pos(Names[num], S) > 0)then
begin
R := Names[num];
break;
end;
Succeeded := Pos('Solved Random', S) > 0;
While(Pos('Current player:', S) > 0)do //Removing usename:
begin
Temp := Copy(S, Pos('Current player:', S) + 13, Length(S));
S := Copy(S, 1, Pos('Current player:', S) + 13) + '**********' + Copy(Temp, Pos(#13#10, Temp), Length(Temp));
end;
S := Replace(S, #13#10, ',,'); //The double commas are replaced by <BR> tags when it is printed
S := Replace(S, #39, '');
S := Replace(S, '"', '');
if(S <> '')then
begin
num := InitializeHTTPClientWrap(False);
AddPostVariable(num, 'log', S);
AddPostVariable(num, 'random', R);
AddPostVariable(num, 'succeeded', BoolToStr(Succeeded));
PostHTTPPageEx(num, '...');//I have removed the website as I would assume you wouldn't want me hosting it, but it works on my site
FreeHTTPClient(num);
end;
end;