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

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

Conquer Club Greasemonkey Script

Post by Tr0y »

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
Romber
Posts: 193
Joined: Sat Feb 25, 2006 10:52 pm
Gender: Male
Location: Michigan

Post by Romber »

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
Tr0y
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Contact:

Post by Tr0y »

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.
hotgun
Posts: 191
Joined: Thu Jan 26, 2006 1:37 pm

Post by hotgun »

I don't get how this works...
User avatar
Tr0y
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Contact:

Post by Tr0y »

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.
Machiavelli
Posts: 2021
Joined: Wed Feb 08, 2006 7:34 pm

Post by Machiavelli »

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: :)
User avatar
Tr0y
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Contact:

Post by Tr0y »

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.
bartb88
Posts: 16
Joined: Wed Feb 22, 2006 1:08 pm
Location: Indiana, USA
Contact:

Post by bartb88 »

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

Post by Tr0y »

Sweet, someone got it to work, now I have an excuse to post updates.
Erik
Posts: 1
Joined: Thu Mar 02, 2006 3:27 pm

Post by Erik »

Great work Troy. I really appreciate being able to see their number of cards that easily. I definitely look forward to seeing more features!
User avatar
lackattack
Posts: 6097
Joined: Sun Jan 01, 2006 10:34 pm
Location: Montreal, QC

Post by lackattack »

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
Itrade
Posts: 438
Joined: Fri Jan 06, 2006 2:14 am
Gender: Male
Location: Malaysia
Contact:

Post by Itrade »

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
Tr0y
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Contact:

Post by Tr0y »

Yea firefox rocks. Everyone should convert. :lol:
User avatar
moz976
Posts: 1132
Joined: Tue Jan 10, 2006 3:15 pm
Location: Georgia, USA

Post by moz976 »

Your the man Troy love the script.

Keep the updates coming. :mrgreen:
ADAM TJ
Posts: 36
Joined: Thu Jan 26, 2006 5:14 pm

Post by ADAM TJ »

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

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

Post by ADAM TJ »

oh wait now it does.


is that what you mean byt it works sometimes?
User avatar
thegrimsleeper
Posts: 984
Joined: Thu Jan 26, 2006 10:40 am
Location: Seattle
Contact:

Post by thegrimsleeper »

: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
kingwaffles
Posts: 718
Joined: Mon Jan 23, 2006 9:05 am
Location: Pseudopolis Yard, Ankh Morpork, Discworld

Post by kingwaffles »

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
max is gr8
Posts: 3720
Joined: Sat Jan 21, 2006 6:44 am
Location: In a big ball of light sent from the future

Post by max is gr8 »

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
john123
Posts: 161
Joined: Mon Feb 20, 2006 10:48 am
Location: Ireland

Post by john123 »

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
Tr0y
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Contact:

Post by Tr0y »

^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.
hotgun
Posts: 191
Joined: Thu Jan 26, 2006 1:37 pm

Post by hotgun »

so for this to work I just have to get firefox and Gress monkey
User avatar
Tr0y
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Contact:

Post by Tr0y »

hotgun
Posts: 191
Joined: Thu Jan 26, 2006 1:37 pm

Post by hotgun »

Umm... It did not work... I got both on my computer and it is not working
User avatar
stabskillz13
Posts: 17
Joined: Sat Feb 25, 2006 11:15 pm
Location: Theaters near you!

Post by stabskillz13 »

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!
Post Reply

Return to “Conquer Club Discussion”