Log in

View Full Version : SRL Stats Error.



NexPB
01-26-2012, 03:31 PM
Edit: I get this error.

ERROR: SRL_Stats: Wrong info for variable

ores := CountItemsIn('deposit box', 'dtm', oreDTM, []);
xpgained := ores * oreXp;
profit := ores * orePrice;
stats_IncVariable('Iron Ore (Mined)', ores);
stats_IncVariable('Mining EXP (Gained)', xpgained);
stats_IncVariable('Total EXP Gained', xpgained);
stats_IncVariable('Profit Made', profit);

Kyle Undefined
01-26-2012, 03:37 PM
Is this from a script you wrote or one that you're trying to use? If it has {$i srl/srl/misc/stats.simba} at the top, you need to take that out.

NexPB
01-26-2012, 03:41 PM
Is this from a script you wrote or one that you're trying to use? If it has {$i srl/srl/misc/stats.simba} at the top, you need to take that out.

Oh its mine thanks for the help, works now.

NexPB
01-27-2012, 05:48 PM
Bump, I got a new error.

smurg
01-28-2012, 04:24 AM
Profit Made is having problems. You need to take that out and it will work.

NexPB
01-28-2012, 11:14 AM
Profit Made is having problems. You need to take that out and it will work.
Aw damn.. I wanted that so badly.