Join Game Filter Script

Talk about all things related to Conquer Club

Moderator: Community Team

Forum rules
Please read the community guidelines before posting.
Post Reply
User avatar
Rob Roy
Posts: 3
Joined: Sun Jul 16, 2006 10:48 am
Location: Edmonton, Canada

Join Game Filter Script

Post by Rob Roy »

I took Tr0y's game sorter greasemonkey script and made some modifications to it.

This new script allows you to filter out game settings that you don't like right on the "Join Game" screen, so that you only see the game types that you like.

http://www.ualberta.ca/~andrewl/ccgamelistingfilter.user.js

Disclaimer: I've only tested this on Firefox 1.5 for Mac, so if you try it on something else and it doesn't work, let me know and I will do my best to fix it.

Disclaimer 2: This is my first ever attempt at a greasemonkey script. JS is not my language of choice, if anyone wants to take a stab at optimizing it (*cough*Tr0y*cough*), go for it :D

--Rob
User avatar
reverend_kyle
Posts: 9250
Joined: Tue Mar 21, 2006 4:08 pm
Location: 1000 post club
Contact:

Post by reverend_kyle »

I cant test it until I'm home so for now.. Good job.
User avatar
gavin_sidhu
Posts: 1428
Joined: Mon May 22, 2006 6:16 am
Location: Brisbane, Australia

Post by gavin_sidhu »

beautifully done. seems to be working thus far for me.
Highest Score: 1843 Ranking (Australians): 3
User avatar
kwolff
Posts: 123
Joined: Tue Jun 06, 2006 9:25 pm
Location: pittsburgh PA

Post by kwolff »

TY this is very nice. However is there a way to make it remember what your selections are?
Last edited by kwolff on Thu Aug 10, 2006 3:38 am, edited 1 time in total.
User avatar
Phobia
Posts: 1497
Joined: Fri May 26, 2006 2:11 pm
Gender: Male
Location: Sheffield, England

Post by Phobia »

i like it...good job :)
Fatal Exception
Posts: 1
Joined: Mon Jul 17, 2006 11:25 am

Post by Fatal Exception »

Wow, somebody has time on their hands :-P

Looks pretty slick. I'd point out that you can pretty much accomplish the same thing with the Game Finder, but I'll admit that it's nicer to see games be dynamically filtered. Just felt the need to justify why I didn't go to the trouble myself. (Plus Javascript coding makes me feel grateful to be using PHP *shudder*)
User avatar
Rob Roy
Posts: 3
Joined: Sun Jul 16, 2006 10:48 am
Location: Edmonton, Canada

Post by Rob Roy »

Fatal Exception wrote:Wow, somebody has time on their hands :-P

Looks pretty slick. I'd point out that you can pretty much accomplish the same thing with the Game Finder, but I'll admit that it's nicer to see games be dynamically filtered. Just felt the need to justify why I didn't go to the trouble myself. (Plus Javascript coding makes me feel grateful to be using PHP *shudder*)


Its true that you can use the game finder, but you can't join games from the game finder, you have to take the game number and go back to the join games screen.

I'm going to make some changes this weekend and hopefully it will remember your settings...

Rob
User avatar
AndyDufresne
Posts: 24935
Joined: Fri Mar 03, 2006 8:22 pm
Location: A Banana Palm in Zihuatanejo
Contact:

Post by AndyDufresne »

Looks like this might be a nice user addition! Lack is currently working on something similar for the site, so at least there is hope for that eventually! Hopefully I'll get a chance to check it out.


--Andy
User avatar
Ishiro
Posts: 324
Joined: Mon Jul 17, 2006 5:53 pm
Gender: Male
Location: Under the Rainbow
Contact:

Post by Ishiro »

There is a small issue with the script... when you re-check an unchecked box, it adds back games without checking them against the filter.

To see this, have the script installed, go to the Join page, pick the first game in the list... let's pretend its a Sequential, Standard game. Uncheck sequential and it goes away. Uncheck standard and its still gone. Re-check standard, the game comes back even though it violates the "no sequential" rule you have going.

When a box is changed, all the boxes/filters need to be reapplied.
User avatar
horizon
Posts: 53
Joined: Tue Sep 05, 2006 7:47 pm
Location: Great State of Texas

Post by horizon »

I upgraded to Firefox 2.0 and it seemed to still work the same, but it's not working for me at all now ... looks like lack changed the Game Finder page a little.

BTW, love the script!! =D>
"Rockin' and rollin', splishin' and a-splashin',
Over the horizon, what can it be?" - No More Kings
http://www.school-house-rock.com/King.html
User avatar
P Gizzle
Posts: 4100
Joined: Fri Aug 04, 2006 5:00 pm
Location: Somewhere being absolutely AWESOME!

Post by P Gizzle »

will this work for ie7?
Gridiron Gang- CC's largest Clan!
Post Reply

Return to “Conquer Club Discussion”