SRL Archive - SRL Stats

Nice Job


Sex

2011-04-13 21:20:53

I'd like to say that I believe some changes were made recently to SRL Stats :). Particularly, the total stats on the user pages. I was going to request that yesterday :p.

I'd like to be able to delete scripts that I've made (was just testing and looking at what options were available to manage scripts).

There is also one problem, viewing a profile of a user with no commits (I think that is the cause?) throws this….fix that? :p

Once that is fixed, I've created a Simba function to create users from within Simba (saw that requested somewhere), and I'll create a form to make it look nice :).

Flight

2011-04-13 22:37:41

http://villavu.com/forum/showthread.php?t=63637

Sex

2011-04-13 22:52:40

Yes, that is where I saw it :p. But I mean without opening a browser.

Flight

2011-04-14 00:10:15

Yes, I also presented that idea within the thread.

Sex

2011-04-14 00:46:27

Was it done?

Flight

2011-04-14 01:38:21

Unfortunately nothing was done. :(

Wizzup?

2011-04-14 04:13:37

From: Flight
http://villavu.com/forum/showthread.php?t=63637


I never saw that thread, FYI. :)

@ Sex: Yeah, I made some changes recently.
About that bug, I just saw the backtrace of it in my improved debugging code, so I'll fix that in a bit. I know what's causing it.

Wizzup?

2011-04-20 16:02:07

I've fixed the errors, most likely. If there are no errors by tomorrow I'll tag a new release.

Sex

2011-04-20 17:52:26

Sweet thanks :).

Flight

2011-04-20 21:13:05

Well I went ahead and made this:

Procedure CheckStats;
begin
if ((SRLStats_Username = '') And (SRLStats_Password = '')) then
begin
case MessageBox('No Stats account entered, would you like to set one up?','SRL Stats',mbYesNoCancel) of
mrYes:
begin
OpenWebPage('http://stats.villavu.com/register');
TerminateScript;
end;
mrNo:
begin
SetupSRLStats(103,'Anonymous','anon1337');
Exit;
end;
mrCancel: TerminateScript;
end;
end else
SetupSRLStats(103,SRLStats_Username,SRLStats_Password);
end;

That way, if you script even uses SRL Stats, it will be constantly committed whether the user uses a registered account or not.

Wizzup?

2011-04-21 03:42:05

True, but this way you force the stats upon the user. I don't think you should do this. Have a box say ``Would you like to contribute to our fun Statistics System''?

Flight

2011-04-21 06:28:52

Maybe the 'No' button calls another message asking if you'd like to run Stats as aonymous or just not at all. Then again, they might get annoyed at having back-to-back message boxes…

Rich

2011-04-21 06:51:56

From: Flight
Maybe the 'No' button calls another message asking if you'd like to run Stats as aonymous or just not at all. Then again, they might get annoyed at having back-to-back message boxes…
But then if they set it up, they wouldn't have the boxes. Two boxes and two clicks is barely a hardship though.