Sorry for the month old grave dig but I'm having the same issue with my new script
I've set up stats before (extensively) through my fletching script so I know what I'm doing, but the server is still returning the same error over and over again:
Code:
SRL_Stats: Wrong info for variable
I have:- Added the varibles to my script on the stats webpage,
- Called SetupSRLStats,
Simba Code:
SetupSRLStats(561, SRLStats_Username, SRLStats_Password);
- Properly implemented Stats_IncVariable (see bleow),
- Called StatsComitt;
Not too sure what's going wrong.. I've used Coh3n's Superheater very recently and that was committing fine. Here's what I'm trying to commit:
Simba Code:
stats_IncVariable(Players[CurrentPlayer].Arrays[0][P_FOOD_TYPE]+ ' Cooked', 28);
stats_IncVariable('Cooking EXP (Gained)', Round(PlayerTotal[CurrentPlayer].XP + XP_Gain));
The food is 'Salmon', so basically it's increasing the variable 'Salmon Cooked'.