Conquer Club

Conquer Club Greasemonkey Script (beta .3)

Talk about all things related to Conquer Club

Moderator: Community Team

Forum rules
Please read the community guidelines before posting.

Conquer Club Greasemonkey Script (beta .3)

Postby Tr0y on Tue Apr 11, 2006 3:30 pm

Installation
1. Get Firefox
2. Get Greasemonkey
3. if Color Blind go to step 3b. Else go to http://personal.ecu.edu/tnt1202/conquerclub.user.js
3b. Go to http://personal.ecu.edu/tnt1202/conquer ... nd.user.js
4. Refresh your browser, to make sure you have the latest, it should say
"version 0.3 BETA!" on the second line.

5. Click the install button in the top right corner.

For help please post here or
http://www.conquerclub.com/forum/viewtopic.php?t=525

Image


NOTES:

This version is mostly a fixing errors of the previous version ( hyphens ), and it adds new status icons.

If you do not like these icons you can edit the user settings in the .js file...
It looks like the following:
//-----------------------------------------------------------------------------
// BEGIN User Settings
//-----------------------------------------------------------------------------

var isColorBlind = true; //set this to true if you want color indicators on map
var ShapedStatusIcons = true; //ie square for can't play
var BorderedIcons = false; // only takes matters if ShapedStatusIcons is set to true.

//-----------------------------------------------------------------------------
// END User Settings
//-----------------------------------------------------------------------------

Just change the true values to false values if you want to turn something off... Or if you happen to go colorblind just set the isColorBlind to true.

Let me know what you guys think.

P.S.

You will get a javascript error gmtop not defined, just ignore that for now, I'll fix that later. It works... but yea gives an error... :-\

Its used to skip down to the map... so everything is in view.
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

beta .3

Postby smeagol on Tue Apr 11, 2006 4:49 pm

it's excellent but I wonder if you are going to put the probability calculator
User avatar
Private smeagol
 
Posts: 2
Joined: Tue Apr 11, 2006 2:14 pm

beta .3

Postby smeagol on Tue Apr 11, 2006 4:53 pm

troy, can you make a script that can refresh the map automatically?
User avatar
Private smeagol
 
Posts: 2
Joined: Tue Apr 11, 2006 2:14 pm

Postby Tr0y on Tue Apr 11, 2006 5:26 pm

I could make a map refresh automatically... I probably wont though...

Yes, I think I'll add a probability calculator sometime in the future.

This just fixes issues with hyphens.
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

refresh auto

Postby jpqs on Tue Apr 11, 2006 7:19 pm

i've founded an auto refresh extension for firefox https://addons.mozilla.org/extensions/moreinfo.php?id=115
Private jpqs
 
Posts: 6
Joined: Fri Mar 03, 2006 5:28 pm

Postby Zepy12 on Tue Apr 11, 2006 8:49 pm

Tr0y....you DA MAN. I'd give you my first born, but he's already 17, talks back, wants a car, keeps a messy room, etc...so instead...a BIG THANK YOU!

Zepy
User avatar
Sergeant 1st Class Zepy12
 
Posts: 140
Joined: Fri Feb 03, 2006 2:13 pm
Location: Mousetown, FL

Postby Tr0y on Tue Apr 11, 2006 8:51 pm

If you just installed the script, reinstall it.

Lack just updated which broke the countdown, I fixed it...

as of... 9:47pm eastern on 4/11/2006
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

Postby terrafutan on Wed Apr 12, 2006 5:23 am

Having an issue with Brazil map - all the ALT chars are screwed up in the drop down lists - is this a script issue ?

2006-04-12 12:22:07 - terrafutan fortified Santar�m with 2 armies from S�o Lu�s
2006-04-12 12:22:21 - terrafutan fortified Santar�m with 2 armies from Bel�m
User avatar
Corporal 1st Class terrafutan
 
Posts: 159
Joined: Mon Mar 20, 2006 4:56 pm

Postby lackattack on Wed Apr 12, 2006 6:39 am

No, that's my fault. I'll try to get it fixed soon.
User avatar
Corporal 1st Class lackattack
 
Posts: 6097
Joined: Sun Jan 01, 2006 10:34 pm
Location: Montreal, QC

Postby terrafutan on Wed Apr 12, 2006 6:54 am

ah ok lack thanks

had just installed the script and this was the first map I tried

false accusation there, Ill have a drink for it
User avatar
Corporal 1st Class terrafutan
 
Posts: 159
Joined: Mon Mar 20, 2006 4:56 pm

Postby Marvaddin on Wed Apr 12, 2006 7:51 am

I send to lack the xml file for Brazil map again, so he will probably correct the problem soon.
Image
User avatar
Major Marvaddin
 
Posts: 2545
Joined: Thu Feb 09, 2006 5:06 pm
Location: Belo Horizonte, Brazil

Postby General Mayhem on Wed Apr 12, 2006 1:41 pm

do you think you can fix the now playing icon to work rather than just working during fortifying?

its coming along real nice though!!

mayhem
"There is a forgotten, nay almost forbidden word, which means more to me than any other. That word is ENGLAND."
User avatar
Colonel General Mayhem
 
Posts: 197
Joined: Fri Mar 17, 2006 6:29 am
Location: Leeds, England, UK

Postby Tr0y on Wed Apr 12, 2006 2:18 pm

Not until I get something in the log that says...
x ended his turn.

Till then the best I can do is assuming they are ending or about to end their turn...

Oh wait... Lack did put that new 1hr limit on turns.. :D

Um.. Alright, I spose I'll release something as soon as I get around to it...

Keep in mind it would sometimes be off by less than an hour.. but thats acceptable...
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

grease monkey

Postby jpqs on Wed Apr 12, 2006 2:59 pm

troy, can you make that the status indicator on "no double turns" turns to red when you are the last. and you cant take the turn. it would be useful... thanks
Private jpqs
 
Posts: 6
Joined: Fri Mar 03, 2006 5:28 pm

Postby Hoff on Wed Apr 12, 2006 4:02 pm

would it be possible to add how many armies they will recieve next turn for Continents they hold?
User avatar
Sergeant Hoff
 
Posts: 861
Joined: Thu Mar 16, 2006 1:46 am
Location: Philadelphia, PA

Postby PaperPlunger on Wed Apr 12, 2006 4:51 pm

you too lazy to add?
User avatar
Private PaperPlunger
 
Posts: 657
Joined: Sun Mar 05, 2006 3:33 pm
Location: Maine!

Postby Hoff on Wed Apr 12, 2006 5:13 pm

PaperPlunger wrote:you too lazy to add?


Pretty much everything on this grease monkeyscript you can add in your head. Its just awesome to see everything laid out for you. So yes, i'm to lazy to add.
User avatar
Sergeant Hoff
 
Posts: 861
Joined: Thu Mar 16, 2006 1:46 am
Location: Philadelphia, PA

Postby Jota on Wed Apr 12, 2006 5:55 pm

Hoff wrote:would it be possible to add how many armies they will recieve next turn for Continents they hold?


I don't think so. If I understand it right, the script works off of information available on the page. I don't think the page lists either A) which countries each player holds, B) which countries are on which continent, or C) the bonus value of each continent. It's just got the game history (which doesn't list your starting positions) and the map overlay query (which doesn't have country names).
User avatar
Sergeant 1st Class Jota
 
Posts: 634
Joined: Wed Mar 29, 2006 7:38 pm

Postby PaperPlunger on Wed Apr 12, 2006 6:06 pm

Hoff wrote:
PaperPlunger wrote:you too lazy to add?


Pretty much everything on this grease monkeyscript you can add in your head. Its just awesome to see everything laid out for you. So yes, i'm to lazy to add.

hehehe
User avatar
Private PaperPlunger
 
Posts: 657
Joined: Sun Mar 05, 2006 3:33 pm
Location: Maine!

Postby Tr0y on Thu Apr 13, 2006 11:15 am

would it be possible to add how many armies they will recieve next turn for Continents they hold?


Maybe.. w/ AJAX? um.. but yea.. way more work than its worth.

troy, can you make that the status indicator on "no double turns" turns to red when you are the last. and you cant take the turn. it would be useful... thanks


Not a bad idea, I think I'll add that, when I get a chance.
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

Postby Phx99 on Tue Apr 18, 2006 10:50 am

It's gorgeous! Grease Monkey is a great thing.....helps me with some decisions at times.

Phx99
User avatar
Cook Phx99
 
Posts: 251
Joined: Sun Apr 02, 2006 4:05 pm
Location: Victoria, BC - the most beautiful city EVER! :)

Postby zip_disk on Fri Apr 21, 2006 2:49 am

I did notice that when a player runs out of time during a turn, the indicator remains stuck on "Playing" instead of "Done" when in the gamespace.

Otherwise nice job.
Captain zip_disk
 
Posts: 216
Joined: Thu Mar 23, 2006 9:33 pm

Postby quinnster9 on Fri Apr 21, 2006 3:59 am

this is really cool.. good job.. it will definetly come in handy and same some time always counting...!! :) congrats!! and thank u!!
User avatar
Major quinnster9
 
Posts: 47
Joined: Wed Feb 15, 2006 10:07 pm
Location: Montreal

crossword map error

Postby Scarus on Sat Apr 22, 2006 2:16 am

I rely soooo much on the script that I doubt if I can count anymore....lol

Anyway, I'm in my first crossword map game and I see a couple of the players holding 7 cards. My first thought is that I'm a newbie to this map and I should walk very softly around these guys for fear that they might cash in two sets any minute....lol

When nobody ever cashed in I finally figured the script must not be reading the map right.

I could've counted everyone's cards to tell for sure, but my brain has atrophied soooo much from relying on the script that I just don't think I can do it on my own anymore....lol
Been playing Risk for a bit

Proud Member of xiGames, where Friends Kill Friends, with Honor
User avatar
Sergeant 1st Class Scarus
 
Posts: 515
Joined: Thu Jan 19, 2006 6:39 pm
Location: Los Angeles/Provo Utah

Postby Tr0y on Sat Apr 22, 2006 10:13 am

Try reinstalling the script... its on version 3 now... you may have version 2 still..

version 3 fixes the crossword map...

I just discovered another bug though... if ones name is in part of a location on the map it will cause errors when one cashes in cards... I'll fix that in version 4.
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

Next

Return to Conquer Club Discussion

Who is online

Users browsing this forum: No registered users