Conquer Club

BOB version 1.2 [was CC Greasemonkey script - unofficial]

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.

What should the name of this script be?

Poll ended at Fri May 18, 2007 5:51 am

Bob
11
28%
TSAR
7
18%
TSAR BOMBA
6
15%
B.O.M.B.
5
13%
Trojan
1
3%
Trojan Horse
9
23%
 
Total votes : 39

Postby stocksr on Wed Apr 25, 2007 6:38 am

yeti_c wrote:BTW - instead of interrogating the logs (as previous) could you just interrogate Lacks Card counter... that is correct in these examples as he must get the data from the data rather than the log?

C.


Ahh the simple and easy approach, what would be the point in that :D

Done for .9 :)
r.
User avatar
Corporal stocksr
 
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Postby Ishiro on Wed Apr 25, 2007 7:01 am

Another suggestion for the script in relation to the confirmation dialogs..
From this thread: http://www.conquerclub.com/forum/viewtopic.php?t=2198
Make an option to turn on/off Friendly Fire, so that if you have chosen to attack a teammate, you get an "You are attacking a teammate, are you sure?" dialog.
Image
User avatar
Corporal 1st Class Ishiro
 
Posts: 324
Joined: Mon Jul 17, 2006 5:53 pm
Location: Under the Rainbow

Postby stocksr on Wed Apr 25, 2007 7:54 am

Ishiro wrote:Another suggestion for the script in relation to the confirmation dialogs..
From this thread: http://www.conquerclub.com/forum/viewtopic.php?t=2198
Make an option to turn on/off Friendly Fire, so that if you have chosen to attack a teammate, you get an "You are attacking a teammate, are you sure?" dialog.


I have something like this in the works. stay tuned.
r.
User avatar
Corporal stocksr
 
Posts: 132
Joined: Wed Mar 07, 2007 11:30 am
Location: South Coast, UK

Postby cicero on Thu Apr 26, 2007 3:44 pm

Most of you who've been following this thread since it's inception will have read this post early in the thread ...

Tr0y wrote:PostPosted: 22 Mar 2007 01:48
Yea, feel free to use modified versions of my script. 8)

I should of probably come up with a better name for it... :shock:

BTW

Well done on the script. :D


This is from Tr0y the author of the original Greasemonkey Conquer Club script. As Tr0y notes, the name - "Conquer Club" - could have been more imaginative!

I've suggested to stocksr that as his script is nearing maturity* it should get a proper name. Perhaps in time for version 1.0 ...

I had what I thought was a great idea - "Trojan" ... I like it because it gives credit to Tr0y, alludes that his code is 'inside' stocksr's code, hints at the war theme of the game etc ... ['tRoJan horSe' even includes stocksr's full initials ... like I say, I thought it was a great idea 8)]

But, as stocksr has pointed out to me the whole "Trojan" or "Trojan Horse" thing has really bad connotations in the IT world [viruses etc] .. Would you install a script from a prompt that said "Do you want to install Trojan?" ... Hmm, probably not.

So here's the challenge .. what would be a good name for the script?

All and any thoughts, no matter how apparently random, welcomed ...

cicero

* [tempted to say 'completion', but that would spoil all the fun wouldn't it?]
FREE M-E-Mbership and simple rules. Conquer Club - it's not complicated.

random me statistic @ 13 December 2008 - 1336 posts : 232nd most public posts (not counting Tower of Babble) of all time.
User avatar
Sergeant cicero
 
Posts: 1358
Joined: Wed Mar 07, 2007 1:51 pm
Location: with the infected neutrals ... handing out maps to help them find their way to CC

Postby yeti_c on Thu Apr 26, 2007 4:50 pm

I reckon you should name it...

"Bob"

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby tahitiwahini on Thu Apr 26, 2007 5:12 pm

cicero wrote:So here's the challenge .. what would be a good name for the script?

All and any thoughts, no matter how apparently random, welcomed ...


Here's an apparently random thought: TSAR.

Tactical Situational Awareness Reporter

Timely and accurate dissemination of tactical information to the game player is the key to successful operations in the Conquer Club environment.
Cheers,
Tahitiwahini
User avatar
Private 1st Class tahitiwahini
 
Posts: 964
Joined: Fri Jan 19, 2007 5:26 pm

Postby weirdbro on Thu Apr 26, 2007 8:28 pm

The first thing I thought of when I say TSAR was Tsar Bomba, the largest nuclear bomb ever made. Any way you could make BOMBA an acronym too?
Sergeant weirdbro
 
Posts: 52
Joined: Wed Jan 24, 2007 6:33 pm

Postby pancakemix on Thu Apr 26, 2007 9:37 pm

I am currently reveling in joy about how awesome this script is.
Epic Win

"Always tell the truth. It's the easiest thing to remember." - Richard Roma, Glengarry Glen Ross

aage wrote:Never trust CYOC or pancake.
User avatar
Corporal 1st Class pancakemix
 
Posts: 7973
Joined: Wed Jan 31, 2007 3:39 pm
Location: The Grim Guzzler

Postby tahitiwahini on Thu Apr 26, 2007 10:01 pm

weirdbro wrote:The first thing I thought of when I say TSAR was Tsar Bomba, the largest nuclear bomb ever made. Any way you could make BOMBA an acronym too?


TSAR BOMBA

Tactical Situational Awareness Reporter

Basic Operations Management Battlefield Assessment
Cheers,
Tahitiwahini
User avatar
Private 1st Class tahitiwahini
 
Posts: 964
Joined: Fri Jan 19, 2007 5:26 pm

Postby weirdbro on Fri Apr 27, 2007 4:47 am

Niiiice.
The original Tsar Bomba was so powerful the Russians had to cut its power in half so prevent the fallout from reaching Russia.
Sergeant weirdbro
 
Posts: 52
Joined: Wed Jan 24, 2007 6:33 pm

Postby alex_white101 on Fri Apr 27, 2007 10:18 pm

how do i uninstall troys version? it says i have to do this in the firt post. but i have no idea how. thanks.
''Many a true word is spoken in jest''
User avatar
Corporal 1st Class alex_white101
 
Posts: 1992
Joined: Sun Feb 25, 2007 1:05 am

Postby alex_white101 on Fri Apr 27, 2007 10:38 pm

ok, ive just downloaded this and its awesome, however i was wondering if i could turn off the colourblind bit. also the map has almost disappeared due to like a fog being over it, how can i remove these? thanks alot.
''Many a true word is spoken in jest''
User avatar
Corporal 1st Class alex_white101
 
Posts: 1992
Joined: Sun Feb 25, 2007 1:05 am

Postby Captain Crash on Fri Apr 27, 2007 10:44 pm

alex_white101 wrote:ok, ive just downloaded this and its awesome, however i was wondering if i could turn off the colourblind bit. also the map has almost disappeared due to like a fog being over it, how can i remove these? thanks alot.

On a game screen, the script options are an additional menu on the left side of the screen: 'Greasmonkey options' Simply Left click to toggle through the options.

8)
Image

Image
User avatar
Private Captain Crash
 
Posts: 252
Joined: Thu Feb 01, 2007 7:06 pm
Location: Melbourne

Postby alex_white101 on Fri Apr 27, 2007 10:46 pm

thanks, im not too observant :oops:
''Many a true word is spoken in jest''
User avatar
Corporal 1st Class alex_white101
 
Posts: 1992
Joined: Sun Feb 25, 2007 1:05 am

Postby jaybebo on Fri Apr 27, 2007 11:20 pm

Finally decided to re-load Firefox...I love the script...and all the cool stats it gives...nice job.
User avatar
Corporal jaybebo
 
Posts: 154
Joined: Sat Apr 21, 2007 10:24 pm
Location: In the Great Country of Texas

Postby tals on Sat Apr 28, 2007 1:08 am

alex_white101 wrote:thanks, im not too observant :oops:


I fell for it as well - not sure why anyone would want text fade on, but can I suggest as a start default its off.

Awesome amendments btw and looking forward to the are you sure when you attack a team mate :)

tals
Sergeant tals
 
Posts: 359
Joined: Tue Sep 12, 2006 12:46 pm
Location: UK

Postby Captain Crash on Sat Apr 28, 2007 1:26 am

tahitiwahini wrote:
aphockey23 wrote:under countries theres a * or a - what are they?
The - indicates that the countries are below 12 indicating that the country bonus is already 3 and cannot be reduced further.
The * indicates that if you conquer two of this player's countries his country bonus will drop by 1.
You only need to reduce the territory count by 1 to reduce the armies due next turn..
tahitiwahini wrote:The ** indicates that if you conquer three of this player's countries his country bonus will drop by 1.
Only need to take 2, not 3, of the player's territories.
*** after the territory count indicates you need to kill the player in three territories to reduce the armies due next turn
tahitiwahini wrote:The absence of any marking indicates that you must conquer one of this player's countries to drop his bonus by 1.
No, a single * will indicate this and hence there will always be an indicator after each player's territory count.

Must have been adjusted in a recent update.

8)
Image

Image
User avatar
Private Captain Crash
 
Posts: 252
Joined: Thu Feb 01, 2007 7:06 pm
Location: Melbourne

Postby tahitiwahini on Sat Apr 28, 2007 1:35 am

Yes, stocksr changed it for the better. Now as you said the asterisks represent the number of countries a player must lose before he suffers a reduction in the number of armies due next turn for holding countries. The dash represents that a player is already receiving the minimum number of countries that a player receives for holding countries and therefore if he loses any more countries his bonus remains unaffected. It's very useful for informing your decision about which player should be attacked. It's a factor to consider in making that decision.
Cheers,
Tahitiwahini
User avatar
Private 1st Class tahitiwahini
 
Posts: 964
Joined: Fri Jan 19, 2007 5:26 pm

Postby cicero on Sat Apr 28, 2007 5:58 am

Rob

Suggested feature tweaks in the Extended statistics view:

"Estimated Armies from Cards" abbreviated to "Card Set Estimate".

"Estimated Armies from Cards" and "Strength" displayed to the nearest round number: Since both are estimates anyway nothing is gained by the decimal places.

Cicero
FREE M-E-Mbership and simple rules. Conquer Club - it's not complicated.

random me statistic @ 13 December 2008 - 1336 posts : 232nd most public posts (not counting Tower of Babble) of all time.
User avatar
Sergeant cicero
 
Posts: 1358
Joined: Wed Mar 07, 2007 1:51 pm
Location: with the infected neutrals ... handing out maps to help them find their way to CC

Postby yeti_c on Sat Apr 28, 2007 6:04 am

cicero wrote:Rob

Suggested feature tweaks in the Extended statistics view:

"Estimated Armies from Cards" abbreviated to "Card Set Estimate".

"Estimated Armies from Cards" and "Strength" displayed to the nearest round number: Since both are estimates anyway nothing is gained by the decimal places.

Cicero


Would prefer rounding to be an option... I find it useful as decimal places.

On another note... I have a 10 set in this game 362771 but my estimated is 10.05 in a flat rate... Is this a bug of does it take into account chance of getting 2 bonuses?

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby cicero on Sat Apr 28, 2007 6:08 am

yeti_c wrote:On another note... I have a 10 set in this game 362771 but my estimated is 10.05 in a flat rate... Is this a bug of does it take into account chance of getting 2 bonuses?

C.


Just to add my two cents worth, I don't have a game link to back it up, but I was in an escalating game - next set was worth 15 - card estimate showed 16 ...

Cicero
FREE M-E-Mbership and simple rules. Conquer Club - it's not complicated.

random me statistic @ 13 December 2008 - 1336 posts : 232nd most public posts (not counting Tower of Babble) of all time.
User avatar
Sergeant cicero
 
Posts: 1358
Joined: Wed Mar 07, 2007 1:51 pm
Location: with the infected neutrals ... handing out maps to help them find their way to CC

Postby RobinJ on Sat Apr 28, 2007 6:18 am

Just wondering if you could do something about the finished games. Unfortunately with your script, they take forever to load because the script has to be disabled or something - is there a way that you could get around that other than turning it off at the greasemonkey icon.
nmhunate wrote:Speak English... It is the language that God wrote the bible in.


Highest Score: 2437
Highest Place: 84
User avatar
Sergeant 1st Class RobinJ
 
Posts: 1901
Joined: Mon Aug 21, 2006 1:56 pm
Location: Northern Ireland

Postby tahitiwahini on Sat Apr 28, 2007 6:36 am

yeti_c wrote:
cicero wrote:Rob

Suggested feature tweaks in the Extended statistics view:

"Estimated Armies from Cards" abbreviated to "Card Set Estimate".

"Estimated Armies from Cards" and "Strength" displayed to the nearest round number: Since both are estimates anyway nothing is gained by the decimal places.

Cicero


Would prefer rounding to be an option... I find it useful as decimal places.

On another note... I have a 10 set in this game but my estimated is 10.05 in a flat rate... Is this a bug of does it take into account chance of getting 2 bonuses?

C.


I agree with you C on the decimal places on the "Estimated Armies from Cards" and "Strength" columns, I think the presence of the decimal places reinforces the notion that these values are estimates (since you never actually get a fractional army in the game).

Yes, the "Estimated Armies from Cards" takes into consideration the chance of getting a 2 army bonus for each card in a set cashed. It's based on the probability of having a set to cash given the number of cards you currently hold. It's also based on the ratio of the number of countries you own to the total number of countries in the game in order to determine the likelihood that if you were to cash a set of cards you would own a country specified on a card.

The actual calculation is this:

(6 * getSetProbability(cards) * (countries / totalCountries))

where,
6 = the number of cards cashed (3) times the number of armies due for owning a country on a card cashed (2),
getSetProbability(cards) returns the probability of your having a card set based on holding a number of cards,
countries = the number of countries you own, and
totalCountries = the total number of countries in the game

6 * 1 * (19 / 42) = 2.71428

is the number of armies you can expect from the 2 army bonus for owning the country named on a card cashed in. Obviously the more countries you own the higher your bonus is likely to be.

Holding 5 cards in a flat rate game, you are likely on average have a set to cash in worth 7.333333 armies.

Hence your "Estimated Armies from Cards" is:

2.71428 + 7.333333 = 10.04761 or 10.05 rounded to two decimal places.
Cheers,
Tahitiwahini
User avatar
Private 1st Class tahitiwahini
 
Posts: 964
Joined: Fri Jan 19, 2007 5:26 pm

Postby tahitiwahini on Sat Apr 28, 2007 6:49 am

RobinJ wrote:Just wondering if you could do something about the finished games. Unfortunately with your script, they take forever to load because the script has to be disabled or something - is there a way that you could get around that other than turning it off at the greasemonkey icon.


Completed games load fairly quickly for me, but that may be due to a difference in speed between our two computers. If it's slow for you the best way to look at a finished game would be to temporarily disable the smiling red greasemonkey icon (by left clicking on him in order to make him stop smiling and turn gray). The completed games will load faster for you then. After all there's not much of interest in the statistics table for a completed game anyway. When you want to turn your greasemonkey scripts back on simply left-click on the non-smiling gray greasemonkey icon to make him smile and turn red.

Anything else would require a programming change from stocksr I think.
Cheers,
Tahitiwahini
User avatar
Private 1st Class tahitiwahini
 
Posts: 964
Joined: Fri Jan 19, 2007 5:26 pm

Postby tahitiwahini on Sat Apr 28, 2007 6:51 am

cicero wrote:
yeti_c wrote:On another note... I have a 10 set in this game 362771 but my estimated is 10.05 in a flat rate... Is this a bug of does it take into account chance of getting 2 bonuses?

C.


Just to add my two cents worth, I don't have a game link to back it up, but I was in an escalating game - next set was worth 15 - card estimate showed 16 ...

Cicero


Yes, not a bug. See my response to yeti_c above. It works the same way in an escalating game (with the obvious difference that you get a different number of armies for cashing in a set than you do in flat rate). The calculation for the 2 army bonus per country owned in the cashed card set is the same.
Cheers,
Tahitiwahini
User avatar
Private 1st Class tahitiwahini
 
Posts: 964
Joined: Fri Jan 19, 2007 5:26 pm

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users