Conquer Club

Conquer Club Greasemonkey Script

Talk about all things related to Conquer Club

Moderator: Community Team

Forum rules
Please read the community guidelines before posting.

What do you rate this script?

 
Total votes : 0

Conquer Club Greasemonkey Script

Postby Tr0y on Fri Mar 03, 2006 8:15 pm

NOTE: You need firefox with the Greasemonkey extension to use.
Firefox: http://www.mozilla.com/firefox/
Greasemonkey: http://greasemonkey.mozdev.org/

This just a simple greasemonkey script I wrote that calculates the # of cards each player has, the card redemption value, and shows a status indicator so you know whether the player is currently playing.

I wrote this for myself, then I figured other people would like this so I asked Lack if it was okay, and he okay'ed it.

Here is where you can get it
http://personal.ecu.edu/tnt1202/conquerclub.user.js

Let me know what you guys think.

The following is taken from the script:

Conquer Club - Card Counter, Card Redemption Value, Status Indicator
version 0.1 BETA!
-----------------------------------------------------------------------------
Installation
-----------------------------------------------------------------------------
This is a Greasemonkey user script.

To install, you need Greasemonkey: http://greasemonkey.mozdev.org/
Then restart Firefox and revisit this script.
Under Tools, there will be a new menu item to "Install User Script".
Accept the default configuration and install.

To uninstall, go to Tools/Manage User Scripts,
select "Conquer Club", and click Uninstall.

-----------------------------------------------------------------------------
Description
-----------------------------------------------------------------------------
* Adds a status indicator and number of cards each player has to the rightside
of the dashboard.
* Adds card redemption values
-----------------------------------------------------------------------------
Notes
-----------------------------------------------------------------------------
* The status indicator isn't always accurate. It goes yellow when a player
receives men, and red when they fortify, and back to green when a new round
is started.
-----------------------------------------------------------------------------
Todo
-----------------------------------------------------------------------------
* Add total armies each player has
* Add estimated men next turn
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

Postby Romber on Fri Mar 03, 2006 9:27 pm

wow thats really helpful. I dont use firefox and dont plan on switching anytime soon. But it sure sounds very nice to have. gj
I AM TEH RUST
User avatar
Cadet Romber
 
Posts: 193
Joined: Sat Feb 25, 2006 10:52 pm
Location: Michigan

Postby Tr0y on Sun Mar 05, 2006 4:18 pm

Hrm. I was really expecting a much more of a response to this. I guess nobody cares. :cry:

If anyone uses this and wants me to continue posting updates let me know.

Planning on putting a realtime clock in, other random statistics like... expected men next round, total armies, ect.

Preview:
Image
Last edited by Tr0y on Sun Mar 05, 2006 4:26 pm, edited 1 time in total.
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

Postby hotgun on Sun Mar 05, 2006 4:26 pm

I don't get how this works...
Corporal 1st Class hotgun
 
Posts: 191
Joined: Thu Jan 26, 2006 1:37 pm

Postby Tr0y on Sun Mar 05, 2006 4:28 pm

If you have firefox, you get the extension greasemonkey. This extension lets 3rd parties embed javascript into a webpage allowing them to change the content, functionality, look, and feel.

So what I have is a script that changes how conquerclub looks and functions.
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

Postby Machiavelli on Sun Mar 05, 2006 6:21 pm

It sounds really cool but I dont plan on getting firefox just to use that feature. Maybe lackattack could make that the conquer club norm? great job anyway though. :wink: :)
Sergeant Machiavelli
 
Posts: 2021
Joined: Wed Feb 08, 2006 7:34 pm

Postby Tr0y on Sun Mar 05, 2006 6:36 pm

Ah, thanks 8)

Kind of disappointing though, I figured more people use firefox, but I guess a lot of players play at school which means they only use IE.
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

Postby bartb88 on Sun Mar 05, 2006 6:47 pm

nice prog Tr0y
Corporal bartb88
 
Posts: 16
Joined: Wed Feb 22, 2006 1:08 pm
Location: Indiana, USA

Postby Tr0y on Sun Mar 05, 2006 6:57 pm

Sweet, someone got it to work, now I have an excuse to post updates.
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

Postby Erik on Sun Mar 05, 2006 11:19 pm

Great work Troy. I really appreciate being able to see their number of cards that easily. I definitely look forward to seeing more features!
Cadet Erik
 
Posts: 1
Joined: Thu Mar 02, 2006 3:27 pm

Postby lackattack on Mon Mar 06, 2006 6:43 am

Firefox was used with 19% of Conquer Club traffic in January and 21% in February. If your "Conquer Club Assistant" becomes popular, we may see the Firefox percentage grow by the end of March.
User avatar
Corporal 1st Class lackattack
 
Posts: 6097
Joined: Sun Jan 01, 2006 10:34 pm
Location: Montreal, QC

Postby Itrade on Mon Mar 06, 2006 6:49 am

I can't install Greasemonkey 'cause it'll mess with my urban dead extention. And I like my Urban Dead extention.
Image My set is a bone coat-of-arms and chandelier! How cool is that?
User avatar
Sergeant Itrade
 
Posts: 438
Joined: Fri Jan 06, 2006 2:14 am
Location: Malaysia

Postby Tr0y on Mon Mar 06, 2006 8:55 am

Yea firefox rocks. Everyone should convert. :lol:
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

Postby moz976 on Mon Mar 06, 2006 9:17 am

Your the man Troy love the script.

Keep the updates coming. :mrgreen:
User avatar
Private moz976
 
Posts: 1132
Joined: Tue Jan 10, 2006 3:15 pm
Location: Georgia, USA

Postby ADAM TJ on Mon Mar 06, 2006 9:37 am

this is awsome!!!!! keep it up! and it is nicely integrated and everything

although that status indicator thing dosent seem to work for me.
Cadet ADAM TJ
 
Posts: 36
Joined: Thu Jan 26, 2006 5:14 pm

Postby ADAM TJ on Mon Mar 06, 2006 9:51 am

oh wait now it does.


is that what you mean byt it works sometimes?
Cadet ADAM TJ
 
Posts: 36
Joined: Thu Jan 26, 2006 5:14 pm

Postby thegrimsleeper on Mon Mar 06, 2006 3:14 pm

:mrgreen: (applause, applause, applause) :mrgreen:

All I can say is thank you.

AND, I think it's pretty cool that it's something that must be sought out, as opposed to just a regular feature.

Just one more reason why Firefox=t3h pwnz0r.
User avatar
Sergeant 1st Class thegrimsleeper
 
Posts: 984
Joined: Thu Jan 26, 2006 10:40 am
Location: Seattle

Postby kingwaffles on Mon Mar 06, 2006 3:15 pm

Dude firefox owns IE every time, no question. I'll look into this funky greasemonky thing when I get home, it looks pretty sweet.
Image
User avatar
Corporal 1st Class kingwaffles
 
Posts: 718
Joined: Mon Jan 23, 2006 9:05 am
Location: Pseudopolis Yard, Ankh Morpork, Discworld

Postby max is gr8 on Mon Mar 06, 2006 3:41 pm

At first i didn't work but now it does at first i voted 1 but change it to 3 then 5 when improvements are done I'm looking forward to these
‹max is gr8› so you're a tee-total healthy-eating sex-addict?
‹New_rules› Everyone has some bad habits
(4th Jan 2010)
User avatar
Corporal max is gr8
 
Posts: 3720
Joined: Sat Jan 21, 2006 6:44 am
Location: In a big ball of light sent from the future

Postby john123 on Mon Mar 06, 2006 3:53 pm

Looks like a handy tool but i won't be using it cos i play on different computers all the time, well done anyway. Kinda takes a bit away from the game though keeping track of what players have and such, good risk players should know all that anyway
User avatar
Sergeant 1st Class john123
 
Posts: 161
Joined: Mon Feb 20, 2006 10:48 am
Location: Ireland

Postby Tr0y on Mon Mar 06, 2006 6:32 pm

^While I agree good risk players should know how many cards people have, its kind of hard when you are playing multiple games spread out.

As for the status indicator, it isnt perfect.

When a player receives men it goes yellow.
If they dont fortify it stays yellow until the end of the round.
Then it goes green again.

I noted this in the comments.

Its impossible to know if a player truly ended his turn unless they fortify.

That wont change unless lack adds a context clue in the log ( ie 'player ended his turn.' ) or player is forced to end turn after x mins.
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

Postby hotgun on Mon Mar 06, 2006 8:00 pm

so for this to work I just have to get firefox and Gress monkey
Corporal 1st Class hotgun
 
Posts: 191
Joined: Thu Jan 26, 2006 1:37 pm

Postby Tr0y on Mon Mar 06, 2006 8:03 pm

User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

Postby hotgun on Mon Mar 06, 2006 8:16 pm

Umm... It did not work... I got both on my computer and it is not working
Corporal 1st Class hotgun
 
Posts: 191
Joined: Thu Jan 26, 2006 1:37 pm

Postby stabskillz13 on Mon Mar 06, 2006 9:03 pm

Tr0y wrote:When a player receives men it goes yellow.
If they dont fortify it stays yellow until the end of the round.
Then it goes green again.


Really? Wow, I feel bad for yelling at people about holding then, uh, sorry everyone.
The skapocalypse is here!
User avatar
Cadet stabskillz13
 
Posts: 17
Joined: Sat Feb 25, 2006 11:15 pm
Location: Theaters near you!

Next

Return to Conquer Club Discussion

Who is online

Users browsing this forum: No registered users