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.

REDUNDANT: Conquer Club Games Filter GM Script

Postby chipv on Mon Aug 11, 2008 6:25 am

Conquer Club Games Filter

Image

Script to filter pages on Conquer Club

Filters pages on join games and waiting games listings on the game finder
by Maximum number of empty slots left, Minimum Rank,Maximum Rank,Minimum Rating

Filters the Recently Finished Games page to see games where you have not rated players.

Filters maps on the game finder and start game pages with user definable tags.

Sort maps alphabetically or by number of territories.

You can click on the map images on the game finder and start game pages to see number of territories
and number of initial territories.

New Filters the Active Games Page (My Games) by whose turn it is.

Versions
This script has version control. When you have the latest version the link next to Games Filter says Latest Version Installed.
Click on it to see latest additions and if necessary re-install.
When a new version is available , this will turn red and say New Version Available.
Click on it to see latest additions and if necessary re-install.

Install here:

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

After this you can install new versions from the link described above.

Join games pages and Waiting Games Listings Pages

At the top of the join pages and game finder listings there is a dropdown which you can use to filter the games by number of empty slots.
Saves having to trawl through the list trying to find a single free slot left.

Image

There are also dropdowns for filtering by maximum and minimum rank as well as minimum rating.

These filters work together now, so if you choose min rating = 4.8 AND min rank = Private AND Max Empty slots=2
This is a combination filter so they will all work at the same time.

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.

Recently Finished Games Page and Eliminated Page

On the recently finished games page and eliminated page, there is a dropdown to filter by games you have not given any ratings.

Image

Choose from All (show all) or Not Rated.

New My Games Page (Active Games Page)

On the default My Games Pages or Active games page there is a dropdown to filter by whose turn it is.

Image

Choose from Anyone, My Turn, Not My Turn

Game Finder and Start Games Page

Image

New Click on the map images to see number of territories and starting territories.
You can filter the view of the maps on the game finder and start game pages.
Set up new tags to filter out maps on the game finder. These will activate on the game finder and start game pages.

At the top there is a section called Map Tags.
You can assign a tag for any set of maps you like and the maps will be filtered so the ones you don't want are hidden.
There are buttons to check just these maps or clear all checkboxes.
Choose a tag using the select dropdown.
You will start with a "None" tag - this will always be there so you can select all maps to view.

Default Tags
Default tags cannot be removed but they can be modified.
They are preset tags primarily for helping choose map type.
Default tags exist for complexity , number of territories, and objectives maps.
The numbers next to the territory tag names indicate the range of territories represented by those maps.

Adding Tags
Start from the None tag or a similar tag to what you want.
Check the boxes you want for the tag.
Type in a memorable and relevant tag name.
Press Add Tag.
If the tag already exists you will be prompted to replace it. Cancel to stop replace.
The new tag will be added, the filter will activate and the select dropdown will choose the new tag.

Removing Tags
Remove individual tags by first selecting the tag fro the dropdown.
Click on Remove Tag.
Note you cannot remove the None Tag.
After removal, the select dropdown will choose the previous tag in the list and activate that filter.

Modifying Tags

Choose a tag to modify from the select dropdown.

Adding Maps
Press Check Visible.
Select None Tag - the selected maps will still be checked.
Check the checkboxes you want to add.
Type in the same tag name - must be case sensitive otherwise a new tag will appear.
Press Add Tag and press ok when prompted.

Removing Maps
Uncheck the checkboxes you want to remove.
Type in the same tag name - must be case sensitive otherwise a new tag will appear.
Press Add Tag and press ok when prompted.

Remove all Tags
Just click on Clear Tags to clear all tags except the None Tag - the Default Tags will be reset.

Checkboxes
The Check Visible button will check all the boxes in your filter and clear all checkboxes for hidden maps.
The Uncheck All button will clear all checkboxes including hidden maps.
Use these 2 and the tags to quickly select combinations of maps.
If you want to select all maps in a tag except one, select that tag, press check visible and clear the checkbox(es) you dont want.

Sorting
You sort the maps using the Sort By dropdown.
Sort alphabetically or by territory both ascending and descending.
Last edited by chipv on Mon Sep 01, 2008 11:35 am, edited 7 times in total.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Waiting Games Greasemonkey Script

Postby Kemmler on Mon Aug 11, 2008 6:32 am

nice. keep making awesome scripts chip!
User avatar
Cook Kemmler
 
Posts: 929
Joined: Fri Dec 07, 2007 1:03 pm
Location: GOODBYE CC

Re: Conquer Club Waiting Games Greasemonkey Script

Postby chipv on Mon Aug 11, 2008 7:14 am

You can now filter by minimum rank.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Waiting Games Greasemonkey Script

Postby Kemmler on Mon Aug 11, 2008 7:17 am

chip i change the dropdown but the pages doesnt refresh and there's no button to pres sso how do i get it to work?
User avatar
Cook Kemmler
 
Posts: 929
Joined: Fri Dec 07, 2007 1:03 pm
Location: GOODBYE CC

Re: Conquer Club Waiting Games Greasemonkey Script

Postby Hatchman on Mon Aug 11, 2008 7:35 am

Same problem here lol.
User avatar
Major Hatchman
 
Posts: 792
Joined: Sat Jan 13, 2007 6:05 am
Location: The charming village of Emery

Re: Conquer Club Waiting Games Greasemonkey Script

Postby chipv on Mon Aug 11, 2008 7:39 am

Kemmler wrote:chip i change the dropdown but the pages doesnt refresh and there's no button to pres sso how do i get it to work?


If you change the selection in a dropdown, the filter will activate automatically.
Obviously if there is nothing to filter, nothing will change.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Waiting Games Greasemonkey Script

Postby Kemmler on Mon Aug 11, 2008 7:39 am

chipv wrote:
Kemmler wrote:chip i change the dropdown but the pages doesnt refresh and there's no button to pres sso how do i get it to work?


If you change the selection in a dropdown, the filter will activate automatically.
Obviously if there is nothing to filter, nothing will change.


it doesnt activate automatically
User avatar
Cook Kemmler
 
Posts: 929
Joined: Fri Dec 07, 2007 1:03 pm
Location: GOODBYE CC

Re: Conquer Club Waiting Games Greasemonkey Script

Postby chipv on Mon Aug 11, 2008 7:42 am

It is only supposed to work on waiting games listing pages.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Waiting Games Greasemonkey Script

Postby chipv on Mon Aug 11, 2008 7:50 am

I've put a new version in that removes the dropdowns unless it is a waiting games page, I agree that is confusing.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Waiting Games Greasemonkey Script

Postby Kemmler on Mon Aug 11, 2008 7:58 am

it still doesnt refresh so doesnt do anything when I click on an option
User avatar
Cook Kemmler
 
Posts: 929
Joined: Fri Dec 07, 2007 1:03 pm
Location: GOODBYE CC

Re: Conquer Club Waiting Games Greasemonkey Script

Postby chipv on Mon Aug 11, 2008 8:02 am

Kemmler wrote:it still doesnt refresh so doesnt do anything when I click on an option


What settings did you use (what page are you on) so I can replicate and test please?
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Waiting Games Greasemonkey Script

Postby Kemmler on Mon Aug 11, 2008 8:04 am

Game Finder > Waiting for players > click option on dropdown and nothing happens
User avatar
Cook Kemmler
 
Posts: 929
Joined: Fri Dec 07, 2007 1:03 pm
Location: GOODBYE CC

Re: Conquer Club Waiting Games Greasemonkey Script

Postby chipv on Mon Aug 11, 2008 8:14 am

Yeah, you are right. Bug (already) with private/speed/tournament games.

Fixed and uploaded so give the new one a try please.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Waiting Games Greasemonkey Script

Postby Kemmler on Mon Aug 11, 2008 8:22 am

awesome! it works now. what you need is a way to filter out private/tourney games because otherwise they're all that shows up.
User avatar
Cook Kemmler
 
Posts: 929
Joined: Fri Dec 07, 2007 1:03 pm
Location: GOODBYE CC

Re: Conquer Club Waiting Games Greasemonkey Script

Postby chipv on Mon Aug 11, 2008 8:33 am

Kemmler wrote:awesome! it works now. what you need is a way to filter out private/tourney games because otherwise they're all that shows up.


Yeah, funny how the first few pages full of private/tourney games. Well you can always use the game finder to filter out private/tourney.
So always select Public.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby chipv on Mon Aug 11, 2008 9:33 am

Newest version works on join a game pages also.
Last edited by chipv on Sat Aug 23, 2008 5:20 am, edited 1 time in total.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Waiting Games GM Script

Postby chipv on Mon Aug 11, 2008 10:35 am

Dropdown filters all work at the same time so you can filter by rank and number of empty slots.

Also you can now filter by minimum player rating...
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Waiting Games GM Script

Postby Timminz on Mon Aug 11, 2008 12:50 pm

If you have a minimum rank function, why not a maximum too?
User avatar
Captain Timminz
 
Posts: 5579
Joined: Tue Feb 27, 2007 1:05 pm
Location: At the store

Re: Conquer Club Waiting Games GM Script

Postby chipv on Mon Aug 11, 2008 12:55 pm

Timminz wrote:If you have a minimum rank function, why not a maximum too?


No reason at all - depends if people want that.
Are you asking for this or just making a point, I'm not sure?
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Waiting Games GM Script

Postby Timminz on Mon Aug 11, 2008 1:06 pm

chipv wrote:
Timminz wrote:If you have a minimum rank function, why not a maximum too?


No reason at all - depends if people want that.
Are you asking for this or just making a point, I'm not sure?


I wouldn't use it, but I've seen it come up in some of the suggestion threads. Some lower scoring players don't want to be playing against colonels. I thought it might be a simple addition, that some people would find helpful.
User avatar
Captain Timminz
 
Posts: 5579
Joined: Tue Feb 27, 2007 1:05 pm
Location: At the store

Re: Conquer Club Waiting Games GM Script

Postby chipv on Mon Aug 11, 2008 1:37 pm

Timminz wrote:
chipv wrote:
Timminz wrote:If you have a minimum rank function, why not a maximum too?


No reason at all - depends if people want that.
Are you asking for this or just making a point, I'm not sure?


I wouldn't use it, but I've seen it come up in some of the suggestion threads. Some lower scoring players don't want to be playing against colonels. I thought it might be a simple addition, that some people would find helpful.


Yeah, I think you're right. I'll add it.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Waiting Games GM Script

Postby chipv on Mon Aug 11, 2008 1:51 pm

Done. Maximum rank added to set of dropdowns.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Waiting Games GM Script

Postby Optimus Prime on Mon Aug 11, 2008 2:16 pm

Hey there chipv, I've just checked this one out for a little bit.

Seems to work pretty good, but I have a suggestion. Right now, you've got the dropdown menus set up side by side at the top of the page, but that is really messing up the layout. Might I suggest you attempt stacking them on top of each other instead? I think it will help with the visual appeal when using it. I would go in this order:

1. Spots Available
2. Minimum Rank
3. Maximum Rank
4. Rating
User avatar
Cadet Optimus Prime
 
Posts: 9665
Joined: Mon Mar 12, 2007 9:33 pm

Re: Conquer Club Waiting Games GM Script

Postby chipv on Mon Aug 11, 2008 2:32 pm

Optimus Prime wrote:Hey there chipv, I've just checked this one out for a little bit.

Seems to work pretty good, but I have a suggestion. Right now, you've got the dropdown menus set up side by side at the top of the page, but that is really messing up the layout. Might I suggest you attempt stacking them on top of each other instead? I think it will help with the visual appeal when using it. I would go in this order:

1. Spots Available
2. Minimum Rank
3. Maximum Rank
4. Rating


Hmm, stacking does rather push the content down. I'm tinkering with this at the moment, just wondering how best to do it.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Waiting Games GM Script

Postby Optimus Prime on Mon Aug 11, 2008 2:36 pm

Hmmm... perhaps put Minimum Rank and Maximum Rank on top of each other, and then the other two next to them on top of each other?
User avatar
Cadet Optimus Prime
 
Posts: 9665
Joined: Mon Mar 12, 2007 9:33 pm

Next

Return to Tool Archives

Who is online

Users browsing this forum: No registered users