Conquer Club

ConquerStats - Score charts

The home of third-party tools and utilities that can enhance your Conquer Club experience.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.

ConquerStats - Score charts

Postby cspare on Thu Oct 02, 2008 9:49 am

ConquerStats - Score charts
Download link: http://userscripts.org/scripts/show/34706

Screenshot 1
Image
Screenshot 2
Image

What it does
Score charts shows a chart with an overview of a player's score over time. The chart is displayed in the player's profile page.

Requirements
You must be running Firefox with Greasemonkey installed.
Full instructions for Firefox and Greasemonkey from scratch: viewtopic.php?t=41487

ToDo list
Items on this list are under development.
  • Versioning and Update alert
  • Improve precision and show precise high- and low scores
  • Fix the position of the last datapoint
  • In case of missing logs, track back from current score in addition to track forward from starting score (1000). Also mark missing data more clearly
  • Add support for the &un= (username) parameter, instead of only &u= (userid)
  • Fix terminator game score-time
Last edited by cspare on Sun Oct 19, 2008 3:02 pm, edited 4 times in total.
Sergeant 1st Class cspare
 
Posts: 101
Joined: Sun Apr 08, 2007 12:56 pm

Re: ConquerStats - Score charts

Postby nagerous on Thu Oct 02, 2008 9:52 am

Wow I installed it and I like it... It would be nice if it tells you what your top score is though and also more of a scale. Just an idea for an improvement.
Image
User avatar
Captain nagerous
 
Posts: 7513
Joined: Sat Feb 03, 2007 7:39 am

Re: ConquerStats - Score charts

Postby OliverFA on Thu Oct 02, 2008 1:18 pm

That plugin is really cool. I like it! :-D

A suggestion for an improvement would be to be able to select the dates for a partial chart.
User avatar
Private OliverFA
 
Posts: 2295
Joined: Wed Jul 09, 2008 4:30 am
Location: Somewhere in Spain

Re: ConquerStats - Score charts

Postby InkL0sed on Thu Oct 09, 2008 1:04 pm

I'm getting an odd bug:

Click image to enlarge.
image
User avatar
Lieutenant InkL0sed
 
Posts: 2370
Joined: Sat Jun 23, 2007 4:06 pm
Location: underwater

Re: ConquerStats - Score charts

Postby cspare on Thu Oct 09, 2008 2:04 pm

InkL0sed wrote:I'm getting an odd bug:

Click image to enlarge.
image

Hmm, this seems to have something to do with the XML datafile conquer club is providing. Yours seems to be empty, I've come across other people with the same problem. I've informed the CC team about the issue here
Sergeant 1st Class cspare
 
Posts: 101
Joined: Sun Apr 08, 2007 12:56 pm

Re: ConquerStats - Score charts

Postby Witt13 on Fri Oct 10, 2008 9:57 am

It doesn't work for me, says I have an invalid date???
User avatar
Colonel Witt13
 
Posts: 765
Joined: Sat Sep 20, 2008 4:28 pm
Location: Iowa

Re: ConquerStats - Score charts

Postby InkL0sed on Tue Oct 14, 2008 3:26 am

cspare wrote:
InkL0sed wrote:I'm getting an odd bug:

Click image to enlarge.
image

Hmm, this seems to have something to do with the XML datafile conquer club is providing. Yours seems to be empty, I've come across other people with the same problem. I've informed the CC team about the issue here


This has been happening only sometimes, other times it works just fine...
User avatar
Lieutenant InkL0sed
 
Posts: 2370
Joined: Sat Jun 23, 2007 4:06 pm
Location: underwater

Re: ConquerStats - Score charts

Postby chipv on Tue Oct 14, 2008 3:53 pm

RECENT SITE CHANGES REQUIRE CHANGES TO MOST SCRIPTS.

Thread is being locked until they're fixed.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: ConquerStats - Score charts

Postby chipv on Wed Oct 15, 2008 3:29 pm

XML has been fixed so the charts should be ok now. Please confirm, cspare.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: ConquerStats - Score charts

Postby hecter on Thu Oct 16, 2008 4:56 pm

My Score chart only goes from October 4th to the 16th :?
In heaven... Everything is fine, in heaven... Everything is fine, in heaven... Everything is fine... You got your things, and I've got mine.
Image
User avatar
Private 1st Class hecter
 
Posts: 14632
Joined: Tue Jan 09, 2007 6:27 pm
Location: Tying somebody up on the third floor

Re: ConquerStats - Score charts

Postby chipv on Thu Oct 16, 2008 5:00 pm

hecter wrote:My Score chart only goes from October 4th to the 16th :?


It should be ok tomorrow.

viewtopic.php?f=59&t=64691&start=15#p1642183

You can only see points for non-archived games at the moment which is why you can only see the above games.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: ConquerStats - Score charts

Postby pamoa on Mon Nov 24, 2008 1:19 pm

Excellent just what I was waiting for =D> =D> =D>
Maybe just a suggestion: as CC did lost some datas during their sever crash, you may try to make a separation before/after.
Before you start counting from the initial 1000 points and go forward until the crash.
And after you start from the actual score and go back to the crash.
So they would be no distortion of score.
I'm not sure it is possible but it would be a great improvement.
De gueules à la tour d'argent ouverte, crénelée de trois pièces, sommée d'un donjon ajouré, crénelé de deux pièces
Gules an open tower silver, crenellated three parts, topped by a apertured turret, crenellated two parts
User avatar
Cadet pamoa
 
Posts: 1242
Joined: Sat Sep 01, 2007 3:18 am
Location: Confederatio Helvetica

Re: ConquerStats - Score charts

Postby yeti_c on Mon Nov 24, 2008 3:00 pm

pamoa wrote:Excellent just what I was waiting for =D> =D> =D>
Maybe just a suggestion: as CC did lost some datas during their sever crash, you may try to make a separation before/after.
Before you start counting from the initial 1000 points and go forward until the crash.
And after you start from the actual score and go back to the crash.
So they would be no distortion of score.
I'm not sure it is possible but it would be a great improvement.


Sadly - I don't think it's as easy as that... I think there are more than 1 period of log outage... however - I think it's a great idea.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: ConquerStats - Score charts

Postby cspare on Mon Nov 24, 2008 3:58 pm

yeti_c wrote:
pamoa wrote:Excellent just what I was waiting for =D> =D> =D>
Maybe just a suggestion: as CC did lost some datas during their sever crash, you may try to make a separation before/after.
Before you start counting from the initial 1000 points and go forward until the crash.
And after you start from the actual score and go back to the crash.
So they would be no distortion of score.
I'm not sure it is possible but it would be a great improvement.


Sadly - I don't think it's as easy as that... I think there are more than 1 period of log outage... however - I think it's a great idea.

C.

Yea, in fact I already have a version of the script that works this way. I guess it's better to show actual results with missing data than an inaccurate chart. But for some people this really messes up the chart because of _alot_ of missing data. Multiple log outages seem to be a good explanation for that.

@pamoa: For your information, this is your chart with the method you described: click.
In your case you effectively miss your 662th game through your 1357th game. So your log alone effectively misses 7 times the amount of games that I've ever played ^^
Sergeant 1st Class cspare
 
Posts: 101
Joined: Sun Apr 08, 2007 12:56 pm

Re: ConquerStats - Score charts

Postby pamoa on Tue Nov 25, 2008 3:47 am

What a huge difference for the first part

actual

Image


should be

Image

In reality your simulations a bit exaggerated as I have only 62 missing logs.
If it's too complicated to code I'll do with this version.
But I'm sure we can find one of those code nerds who can take the challenge :ugeek:
De gueules à la tour d'argent ouverte, crénelée de trois pièces, sommée d'un donjon ajouré, crénelé de deux pièces
Gules an open tower silver, crenellated three parts, topped by a apertured turret, crenellated two parts
User avatar
Cadet pamoa
 
Posts: 1242
Joined: Sat Sep 01, 2007 3:18 am
Location: Confederatio Helvetica

Re: ConquerStats - Score charts

Postby cspare on Tue Nov 25, 2008 4:26 am

pamoa wrote:In reality your simulations a bit exaggerated as I have only 62 missing logs.
If it's too complicated to code I'll do with this version.
But I'm sure we can find one of those code nerds who can take the challenge :ugeek:

Well, actually it is impossible to code. Even though you may have only lost about 62 log items, it renders about 700 log items useless (for this chart).
For each gamelog the only information stored is the score gained or lost for that specific game, there is no absolute score given of your total score at that time.
The only way to calculate the total score at a given time is to loop through each gamelog and accumulate the gained/lost scores. As soon as you miss data in the sequence you can no longer continue the process as you have no absolute reference anymore. As you suggested you can still trackback from the other absolute reference point available, a player's current score. You can use the same method as before, and so you would have to stop processing as soon as you hit another missing log.
In your case the script processes the first 661 and detects missing data so it has to stop, it then tracks back from your current score to your 1357th game where it detects missing data again. Effectively this results in a chart without any data between the the points.
Sergeant 1st Class cspare
 
Posts: 101
Joined: Sun Apr 08, 2007 12:56 pm

Re: ConquerStats - Score charts

Postby yeti_c on Tue Nov 25, 2008 4:34 am

Surely the first part of the graph should be identical?

That's where the data should be 100% accurate - starts at 1000 changes up and down...

Also - the last part of the graph should "Look" identical - although the figured amount will be wrong.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: ConquerStats - Score charts

Postby pamoa on Tue Nov 25, 2008 4:37 am

But is it possible to say that before the date they restarted with their new server you calculate from the initial 1000 and after from the current score. You may have a non continuous chart at that point but it would be more accurate, no ?
De gueules à la tour d'argent ouverte, crénelée de trois pièces, sommée d'un donjon ajouré, crénelé de deux pièces
Gules an open tower silver, crenellated three parts, topped by a apertured turret, crenellated two parts
User avatar
Cadet pamoa
 
Posts: 1242
Joined: Sat Sep 01, 2007 3:18 am
Location: Confederatio Helvetica

Re: ConquerStats - Score charts

Postby OliverFA on Tue Nov 25, 2008 5:43 pm

Maybe an alternative solution would be to draw the missing part with a different color or with a dotted line. So it would be clear that data in that time period is missing.
Welcoming the long awaited Trench Warfare Setting (Previously Adjacent Attacks).

My Maps:
Research and Conquer - Civilization meets Conquer Club

Best score: 2,346 - Best position: #618 - Best percentile: 4.87%
User avatar
Private OliverFA
 
Posts: 2295
Joined: Wed Jul 09, 2008 4:30 am
Location: Somewhere in Spain

Re: ConquerStats - Score charts

Postby LLLUUUKKKEEE on Mon Dec 01, 2008 9:43 pm

why is my chart not showing my highest score 1919.
does it only load on archived games?
It's your turn...................................
User avatar
Sergeant LLLUUUKKKEEE
 
Posts: 791
Joined: Wed Dec 27, 2006 12:07 am
Location: Trying to stay out of Join a Tournament forum

Re: ConquerStats - Score charts

Postby White Moose on Sun Dec 21, 2008 6:08 am

Nice script, too bad it's not so accurate.
Image
Highest Score: 3374
User avatar
Major White Moose
 
Posts: 2015
Joined: Mon Sep 24, 2007 6:33 am
Location: Sweden

Re: ConquerStats - Score charts

Postby WidowMakers on Sun Jan 04, 2009 6:34 pm

AWESOME

Here are some suggestions:
    -Be able to filter game types
    -Be able to zoom in
    -Mouse over the line should give game # and date
    -Have grid to better see values

Image
Major WidowMakers
 
Posts: 2774
Joined: Mon Nov 20, 2006 9:25 am
Location: Detroit, MI

Re: ConquerStats - Score charts

Postby EagleofGreenErth on Sun Jan 11, 2009 7:31 pm

I'm guessing that mine is off because I got a score reset? :P
User avatar
Corporal 1st Class EagleofGreenErth
 
Posts: 1055
Joined: Tue Nov 27, 2007 7:41 pm

Re: ConquerStats - Score charts

Postby LLLUUUKKKEEE on Sat Jan 31, 2009 5:20 am

White Moose wrote:Nice script, too bad it's not so accurate.


Not accurate at all
It's your turn...................................
User avatar
Sergeant LLLUUUKKKEEE
 
Posts: 791
Joined: Wed Dec 27, 2006 12:07 am
Location: Trying to stay out of Join a Tournament forum

Re: ConquerStats - Score charts

Postby TheOtherOne on Sat Mar 14, 2009 9:01 pm

great scrip, thanks
User avatar
Captain TheOtherOne
 
Posts: 164
Joined: Mon Aug 18, 2008 8:44 pm
Location: North Greenville University

Next

Return to Third-Party Tools & Enhancements

Who is online

Users browsing this forum: Nut Shot Scott