No facility for autologin is yet implemented so you do need to be logged in or you can use theAuto-login script

InstallationClick on this link (with Firefox and Greasemonkey installed)Conquer Club Assault OddsClick on Install and that's it.Google Chrome users can now use this script - click on viewtopic.php?f=59&t=73696#p2137958 to see how to install.Once installed you will see this on your active games pages.

What does it do

Assault odds is a tool that quickly calculates precise odds for attacking a sequence of territories on any map.It has been deliberately designed to be faster than other similar calculators and it will also handle larger numbers of armies.It consists of a Quick calculator and a PathfinderYou can show/hide these windows on your games page by using the options in the left menu.

Quick Calculator

Type in attacking army number and a sequence of defending army numbers to get the odds of the attacker winning.Separate defending army numbers with commas.e.g. Attacking 10 and Defending 3,2 will calculate odds of a 10 army attacking first a 3 then a 2The results are saved for future use on the page.This means that if you have very large numbers to calculate and even Assault Odds can't handle it in one go,then do a calc for roughly half all the armies. Assault Odds re-uses old calcs making subsequent calcs very fastand allows for bigger numbers to be calculated.Currently if you refresh the page this data is lost, but the calcs are very quick for most numbers anyway.Click on the Add Calc button to add more quick calcs for different routes.The total will show the product of all quick calcs (so the overall odds of succeeding in all attacks).

Multiple Attackers

You can add attacking territories with commas if you want to attack the first defending territory from more than one place.

Tips

Do the biggest calculation first. This saves the calcs and will make subsequent calcs practically instantaneous.

Do a big calc just before you take your turn. Then you can calc as you go at speed without waiting for calcs.

Pathfinder

This is a sequence of dropdowns allowing you to plot a path on the map and work out odds at each step.The dropdowns only show valid bordering territories and bombard spots. (A player cannot attack themselves for example).You can add deployed armies to the first attacking territory selected.Enter the number of armies to deploy and click anywhere away from the deploy box.The first territory number will change accordingly.Note you can choose any player to work out odds for, not just yourself.

Pathfinder During A TurnUse the refresh button to recalculate path odds during a turn.If the path is now invalid, the path will be cleared.

Statistics

Further odds on each number of attacking armies surviving can be found by switching the Statistics option on.In the above example,There is a 12% chance that exactly 4 attacking armies will survive an 8v4 assault.There is a 48.2% chance that at least 6 attackers survive.There is always a 100% chance that at least 1 army survives (since one has to be reserved for advancing).

Statistics are displayed for multiple attackers also.

For multiple quick calcs, at present, only the last calc statistics is shown.

Display Options

You can choose format of odds - decimal or percentageYou can also choose which windows to show on the page.Statistics enables the display and calculation of odds of surviving attackers.

A question about an addition (though I'm not sure how feasible it would be); would you be able to add "Eliminate <x> player from game" and it would find your odds of eliminating the player from the game (not necessarily the path, but percentage for all the armies), or should we just use the Pathfinder option and do it for each path you would have to take?

Gilligan wrote:I'M SO GOOD AT THIS GAMEMy stepmom locked the bathroom doorSo I opened the lock with my shoelace

For some reason when I add armies to be deployed, it completely screws up the amount of armies on each territory (in the pathfinder). In one case, in an Aussie game, it completely took away the option for me to deploy on a specific territory (even though I owned it).

Gilligan wrote:I'M SO GOOD AT THIS GAMEMy stepmom locked the bathroom doorSo I opened the lock with my shoelace

The Fuzzy Pengui wrote:For some reason when I add armies to be deployed, it completely screws up the amount of armies on each territory (in the pathfinder). In one case, in an Aussie game, it completely took away the option for me to deploy on a specific territory (even though I owned it).

Gawd, I've tested this to death - was this in the middle of a turn (that's new code)?

The Fuzzy Pengui wrote:I love it! Installed it just now, can't wait to try it out!

A question about an addition (though I'm not sure how feasible it would be); would you be able to add "Eliminate <x> player from game" and it would find your odds of eliminating the player from the game (not necessarily the path, but percentage for all the armies), or should we just use the Pathfinder option and do it for each path you would have to take?

The Fuzzy Pengui wrote:For some reason when I add armies to be deployed, it completely screws up the amount of armies on each territory (in the pathfinder). In one case, in an Aussie game, it completely took away the option for me to deploy on a specific territory (even though I owned it).

Gawd, I've tested this to death - was this in the middle of a turn (that's new code)?

I tried it both during the middle of a turn and before I started my turn in a different game.

What it appeared to do, when I wasn't actively in a turn, was take the amount of armies I set to "deploy" and subtract it from the actual amount that was already there (taking it down to 1). Then, once the amount of armies was at 1, it would add the amount of armies deployed.

Example: I had 4 on a territory and typed in 3 to deploy. It changed the 4 to a 1. So I changed the deploy amount to 10 just to see what would happen, and it changed the 1 to an 11.

Gilligan wrote:I'M SO GOOD AT THIS GAMEMy stepmom locked the bathroom doorSo I opened the lock with my shoelace

chipv wrote:When you enter a number in the deploy box, you need to click away from it and the numbers should change automatically.

it is working fine for me still, how are you doing this exactly and in which game?

That's exactly how I'm trying it. Typing in the number and clicking away from the text box. The numbers change automatically, but to the wrong number. I tried it in Game 4567481 when pretending to deploy on Andrews.

And SA-WEET! About adding the % to eliminate player from game.

Gilligan wrote:I'M SO GOOD AT THIS GAMEMy stepmom locked the bathroom doorSo I opened the lock with my shoelace

A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

but,it makes it through eventually, which is better than I can say for Gambit.

edit- Combined odds would be cool

Solution to the first problem - run smaller numbers. Then run the larger ones again.Assault odds saves old calcs in a format so it can re-use them for larger calcs.You will notice the speed difference.