Conquer Club
CC Time:

Greasemonkey Script: Conquer Club Game Link - v 1.5.0

The storehouse of handy and helpful plugins/addons and webpages.

Moderators: Tech Team, Global Moderators

Forum rules
Please read the Community Guidelines before posting.

Greasemonkey Script: Conquer Club Game Link - v 1.5.0

Postby Foxglove on Sun Sep 20, 2009 12:07 pm

Tired of having to click on a game link to see its settings (map name, play type, spoils, etc.) and players?

Here's a script to show a popup with game settings and player info next to game links in the forum and your inbox:
https://github.com/sherkaner/addons-for ... nk.user.js

The popup displays when you mouse over a link, and hides itself when you move your mouse away.

User Guide
Game Link User Guide

v 1.5.0 (2012/05/10):
- Replaced Fog of War (Yes, No) with Special Gameplay (None, Fog, Trench, Fog Trench) [ender516]

v 1.3.1 (4/17):
- Added Round # to popup display

v 1.3 (11/29):
- Updated to work correctly with site updates

v 1.2 (10/4):
- Display player rank info
- Include on preview messages in your inbox
- Fixed a bug that caused Players label to not display correctly in Assassin and Terminator games

v 1.1:
- Player info: the popup shows details about players in the game, empty spots, and eliminated players
- Inbox: the script now applies to game links in the forums and in your inbox


And here's what it looks like in action!

In the forums:
Image

In your inbox:
Image
Last edited by ender516 on Thu May 10, 2012 10:56 pm, edited 8 times in total.
Reason: revised subject and body with regard to 1.5.0: Special Gameplay (reflects addition of Trench Warfare option to games)
Brigadier Foxglove
 
Posts: 814
Joined: Sun Dec 16, 2007 1:05 pm
Medals: 49
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Freestyle Achievement (1)
Nuclear Spoils Achievement (2) Fog of War Achievement (2) Trench Warfare Achievement (1) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (1) Tournament Achievement (6) General Achievement (6) Clan Achievement (9) Tournament Contribution (1)
General Contribution (6)

Re: New Greasemonkey Script: Conquer Club Game Link

Postby chipv on Sun Sep 20, 2009 12:29 pm

Excellent script, Foxy!

Could extend the include pages (for example we might be sent game links in PMs) also.
(It still works, just tried it, nice job!)
User avatar
Colonel chipv
 
Posts: 2793
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: New Greasemonkey Script: Conquer Club Game Link

Postby Foxglove on Sun Sep 20, 2009 1:13 pm

chipv wrote:Excellent script, Foxy!

Could extend the include pages (for example we might be sent game links in PMs) also.
(It still works, just tried it, nice job!)


Thank you :D I will extend it to include PMs. :)
Brigadier Foxglove
 
Posts: 814
Joined: Sun Dec 16, 2007 1:05 pm
Medals: 49
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Freestyle Achievement (1)
Nuclear Spoils Achievement (2) Fog of War Achievement (2) Trench Warfare Achievement (1) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (1) Tournament Achievement (6) General Achievement (6) Clan Achievement (9) Tournament Contribution (1)
General Contribution (6)

Re: New Greasemonkey Script: Conquer Club Game Link

Postby Riazor on Sun Sep 20, 2009 1:38 pm

Very nice! Should be incorporated in the site :mrgreen:

I do have one minor suggestion: also show for how many players the game is made
Image
User avatar
Lieutenant Riazor
 
Posts: 333
Joined: Mon Apr 09, 2007 8:57 am
Location: On the scoreboard
Medals: 30
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (1)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (1) Tournament Achievement (1) General Achievement (2)
Clan Achievement (7)

Re: New Greasemonkey Script: Conquer Club Game Link

Postby Bruceswar on Mon Sep 21, 2009 5:12 am

sweet script! Woohoo!
Highest Rank: 26 Highest Score: 3480 ‹Metsfanmax› rds is clearly unqualified.
Image
User avatar
Major Bruceswar
 
Posts: 8630
Joined: Sun Dec 23, 2007 12:36 am
Medals: 127
Standard Achievement (4) Doubles Achievement (4) Triples Achievement (3) Quadruples Achievement (4) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (3) Freestyle Achievement (4) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Trench Warfare Achievement (1) Speed Achievement (3) Teammate Achievement (3) Random Map Achievement (2) Cross-Map Achievement (4)
Ratings Achievement (4) Tournament Achievement (13) General Achievement (14) Clan Achievement (14) Training Achievement (6)
Map Contribution (1) Tournament Contribution (21) General Contribution (8)

Re: New Greasemonkey Script: Conquer Club Game Link

Postby Foxglove on Mon Sep 21, 2009 10:34 am

Riazor wrote:Very nice! Should be incorporated in the site :mrgreen:

I do have one minor suggestion: also show for how many players the game is made


I will add player info!
Brigadier Foxglove
 
Posts: 814
Joined: Sun Dec 16, 2007 1:05 pm
Medals: 49
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Freestyle Achievement (1)
Nuclear Spoils Achievement (2) Fog of War Achievement (2) Trench Warfare Achievement (1) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (1) Tournament Achievement (6) General Achievement (6) Clan Achievement (9) Tournament Contribution (1)
General Contribution (6)

Re: New Greasemonkey Script: Conquer Club Game Link

Postby Dako on Tue Sep 22, 2009 3:59 pm

Nice plugin and a very clear code.
Kudos!
Image
User avatar
Brigadier Dako
 
Posts: 3866
Joined: Sun Aug 26, 2007 9:07 am
Medals: 108
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (2) Freestyle Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Trench Warfare Achievement (1) Speed Achievement (1) Teammate Achievement (2) Random Map Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) Tournament Achievement (13) General Achievement (23) Clan Achievement (17) General Contribution (20)

Re: New Greasemonkey Script: Conquer Club Game Link

Postby Foxglove on Wed Sep 23, 2009 10:19 am

Dako wrote:Nice plugin and a very clear code.
Kudos!


Thanks :D
Brigadier Foxglove
 
Posts: 814
Joined: Sun Dec 16, 2007 1:05 pm
Medals: 49
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Freestyle Achievement (1)
Nuclear Spoils Achievement (2) Fog of War Achievement (2) Trench Warfare Achievement (1) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (1) Tournament Achievement (6) General Achievement (6) Clan Achievement (9) Tournament Contribution (1)
General Contribution (6)

Re: New Greasemonkey Script: Conquer Club Game Link - Updated!

Postby Foxglove on Wed Sep 23, 2009 10:20 am

I've updated the script to show game players as well as extended the includes so that it works in your inbox! :D
Brigadier Foxglove
 
Posts: 814
Joined: Sun Dec 16, 2007 1:05 pm
Medals: 49
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Freestyle Achievement (1)
Nuclear Spoils Achievement (2) Fog of War Achievement (2) Trench Warfare Achievement (1) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (1) Tournament Achievement (6) General Achievement (6) Clan Achievement (9) Tournament Contribution (1)
General Contribution (6)

Re: New Greasemonkey Script: Conquer Club Game Link - Updated!

Postby Riazor on Wed Sep 23, 2009 10:24 am

Foxglove wrote:I've updated the script to show game players as well as extended the includes so that it works in your inbox! :D


Works like a charm! Thanks Fox!

Since you show the player's names who are currently in the game (i was only expecting a max number of players, so hurray for getting more!), would it be possible to show their rank/insignia too?
Image
User avatar
Lieutenant Riazor
 
Posts: 333
Joined: Mon Apr 09, 2007 8:57 am
Location: On the scoreboard
Medals: 30
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (1)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (1) Tournament Achievement (1) General Achievement (2)
Clan Achievement (7)

Re: New Greasemonkey Script: Conquer Club Game Link - Updated!

Postby Supermarioluigi on Wed Sep 23, 2009 10:29 am

I like this.

Now my CC life is one step easier.
Image
Achieved August 27, 2009
User avatar
Cook Supermarioluigi
 
Posts: 361
Joined: Sun Feb 18, 2007 5:06 pm
Location: uhh...over there
Medals: 19
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (2)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (2) Cross-Map Achievement (3) Ratings Achievement (3)
General Achievement (1) Tournament Contribution (1)

Re: New Greasemonkey Script: Conquer Club Game Link - Updated!

Postby sherkaner on Wed Sep 23, 2009 10:39 am

Very nice.

One question though: if it's possible to request a single game through the api, would you use that?
Major sherkaner
 
Posts: 1582
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

Re: New Greasemonkey Script: Conquer Club Game Link - Updated!

Postby Foxglove on Wed Sep 23, 2009 12:14 pm

sherkaner wrote:Very nice.

One question though: if it's possible to request a single game through the api, would you use that?


Of course - that's why I asked for it in the first place. :) It would be far simpler than the multi-screen scraping/parsing I'm currently doing.

But I wanted the script now, and as there's no ETA for the new API feature, I went ahead and wrote it the way it is.
Brigadier Foxglove
 
Posts: 814
Joined: Sun Dec 16, 2007 1:05 pm
Medals: 49
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Freestyle Achievement (1)
Nuclear Spoils Achievement (2) Fog of War Achievement (2) Trench Warfare Achievement (1) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (1) Tournament Achievement (6) General Achievement (6) Clan Achievement (9) Tournament Contribution (1)
General Contribution (6)

Re: New Greasemonkey Script: Conquer Club Game Link - Updated!

Postby Foxglove on Wed Sep 23, 2009 12:15 pm

Riazor wrote:
Foxglove wrote:I've updated the script to show game players as well as extended the includes so that it works in your inbox! :D


Works like a charm! Thanks Fox!

Since you show the player's names who are currently in the game (i was only expecting a max number of players, so hurray for getting more!), would it be possible to show their rank/insignia too?


Thanks :) I can potentially do that - I just don't want to put so much info in the popup that it gets huge and unwieldy.
Brigadier Foxglove
 
Posts: 814
Joined: Sun Dec 16, 2007 1:05 pm
Medals: 49
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Freestyle Achievement (1)
Nuclear Spoils Achievement (2) Fog of War Achievement (2) Trench Warfare Achievement (1) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (1) Tournament Achievement (6) General Achievement (6) Clan Achievement (9) Tournament Contribution (1)
General Contribution (6)

Re: New Greasemonkey Script: Conquer Club Game Link - Updated!

Postby danryan on Wed Sep 23, 2009 12:53 pm

Awesome script. Thanks for it.
User avatar
Captain danryan
 
Posts: 3539
Joined: Tue Jan 09, 2007 8:30 pm
Medals: 146
Standard Achievement (4) Doubles Achievement (4) Triples Achievement (3) Quadruples Achievement (4) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (3) Freestyle Achievement (4) Nuclear Spoils Achievement (3) Fog of War Achievement (4)
Trench Warfare Achievement (1) Speed Achievement (4) Teammate Achievement (3) Random Map Achievement (3) Cross-Map Achievement (3)
Ratings Achievement (4) Tournament Achievement (30) General Achievement (7) Clan Achievement (12) Tournament Contribution (30)
General Contribution (14)

Next

Return to Available Tools/Enhancements

Who is online

Users browsing this forum: jcarter1, ViperOverLord, wi1bert and 1 guest

 

Login

 

 

 

Bookmark and Share

 

Give Premium

Gift Certificates