PDA

View Full Version : Nice Job



Sex
04-14-2011, 01:20 AM
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 (http://stats.villavu.com/user/292)....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
04-14-2011, 02:37 AM
http://villavu.com/forum/showthread.php?t=63637

Sex
04-14-2011, 02:52 AM
Yes, that is where I saw it :p. But I mean without opening a browser.

Flight
04-14-2011, 04:10 AM
Yes, I also presented that idea within the thread.

Sex
04-14-2011, 04:46 AM
Was it done?

Flight
04-14-2011, 05:38 AM
Unfortunately nothing was done. :(

Wizzup?
04-14-2011, 08:13 AM
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?
04-20-2011, 08:02 PM
I've fixed the errors, most likely. If there are no errors by tomorrow I'll tag a new release.

Sex
04-20-2011, 09:52 PM
Sweet thanks :).

Flight
04-21-2011, 01:13 AM
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_Passw ord);
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?
04-21-2011, 07:42 AM
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
04-21-2011, 10:28 AM
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
04-21-2011, 10:51 AM
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.