Conquer Club

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.

Re: Conquer Club Games Filter GM Script

Postby TheTrueNorth on Sat Aug 23, 2008 12:30 pm

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
Corporal 1st Class TheTrueNorth
 
Posts: 1665
Joined: Tue Jan 29, 2008 12:32 am
Location: Toronto, Canada

Re: Conquer Club Games Filter GM Script

Postby chipv on Sat Aug 23, 2008 1:09 pm

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
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby PepperJack on Sat Aug 23, 2008 2:36 pm

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
Corporal 1st Class PepperJack
 
Posts: 251
Joined: Thu Feb 14, 2008 6:31 pm
Location: In transit.

Re: Conquer Club Games Filter GM Script

Postby TheTrueNorth on Sat Aug 23, 2008 2:56 pm

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
Corporal 1st Class TheTrueNorth
 
Posts: 1665
Joined: Tue Jan 29, 2008 12:32 am
Location: Toronto, Canada

Re: Conquer Club Games Filter GM Script

Postby OliverFA on Sat Aug 23, 2008 3:17 pm

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
Private OliverFA
 
Posts: 2295
Joined: Wed Jul 09, 2008 4:30 am
Location: Somewhere in Spain

Re: Conquer Club Games Filter GM Script

Postby chipv on Sun Aug 24, 2008 9:40 am

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
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby chipv on Sun Aug 24, 2008 4:44 pm

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
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby TheTrueNorth on Sun Aug 24, 2008 4:56 pm

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>
User avatar
Corporal 1st Class TheTrueNorth
 
Posts: 1665
Joined: Tue Jan 29, 2008 12:32 am
Location: Toronto, Canada

Re: Conquer Club Games Filter GM Script

Postby yowzer14 on Tue Aug 26, 2008 12:02 pm

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

Re: Conquer Club Games Filter GM Script

Postby chipv on Tue Aug 26, 2008 12:06 pm

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.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby yowzer14 on Tue Aug 26, 2008 12:17 pm

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

Re: Conquer Club Games Filter GM Script

Postby chipv on Tue Aug 26, 2008 1:56 pm

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
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby yowzer14 on Tue Aug 26, 2008 4:41 pm

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

Re: Conquer Club Games Filter GM Script

Postby PepperJack on Tue Aug 26, 2008 7:17 pm

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
Corporal 1st Class PepperJack
 
Posts: 251
Joined: Thu Feb 14, 2008 6:31 pm
Location: In transit.

Re: Conquer Club Games Filter GM Script

Postby chipv on Tue Aug 26, 2008 7:52 pm

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
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby PepperJack on Tue Aug 26, 2008 8:26 pm

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

Re: Conquer Club Games Filter GM Script

Postby Draconian_Intel on Sat Aug 30, 2008 9:01 pm

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

Re: Conquer Club Games Filter GM Script

Postby chipv on Sat Aug 30, 2008 9:11 pm

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)
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby Draconian_Intel on Sat Aug 30, 2008 9:17 pm

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

Re: Conquer Club Games Filter GM Script

Postby Draconian_Intel on Sat Aug 30, 2008 9:21 pm

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

Re: Conquer Club Games Filter GM Script

Postby chipv on Sat Aug 30, 2008 9:23 pm

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!
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby Draconian_Intel on Sat Aug 30, 2008 9:33 pm

Cool, glad to be able to help in the debugging process.
Image
Corporal Draconian_Intel
 
Posts: 79
Joined: Sat Jun 21, 2008 11:00 pm

Re: Conquer Club Games Filter GM Script

Postby chipv on Sun Aug 31, 2008 6:41 am

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
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby chipv on Sun Aug 31, 2008 8:10 pm

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
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby Androidz on Mon Sep 01, 2008 2:57 am

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

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users

cron