Page 2 of 4

Re: ConquerStats - Score charts

PostPosted: Wed May 06, 2009 11:48 am
by terrypen
I actually play quite a few games with wacicha 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 dupa that has 8000+ games(my oh my someone needs a second job :lol: ) and his came up faster than wacicha.

Re: ConquerStats - Score charts

PostPosted: Mon Oct 19, 2009 6:09 am
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

Re: ConquerStats - Score charts

PostPosted: Mon Oct 19, 2009 6:41 am
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.

Re: ConquerStats - Score charts

PostPosted: Mon Oct 19, 2009 7:12 am
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.

Re: ConquerStats - Score charts

PostPosted: Mon Oct 19, 2009 7:17 am
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.

Re: ConquerStats - Score charts

PostPosted: Mon Oct 19, 2009 7:45 am
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.

Re: ConquerStats - Score charts

PostPosted: Mon Oct 19, 2009 8:00 am
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

Re: ConquerStats - Score charts

PostPosted: Tue Oct 27, 2009 9:58 am
by ask me2
how do i get ride of this add on it wont work.

Re: ConquerStats - Score charts

PostPosted: Tue Oct 27, 2009 10:10 am
by sherkaner
right-click the greasemonkey, choose manage user scripts..., select the script and press uninstall.

Re: ConquerStats - Score charts

PostPosted: Tue Oct 27, 2009 10:18 am
by ask me2
thanks

Re: ConquerStats - Score charts

PostPosted: Fri Oct 30, 2009 9:49 am
by jleonnn
Mine says "error requesting game history". What should I do about it?

Re: ConquerStats - Score charts

PostPosted: Sun Jan 31, 2010 9:17 am
by carlpgoodrich
jleonnn wrote:Mine says "error requesting game history". What should I do about it?

So does mine.

Re: ConquerStats - Score charts

PostPosted: Sun Jan 31, 2010 9:17 am
by carlpgoodrich
jleonnn wrote:Mine says "error requesting game history". What should I do about it?

So does mine.

Re: ConquerStats - Score charts

PostPosted: Sun Jan 31, 2010 2:33 pm
by pamoa
cspare never updated his add-on since the first version

Re: ConquerStats - Score charts

PostPosted: Sat Feb 27, 2010 5:14 am
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.

Re: ConquerStats - Score charts

PostPosted: Sat Feb 27, 2010 10:23 am
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.

Re: ConquerStats - Score charts

PostPosted: Sat Feb 27, 2010 11:56 am
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

Re: ConquerStats - Score charts

PostPosted: Tue Apr 06, 2010 5:20 pm
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!

Re: ConquerStats - Score charts

PostPosted: Wed Apr 07, 2010 5:12 am
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.

Re: ConquerStats - Score charts

PostPosted: Wed Apr 07, 2010 8:57 am
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?

Re: ConquerStats - Score charts

PostPosted: Wed Apr 07, 2010 9:39 am
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.

Re: ConquerStats - Score charts

PostPosted: Mon Apr 12, 2010 9:16 am
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.

Re: ConquerStats - Score charts

PostPosted: Mon Apr 12, 2010 1:11 pm
by cspare
Oh, and by the way. The script also works on Google Chrome :)

Re: ConquerStats - Score charts

PostPosted: Mon Apr 12, 2010 1:46 pm
by chipv
Excellent job!

Re: ConquerStats - Score charts

PostPosted: Wed Apr 14, 2010 1:39 am
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?