Greasemonkey Script Assault Odds

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

Moderators: Global Moderators, Tech Team

Forum rules
Please read the Community Guidelines before posting.

Re: NEW: Assault Odds

Postby whitestazn88 on Fri Apr 10, 2009 6:44 pm

looks very interesting, though i'll wait before installing to see how others like it
Sergeant 1st Class whitestazn88
 
Posts: 3127
Joined: Mon Feb 05, 2007 2:59 pm
Location: behind you
Medals: 28
Standard Achievement (4) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (1)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (2) Cross-Map Achievement (3) Ratings Achievement (3) General Achievement (2) Clan Achievement (1)

Re: NEW: Assault Odds

Postby Timminz on Fri Apr 10, 2009 6:52 pm

Seems to work well now. If you made it possible to have multiple, separate calculators above each other, I would never need to use gambit again.
jay_a2j wrote:lets not be so quick to judge Hitler
User avatar
Lieutenant Timminz
 
Posts: 5565
Joined: Tue Feb 27, 2007 1:05 pm
Location: At the store
Medals: 55
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (3)
Speed Achievement (4) Teammate Achievement (2) Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (3)
Tournament Achievement (6) General Achievement (2) Clan Achievement (10) Tournament Contribution (1) General Contribution (1)

Re: NEW: Assault Odds

Postby chipv on Fri Apr 10, 2009 6:53 pm

Just gonna let some steam off.

I'm furious! Introduced a bug at the last moment. Fixed now as I said earlier but very annoying that people had to encounter it.

End of rant.
User avatar
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: NEW: Assault Odds

Postby chipv on Fri Apr 10, 2009 6:54 pm

Timminz wrote:Seems to work well now. If you made it possible to have multiple, separate calculators above each other, I would never need to use gambit again.


This is zero problem - did you mean the quick calcs?
User avatar
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: NEW: Assault Odds

Postby Timminz on Fri Apr 10, 2009 6:58 pm

chipv wrote:
Timminz wrote:Seems to work well now. If you made it possible to have multiple, separate calculators above each other, I would never need to use gambit again.


This is zero problem - did you mean the quick calcs?

Yes.
jay_a2j wrote:lets not be so quick to judge Hitler
User avatar
Lieutenant Timminz
 
Posts: 5565
Joined: Tue Feb 27, 2007 1:05 pm
Location: At the store
Medals: 55
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (3)
Speed Achievement (4) Teammate Achievement (2) Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (3)
Tournament Achievement (6) General Achievement (2) Clan Achievement (10) Tournament Contribution (1) General Contribution (1)

Re: NEW: Assault Odds

Postby chipv on Fri Apr 10, 2009 7:05 pm

How many? Or maybe a button to add more calc bars?
User avatar
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: NEW: Assault Odds

Postby Timminz on Fri Apr 10, 2009 7:07 pm

chipv wrote:How many? Or maybe a button to add more calc bars?

The button would be ideal. Normally one is plenty, but sometimes I use 5, or 6.
jay_a2j wrote:lets not be so quick to judge Hitler
User avatar
Lieutenant Timminz
 
Posts: 5565
Joined: Tue Feb 27, 2007 1:05 pm
Location: At the store
Medals: 55
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (3)
Speed Achievement (4) Teammate Achievement (2) Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (3)
Tournament Achievement (6) General Achievement (2) Clan Achievement (10) Tournament Contribution (1) General Contribution (1)

Re: NEW: Assault Odds

Postby chipv on Fri Apr 10, 2009 7:18 pm

Ok so how do you want them to work.

Separate odds or a combined product or both?
User avatar
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: NEW: Assault Odds

Postby Timminz on Fri Apr 10, 2009 7:19 pm

with large numbers (4 digits) I get
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
jay_a2j wrote:lets not be so quick to judge Hitler
User avatar
Lieutenant Timminz
 
Posts: 5565
Joined: Tue Feb 27, 2007 1:05 pm
Location: At the store
Medals: 55
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (3)
Speed Achievement (4) Teammate Achievement (2) Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (3)
Tournament Achievement (6) General Achievement (2) Clan Achievement (10) Tournament Contribution (1) General Contribution (1)

Re: NEW: Assault Odds

Postby chipv on Fri Apr 10, 2009 7:22 pm

Timminz wrote:with large numbers (4 digits) I get
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.

ok to combined odds, leave it with me.
User avatar
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: NEW: Assault Odds

Postby The Fuzzy Pengui on Fri Apr 10, 2009 7:24 pm

Timminz wrote: Combined odds would be cool

Definitely! The only thing better than combined odds would be having two columns; one for separate odds for that attack, and one for combined odds. :)
Gilligan wrote:I'M SO GOOD AT THIS GAME
My stepmom locked the bathroom door
So I opened the lock with my shoelace
User avatar
Corporal 1st Class The Fuzzy Pengui
 
Posts: 2337
Joined: Mon Nov 27, 2006 6:52 pm
Location: Ohio
Medals: 49
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (3) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Speed Achievement (1) Teammate Achievement (3) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (4)
General Achievement (3) Clan Achievement (3) Tournament Contribution (2) General Contribution (5)

Re: NEW: Assault Odds

Postby Timminz on Fri Apr 10, 2009 7:29 pm

The Fuzzy Pengui wrote:
Timminz wrote: Combined odds would be cool

Definitely! The only thing better than combined odds would be having two columns; one for separate odds for that attack, and one for combined odds. :)

I was thinking, one column for each individual front, with a total combined odds below the last line.
jay_a2j wrote:lets not be so quick to judge Hitler
User avatar
Lieutenant Timminz
 
Posts: 5565
Joined: Tue Feb 27, 2007 1:05 pm
Location: At the store
Medals: 55
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (3)
Speed Achievement (4) Teammate Achievement (2) Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (3)
Tournament Achievement (6) General Achievement (2) Clan Achievement (10) Tournament Contribution (1) General Contribution (1)

Re: NEW: Assault Odds

Postby The Fuzzy Pengui on Fri Apr 10, 2009 7:32 pm

Timminz wrote:I was thinking, one column for each individual front, with a total combined odds below the last line.

I had thought about that way first, but then I realized if it was two columns there could be "progressive" combined odds (which would be really cool!).
Gilligan wrote:I'M SO GOOD AT THIS GAME
My stepmom locked the bathroom door
So I opened the lock with my shoelace
User avatar
Corporal 1st Class The Fuzzy Pengui
 
Posts: 2337
Joined: Mon Nov 27, 2006 6:52 pm
Location: Ohio
Medals: 49
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (3) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Speed Achievement (1) Teammate Achievement (3) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (4)
General Achievement (3) Clan Achievement (3) Tournament Contribution (2) General Contribution (5)

Re: NEW: Assault Odds

Postby chipv on Fri Apr 10, 2009 7:37 pm

Can do either - progressive or separate+combined total. Subtlely different.
User avatar
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: NEW: Assault Odds

Postby Timminz on Fri Apr 10, 2009 7:40 pm

As long as the total is there, it's all gravy. Total, and each line.
jay_a2j wrote:lets not be so quick to judge Hitler
User avatar
Lieutenant Timminz
 
Posts: 5565
Joined: Tue Feb 27, 2007 1:05 pm
Location: At the store
Medals: 55
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (3)
Speed Achievement (4) Teammate Achievement (2) Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (3)
Tournament Achievement (6) General Achievement (2) Clan Achievement (10) Tournament Contribution (1) General Contribution (1)

Re: NEW: Assault Odds

Postby chipv on Fri Apr 10, 2009 8:29 pm

Ok, click on Latest version installed to get new version.

You can add as many quick calcs as you like and the total is the product of all the calcs.
User avatar
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: NEW: Assault Odds

Postby chipv on Fri Apr 10, 2009 9:19 pm

I've added 2 tips to the head post.

  • 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.
User avatar
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: NEW: Assault Odds

Postby Timminz on Fri Apr 10, 2009 9:21 pm

Using it in a speed game. It seems to be working wonderfully.
jay_a2j wrote:lets not be so quick to judge Hitler
User avatar
Lieutenant Timminz
 
Posts: 5565
Joined: Tue Feb 27, 2007 1:05 pm
Location: At the store
Medals: 55
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (3)
Speed Achievement (4) Teammate Achievement (2) Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (3)
Tournament Achievement (6) General Achievement (2) Clan Achievement (10) Tournament Contribution (1) General Contribution (1)

Re: NEW: Assault Odds

Postby prismsaber on Sat Apr 11, 2009 12:03 am

chip,

can't believe you and foxy decided to post this for public use. This is a weapon that could make every cook and striper who doesn't know what they're doing dangerous.
Colonel prismsaber
 
Posts: 367
Joined: Wed Nov 21, 2007 8:24 pm
Location: Illinois
Medals: 49
Standard Achievement (2) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (2) Polymorphic Achievement (1) Fog of War Achievement (2)
Speed Achievement (2) Teammate Achievement (2) Cross-Map Achievement (3) Ratings Achievement (3) Tournament Achievement (12)
General Achievement (2) Clan Achievement (6)

Re: NEW: Assault Odds

Postby chipv on Sat Apr 11, 2009 5:24 am

prismsaber wrote:chip,

can't believe you and foxy decided to post this for public use. This is a weapon that could make every cook and striper who doesn't know what they're doing dangerous.


Don't blame Foxy for having an awesome idea. I wrote this script and informed her I was publishing it, decision was mine, idea was hers,so you can blame me.

What do you want me to do, render the script useless?
User avatar
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: NEW: Assault Odds

Postby ahunda on Sat Apr 11, 2009 10:37 am

Very nice. :)

Referring to our little chat on Messenger last night:

I´d still like the order of terrs in the 1st drop-down window to be changed to alphabetical order.

Or maybe even better: All my terrs on top (in alphabetical order), then the rest of the terrs (in alphabetical order) ?
Field Marshal ahunda
 
Posts: 411
Joined: Fri Apr 13, 2007 9:52 am
Medals: 28
Conqueror Achievement (1) Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2)
Terminator Achievement (1) Assassin Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (1)
Cross-Map Achievement (3) Ratings Achievement (2) General Achievement (1) Clan Achievement (6)

Re: NEW: Assault Odds

Postby cicero on Sat Apr 11, 2009 3:15 pm

chipv wrote:
prismsaber wrote:chip,

can't believe you and foxy decided to post this for public use. This is a weapon that could make every cook and striper who doesn't know what they're doing dangerous.


Don't blame Foxy for having an awesome idea. I wrote this script and informed her I was publishing it, decision was mine, idea was hers,so you can blame me.

What do you want me to do, render the script useless?
In the hands of anyone who "doesn't know what they're doing" I'm guessing they are likely to continue being most dangerous to themselves :)
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
Medals: 9
Standard Achievement (2) Terminator Achievement (1) Speed Achievement (1) Ratings Achievement (2) General Contribution (3)

Re: NEW: Assault Odds

Postby chipv on Sat Apr 11, 2009 3:55 pm

ahunda wrote:Very nice. :)

Referring to our little chat on Messenger last night:

I´d still like the order of terrs in the 1st drop-down window to be changed to alphabetical order.

Or maybe even better: All my terrs on top (in alphabetical order), then the rest of the terrs (in alphabetical order) ?


Ok, well it's alphabetical now, click on Latest version installed.
User avatar
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: NEW: Assault Odds

Postby cicero on Sun Apr 12, 2009 3:38 pm

Great new script chip! I find it really appealing. My first thoughts are all re the Pathfinder section since it's the most exciting part and so I've not played with the Quick Calc. [And Statistics is TBD - "to be developed" ?]

These are just me thinking aloud. No overt negative criticism is intended and I'm guessing you 'know' most/all of this already ...
  • I find the Odds values hard to relate to ... First of all because the values (between 0 and 1) are 'probabilities' not 'odds' ... which is strange given that the script is called "Assault Odds". A probabiltiy of '0.25' is equivalent to odds of '4 to 1 against' ... a probabity of 0.50 is 'evens' [or '1 to 1' I guess ?] ... But I digress ...
  • Pure vocabulary aside perhaps a probabilty isn't the best way to express the situation anyway. Instead of 0.05 we could have 'odds' ie '20 to 1' or alternatively perhaps a percentage '5%' ... Either of these might be more easy to relate to for the masses? '100%' means it's definitely going to happen [we'd never need that here at CC of course ;)] and '0%' means it cannot happen. I think I'd find either of these options easier to 'get a handle on' than the current raw decimal probabilty.
  • And talking of which - if no alternative presentation is decided upon as outlined above - is there any (user) need to display 17 significant digits of accuracy?
  • Finally, how about an additional column - using the one already produced, but empty above the 'refresh' button would be perfect - that displays the number of armies remaining (based on probabilty) after each attack in the sequence. [If it's not clear what I mean here let me know and I'll elaborate.]

Cicero
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
Medals: 9
Standard Achievement (2) Terminator Achievement (1) Speed Achievement (1) Ratings Achievement (2) General Contribution (3)

Re: NEW: Assault Odds

Postby chipv on Sun Apr 12, 2009 3:57 pm

Thanks for the comments... ahem... but I have to point out there is already a format option to show percentages.

Look in the left menu on the game page for Assault Odds and choose percentage format.

About your second suggestion, I am currently bashing my head doing that, as I did with the improved calculation.
Most of the problem stems around releasing load on the browser, the maths is reasonably straightforward.

I will come up with something, but at the moment it may require an additional button to produce the extra stats as I
don't want to load the overall calculation as it's fast and needs to be.
User avatar
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Next

Return to Tool Archives

Who is online

Users browsing this forum: No registered users

Login