What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [REQUEST] Activity statistics

Pages: (3): « First « 1 [ 2 ] 3 » Last »
[REQUEST] Activity statistics
Author: Message:
Chikara
New Member
*


Posts: 5
– / Male / Flag
Joined: Jul 2008
O.P. RE: RE: [REQUEST] Activity statistics
quote:
Originally posted by CookieRevised
Chikara means a stats script which keeps track on the amount of messages for each hour in the day. You are talking about individual contact stats, much like what the script Stat Center already does.

You have understood me right, thank you for that.

I indeed meant the total amount of messages for each hour in the day. This very same information could be tracked with each contact seperately, but that would sound more like a new feature to Stat Center.

I would like to keep this simple, but i regard this idea to be entirely free for anyone to develop.
07-22-2008 08:49 PM
Profile E-Mail PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
RE: [REQUEST] Activity statistics
I might be ale to do such a thing, although it'll take me some time...

And I'll inform you if not (which isn't very likely since I know how Date objects work and I have some functions ready for use within such a script :P ).

This post was edited on 07-22-2008 at 08:59 PM by SmokingCookie.
07-22-2008 08:58 PM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: [REQUEST] Activity statistics
As I said, I already made most of this. I just need to add one more function and then do the GUI
<Eljay> "Problems encountered: shit blew up" :zippy:
07-23-2008 08:16 AM
Profile PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
RE: [REQUEST] Activity statistics
Okay, then I'll have some time free :)
07-23-2008 06:06 PM
Profile PM Find Quote Report
T-PO
Junior Member
**


Posts: 60
– / Male / Flag
Joined: Jun 2004
RE: RE: [REQUEST] Activity statistics
quote:
Originally posted by CookieRevised

Chikara means a stats script which keeps track on the amount of messages for each hour in the day. You are talking about individual contact stats, much like what the script Stat Center already does.


I know and I already pointed Chakira to this script earlier... However that script does not keep track of the timings...

But, now I know Spunky is working on this...
As Hannibal would say: I love it when a plan comes together...

Regards,

T-PO
07-24-2008 01:14 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: [REQUEST] Activity statistics
Ok, finished... Just needs to be tested as mine won't do one specific thing atm ^o)


.plsc File Attachment: MostActive.plsc (12.97 KB)
This file has been downloaded 176 time(s).
<Eljay> "Problems encountered: shit blew up" :zippy:
07-24-2008 10:29 PM
Profile PM Find Quote Report
T-PO
Junior Member
**


Posts: 60
– / Male / Flag
Joined: Jun 2004
RE: RE: [REQUEST] Activity statistics
quote:
Originally posted by SpunkyLoveMuff
Ok, finished... Just needs to be tested as mine won't do one specific thing atm ^o)



Hello Spunky,

I downloaded the script. Graph looks nice but I have a question:

1. What does the graph show on the Y-axis (e.g. what does the script register?)
2. In my case the graph shows a bar on the 6 and 7 o'clock in the morning. I suppose this means there was some activity at these times. I'm pretty sure I was not awake on those hours, so I suppose this is not correct...

Can you please have a look?

Regards,

T-PO
07-25-2008 07:02 AM
Profile E-Mail PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
RE: [REQUEST] Activity statistics
Good morning ^o) ..

I've downloaded the script and... There's a bug:

I woke up at 8:55, signed into Messenger at 9:00 (I like things going fast :P ) and haven't sent a single message. The graph, however, shows activity at 6:00 and 7:00.. I'm sure that most people don't use their computers at these hours (I might be wrong, but it's just a thought)..?

EDIT::

And it shows 20/07/2008, while today is 25/07/2008

EDIT 2::

Script debugger shows errors:

code:
function OnViewerEvent_CtrlClicked(PlusWnd, ControlId){
    if(ControlId === "BtnNext"){
        chart_number++;
        wnd.ImageElmt_SetImageFile("chart",charts[chart_number]);
    }
    if(ControlId === "BtnBack"){
        chart_number--;
        wnd.ImageElmt_SetImageFile("chart",charts[chart_number]);
    }
}


probably should be
code:
function OnViewerEvent_CtrlClicked(PlusWnd, ControlId){
    if(ControlId === "BtnNext"){
        chart_number++;
        PlusWnd.ImageElmt_SetImageFile("chart",charts[chart_number]);
    }
    if(ControlId === "BtnBack"){
        chart_number--;
        PlusWnd.ImageElmt_SetImageFile("chart",charts[chart_number]);
    }
}


EDIT 3:: (wow :| )

Now that I have corrected this error on my pc, the Next and Prev buttons work, but as I click them, the date disappears..

Giving the window focus, focussing on another and focussing back makes parts of the graph disappear..

This post was edited on 07-25-2008 at 07:28 AM by SmokingCookie.
07-25-2008 07:17 AM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: [REQUEST] Activity statistics
The graph you see is just a demo, to show you what should appear. I have already fixed the buttons in my own build, which I will post later today, the only problem I have is that the charts don't seem to download
<Eljay> "Problems encountered: shit blew up" :zippy:
07-25-2008 09:19 AM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [REQUEST] Activity statistics
I wanted to wait until you released the script to comment on this. But this script is, as of yet, just still a POC (proof of concept) and doesn't work and seems to complicate things too much (imho).

Anyways, are you going to store all stats seperatly per date? If so, I strongly suggest not to use the registry. It will fill up quickly with (actually many times useless) data in that case. Use XML or maybe even a database for that, much more efficient.

If you plan to simply store 24 DWORDs (that's what I would do, is alo what the OP requested), thus not storing the stats per date, but simply the totals, then the registry is choice number one of course.

PS: all the initializing and putting "hour_of_day[i] = 0" codelines are not needed. Just grab what is in the registry (and if nothing is there, then set the value to 0) when the user signs in, and put it back in the registry when the user signs out.

Also, don't forget to make a check if the recieved message comes from a contact or from yourself. Otherwise it will count your own messages twice.

quote:
Originally posted by SpunkyLoveMuff
the only problem I have is that the charts don't seem to download
The url is wrong...

http://www.chart.apis.google.com/

and as said above, the script is actually made too complicated then it needs to be; which is probably part of the cause of the errors.


$0,02

;)


PS: although you can easly make your own chart by drawing a few lines, the use of the Google Chart API is a nice. Never thought of that...cool. (y)

This post was edited on 07-25-2008 at 12:13 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
07-25-2008 10:38 AM
Profile PM Find Quote Report
Pages: (3): « First « 1 [ 2 ] 3 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On