Page 1 of 1

Join Game Filter Script

PostPosted: Thu Aug 10, 2006 12:41 am
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

PostPosted: Thu Aug 10, 2006 12:42 am
by reverend_kyle
I cant test it until I'm home so for now.. Good job.

PostPosted: Thu Aug 10, 2006 2:46 am
by gavin_sidhu
beautifully done. seems to be working thus far for me.

PostPosted: Thu Aug 10, 2006 3:14 am
by kwolff
TY this is very nice. However is there a way to make it remember what your selections are?

PostPosted: Thu Aug 10, 2006 3:22 am
by Phobia
i like it...good job :)

PostPosted: Thu Aug 10, 2006 10:15 am
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*)

PostPosted: Thu Aug 10, 2006 6:08 pm
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

PostPosted: Thu Aug 10, 2006 7:48 pm
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

PostPosted: Wed Sep 13, 2006 4:20 pm
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.

PostPosted: Sat Nov 04, 2006 1:20 pm
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>

PostPosted: Sat Nov 04, 2006 3:32 pm
by P Gizzle
will this work for ie7?