ConquerStats - Score charts

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.
User avatar
terrypen
Posts: 287
Joined: Wed Sep 10, 2008 2:29 pm
Gender: Male
Location: Rainier, OR
Contact:

Re: ConquerStats - Score charts

Post by terrypen »

I actually play quite a few games with [player]wacicha[/player] and when I open his page it seems to hang for a long time.. I've never let it finish loading the stats because it keeps getting an error.

edit: P.S. I did finally just keep letting the script error finish but it took a couple of times. I'm guessing that this is just the shear number of games and the computation that is happening. Found [player]dupa[/player] that has 8000+ games(my oh my someone needs a second job :lol: ) and his came up faster than wacicha.
Please forgive my oldcrustyness!! I was here 4 yrs ago and have forgotten most!!!
Highest Score:1579 Highest Rank:Sergeant 1st Class

terrypen,

Bumpersticker on old beat up pickup:
I got this truck for my wife...
nice trade huh?
User avatar
General Roy
Posts: 2136
Joined: Fri Apr 24, 2009 7:06 am
Gender: Male
Location: Kongens Lyngby outside Copenhagen in Denmark

Re: ConquerStats - Score charts

Post by General Roy »

Wonder if the script needs to be updated for the latest version of Firefox? Until fairly recently (could be when I upgraded Firefox to 3.5) I only get "error when requesting game history". I love the script, and find it frustrating when it's no longer working for me.

Roy
Image
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: ConquerStats - Score charts

Post by sherkaner »

It's not the version of firefox, some pages on the site changed a bit. And it seems like the original creator of the script isn't active any more.
cspare
Posts: 101
Joined: Sun Apr 08, 2007 12:56 pm

Re: ConquerStats - Score charts

Post by cspare »

sherkaner wrote:It's not the version of firefox, some pages on the site changed a bit. And it seems like the original creator of the script isn't active any more.


If you could point out what parts of the site has changed I could upload a fix.
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: ConquerStats - Score charts

Post by sherkaner »

Ah, sorry. The game history page was removed and replaced by a result from the game finder. A start would be to change

Code: Select all

var url = "http://www.conquerclub.com/game_history.php?user_id=" + userid + "&page=" + page;

to

Code: Select all

var url = "http://www.conquerclub.com/player.php?submit=Search&p1=" + userid + "&so=D&page=" + page;

But I'm not sure what else could fail.

Even better idea is to use the API, but that would probably be more work.
User avatar
chipv
Head Tech
Head Tech
Posts: 3059
Joined: Mon Apr 28, 2008 5:30 pm

Re: ConquerStats - Score charts

Post by chipv »

cspare wrote:
sherkaner wrote:It's not the version of firefox, some pages on the site changed a bit. And it seems like the original creator of the script isn't active any more.


If you could point out what parts of the site has changed I could upload a fix.


Yep, game history pages are ... history. No longer there.

You need to move to the new CC API. It's not actually that bad because they're deliberately similar
so shouldn't take you long at all.
User avatar
pamoa
Posts: 1242
Joined: Sat Sep 01, 2007 3:18 am
Gender: Male
Location: Confederatio Helvetica

Re: ConquerStats - Score charts

Post by pamoa »

as you have to rewrite part of your script
could add an on/off button
as it takes a lot of time to load all game for a player
so we can choose to see it or not
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
ask me2
Posts: 435
Joined: Sat Jan 17, 2009 11:50 pm
Gender: Male
Location: Texas

Re: ConquerStats - Score charts

Post by ask me2 »

how do i get ride of this add on it wont work.
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: ConquerStats - Score charts

Post by sherkaner »

right-click the greasemonkey, choose manage user scripts..., select the script and press uninstall.
User avatar
ask me2
Posts: 435
Joined: Sat Jan 17, 2009 11:50 pm
Gender: Male
Location: Texas

Re: ConquerStats - Score charts

Post by ask me2 »

thanks
jleonnn
Posts: 1808
Joined: Tue Jan 06, 2009 5:11 am
Gender: Male
Location: The Communist Republic of Aoria

Re: ConquerStats - Score charts

Post by jleonnn »

Mine says "error requesting game history". What should I do about it?
carlpgoodrich
Posts: 408
Joined: Tue Aug 04, 2009 2:12 pm

Re: ConquerStats - Score charts

Post by carlpgoodrich »

jleonnn wrote:Mine says "error requesting game history". What should I do about it?

So does mine.
carlpgoodrich
Posts: 408
Joined: Tue Aug 04, 2009 2:12 pm

Re: ConquerStats - Score charts

Post by carlpgoodrich »

jleonnn wrote:Mine says "error requesting game history". What should I do about it?

So does mine.
User avatar
pamoa
Posts: 1242
Joined: Sat Sep 01, 2007 3:18 am
Gender: Male
Location: Confederatio Helvetica

Re: ConquerStats - Score charts

Post by pamoa »

cspare never updated his add-on since the first version
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
General Roy
Posts: 2136
Joined: Fri Apr 24, 2009 7:06 am
Gender: Male
Location: Kongens Lyngby outside Copenhagen in Denmark

Re: ConquerStats - Score charts

Post by General Roy »

carlpgoodrich wrote:
jleonnn wrote:Mine says "error requesting game history". What should I do about it?

So does mine.

Is the problem Windows 7? I have the same problem. Hope it can be fixed soon. I must have had it at least the last 6 months now, I think. A great pity, as I think it's an excellent idea otherwise.
Image
carlpgoodrich
Posts: 408
Joined: Tue Aug 04, 2009 2:12 pm

Re: ConquerStats - Score charts

Post by carlpgoodrich »

General Roy wrote:
carlpgoodrich wrote:
jleonnn wrote:Mine says "error requesting game history". What should I do about it?

So does mine.

Is the problem Windows 7? I have the same problem. Hope it can be fixed soon. I must have had it at least the last 6 months now, I think. A great pity, as I think it's an excellent idea otherwise.

No, I'm running xp.
User avatar
iamkoolerthanu
Posts: 4119
Joined: Sun Dec 31, 2006 6:56 pm
Gender: Male
Location: looking at my highest score: 2715, #170

Re: ConquerStats - Score charts

Post by iamkoolerthanu »

General Roy wrote:
carlpgoodrich wrote:
jleonnn wrote:Mine says "error requesting game history". What should I do about it?

So does mine.

Is the problem Windows 7? I have the same problem. Hope it can be fixed soon. I must have had it at least the last 6 months now, I think. A great pity, as I think it's an excellent idea otherwise.

pamoa wrote:cspare never updated his add-on since the first version
User avatar
Beckytheblondie
Posts: 970
Joined: Tue Jun 03, 2008 3:38 pm
Location: Where ♥ Miracles ♥ Happen ◕‿◕

Re: ConquerStats - Score charts

Post by Beckytheblondie »

This is a broken add-on. We would LOVE to have this recreated or updated! If anyone knows how to do it, it would be GENIUS!
2011-11-07 14:19:43 - StinknLincoln: whoa, what happened?
2011-11-07 14:19:50 - Beckytheblondie: Becky happened
Image
cspare
Posts: 101
Joined: Sun Apr 08, 2007 12:56 pm

Re: ConquerStats - Score charts

Post by cspare »

Beckytheblondie wrote:This is a broken add-on. We would LOVE to have this recreated or updated! If anyone knows how to do it, it would be GENIUS!

I updated the script, you can install it from: http://userscripts.org/scripts/source/34706.user.js. Let me know if you encounter any problems.
RoOkAz
Posts: 396
Joined: Thu Dec 28, 2006 7:24 am
Gender: Male
Location: The Netherlands

Re: ConquerStats - Score charts

Post by RoOkAz »

my charts are incorrect...

its says my topscore is 2377

my actualy topscore was 2880

and im 100% sure i never had a score as low as 456

any idea how this is possible?
You are the best feudal partner EVER. If you need the best player to team up with people...here is the man.
by concrete
on 28 Jan 2010, 05:43

Image
cspare
Posts: 101
Joined: Sun Apr 08, 2007 12:56 pm

Re: ConquerStats - Score charts

Post by cspare »

RoOkAz wrote:my charts are incorrect...
(...)

That's a known issue, and kind of the reason I hadn't updated the script for a while. The data on which the chart is based is not accurate. There are some gaps because conquerclub lost some data a while ago. There is not much I can do to fill the gap, there are some ways that would help, but that would cost too much time for me at the moment. I suggest you use Map Rank for more reliable charts.
cspare
Posts: 101
Joined: Sun Apr 08, 2007 12:56 pm

Re: ConquerStats - Score charts

Post by cspare »

I updated the script a bit.
There was a bug in calculating the high- and low scores. The actual chart remains unchanged, only the score number on the Y axis is different. Still, keep in mind that in some cases, when a played played a lot of games the data has to be truncated and averaged to fit in the chart. In this case also, the last data point in the chart is extrapolated, which sometimes results in a very steep curve.
Also to better reflect that the chart actually represents score changes per game and not score over time, the label on the X axis has been updated.

In addition the performance of the script is improved quite a lot, especially for people who played a lot of games.
cspare
Posts: 101
Joined: Sun Apr 08, 2007 12:56 pm

Re: ConquerStats - Score charts

Post by cspare »

Oh, and by the way. The script also works on Google Chrome :)
User avatar
chipv
Head Tech
Head Tech
Posts: 3059
Joined: Mon Apr 28, 2008 5:30 pm

Re: ConquerStats - Score charts

Post by chipv »

Excellent job!
User avatar
pamoa
Posts: 1242
Joined: Sat Sep 01, 2007 3:18 am
Gender: Male
Location: Confederatio Helvetica

Re: ConquerStats - Score charts

Post by pamoa »

thanks for the addon
suggestion
instead of a frame inside the player page
could it be a pop-up window with a button as the map rank one?
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
Post Reply

Return to “Tool Archives”