SRL Archive - Help

SRL Stats Error.


NexPB

2012-01-26 10:31:26

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

2012-01-26 10:37:48

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

2012-01-26 10:41:26

From: Kyle Undefined
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

2012-01-27 12:48:11

Bump, I got a new error.

smurg

2012-01-27 23:24:38

Profit Made is having problems. You need to take that out and it will work.

NexPB

2012-01-28 06:14:09

From: smurg
Profit Made is having problems. You need to take that out and it will work.

Aw damn.. I wanted that so badly.