ConquerStats - Score charts

The storehouse of handy and helpful plugins/addons and webpages.

Moderators: Tech Team, Global Moderators

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
Medals: 8
Standard Achievement (1) Doubles Achievement (1) General Contribution (6)

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: 8114
Joined: Sat Feb 03, 2007 7:39 am
Medals: 67
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (1) Freestyle Achievement (3) Nuclear Spoils Achievement (1) Fog of War Achievement (3)
Speed Achievement (2) Teammate Achievement (2) Cross-Map Achievement (3) Battle Royale Achievement (1) Ratings Achievement (3)
Tournament Achievement (5) General Achievement (10) Clan Achievement (2) Tournament Contribution (2) General Contribution (14)

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 1st Class OliverFA
 
Posts: 2361
Joined: Wed Jul 09, 2008 4:30 am
Location: Somewhere in Spain
Medals: 32
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (2) Terminator Achievement (1)
Freestyle Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Trench Warfare Achievement (2) Teammate Achievement (1)
Random Map Achievement (1) Cross-Map Achievement (2) Beta Map Achievement (1) Ratings Achievement (2) Tournament Achievement (1)
Clan Achievement (3) Training Achievement (1) Tournament Contribution (2) General Contribution (5)

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: 2379
Joined: Sat Jun 23, 2007 4:06 pm
Location: underwater
Medals: 23
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (1) Terminator Achievement (2)
Assassin Achievement (1) Freestyle Achievement (2) Fog of War Achievement (2) Trench Warfare Achievement (1) Speed Achievement (2)
Teammate Achievement (2) Cross-Map Achievement (3)

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
Medals: 8
Standard Achievement (1) Doubles Achievement (1) General Contribution (6)

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
Captain Witt13
 
Posts: 700
Joined: Sat Sep 20, 2008 4:28 pm
Location: Pella, IA
Medals: 68
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (2) Freestyle Achievement (4) Nuclear Spoils Achievement (1) Fog of War Achievement (3)
Speed Achievement (3) Teammate Achievement (2) Cross-Map Achievement (3) Battle Royale Achievement (1) Ratings Achievement (3)
Tournament Achievement (15) General Achievement (4) Tournament Contribution (8)

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: 2379
Joined: Sat Jun 23, 2007 4:06 pm
Location: underwater
Medals: 23
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (1) Terminator Achievement (2)
Assassin Achievement (1) Freestyle Achievement (2) Fog of War Achievement (2) Trench Warfare Achievement (1) Speed Achievement (2)
Teammate Achievement (2) Cross-Map Achievement (3)

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
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

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
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

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: 14725
Joined: Tue Jan 09, 2007 6:27 pm
Location: Tying somebody up on the third floor
Medals: 25
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Terminator Achievement (3) Assassin Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (2) Fog of War Achievement (3) Speed Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (1) General Achievement (1) General Contribution (1)

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
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

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
Image
User avatar
Sergeant 1st Class pamoa
 
Posts: 1216
Joined: Sat Sep 01, 2007 3:18 am
Location: Confederatio Helvetica
Medals: 59
Standard Achievement (4) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (3) Freestyle Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (2)
Fog of War Achievement (4) Trench Warfare Achievement (3) Speed Achievement (4) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (4) Beta Map Achievement (2) Ratings Achievement (4) Tournament Achievement (1) Clan Achievement (8)
Map Contribution (3)

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: 9670
Joined: Thu Jan 04, 2007 9:02 am
Medals: 46
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Cross-Map Achievement (3) Ratings Achievement (3)
General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

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
Medals: 8
Standard Achievement (1) Doubles Achievement (1) General Contribution (6)

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
Image
User avatar
Sergeant 1st Class pamoa
 
Posts: 1216
Joined: Sat Sep 01, 2007 3:18 am
Location: Confederatio Helvetica
Medals: 59
Standard Achievement (4) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (3) Freestyle Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (2)
Fog of War Achievement (4) Trench Warfare Achievement (3) Speed Achievement (4) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (4) Beta Map Achievement (2) Ratings Achievement (4) Tournament Achievement (1) Clan Achievement (8)
Map Contribution (3)

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
Medals: 8
Standard Achievement (1) Doubles Achievement (1) General Contribution (6)

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: 9670
Joined: Thu Jan 04, 2007 9:02 am
Medals: 46
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Cross-Map Achievement (3) Ratings Achievement (3)
General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

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
Image
User avatar
Sergeant 1st Class pamoa
 
Posts: 1216
Joined: Sat Sep 01, 2007 3:18 am
Location: Confederatio Helvetica
Medals: 59
Standard Achievement (4) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (3) Freestyle Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (2)
Fog of War Achievement (4) Trench Warfare Achievement (3) Speed Achievement (4) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (4) Beta Map Achievement (2) Ratings Achievement (4) Tournament Achievement (1) Clan Achievement (8)
Map Contribution (3)

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 1st Class OliverFA
 
Posts: 2361
Joined: Wed Jul 09, 2008 4:30 am
Location: Somewhere in Spain
Medals: 32
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (2) Terminator Achievement (1)
Freestyle Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Trench Warfare Achievement (2) Teammate Achievement (1)
Random Map Achievement (1) Cross-Map Achievement (2) Beta Map Achievement (1) Ratings Achievement (2) Tournament Achievement (1)
Clan Achievement (3) Training Achievement (1) Tournament Contribution (2) General Contribution (5)

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
Lieutenant LLLUUUKKKEEE
 
Posts: 780
Joined: Wed Dec 27, 2006 12:07 am
Location: Trying to stay out of Join a Tournament forum
Medals: 36
Standard Achievement (3) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (3)
Trench Warfare Achievement (1) Speed Achievement (1) Teammate Achievement (1) Random Map Achievement (1) Cross-Map Achievement (3)
Beta Map Achievement (1) Ratings Achievement (3) Tournament Achievement (4) General Achievement (1) Tournament Contribution (2)

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: 2041
Joined: Mon Sep 24, 2007 6:33 am
Location: Sweden
Medals: 63
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (3) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Speed Achievement (3) Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (3) Tournament Achievement (16)
General Achievement (3) Clan Achievement (6) Tournament Contribution (4)

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
Colonel WidowMakers
 
Posts: 2781
Joined: Mon Nov 20, 2006 9:25 am
Location: Detroit, MI
Medals: 72
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Fog of War Achievement (2) Teammate Achievement (1) Random Map Achievement (2) Cross-Map Achievement (3) Ratings Achievement (2)
General Achievement (6) Clan Achievement (11) Map Contribution (21) General Contribution (14)

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
Medals: 101
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (3) Freestyle Achievement (4) Nuclear Spoils Achievement (3) Fog of War Achievement (4)
Trench Warfare Achievement (3) Speed Achievement (4) Teammate Achievement (3) Random Map Achievement (3) Cross-Map Achievement (3)
Beta Map Achievement (1) Battle Royale Achievement (1) Ratings Achievement (4) Tournament Achievement (9) General Achievement (8)
Tournament Contribution (29)

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
Lieutenant LLLUUUKKKEEE
 
Posts: 780
Joined: Wed Dec 27, 2006 12:07 am
Location: Trying to stay out of Join a Tournament forum
Medals: 36
Standard Achievement (3) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (3)
Trench Warfare Achievement (1) Speed Achievement (1) Teammate Achievement (1) Random Map Achievement (1) Cross-Map Achievement (3)
Beta Map Achievement (1) Ratings Achievement (3) Tournament Achievement (4) General Achievement (1) Tournament Contribution (2)

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
Medals: 31
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (3) Quadruples Achievement (2) Manual Troops Achievement (2)
Freestyle Achievement (2) Fog of War Achievement (3) Speed Achievement (2) Cross-Map Achievement (3) Ratings Achievement (3)
Tournament Achievement (1) General Achievement (1) Tournament Contribution (5)

Next

Return to Available Tools/Enhancements

Who is online

Users browsing this forum: Trailman

Login