Page 3 of 9

Re: Conquer Club Games Filter GM Script

PostPosted: Sat Aug 23, 2008 12:30 pm
by TheTrueNorth
chipv wrote:Ok, new version available.

Can you try this please? (I have no tournament games so can't actually test).

updated from:
viewtopic.php?f=59&t=59119
now page has---
Five days after completion games are archived and disappear from this list. You can still access archived games from the "Game Finder".
Games recently finished

Legend: not rated not rated previously rated previously rated newly rated newly rated


with no links or game numbers
(big E for effort there chip, 8-)

Re: Conquer Club Games Filter GM Script

PostPosted: Sat Aug 23, 2008 1:09 pm
by chipv
This is like coding blind. Can you send me the web page?

Go to View->Page Source and cut and paste from

<table class="listing">


to


</table>

then I've got a shot, thanks.

Re: Conquer Club Games Filter GM Script

PostPosted: Sat Aug 23, 2008 2:36 pm
by PepperJack
Thanks for adding in ratings to this filter script chip. And so fast too!. Is it possible to tweak the operation of the ratings feature though? It appears that the way it works currently is that a game has to have ALL unrated players to show when "Not Rated" is selected. This makes the feature decreasingly useful as more and more players are rated b/c of the increased likelihood of having a game with someone that was rated previously.

Can you make it so that if a game has at least one (1) unrated player that the game will show in the unrated section? Thanks in advance.

Re: Conquer Club Games Filter GM Script

PostPosted: Sat Aug 23, 2008 2:56 pm
by TheTrueNorth
PepperJack wrote:Thanks for adding in ratings to this filter script chip. And so fast too!. Is it possible to tweak the operation of the ratings feature though? It appears that the way it works currently is that a game has to have ALL unrated players to show when "Not Rated" is selected. This makes the feature decreasingly useful as more and more players are rated b/c of the increased likelihood of having a game with someone that was rated previously.

Can you make it so that if a game has at least one (1) unrated player that the game will show in the unrated section? Thanks in advance.



that could be why I'm not showing any games
while I still have players to rank
(the little light bulb lit :D )

Re: Conquer Club Games Filter GM Script

PostPosted: Sat Aug 23, 2008 3:17 pm
by OliverFA
I agree with what has been said here. The script is awesome!!!

By the way, seeing how you have at least two (that I know, maybe more) scripts that enhance CC. Why don't you put that information in your signature? Is good to be modest, but not too modest!

Also, I have two suggestion to make that script even better.

- First, filter not only by rank name, but directly by score.

- Second, and I don't know if it's too much difficult, but it's worth suggesting: Right now the problem is that the script filters the page. If your query has, let's say, 20 pages, but only one game in each page meets your filter, you hace to browse through 20 pages of just one game anyway. It would be great if all the information could be consolidated in a single page.

In any case. It is an excellent script. Congratulations! :-)

Re: Conquer Club Games Filter GM Script

PostPosted: Sun Aug 24, 2008 9:40 am
by chipv
Thanks all. New version available - can you see if this is what you wanted please?

Now if you click on not rated...

it will show any game which has at least one player you have never rated.

Re: Conquer Club Games Filter GM Script

PostPosted: Sun Aug 24, 2008 4:44 pm
by chipv
OliverFA wrote:I agree with what has been said here. The script is awesome!!!

By the way, seeing how you have at least two (that I know, maybe more) scripts that enhance CC. Why don't you put that information in your signature? Is good to be modest, but not too modest!

Also, I have two suggestion to make that script even better.

- First, filter not only by rank name, but directly by score.

- Second, and I don't know if it's too much difficult, but it's worth suggesting: Right now the problem is that the script filters the page. If your query has, let's say, 20 pages, but only one game in each page meets your filter, you hace to browse through 20 pages of just one game anyway. It would be great if all the information could be consolidated in a single page.

In any case. It is an excellent script. Congratulations! :-)


Thanks very much!

Unfortunately the score info is not available on those pages. It's not really worth writing in the code to extract that info as it would slow the filtering down and sadly the same applies to queries with more than one page. If I can convince the site to put in an option to show all queries on one page then a lot of things are possible.

Re: Conquer Club Games Filter GM Script

PostPosted: Sun Aug 24, 2008 4:56 pm
by TheTrueNorth
chipv wrote:Thanks all. New version available - can you see if this is what you wanted please?

Now if you click on not rated...

it will show any game which has at least one player you have never rated.


you nailed it chipv, works works like a charm & i'll be able to save my eyes from scrolling through 50 - 60 games looking for that 1 player to rate.
Cheerz M8 =D> =D>

Re: Conquer Club Games Filter GM Script

PostPosted: Tue Aug 26, 2008 12:02 pm
by yowzer14
How about adding a persistence to the filter. Instead of having to re-mark the Empty Slot , Ranks and Rating for each page. That way each page would be filtered the same and not having to go through each drop down would help.

Re: Conquer Club Games Filter GM Script

PostPosted: Tue Aug 26, 2008 12:06 pm
by chipv
yowzer14 wrote:How about adding a persistence to the filter. Instead of having to re-mark the Empty Slot , Ranks and Rating for each page. That way each page would be filtered the same and not having to go through each drop down would help.


Yeah, this has been asked but I've been in a quandry about this.

If I do that then every time you look at a join page you will potentially miss out on seeing some games if you have a filter on and
maybe not realise it if you dont read the top summary.

It's not difficult to do, but if people are ok with this then I'll do it.

Re: Conquer Club Games Filter GM Script

PostPosted: Tue Aug 26, 2008 12:17 pm
by yowzer14
chipv wrote:
yowzer14 wrote:How about adding a persistence to the filter. Instead of having to re-mark the Empty Slot , Ranks and Rating for each page. That way each page would be filtered the same and not having to go through each drop down would help.


Yeah, this has been asked but I've been in a quandry about this.

If I do that then every time you look at a join page you will potentially miss out on seeing some games if you have a filter on and
maybe not realise it if you dont read the top summary.

It's not difficult to do, but if people are ok with this then I'll do it.


Add a button to reset to defaults then. Persist the current settings and then a click of the button and you're back to full listing.

Re: Conquer Club Games Filter GM Script

PostPosted: Tue Aug 26, 2008 1:56 pm
by chipv
Done, nice idea.

The script remembers your filters so you don't have to keep setting it.
Press Reset All to clear all filters and get back to the original pages.

Script is available at same place:

http://userscripts.org/scripts/source/31550.user.js

Re: Conquer Club Games Filter GM Script

PostPosted: Tue Aug 26, 2008 4:41 pm
by yowzer14
chipv wrote:Done, nice idea.

The script remembers your filters so you don't have to keep setting it.
Press Reset All to clear all filters and get back to the original pages.

Script is available at same place:

http://userscripts.org/scripts/source/31550.user.js

Works nicely, thanks.

Re: Conquer Club Games Filter GM Script

PostPosted: Tue Aug 26, 2008 7:17 pm
by PepperJack
Chipv, you're friggin' great. Just noticed the update to this one. Is there a built in update for this guy like in Map Rank and BOB? Keep on keepin' on.

Re: Conquer Club Games Filter GM Script

PostPosted: Tue Aug 26, 2008 7:52 pm
by chipv
PepperJack wrote:Chipv, you're friggin' great. Just noticed the update to this one. Is there a built in update for this guy like in Map Rank and BOB? Keep on keepin' on.


Er, well could do, for a little script like this, really?

Re: Conquer Club Games Filter GM Script

PostPosted: Tue Aug 26, 2008 8:26 pm
by PepperJack
chipv wrote:
PepperJack wrote:Chipv, you're friggin' great. Just noticed the update to this one. Is there a built in update for this guy like in Map Rank and BOB? Keep on keepin' on.


Er, well could do, for a little script like this, really?


Yeah, you're right. Subscribing to the thread is good enough.

Re: Conquer Club Games Filter GM Script

PostPosted: Sat Aug 30, 2008 9:01 pm
by Draconian_Intel
Hey chip, just wondering why the "Rated Games" select box is on the filter page where you chose your options? Its not a problem, I'm just curious as to whether or not there is a reason that I can't see.

Re: Conquer Club Games Filter GM Script

PostPosted: Sat Aug 30, 2008 9:11 pm
by chipv
Draconian_Intel wrote:Hey chip, just wondering why the "Rated Games" select box is on the filter page where you chose your options? Its not a problem, I'm just curious as to whether or not there is a reason that I can't see.


You mean is not on the filter page?

It's on your recently finished games page so you can see if there is anyone you have not yet rated.
(Click on My Games and then Recently Finished)

Re: Conquer Club Games Filter GM Script

PostPosted: Sat Aug 30, 2008 9:17 pm
by Draconian_Intel
It is there, but its also on this page: http://www.conquerclub.com/player.php?mode=find, which is what I meant. Sorry I wasn't clear.

At least, it is for me... :?

*edit: It's also on "awaiting players", but unless I don't understand what it does, it can't do anything there and would be much more useful on "eliminated"

Re: Conquer Club Games Filter GM Script

PostPosted: Sat Aug 30, 2008 9:21 pm
by Draconian_Intel
Again, not a problem, especially since I don't rate people most of the time anyway, I'm just curious. Its a great script.

Re: Conquer Club Games Filter GM Script

PostPosted: Sat Aug 30, 2008 9:23 pm
by chipv
Draconian_Intel wrote:It is there, but its also on this page: http://www.conquerclub.com/player.php?mode=find, which is what I meant. Sorry I wasn't clear.

At least, it is for me... :?

*edit: It's also on "awaiting players", but unless I don't understand what it does, it can't do anything there and would be much more useful on "eliminated"


Well spotted!

This is a classic schoolboy error, will be corrected soon, thanks for spotting that!

Re: Conquer Club Games Filter GM Script

PostPosted: Sat Aug 30, 2008 9:33 pm
by Draconian_Intel
Cool, glad to be able to help in the debugging process.

Re: Conquer Club Games Filter GM Script

PostPosted: Sun Aug 31, 2008 6:41 am
by chipv
Ok, new version available.

No big deal, just removed the ratings select box from irrelevant pages. Also added it to eliminated games pages.

Thanks to a very observant Draconian_Intel.

Re: Conquer Club Games Filter GM Script

PostPosted: Sun Aug 31, 2008 8:10 pm
by chipv
New version available.

Includes fix for missing Conqueror games. All you need to do is change the max rank to conqueror.

There's a lot of new stuff, you may notice. This is part of a map reorganisation project.
(It's a map filter on the gamefinder and start game pages which you can configure with your own tags).

Defaults will be added shortly.

Re: Conquer Club Games Filter GM Script

PostPosted: Mon Sep 01, 2008 2:57 am
by Androidz
chipv wrote:New version available.

Includes fix for missing Conqueror games. All you need to do is change the max rank to conqueror.

There's a lot of new stuff, you may notice. This is part of a map reorganisation project.
(It's a map filter on the gamefinder and start game pages which you can configure with your own tags).

Defaults will be added shortly.


Will you add a system made from you to? A terrorie default and Auther? Theme? Most played maps? Or do we need to do this ourself? Cause i would like if you did this so we can just change tabs or something