From a great idea from Foxglove - full credit for thinking out of the box.

Note There is a quick link to this post next to the Assault Odds text in the left menu.

(It's the current version number but will jump to this page when you click on it.)

User Guide

Assault Odds User Guide

Requirements

You must be running Firefox with Greasemonkey installed.

Full instructions for Firefox and Greasemonkey from scratch: viewtopic.php?f=527&t=139337

No facility for autologin is yet implemented so you do need to be logged in or you can use the

Auto-login script

Installation

Click on this link (with Firefox and Greasemonkey installed)

Conquer Club Assault Odds

Click 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 Pathfinder

You 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 2

The 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 fast

and 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 Turn

Use 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 percentage

You can also choose which windows to show on the page.

Statistics enables the display and calculation of odds of surviving attackers.