SRL Archive - Help

SRL_Stats Problems :(


DannyRS

2013-01-17 23:16:38

Ok so I just tried to get script stats running and ran into some issues,

I assume the variables like ores mined and stuff no longer work? Because all recent scripts dont have large amounts shown even though theres massive runtimes, so they are no longer supported?

I also notice i can't get Stats_Commit; to work unless i spam the crap out of it, I cant see whats causing that, I see it only commits every 5min but it wont even commit at all unless i call it every second or so, anyone any ideas? My scripts normally always have a really fast mainloop these days and didnt really want to call it every second, how often would it need to be called to keep it working you think?

I've never used the stats and they seem kinda outdated am i missing something? :p

Olly

2013-01-17 23:19:26

Well everything commits but it wont show up, i believe wizzup said its in need of a rewrite but there's higher priority stuff than srl stats to do atm :p

DannyRS

2013-01-17 23:23:23

From: Ollybest
Well everything commits but it wont show up, i believe wizzup said its in need of a rewrite but there's higher priority stuff than srl stats to do atm :p


Yea I understand its low prio, I'm guessing its something to do with the server not recognising the commit? So if you spam it it eventually goes through?

Olly

2013-01-17 23:24:49

I mean i never had problems commiting, its just not worth it since the stats dont actually update :p

ps: you can only commit once per 5 min

DannyRS

2013-01-17 23:31:39

From: Ollybest
I mean i never had problems commiting, its just not worth it since the stats dont actually update :p


You can still view the commits tho right? They don't even work without spamming it for me, does it work for you to call commit say every 20min and it shows under commits as an added 20min?

riwu

2013-01-18 00:11:53

From: DannyRS
You can still view the commits tho right? They don't even work without spamming it for me, does it work for you to call commit say every 20min and it shows under commits as an added 20min?

Yeah it should work. Check your debug box to see if there's any error committing.
Posting the script may help too.

DannyRS

2013-01-18 00:36:29

From: riwu
Yeah it should work. Check your debug box to see if there's any error committing.
Posting the script may help too.


Tried the debug, not getting any errors back but if i call it every loop it works, if i do it once every 20min it doesent, It's in my soulwars script as I just updated it if you wanted to take a look, i set it up same as everyone else i could find using the stats i believe, and like i mentioned it works but only if called frequently, guess I'll just give up on it lol

Kyle Undefined

2013-01-18 18:48:58

If there are no errors, it's working and committing. Stats Cache needs fixing and updating before the numbers are real time again.