Page 6 of 8

PostPosted: Wed Feb 28, 2007 11:29 pm
by killabeeze
anyone else find that this script slows their firefox down a noticable amount?

PostPosted: Thu Mar 01, 2007 8:46 am
by Tr0y
On CC it would, because it has to parse stuff otherwise it shouldn't.

PostPosted: Fri Mar 02, 2007 6:26 pm
by killabeeze
well i generally leave a CC tab open...i guess i should drop that habit when working and stuff. plus i'm more likely to get work done ;)

Low res.

PostPosted: Wed Mar 07, 2007 5:09 am
by djak.
For low res users, moving the "Armies/Turn w/o Bonus" number as a + after countries (which is what it's based on) would be great.

Code: Select all
Name (cards)   Armies    Countries +armies   Strength
djak. (5)      18 (17%)  15 (31%)  +5        20

PostPosted: Wed Mar 07, 2007 6:47 pm
by tismondo
I know theres a lot of talk about which browser you have to use in order to use this script... A lot of IE users want to know if it's for IE, and etc.

Me personally I'm an Opera user and Opera has built-in support for .js files - it reads almost any greasemonkey script with no problem whatsoever. (any script written using the W3C Document Object Model - http://www.w3.org/DOM/ - which is quickly becoming the standard) However some greasemonkey scripts use Firefox-specific code that make them incompatible with Opera... these CC scripts happen to fit that category.

My point is that it's possible to write greasemonkey scripts in a way that is compatible with both Firefox and Opera, and it would open up the script to a lot more users just to modify them to be more universal. Is this an option at all? Since most of the script is probably already compatible with W3C, it would probably only require some slight tweaking (little more effort than what is required for a bugfix, I would think) to make it Opera-ready.

Is this doable or are certain functions of the CC scripts simply not possible using the W3 standard?

Downloads for details and colorblind stats during play.

PostPosted: Thu Mar 15, 2007 3:33 am
by ilarry
Tried some of the suggested downloads and got no results.
(1) http://www.conquerclub.com/forum/viewtopic.php?t=6672

(2) http://www.conquerclub.com/forum/viewtopic.php?t=6672

READ] Utilities & Plugins for Conquer Club

Number (1) Sent me to: http://personal.ecu.edu/tnt1202/conquerclub.user.js

From this (I) I got: C:\Documents and Settings/Larry. HEADQUARTERS.000/Local Settings/Temporary Internet Files/Content.IE5\EI9J3XLG\conquerclub.usr[1].js
Line: 388
Char: 1
Error: Object expected
Code: 800A138F
Source: Microsoft Jscript runtime error
OK

Number (2) Sent me to: Colorblind Version ( adds letter indicators to armies on the map )
http://personal.ecu.edu/tnt1202/colorbl ... ub.user.js

From this (2) I got: C:\Documents and Settings\Larry.HEADQUARTERS.000\Local Settings\Temporary Internet Files\Content.IE5\6MVLLF86\colorblindconquerclub.user[1].js
Line: 388
Char: 1
Error: Object expected
Code: 800A138F
Source: Microsoft Jscript runtime error
OK

Can you steer in the right direction? I’m about half literate, but, explanations work wonders with me.

(3) This step involved going to Greasespot. I could make no sense there. I stopped and jotted this down so you could see my poor progress. What’s the answers? I’d like to get the bells and whistles plus the colorblind download that points out the colors.
Help
Larry

PostPosted: Thu Mar 15, 2007 3:45 am
by djak.
ilarry, Greasemonkey is written for the Firefox browser, not Microsoft Internet explorer. You can download it from http://www.mozilla.com/firefox/

The less Microsoft, the better; so if you don't play Windows games, you may want to look into the free software GNU/Linux operating system to replace Windows. I use the excellent Ubuntu distribution http://www.ubuntu.com/

Getting Stats and Colorblind download

PostPosted: Sat Mar 17, 2007 12:00 am
by ilarry
Your advice was extremely helpful and everything downloaded (after Java and FireFox) wonderfully. It's a whole new experience again!
Thanks and best wishes,
ilarry

PostPosted: Sun Mar 18, 2007 9:03 pm
by ^SilentStrike
hey, I was wondering, is that compatible with the Opera browser?

PostPosted: Mon Mar 19, 2007 8:12 am
by Tr0y
AFAIK this is not compatible with Opera.

It may be possible to port it over to Opera.
http://www.opera.com/support/tutorials/userjs/

PostPosted: Mon Mar 19, 2007 8:53 am
by reverend_kyle
If you port the current .js file over to opera without changing it it fucks your opera up big time.

Directions?

PostPosted: Mon Mar 19, 2007 10:43 pm
by Irish_Polock
Hello Troy,
I downloaded your program and I don't quite know how to get it to work, I'd suggest getting some directions to tell you what to do after you install it.... unless I'm stupid and didn't see the "how to use" somewhere

What should I do?

Re: Directions?

PostPosted: Tue Mar 20, 2007 7:36 am
by tahitiwahini
Irish_Polock wrote:What should I do?


In your Firefox browser look at the lower right corner. The red greaemonkey icon should be smiling, if he's not there you didn't install greasemonkey. Go back to the Plug in thread and install it. If the money is not smiling and grey, then left click to enable.

If you right-click the monkey you should see Conquer Club preceded with a check mark on the list of installed scripts.

If it's not there, you didn't install the script yet.

If it's there and not checked, left-click it and it will be.

Open a game and look at the players roster. The single number in parentheses following each name is the number of cards that player holds. If you see this the script is enabled.

Good luck.

Re: Directions?

PostPosted: Tue Mar 20, 2007 8:16 am
by Backglass
Irish_Polock wrote:Hello Troy,
I downloaded your program and I don't quite know how to get it to work, I'd suggest getting some directions to tell you what to do after you install it.... unless I'm stupid and didn't see the "how to use" somewhere

What should I do?


Have you done the following?

Step 1 - Install Firefox...other browsers do not support Greasemonkey.
Step 2 - Install the Greasemonkey Scripting Engine.
Step 3 - Install Troy's CC Script into Greasemonkey.

PostPosted: Fri Mar 23, 2007 2:24 am
by ^SilentStrike
troy, do you think its to much to ask to make it compatible with opera? :P

PostPosted: Fri Mar 23, 2007 2:48 pm
by ^SilentStrike
Tr0y wrote:AFAIK this is not compatible with Opera.

It may be possible to port it over to Opera.
http://www.opera.com/support/tutorials/userjs/


what does AFAIK mean? anyways, haha I found something with that link you gave me. it says its possible to add javascrips

http://www.opera.com/support/tutorials/ ... ingscripts

and it also says greasemonkey scripts are valid, but I can't seem to make it work..!

http://www.opera.com/support/tutorials/ ... easemonkey

maybe I'm just a noob though

PostPosted: Fri Mar 23, 2007 2:56 pm
by djak.

PostPosted: Sat Mar 24, 2007 12:35 pm
by ^SilentStrike
djak :P I already got firefox downloaded, I just hate firefox compared to opera for a web browser, thats all

PostPosted: Sat Mar 24, 2007 1:15 pm
by badonkadonk
^SilentStrike wrote:what does AFAIK mean?


As far as I know, it means "A Firefox add-on isn't kompatible."

working?

PostPosted: Wed Mar 28, 2007 8:24 am
by General Cornrow
How do you get this thing to work...it says enabled...but what else do you need to do?

Re: working?

PostPosted: Wed Mar 28, 2007 12:04 pm
by tahitiwahini
General Cornrow wrote:How do you get this thing to work...it says enabled...but what else do you need to do?


Read the thread back about 6 posts.

Also try: http://www.conquerclub.com/forum/viewtopic.php?t=15255

PostPosted: Fri Mar 30, 2007 8:13 pm
by Shattered Rift
Quick check: this is supposed to just say the value of the various card combos, rather than say how many cards each player currently holds?


I had the impression of the latter when I downloaded it, and the latter would be quite helpful.


In any case, game statistics are certainly fun to have. Good job on this.


Edit: Never mind. Finally realized it was on the left side of their feedback.

PostPosted: Fri Mar 30, 2007 9:37 pm
by realjag
This is a really cool addon. Thank You.

I'll add to the stupid questions...Will it help my game?

PostPosted: Sat Mar 31, 2007 10:29 am
by Aries
Does anyone know how it calculates the strength statistic?

PostPosted: Sat Mar 31, 2007 5:10 pm
by tahitiwahini
Aries wrote:Does anyone know how it calculates the strength statistic?


The original Conquer Club script by Tr0y calculates it as follows:

s = a + p - (2/3 * c)

where
s is strength
a is the number of armies currently held by a player
p is the potential armies gained for next turn
c is the number of countries currently held by a player
the - (2/3 * c) expression represents the notion of dispersion of your forces. In other words, it is generally better (i.e., of higher strength) to have more armies on fewer countries than to have fewer armies on more countries.

potential armies is the sum of armies due for holding a number of countries (at least three, with an additional army added for each multiple of 3 over 11 countries held) and any continent bonuses due.

The Conquer Club - Roberts Mods (by stocksr) calculates it as follows (this is the answer to the question you asked):

s = a + e - (2/3 * c)

where
e is the number of expected armies gained for next turn.

It includes the potential armies described above and additionally factors in an estimate of the number of armies due in the next turn because of cashing in a card set.

The calculation for the size of the card bonus is calculated as follows:

(probability of having a card set to cash) * (value of cashing a card set).

For the case of an escalating card game the probability of having a card set to cash is calculated as follows:

p(0 - 2) = 0
p(3) = .3341
p(4) = .778
p(5) = 1

where p(n) is the probability of having a card set to cash when the player holds n cards.

The value of cashing a card set is known in an escalating game.

For the case of a flat rate card game the same probabilities of having a card set as the escalating case are used.

The value of cashing a card set is estimated at 7 (which is approximately (4 + 6 + 10) / 3) since the value of the set cannot be determined without knowing the color composition of the set cashed.

In this thread I make a proposal for calculating the armies due next turn (in a flat rate game) using slightly different probabilities and taking into consideration the 2 army per country bonus one gets for owning the country specified on the card cashed:

http://www.conquerclub.com/forum/viewtopic.php?t=15620