REDUNDANT: Conquer Club Games Filter GM Script

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
TheTrueNorth
Posts: 1737
Joined: Tue Jan 29, 2008 12:32 am
Gender: Male
Location: Toronto, Canada

Re: Conquer Club Games Filter GM Script

Post 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-)
User avatar
chipv
Head Tech
Head Tech
Posts: 3066
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Post 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.
User avatar
PepperJack
Posts: 251
Joined: Thu Feb 14, 2008 6:31 pm
Location: In transit.

Re: Conquer Club Games Filter GM Script

Post 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.
Game 3960030

Going on deployment, be back someday.

Sorry for deadbeating out of games.
User avatar
TheTrueNorth
Posts: 1737
Joined: Tue Jan 29, 2008 12:32 am
Gender: Male
Location: Toronto, Canada

Re: Conquer Club Games Filter GM Script

Post 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 )
User avatar
OliverFA
Posts: 2295
Joined: Wed Jul 09, 2008 4:30 am
Gender: Male
Location: Somewhere in Spain

Re: Conquer Club Games Filter GM Script

Post 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! :-)
User avatar
chipv
Head Tech
Head Tech
Posts: 3066
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Post 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.
User avatar
chipv
Head Tech
Head Tech
Posts: 3066
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Post 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.
User avatar
TheTrueNorth
Posts: 1737
Joined: Tue Jan 29, 2008 12:32 am
Gender: Male
Location: Toronto, Canada

Re: Conquer Club Games Filter GM Script

Post 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>
yowzer14
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Re: Conquer Club Games Filter GM Script

Post 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.
User avatar
chipv
Head Tech
Head Tech
Posts: 3066
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Post 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.
yowzer14
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Re: Conquer Club Games Filter GM Script

Post 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.
User avatar
chipv
Head Tech
Head Tech
Posts: 3066
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Post 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
yowzer14
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Re: Conquer Club Games Filter GM Script

Post 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.
User avatar
PepperJack
Posts: 251
Joined: Thu Feb 14, 2008 6:31 pm
Location: In transit.

Re: Conquer Club Games Filter GM Script

Post 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.
Game 3960030

Going on deployment, be back someday.

Sorry for deadbeating out of games.
User avatar
chipv
Head Tech
Head Tech
Posts: 3066
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Post 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?
User avatar
PepperJack
Posts: 251
Joined: Thu Feb 14, 2008 6:31 pm
Location: In transit.

Re: Conquer Club Games Filter GM Script

Post 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.
Game 3960030

Going on deployment, be back someday.

Sorry for deadbeating out of games.
Draconian_Intel
Posts: 79
Joined: Sat Jun 21, 2008 11:00 pm

Re: Conquer Club Games Filter GM Script

Post 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.
Image
User avatar
chipv
Head Tech
Head Tech
Posts: 3066
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Post 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)
Draconian_Intel
Posts: 79
Joined: Sat Jun 21, 2008 11:00 pm

Re: Conquer Club Games Filter GM Script

Post 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"
Image
Draconian_Intel
Posts: 79
Joined: Sat Jun 21, 2008 11:00 pm

Re: Conquer Club Games Filter GM Script

Post 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.
Image
User avatar
chipv
Head Tech
Head Tech
Posts: 3066
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Post 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!
Draconian_Intel
Posts: 79
Joined: Sat Jun 21, 2008 11:00 pm

Re: Conquer Club Games Filter GM Script

Post by Draconian_Intel »

Cool, glad to be able to help in the debugging process.
Image
User avatar
chipv
Head Tech
Head Tech
Posts: 3066
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Post 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.
User avatar
chipv
Head Tech
Head Tech
Posts: 3066
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Post 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.
User avatar
Androidz
Posts: 1046
Joined: Mon Dec 03, 2007 11:03 am

Re: Conquer Club Games Filter GM Script

Post 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
Image
Locked

Return to “Tool Archives”