SRL Archive - Help and Support

ReportVars and SRl Stats issues


king vash

2008-04-02 01:00:25

I'm having alot of issue with srl stats
I store my number of essances used, airs crafted, and trips ran into custom variables 13,14,15 just straight in

ReportVars[13] := AirsCrafted; 
....
....
SendSRLReport;
SRLRandomsReport;

but this results in the amount in ReportVars[13] to be added every update. example if i add one run each time
runs 1,2,3,4…
server 1,3,6,10…

I tried ReportVars[13] := ReportVars[13] + newAirsCrafted;
but this didn't work either.

what am I doing wrong?

ZephyrsFury

2008-04-02 04:25:56

You don't need both SendSRLReport and SRLRandomsReport. SRLRandomsReport has SendSRLReport in it already. Although I don't think this is your problem as both reset your vars back to zero.

drizzt

2008-04-02 18:40:10

yes, since srlrandomsreport and sendsrlrandomsreport set the vars back to zero, what i'd do, is create a second var so that it knows how many it's sent so far that run in SCAR, and do reportvars[13] := airscrafted - oldvars;

king vash

2008-04-02 21:14:43

suddenly this all makes sense, because it zeros them i was adding in amounts it had already reported. That's why you add 1 to the variable when everyou change the over so that it has the amount of new variable it needs to update, but no more (sorry this isn't well explained) but it makes sense now to me! thanks so much!