I just started using srl stats and added it to my script...the only problem is that when it calls
Simba Code:
SRLRandomsReport;
stats_IncVariable('Summoning EXP (Gained)',xpgain);
stats_IncVariable('Summoning Pouches (Made)',pm);
Stats_Commit;
it gives me the error at the bottom. I do not know what to do...
Error: Out Of Range at line 391
HTTPClient[0] has not been freed in the script, freeing it now.
The Stats line 391 is
Simba Code:
for i := rand_Leo to rand_Frog do
begin
// Update solved stats.
Increment := RandSolved[i] - stats_RandSolved[i]; // LINE 391!
if (Increment > 0) then
begin
stats_IncVariable(stats_RandNames[i] + ' (Solved)', Increment);
stats_RandSolved[i] := RandSolved[i];
end;
// Update unsolved stats.
Increment := RandFailed[i] - stats_RandFailed[i];
if (Increment > 0) then
begin
stats_IncVariable(stats_RandNames[i] + ' (Unsolved)', Increment);
stats_RandFailed[i] := RandFailed[i];
end;
end;