Conquer Club

REDUNDANT : Conquer Club Map Rank

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.

Re: New Greasemonkey script : Conquer Club Map Rank

Postby yeti_c on Wed Jun 11, 2008 3:29 am

wcaclimbing wrote:
lancehoch wrote:
wcaclimbing wrote:could this be modified to count the number of unique opponents we have beaten for Assasin and Standard (since Terminator wouldn't be accurate without reading all the logs). I think that would help more than anything, at least until CC gets an "official" stats thing for that.

lack has stated (in one of the 100 threads about this that popped up in the last 24 hours) that you must win the terminator games, it is not based on how many people you eliminate.

oh. then nevermind. stats for all the settings then. that would be awesome.


Yeah this would be sweet...

Chip - if you could make this into a "you need what" for medals too - then a lot of people will give you serious loving...

This will work without the missing logs too - as you can still see who won those games based on the live/dead players.

Don't forget to look out for team games too.

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

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jun 11, 2008 5:06 am

Ok, I've uploaded a set of fixes so you can install and try again:

1. Fix calculations for special cases (works for all game types)
2. Change display to +300pts, 3 wins from 12(25%)

Now I'll go through and read these posts to see what else I have to change...
User avatar
Sergeant 1st Class chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jun 11, 2008 5:09 am

Timminz wrote:Does it calculate rank based on just the points won? It seems to me that you should add 1000 before calculating the "rank".


Yes this was done originally and still is. So the rank reflects the normal scoring system on CC (start with 1000).
I have now just put (+300) to indicate points gained on the map, but the rank displayed has 1000 added in its calculation.
User avatar
Sergeant 1st Class chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jun 11, 2008 5:09 am

Night Strike wrote:Does this assume a starting value of 1000 points then adjust the score based on only on the games on that map? I.E. I would have over 1250 points if my only games were on classic but only 900 if I just played AoR1?

If that's the case, I think doing a simple +/- would be much easier to understand. Then I could easily see that I have gained 266 points from Classic (+266) but have lost 104 points from AoR 1 (-104).

Also, I would like to see the actual win/loss record rather than a straight percentage.


Done. How does that look?
User avatar
Sergeant 1st Class chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jun 11, 2008 5:13 am

yeti_c wrote:
wcaclimbing wrote:
lancehoch wrote:
wcaclimbing wrote:could this be modified to count the number of unique opponents we have beaten for Assasin and Standard (since Terminator wouldn't be accurate without reading all the logs). I think that would help more than anything, at least until CC gets an "official" stats thing for that.

lack has stated (in one of the 100 threads about this that popped up in the last 24 hours) that you must win the terminator games, it is not based on how many people you eliminate.

oh. then nevermind. stats for all the settings then. that would be awesome.


Yeah this would be sweet...

Chip - if you could make this into a "you need what" for medals too - then a lot of people will give you serious loving...

This will work without the missing logs too - as you can still see who won those games based on the live/dead players.

Don't forget to look out for team games too.

C.


Great idea, yeti, I'll get on it.

How do I see the missing games info if they're missing?
Is it just the logs that are missing - what info can I get from those ones at the moment?

Team games should be fine.
User avatar
Sergeant 1st Class chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby yeti_c on Wed Jun 11, 2008 5:23 am

chipv wrote:Great idea, yeti, I'll get on it.

How do I see the missing games info if they're missing?
Is it just the logs that are missing - what info can I get from those ones at the moment?

Team games should be fine.


Well the information for the medals is purely based on who won the game. You can do this by looking at the Green/Red lights on the finished games.

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

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jun 11, 2008 5:31 am

Sure, I can calculate win/loss but what about points gained/lost? Problem is that the easiest and fastest way to do this
is to look at the logs.

What data was lost and what remains for those games, I guess is the question and see what can be gleaned
regarding points. I can change the win/loss count, I agree, assuming those games are still listed.
Can someone give me a game number for one of those so I can have a look please?
Roughly how many logs lost?
User avatar
Sergeant 1st Class chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby yeti_c on Wed Jun 11, 2008 5:34 am

chipv wrote:Sure, I can calculate win/loss but what about points gained/lost? Problem is that the easiest and fastest way to do this
is to look at the logs.

What data was lost and what remains for those games, I guess is the question and see what can be gleaned
regarding points. I can change the win/loss count, I agree, assuming those games are still listed.
Can someone give me a game number for one of those so I can have a look please?
Roughly how many logs lost?


Nothing left at all - so you can only work out win/loss.

Not sure on any game numbers I'm afraid.

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

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jun 11, 2008 6:44 am

Ok, the results are now in a table and I've put the next rank up and points needed also. Install when you want.
User avatar
Sergeant 1st Class chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby yeti_c on Wed Jun 11, 2008 6:48 am

Looking good - looking forward to when you can do

a) All maps
b) show number of people beaten <- for ranks remember that this needs to be unique (This will make the code harder and slower!)!

C.

PS not sure if you're aware of this... but this file might be useful for you...

http://www.conquerclub.com/maps/maps.xml
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: New Greasemonkey script : Conquer Club Map Rank

Postby lancehoch on Wed Jun 11, 2008 6:52 am

Games with missing logs:
Game 1720592
Game 1767580
Is it bad that I was able to pull those up on the first shot just by knowing how many points your script was missing?
Sergeant lancehoch
 
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jun 11, 2008 6:57 am

yeti_c wrote:Looking good - looking forward to when you can do

a) All maps
b) show number of people beaten <- for ranks remember that this needs to be unique (This will make the code harder and slower!)!



a) Being done now
b) Certainly do-able, but perhaps when I've got the other basics done first, early day yet...

PS not sure if you're aware of this... but this file might be useful for you...

http://www.conquerclub.com/maps/maps.xml


It's already used by the script for the select dropdown...

Nice ideas, yeti!
User avatar
Sergeant 1st Class chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jun 11, 2008 6:59 am

lancehoch wrote:Games with missing logs:
Game 1720592
Game 1767580
Is it bad that I was able to pull those up on the first shot just by knowing how many points your script was missing?


Incredible attention to detail - that's good and invaluable, thanks!
User avatar
Sergeant 1st Class chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby yeti_c on Wed Jun 11, 2008 7:01 am

chipv wrote:
PS not sure if you're aware of this... but this file might be useful for you...

http://www.conquerclub.com/maps/maps.xml


It's already used by the script for the select dropdown...


Excellent stuff...

Not a lot of people know about that file!

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

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jun 11, 2008 7:09 am

Right, had a look at those missing logs.

Can really only feasibly do win/loss and not points from a client script.

The algorithm I outlined in the suggestions thread will work best as a one-off on the server.
This is because to recover the lost points, there is no choice but to go through every single game and
total everyone's points to see how many they had at the time of the missing log games completion.

It can be done with a greasemonkey script but would take forever to run.
Since this is a one-off shot , it is possible to write a one-off GM script to collect all the data and
stuff it in a database. A subsequent script could then quickly read off the pre-calculated values and
work from that point onwards... I'm not proposing to go to these lengths for the reason above.

Now, another alternative is if the server provided an interface to give the points at the time of the game if
indeed that is at all available. (This would avoid subsequent need to look at the logs but won't help the missing ones).

I'll think a bit more on this, though.
User avatar
Sergeant 1st Class chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby Hrvat on Wed Jun 11, 2008 7:15 am

Love it.
Thank you.
=D>
I'll never pay for another Premium on ConquerClub.
Lieutenant Hrvat
 
Posts: 354
Joined: Mon Jul 23, 2007 8:41 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jun 11, 2008 7:17 am

I've just thought of a way of recovering the points from the missing logs...

That's the good news.

The bad news is that it is hideously complicated so people will have to wait until I've finished the
fundamentals and requests.
User avatar
Sergeant 1st Class chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby yeti_c on Wed Jun 11, 2008 8:21 am

chipv wrote:I've just thought of a way of recovering the points from the missing logs...

That's the good news.

The bad news is that it is hideously complicated so people will have to wait until I've finished the
fundamentals and requests.


If I think I think what you're thinking - it wouldn't be 100% accurate... but would at least give an idea of the points scored in those games.

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

Re: New Greasemonkey script : Conquer Club Map Rank

Postby BENJIKAT IS DEAD on Wed Jun 11, 2008 8:36 am

This is awesome - CC has so many stat addicts!!!

Another suggestion:

I would really like to be able to see my performance in different settings too, either holistically or per map, and if possible as an extension to this, per team.

e.g I want to know my record in Waterloo 1v1 no cards fog, which is rather different than Waterloo in it's totality which includes 8 player games... etc

OR what is my record in 4 player esc games?

OR what is my record with teammates X & Y?

OR what is my record in all games against Z?

.... the possibilities are quite huge.

And as a number of people have stated - waiting is not a problem (because it is a hell of a lot quicker than counting manually - which I have done a number of times!)


And I've just thought of another potential criteria - whether you went first or not (not relevant for freestyle and little relevance for many player games, but highly relevant for 1v1s and some team games)
Image
User avatar
Colonel BENJIKAT IS DEAD
 
Posts: 775
Joined: Sun Jan 06, 2008 9:47 am
Location: Waterloo

Re: New Greasemonkey script : Conquer Club Map Rank

Postby yeti_c on Wed Jun 11, 2008 8:40 am

BENJIKAT IS DEAD wrote:This is awesome - CC has so many stat addicts!!!

Another suggestion:

I would really like to be able to see my performance in different settings too, either holistically or per map, and if possible as an extension to this, per team.

e.g I want to know my record in Waterloo 1v1 no cards fog, which is rather different than Waterloo in it's totality which includes 8 player games... etc

OR what is my record in 4 player esc games?

OR what is my record with teammates X & Y?

OR what is my record in all games against Z?

.... the possibilities are quite huge.

And as a number of people have stated - waiting is not a problem (because it is a hell of a lot quicker than counting manually - which I have done a number of times!)


And I've just thought of another potential criteria - whether you went first or not (not relevant for freestyle and little relevance for many player games, but highly relevant for 1v1s and some team games)


Do you know what - I've just thought of the best way to do this...

Chip -> what you should do is add a button to the Game Finder screen instead of the side bar.

Then you will have all the options etc laid out for you - and a simple click of your button in there could run the stats based on the selections (remember that no selection = all selections)

(I assume that you're running the same search underneath and then parsing the results anyway)

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

Re: New Greasemonkey script : Conquer Club Map Rank

Postby yeti_c on Wed Jun 11, 2008 8:41 am

Then you don't need to seperate the results out for each one - you just give the user what they asked for... (Except Map that is)

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

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jun 11, 2008 8:51 am

That is a sweet idea, yeti_c!

Be a while yet, but that is a fantastic idea!
User avatar
Sergeant 1st Class chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby yeti_c on Wed Jun 11, 2008 8:52 am

chipv wrote:That is a sweet idea, yeti_c!

Be a while yet, but that is a fantastic idea!


Exactly what I thought!!! - It would save you creating a massively complex UI system in the left bar - when you can simply just rob what we already have!!!

Look forward to seeing it soon!!!!!!!!!!

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

Re: New Greasemonkey script : Conquer Club Map Rank

Postby DiM on Wed Jun 11, 2008 8:59 am

DiM wrote:at the moment the map rank displays stats like this:

Code: Select all
Map Rank For DiM
Map   Rank   Points   Win/Loss   Next Rank
Age Of Realms 1   Lieutenant   +664   Won 106 from 747(14%)   136pts for Captain


could it be possible to make it include more stats?

i love stats and i used to keep an xls file for my games split by game type number of players etc. unfortunatelly at ~400 games i had to format and lost the file and never bothered to recalculate it.

anyway what i want the script to include (aside from the current stats) is an option to export all that data into a xls file that has absolutelly all the stats possible.
like 3p assassin freestyle no cards chained sequential.
i'm thinking the excel file should have the general overview on the first sheet and then map specific stats on separate sheets.
also i'd like to see an option to get stats for all maps at the same time instead of doing it by hand for each map.


sorry if all this has already been suggested.
“In the beginning God said, the four-dimensional divergence of an antisymmetric, second rank tensor equals zero, and there was light, and it was good. And on the seventh day he rested.”- Michio Kaku
User avatar
Major DiM
 
Posts: 10415
Joined: Wed Feb 14, 2007 6:20 pm
Location: making maps for scooby snacks

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jun 11, 2008 9:14 am

Ok, I've added an "All" option in the map select dropdown so you can see all your map rankings in the same table.

Note: I have not done termination yet so you should wait until its finished before pressing the OK button but this will be fixed.
(When it stops changing the text for scanning games it has finished but I will put up a finished message later).
User avatar
Sergeant 1st Class chipv
 
Posts: 2751
Joined: Mon Apr 28, 2008 5:30 pm

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users