Conquer Club

Join Game Filter Script

Talk about all things related to Conquer Club

Moderator: Community Team

Forum rules
Please read the community guidelines before posting.

Join Game Filter Script

Postby Rob Roy on Thu Aug 10, 2006 12:41 am

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
Corporal 1st Class Rob Roy
 
Posts: 3
Joined: Sun Jul 16, 2006 10:48 am
Location: Edmonton, Canada

Postby reverend_kyle on Thu Aug 10, 2006 12:42 am

I cant test it until I'm home so for now.. Good job.
User avatar
Sergeant reverend_kyle
 
Posts: 9250
Joined: Tue Mar 21, 2006 4:08 pm
Location: 1000 post club

Postby gavin_sidhu on Thu Aug 10, 2006 2:46 am

beautifully done. seems to be working thus far for me.
Highest Score: 1843 Ranking (Australians): 3
User avatar
Lieutenant gavin_sidhu
 
Posts: 1428
Joined: Mon May 22, 2006 6:16 am
Location: Brisbane, Australia

Postby kwolff on Thu Aug 10, 2006 3:14 am

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
Major kwolff
 
Posts: 123
Joined: Tue Jun 06, 2006 9:25 pm
Location: pittsburgh PA

Postby Phobia on Thu Aug 10, 2006 3:22 am

i like it...good job :)
User avatar
Sergeant 1st Class Phobia
 
Posts: 1497
Joined: Fri May 26, 2006 2:11 pm
Location: Sheffield, England

Postby Fatal Exception on Thu Aug 10, 2006 10:15 am

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*)
Private Fatal Exception
 
Posts: 1
Joined: Mon Jul 17, 2006 11:25 am

Postby Rob Roy on Thu Aug 10, 2006 6:08 pm

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
Corporal 1st Class Rob Roy
 
Posts: 3
Joined: Sun Jul 16, 2006 10:48 am
Location: Edmonton, Canada

Postby AndyDufresne on Thu Aug 10, 2006 7:48 pm

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
Corporal 1st Class AndyDufresne
 
Posts: 24935
Joined: Fri Mar 03, 2006 8:22 pm
Location: A Banana Palm in Zihuatanejo

Postby Ishiro on Wed Sep 13, 2006 4:20 pm

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
Corporal 1st Class Ishiro
 
Posts: 324
Joined: Mon Jul 17, 2006 5:53 pm
Location: Under the Rainbow

Postby horizon on Sat Nov 04, 2006 1:20 pm

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
Major horizon
 
Posts: 53
Joined: Tue Sep 05, 2006 7:47 pm
Location: Great State of Texas

Postby P Gizzle on Sat Nov 04, 2006 3:32 pm

will this work for ie7?
Gridiron Gang- CC's largest Clan!
User avatar
Cook P Gizzle
 
Posts: 4100
Joined: Fri Aug 04, 2006 5:00 pm
Location: Somewhere being absolutely AWESOME!


Return to Conquer Club Discussion

Who is online

Users browsing this forum: No registered users