Conquer Club

NEW Greasemonkey Script: Dice Streaks

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.

NEW Greasemonkey Script: Dice Streaks

Postby chipv on Thu Apr 08, 2010 1:51 pm

Dice Streaks

This script records all of your dice and displays streak statistics.
We would like to collect complete sets of data for each player for the same game to see how the dice vary.

Post your screenshots of the Summary Tab in Dice Streak Records

Image

Image

Image

This is a complement to Dice Analyzer not a replacement, use both if you wish

Requirements
You must be running Firefox with Greasemonkey installed.
Full instructions for Firefox and Greasemonkey from scratch: viewtopic.php?t=41487

Installation
Click on this link (with Firefox and Greasemonkey installed)
Conquer Club Dice Streaks
Click on Install and that's it.
Once installed you'll see this in the left hand menu , depending on what order your scripts are in.

Image

What does it do

All of your dice in your turns are recorded. There is no set limit to this
(Dice Analyzer uses cookies which severely limits its ability to store data).
All you have to do is click on the All Dice Streaks button in the left menu to see. (You can do this in the middle of your turn too).
It also records stats per game so you can zero in on particular games.

The script measures and displays a number of streaks in your dice :

  • Combined Dice - measures highest streaks of any die number (1,2,3,4,5,6), attacker or defender
  • Attack Dice - measures highest streaks of any attack die number
  • Defence Dice - measures highest streaks of any defence die number
  • Overall Roll Outcome - measures highest streaks of wins,ties, and losses in a roll outcome
  • Individual Roll Outcome - measures highest streaks of individual wins,ties, and losses in a roll outcome
    (e.g. highest losing 3v2 streak or highest winning streak of 1v1)
  • Most consecutive troops defeated and Most consecutive troops lost (includes ties of 1 each)
  • Streak distribution is displayed in a separate tab
  • Streaks per game - all of the above for individual games

Recorded Games

The script also measures statistics for each game you take turns in also. You can collapse the data onto any recorded game by
clicking on the Games Tab and clicking on one of the game streak links.

Games pages where you have recorded dice will show this in the left menu

Image

Click on Game Dice Streaks to automatically see stats for that game. (You can click on this in the middle of your turn too).
(You can use the All Games link in the Games Tab to see everything)
On all other pages you will automatically get the data for all of your games.

Reset Button

This will wipe all of your recorded data!
I put this there for those who want to record separate periods of dice stats.

Please help collect data

We would like to collect screenshots of your data in GD here

Dice Streak Records

Thanks in advance!
User avatar
Colonel chipv
 
Posts: 2745
Joined: Mon Apr 28, 2008 5:30 pm

Re: NEW Greasemonkey Script: Dice Streaks

Postby chipv on Fri Apr 09, 2010 5:08 pm

I would like to invite as many people as possible to run this script so we can all get screenshots of people's dice.

In particular we would like to collect complete sets of data for games (for each player) to see any variation.

Thanks in advance

(There will be a thread in GD shortly to post screenshots)
User avatar
Colonel chipv
 
Posts: 2745
Joined: Mon Apr 28, 2008 5:30 pm

Re: NEW Greasemonkey Script: Dice Streaks

Postby Dako on Fri Apr 09, 2010 7:14 pm

Awesome script, chip! Will try it right now.
Image
User avatar
Colonel Dako
 
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia

Re: NEW Greasemonkey Script: Dice Streaks

Postby jpcloet on Fri Apr 09, 2010 7:36 pm

First couple of games and I notice 10 of 12 of my rolls were all 5's. Interesting.
Image
User avatar
Captain jpcloet
 
Posts: 4314
Joined: Sat Mar 17, 2007 9:18 am

Re: NEW Greasemonkey Script: Dice Streaks

Postby chipv on Sun Apr 11, 2010 11:16 am

Added some more stats

Most consecutive troops defeated
Most consecutive troops lost

These include ties (1 each)
User avatar
Colonel chipv
 
Posts: 2745
Joined: Mon Apr 28, 2008 5:30 pm

Re: NEW Greasemonkey Script: Dice Streaks

Postby eddie2 on Sun Apr 11, 2010 12:03 pm

ha finally somthing to prove how f up the die are when they are bad
User avatar
Lieutenant eddie2
 
Posts: 4251
Joined: Sun Sep 20, 2009 10:56 am
Location: Southampton uk

Re: NEW Greasemonkey Script: Dice Streaks

Postby chipv on Sun Apr 11, 2010 12:20 pm

Added a summary tab for convenience.

Image
User avatar
Colonel chipv
 
Posts: 2745
Joined: Mon Apr 28, 2008 5:30 pm

Re: NEW Greasemonkey Script: Dice Streaks

Postby jleonnn on Tue Apr 13, 2010 6:53 am

nice!
General jleonnn
 
Posts: 1804
Joined: Tue Jan 06, 2009 5:11 am
Location: The Communist Republic of Aoria

Re: NEW Greasemonkey Script: Dice Streaks

Postby chipv on Tue Apr 13, 2010 1:16 pm

New version available. Note uploading new versions will NOT reset your dice, so don't worry about installing.

The game streak links now have game info when you hover over them.

There is a new Distribution Tab:

Image

It shows the distribution of streaks. The left column shows the length of the streak. The right column shows how many of those streaks occurred.

In the image above for winning outcomes, I have had streaks of 6 wins in a row. That has happened twice.
For streaks of 2 consecutive wins, that has happened 23 times.
User avatar
Colonel chipv
 
Posts: 2745
Joined: Mon Apr 28, 2008 5:30 pm

Re: NEW Greasemonkey Script: Dice Streaks

Postby RADAGA on Sun Apr 18, 2010 7:12 am

In the first 53 dice = had one streak of four twos... This is going to be interesting...
Private 1st Class RADAGA
 
Posts: 332
Joined: Sun Jan 06, 2008 8:23 am

Re: NEW Greasemonkey Script: Dice Streaks

Postby barterer2002 on Sun Apr 18, 2010 11:00 am

Chip this computer gets about 1/3 to 1/2 of my turns playing

Image
Image
Image
User avatar
Major barterer2002
 
Posts: 6300
Joined: Mon Jul 02, 2007 11:51 am

Re: NEW Greasemonkey Script: Dice Streaks

Postby chipv on Sun Apr 18, 2010 11:47 am

barterer2002 wrote:Chip this computer gets about 1/3 to 1/2 of my turns playing


What do you mean? Are you playing all your turns on the same computer?
User avatar
Colonel chipv
 
Posts: 2745
Joined: Mon Apr 28, 2008 5:30 pm

Re: NEW Greasemonkey Script: Dice Streaks

Postby barterer2002 on Sun Apr 18, 2010 6:51 pm

No, I've got my desktop and my laptop. I generally take my games first thing in the morning on the laptop which doesn't have all the add ons installed and through the day take them on the desktop. As I think the numbers are reversed from what I said, 1/2 to 2/3 of them are on this one with the rest on the laptop not being recorded.
Image
Image
User avatar
Major barterer2002
 
Posts: 6300
Joined: Mon Jul 02, 2007 11:51 am

Re: NEW Greasemonkey Script: Dice Streaks

Postby chipv on Sun Apr 18, 2010 7:03 pm

barterer2002 wrote:No, I've got my desktop and my laptop. I generally take my games first thing in the morning on the laptop which doesn't have all the add ons installed and through the day take them on the desktop. As I think the numbers are reversed from what I said, 1/2 to 2/3 of them are on this one with the rest on the laptop not being recorded.


The dice are recorded in a file on your PC. So your desktop will have a separate file than your laptop.
The dice recorded are from the turns you have taken on that PC.

So if you are running 2 scripts on 2 computers, you will have different data on both as you are taking different turns on both.
User avatar
Colonel chipv
 
Posts: 2745
Joined: Mon Apr 28, 2008 5:30 pm

Re: NEW Greasemonkey Script: Dice Streaks

Postby RADAGA on Mon Apr 19, 2010 2:42 pm

Image

Right, nearly half of those are streaks.

Check out the 2-1-1-2-2-2-2-1-1 (is it a coin toss?)

or the 2-2-3-3-3-2-5-5 (ones sixes and fours were in the day off)
Private 1st Class RADAGA
 
Posts: 332
Joined: Sun Jan 06, 2008 8:23 am

Re: NEW Greasemonkey Script: Dice Streaks

Postby barterer2002 on Tue Apr 20, 2010 11:56 am

chipv wrote:
barterer2002 wrote:No, I've got my desktop and my laptop. I generally take my games first thing in the morning on the laptop which doesn't have all the add ons installed and through the day take them on the desktop. As I think the numbers are reversed from what I said, 1/2 to 2/3 of them are on this one with the rest on the laptop not being recorded.


The dice are recorded in a file on your PC. So your desktop will have a separate file than your laptop.
The dice recorded are from the turns you have taken on that PC.

So if you are running 2 scripts on 2 computers, you will have different data on both as you are taking different turns on both.


Right, I understood that, that's why I was telling you it wasn't every turn and why I have more attacks that defense (not running the script on laptop)
Image
Image
User avatar
Major barterer2002
 
Posts: 6300
Joined: Mon Jul 02, 2007 11:51 am

Re: NEW Greasemonkey Script: Dice Streaks

Postby chipv on Tue Apr 20, 2010 12:34 pm

barterer2002 wrote:Right, I understood that, that's why I was telling you it wasn't every turn and why I have more attacks that defense (not running the script on laptop)


Totally my bad - too used to everyone only posting when complaining so managed to read your first line as a complaint when it was only info.

Sorry!
User avatar
Colonel chipv
 
Posts: 2745
Joined: Mon Apr 28, 2008 5:30 pm

Re: NEW Greasemonkey Script: Dice Streaks

Postby RADAGA on Wed Apr 21, 2010 10:46 am

Image

a 5 in a row 3x1 loss, folowed shortly by a 3 in a row 3x1 ...

As usual, trying to break paying members bonuses...
Private 1st Class RADAGA
 
Posts: 332
Joined: Sun Jan 06, 2008 8:23 am

Re: NEW Greasemonkey Script: Dice Streaks

Postby barterer2002 on Thu Apr 22, 2010 6:50 pm

chipv wrote:
barterer2002 wrote:Right, I understood that, that's why I was telling you it wasn't every turn and why I have more attacks that defense (not running the script on laptop)


Totally my bad - too used to everyone only posting when complaining so managed to read your first line as a complaint when it was only info.

Sorry!


No worries chip. Trust me, I appreciate all that you do far to much to complain, anything I do will be for information only :D
Image
Image
User avatar
Major barterer2002
 
Posts: 6300
Joined: Mon Jul 02, 2007 11:51 am

Re: NEW Greasemonkey Script: Dice Streaks

Postby RADAGA on Thu Apr 29, 2010 9:16 am

Image

Okay, you say I complain too much, but lets see... where should I begin?

To get four dice get the same number in a row (any of them) is a one-in-215 four-dice-throw chance

The sample have 231 dice (lets say about 57 groups of four dice).

Line 1, four twos in a row
LInes 5 and 6, four fours in a row
Line 8, FIVE sixes in a row
Line 8 and 9 FIVE fives in a row

So, something that should occour once every 215 four-dice-throws happened FOUR times in a 57 four-dice-throws - thats about 6% occourence of an event that have a mere ZERO POINT FIVE percent chance of happening.

While this does not prove the dice "are not random" they surely are something to be investigated.

note that I am not complaining about battle results, I am simply checking out a serie of data and realizing things that were not expected to have occoured once evry five of such samples occoured FOUR times on a single one.

FOUR arrangements of 4-of-a-kind are to be expected to be seen on samples of 1.155 4-dice throws, and yet here we see it on 57 of such

Not to mention two of them were a FIVE in a row - chance for any five of a kind - once in 1295 throws

So, anyone care about it?
Private 1st Class RADAGA
 
Posts: 332
Joined: Sun Jan 06, 2008 8:23 am

Re: NEW Greasemonkey Script: Dice Streaks

Postby Catarah on Mon May 03, 2010 6:41 am

awesome tool.

but before anyone goes complaining the dices are streaky when one of their games has streakiness, i´d like to add that reviewing game data is only usefull if you add the data of all other games too.

if 1 in 3 appears streaky thats a whole different thing then if 1 in 50 appears streaky, yet if you only post games in which you had weird streaks, it´ll appear to be wrong.

that said, great idea, awesome!
Captain Catarah
 
Posts: 245
Joined: Fri Nov 27, 2009 11:17 am

Re: NEW Greasemonkey Script: Dice Streaks

Postby RADAGA on Tue May 04, 2010 5:10 am

Catarah wrote:awesome tool.

but before anyone goes complaining the dices are streaky when one of their games has streakiness, i´d like to add that reviewing game data is only usefull if you add the data of all other games too.

if 1 in 3 appears streaky thats a whole different thing then if 1 in 50 appears streaky, yet if you only post games in which you had weird streaks, it´ll appear to be wrong.

that said, great idea, awesome!



Even if that 1 in 50 shows things that should only occour once in 1.000 times?

This excuse that "all data must be gathered, no matter the individual anomalies" to me almost sound like no one care to really look at those anomalies because they know about them and dont care.
Private 1st Class RADAGA
 
Posts: 332
Joined: Sun Jan 06, 2008 8:23 am

Re: NEW Greasemonkey Script: Dice Streaks

Postby Chuuuuck on Tue May 04, 2010 7:36 am

RADAGA wrote:Image

Okay, you say I complain too much, but lets see... where should I begin?

To get four dice get the same number in a row (any of them) is a one-in-215 four-dice-throw chance

The sample have 231 dice (lets say about 57 groups of four dice).

Line 1, four twos in a row
LInes 5 and 6, four fours in a row
Line 8, FIVE sixes in a row
Line 8 and 9 FIVE fives in a row

So, something that should occour once every 215 four-dice-throws happened FOUR times in a 57 four-dice-throws - thats about 6% occourence of an event that have a mere ZERO POINT FIVE percent chance of happening.

While this does not prove the dice "are not random" they surely are something to be investigated.

note that I am not complaining about battle results, I am simply checking out a serie of data and realizing things that were not expected to have occoured once evry five of such samples occoured FOUR times on a single one.

FOUR arrangements of 4-of-a-kind are to be expected to be seen on samples of 1.155 4-dice throws, and yet here we see it on 57 of such

Not to mention two of them were a FIVE in a row - chance for any five of a kind - once in 1295 throws

So, anyone care about it?


Quit complaining. If you know anything about statistics then you would know there is nothing to be shown from 57 dice throws. When you have a sample size of a million plus and your numbers are still around 6% when they should be 0.5%, then you might actually have a case, until then, go read a book about statistics.

Random dice with a 0.5% chance of something happening does not mean that it will happen 0.5% of the time in every sample. In fact, it has a greater than 90% chance of not even really being close to 0.5% in the sample size you are talking about.
Captain Chuuuuck
 
Posts: 1298
Joined: Thu May 31, 2007 11:09 am

Re: NEW Greasemonkey Script: Dice Streaks

Postby Chuuuuck on Tue May 04, 2010 7:38 am

Hey chip, great script.

A quick question, I saw in the first post you say something about it recording defensive dice and then in later posts it said something about it only recording turns you take with that computer. Does it record defensive dice when I am not there during another players turn? Or does it only record my dice throws from my turns?
Captain Chuuuuck
 
Posts: 1298
Joined: Thu May 31, 2007 11:09 am

Re: NEW Greasemonkey Script: Dice Streaks

Postby chipv on Tue May 04, 2010 11:11 am

Chuuuuck wrote:Hey chip, great script.

A quick question, I saw in the first post you say something about it recording defensive dice and then in later posts it said something about it only recording turns you take with that computer. Does it record defensive dice when I am not there during another players turn? Or does it only record my dice throws from my turns?


It is only able to record dice from your turns.
User avatar
Colonel chipv
 
Posts: 2745
Joined: Mon Apr 28, 2008 5:30 pm

Next

Return to Tool Archives

Who is online

Users browsing this forum: No registered users

cron