Our members are dedicated to PASSION and PURPOSE without drama!

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - VLS

#796
A fellow friend needed this since the thread lost format at the source web:

[csv=,]Layout,,Spins,,Mean,,Std. Deviation,,Max. Interval,,Max. Repeat,,Spins Last Appeared,,Min. Interval,,Max. Interval
Number1,,329140,,329891.89,,-1.33,,1,,4,,57,,1,,521
Number2,,330289,,329891.89,,0.70,,1,,4,,91,,1,,439
Number3,,329463,,329891.89,,-0.76,,1,,4,,28,,1,,454
Number4,,329665,,329891.89,,-0.40,,1,,4,,60,,1,,474
Number5,,329599,,329891.89,,-0.52,,1,,4,,52,,1,,485
Number6,,329653,,329891.89,,-0.42,,1,,4,,8,,1,,509
Number7,,329611,,329891.89,,-0.50,,1,,4,,1,,1,,417
Number8,,329888,,329891.89,,-0.01,,1,,5,,24,,1,,479
Number9,,330698,,329891.89,,1.42,,1,,4,,4,,1,,583
Number10,,329251,,329891.89,,-1.13,,1,,4,,26,,1,,487
Number11,,330205,,329891.89,,0.55,,1,,4,,77,,1,,509
Number12,,329153,,329891.89,,-1.30,,1,,4,,21,,1,,592
Number13,,329514,,329891.89,,-0.67,,1,,5,,9,,1,,557
Number14,,330578,,329891.89,,1.21,,1,,4,,92,,1,,503
Number15,,328972,,329891.89,,-1.62,,1,,5,,35,,1,,593
Number16,,330163,,329891.89,,0.48,,1,,4,,5,,1,,543
Number17,,330770,,329891.89,,1.55,,1,,4,,36,,1,,493
Number18,,331100,,329891.89,,2.13,,1,,4,,51,,1,,494
Number19,,329811,,329891.89,,-0.14,,1,,4,,13,,1,,534
Number20,,330795,,329891.89,,1.59,,1,,4,,31,,1,,497
Number21,,329942,,329891.89,,0.09,,1,,4,,27,,1,,478
Number22,,330463,,329891.89,,1.01,,1,,4,,73,,1,,482
Number23,,330435,,329891.89,,0.96,,1,,4,,18,,1,,423
Number24,,330425,,329891.89,,0.94,,1,,5,,10,,1,,456
Number25,,330613,,329891.89,,1.27,,1,,5,,96,,1,,431
Number26,,329830,,329891.89,,-0.11,,1,,4,,43,,1,,566
Number27,,329209,,329891.89,,-1.21,,1,,4,,7,,1,,474
Number28,,328879,,329891.89,,-1.79,,1,,5,,137,,1,,528
Number29,,329263,,329891.89,,-1.11,,1,,4,,29,,1,,521
Number30,,329393,,329891.89,,-0.88,,1,,4,,38,,1,,474
Number31,,329227,,329891.89,,-1.17,,1,,4,,3,,1,,463
Number32,,328926,,329891.89,,-1.70,,1,,4,,0,,1,,462
Number33,,330788,,329891.89,,1.58,,1,,4,,2,,1,,482
Number34,,329894,,329891.89,,0.00,,1,,4,,34,,1,,488
Number35,,329039,,329891.89,,-1.51,,1,,5,,20,,1,,491
Number36,,330541,,329891.89,,1.15,,1,,5,,22,,1,,452
Zero,,330815,,329891.89,,1.63,,1,,4,,47,,1,,539[/csv]


[csv=,]
Layout,,Spins,,Mean,,Std. Deviation,,Max. Interval,,Max. Repeat,,Spins Last Appeared,,Min. Interval,,Max. Interval
Low(1-18),,5937712,,5938054.05,,-0.20,,1,,22,,1,,1,,25
High(19-36),,5937473,,5938054.05,,-0.33,,1,,22,,0,,1,,23
Red,,5938269,,5938054.05,,0.12,,1,,22,,0,,1,,23
Black,,5936916,,5938054.05,,-0.65,,1,,21,,2,,1,,29
Odd,,5936299,,5938054.05,,-1.01,,1,,21,,1,,1,,24
Even,,5938886,,5938054.05,,0.48,,1,,23,,0,,1,,23
[/csv]


[csv=,]
Layout,,Spins,,Mean,,Std. Deviation,,Max. Interval,,Max. Repeat,,Spins Last Appeared,,Min. Interval,,Max. Interval
1st Dozen,,3956615,,3958702.70,,-1.28,,1,,18,,1,,1,,39
2nd Dozen,,3962968,,3958702.70,,2.61,,1,,14,,5,,1,,39
3rd Dozen,,3955602,,3958702.70,,-1.90,,1,,14,,0,,1,,39
Column A,,3956231,,3958702.70,,-1.51,,1,,14,,1,,1,,37
Column B,,3959617,,3958702.70,,0.56,,1,,13,,0,,1,,41
Column C,,3959337,,3958702.70,,0.39,,1,,16,,2,,1,,42
[/csv]


[csv=,]
Layout,,Spins,,Mean,,Std. Deviation,,Max. Interval,,Max. Repeat,,Spins Last Appeared,,Min. Interval,,Max. Interval
Street(1-3),,988892,,989675.68,,-0.82,,1,,7,,28,,1,,168
Street(4-6),,988917,,989675.68,,-0.80,,1,,6,,8,,1,,174
Street(7-9),,990197,,989675.68,,0.55,,1,,6,,1,,1,,154
Street(10-12),,988609,,989675.68,,-1.12,,1,,7,,21,,1,,164
Street(13-15),,989064,,989675.68,,-0.64,,1,,6,,9,,1,,177
Street(16-18),,992033,,989675.68,,2.47,,1,,6,,5,,1,,165
Street(19-21),,990548,,989675.68,,0.91,,1,,7,,13,,1,,164
Street(22-24),,991323,,989675.68,,1.73,,1,,6,,10,,1,,160
Street(25-27),,989652,,989675.68,,-0.02,,1,,6,,7,,1,,174
Street(28-30),,987535,,989675.68,,-2.24,,1,,6,,29,,1,,178
Street(31-33),,988941,,989675.68,,-0.77,,1,,6,,0,,1,,164
Street(34-36),,989474,,989675.68,,-0.21,,1,,6,,20,,1,,163
[/csv]


[csv=,]
Layout,,Spins,,Mean,,Std. Deviation,,Max. Interval,,Max. Repeat,,Spins Last Appeared,,Min. Interval,,Max. Interval
Line(1-6),,1977809,,1979351.35,,-1.20,,1,,8,,8,,1,,92
Line(4-9),,1979114,,1979351.35,,-0.18,,1,,8,,1,,1,,79
Line(7-12),,1978806,,1979351.35,,-0.42,,1,,8,,1,,1,,93
Line(10-15),,1977673,,1979351.35,,-1.30,,1,,9,,9,,1,,82
Line(13-18),,1981097,,1979351.35,,1.36,,1,,8,,5,,1,,89
Line(16-21),,1982581,,1979351.35,,2.51,,1,,9,,5,,1,,83
Line(19-24),,1981871,,1979351.35,,1.96,,1,,8,,10,,1,,76
Line(22-27),,1980975,,1979351.35,,1.26,,1,,9,,7,,1,,82
Line(25-30),,1977187,,1979351.35,,-1.68,,1,,8,,7,,1,,89
Line(28-33),,1976476,,1979351.35,,-2.23,,1,,10,,0,,1,,79
Line(31-36),,1978415,,1979351.35,,-0.73,,1,,9,,0,,1,,75
[/csv]


[csv=,]
Layout,,Spins,,Mean,,Std. Deviation,,Max. Interval,,Max. Repeat,,Spins Last Appeared,,Min. Interval,,Max. Interval
Corner( 1:5 ),,1318693,,1319567.57,,-0.81,,1,,7,,52,,1,,120
Corner( 2:6 ),,1319004,,1319567.57,,-0.52,,1,,7,,8,,1,,120
Corner( 4:8 ),,1318763,,1319567.57,,-0.74,,1,,7,,1,,1,,124
Corner( 5:9 ),,1319838,,1319567.57,,0.25,,1,,7,,4,,1,,129
Corner( 7:11 ),,1318955,,1319567.57,,-0.56,,1,,6,,1,,1,,119
Corner( 8:12 ),,1319944,,1319567.57,,0.35,,1,,7,,4,,1,,127
Corner( 10:14 ),,1319548,,1319567.57,,-0.02,,1,,7,,9,,1,,151
Corner( 11:15 ),,1318908,,1319567.57,,-0.61,,1,,7,,21,,1,,126
Corner( 13:17 ),,1321025,,1319567.57,,1.34,,1,,7,,5,,1,,127
Corner( 14:18 ),,1321420,,1319567.57,,1.71,,1,,7,,35,,1,,137
Corner( 16:20 ),,1321539,,1319567.57,,1.82,,1,,6,,5,,1,,115
Corner( 17:21 ),,1322607,,1319567.57,,2.80,,1,,7,,27,,1,,130
Corner( 19:23 ),,1321504,,1319567.57,,1.78,,1,,7,,13,,1,,122
Corner( 20:24 ),,1321597,,1319567.57,,1.87,,1,,8,,10,,1,,120
Corner( 22:26 ),,1321341,,1319567.57,,1.63,,1,,7,,18,,1,,154
Corner( 23:27 ),,1319899,,1319567.57,,0.31,,1,,7,,7,,1,,124
Corner( 25:29 ),,1318585,,1319567.57,,-0.91,,1,,7,,29,,1,,138
Corner( 26:30 ),,1317695,,1319567.57,,-1.73,,1,,6,,7,,1,,118
Corner( 28:32 ),,1316295,,1319567.57,,-3.02,,1,,7,,0,,1,,125
Corner( 29:33 ),,1318370,,1319567.57,,-1.10,,1,,7,,0,,1,,124
Corner( 31:35 ),,1317086,,1319567.57,,-2.29,,1,,8,,0,,1,,124
Corner( 32:36 ),,1319294,,1319567.57,,-0.25,,1,,7,,0,,1,,130
[/csv]


[csv=,]
Layout,,Spins,,Mean,,Std. Deviation,,Max. Interval,,Max. Repeat,,Spins Last Appeared,,Min. Interval,,Max. Interval
Split(1-0),,659955,,659783.78,,0.22,,1,,5,,47,,1,,266
Split(2-0),,661104,,659783.78,,1.67,,1,,5,,47,,1,,236
Split(3-0),,660278,,659783.78,,0.63,,1,,6,,28,,1,,291
Split(1-2),,659429,,659783.78,,-0.45,,1,,5,,57,,1,,289
Split(1-4),,658805,,659783.78,,-1.24,,1,,6,,57,,1,,232
Split(2-3),,659752,,659783.78,,-0.04,,1,,6,,28,,1,,304
Split(2-5),,659888,,659783.78,,0.13,,1,,5,,52,,1,,289
Split(3-6),,659116,,659783.78,,-0.85,,1,,5,,8,,1,,249
Split(4-5),,659264,,659783.78,,-0.66,,1,,5,,52,,1,,313
Split(4-7),,659276,,659783.78,,-0.64,,1,,5,,1,,1,,241
Split(5-6),,659252,,659783.78,,-0.67,,1,,5,,8,,1,,245
Split(5-8),,659487,,659783.78,,-0.38,,1,,5,,24,,1,,279
Split(6-9),,660351,,659783.78,,0.72,,1,,5,,4,,1,,282
Split(7-8),,659499,,659783.78,,-0.36,,1,,5,,1,,1,,252
Split(7-10),,658862,,659783.78,,-1.17,,1,,5,,1,,1,,218
Split(8-9),,660586,,659783.78,,1.02,,1,,5,,4,,1,,238
Split(8-11),,660093,,659783.78,,0.39,,1,,6,,24,,1,,309
Split(9-12),,659851,,659783.78,,0.09,,1,,5,,4,,1,,221
Split(10-11),,659456,,659783.78,,-0.41,,1,,5,,26,,1,,239
Split(10-13),,658765,,659783.78,,-1.29,,1,,5,,9,,1,,243
Split(11-12),,659358,,659783.78,,-0.54,,1,,6,,21,,1,,242
Split(11-14),,660783,,659783.78,,1.26,,1,,5,,77,,1,,280
Split(12-15),,658125,,659783.78,,-2.10,,1,,5,,21,,1,,224
Split(13-14),,660092,,659783.78,,0.39,,1,,6,,9,,1,,224
Split(13-16),,659677,,659783.78,,-0.14,,1,,6,,5,,1,,240
Split(14-15),,659550,,659783.78,,-0.30,,1,,6,,35,,1,,246
Split(14-17),,661348,,659783.78,,1.98,,1,,6,,36,,1,,250
Split(15-18),,660072,,659783.78,,0.36,,1,,6,,35,,1,,270
Split(16-17),,660933,,659783.78,,1.45,,1,,5,,5,,1,,236
Split(16-19),,659974,,659783.78,,0.24,,1,,5,,5,,1,,239
Split(17-18),,661870,,659783.78,,2.64,,1,,4,,36,,1,,229
Split(17-20),,661565,,659783.78,,2.25,,1,,5,,31,,1,,246
Split(18-21),,661042,,659783.78,,1.59,,1,,5,,27,,1,,244
Split(19-20),,660606,,659783.78,,1.04,,1,,5,,13,,1,,271
Split(19-22),,660274,,659783.78,,0.62,,1,,5,,13,,1,,236
Split(20-21),,660737,,659783.78,,1.21,,1,,6,,27,,1,,231
Split(20-23),,661230,,659783.78,,1.83,,1,,6,,18,,1,,234
Split(21-24),,660367,,659783.78,,0.74,,1,,5,,10,,1,,230
Split(22-23),,660898,,659783.78,,1.41,,1,,6,,18,,1,,246
Split(22-25),,661076,,659783.78,,1.64,,1,,5,,73,,1,,304
Split(23-24),,660860,,659783.78,,1.36,,1,,6,,10,,1,,265
Split(23-26),,660265,,659783.78,,0.61,,1,,5,,18,,1,,246
Split(24-27),,659634,,659783.78,,-0.19,,1,,5,,7,,1,,266
Split(25-26),,660443,,659783.78,,0.83,,1,,5,,43,,1,,248
Split(25-28),,659492,,659783.78,,-0.37,,1,,6,,96,,1,,254
Split(26-27),,659039,,659783.78,,-0.94,,1,,5,,7,,1,,273
Split(26-29),,659093,,659783.78,,-0.87,,1,,5,,29,,1,,221
Split(27-30),,658602,,659783.78,,-1.50,,1,,6,,7,,1,,285
Split(28-29),,658142,,659783.78,,-2.08,,1,,5,,29,,1,,266
Split(28-31),,658106,,659783.78,,-2.12,,1,,5,,3,,1,,216
Split(29-30),,658656,,659783.78,,-1.43,,1,,6,,29,,1,,223
Split(29-32),,658189,,659783.78,,-2.02,,1,,5,,0,,1,,226
Split(30-33),,660181,,659783.78,,0.50,,1,,5,,2,,1,,254
Split(31-32),,658153,,659783.78,,-2.06,,1,,6,,0,,1,,263
Split(31-34),,659121,,659783.78,,-0.84,,1,,6,,3,,1,,242
Split(32-33),,659714,,659783.78,,-0.09,,1,,5,,0,,1,,247
Split(32-35),,657965,,659783.78,,-2.30,,1,,6,,0,,1,,241
Split(33-36),,661329,,659783.78,,1.96,,1,,5,,2,,1,,241
Split(34-35),,658933,,659783.78,,-1.08,,1,,5,,20,,1,,235
Split(35-36),,659580,,659783.78,,-0.26,,1,,5,,20,,1,,229
[/csv]


[csv=,]
Layout,,Spins,,Mean,,Std. Deviation,,Max. Interval,,Max. Repeat,,Spins Last Appeared,,Min. Interval,,Max. Interval
Line(1-0),,1319707,,1154621.62,,161.46,,1,,7,,28,,1,,126
Street(0-2),,990244,,1154621.62,,-160.77,,1,,7,,47,,1,,166
Street(0-3),,990567,,1154621.62,,-160.45,,1,,6,,28,,1,,231
[/csv]


[csv=,]
Sector,,Section,,Spins,,Mean,,Std. Deviation,,Max. Interval,,Max. Repeat,,Spins Last Appeared,,Min. Interval,,Max. Interval
1,,0-26,,660645,,659783.78,,1.09,,1,,5,,43,,1,,238
2,,26-3,,659293,,659783.78,,-0.62,,1,,5,,28,,1,,239
3,,3-35,,658502,,659783.78,,-1.62,,1,,6,,20,,1,,281
4,,35-12,,658192,,659783.78,,-2.01,,1,,5,,20,,1,,283
5,,12-28,,658032,,659783.78,,-2.22,,1,,6,,21,,1,,249
6,,28-7,,658490,,659783.78,,-1.64,,1,,5,,1,,1,,236
7,,7-29,,658874,,659783.78,,-1.15,,1,,5,,1,,1,,226
8,,29-18,,660363,,659783.78,,0.73,,1,,5,,29,,1,,240
9,,18-22,,661563,,659783.78,,2.25,,1,,5,,51,,1,,260
10,,22-9,,661161,,659783.78,,1.74,,1,,5,,4,,1,,234
11,,9-31,,659925,,659783.78,,0.18,,1,,5,,3,,1,,255
12,,31-14,,659805,,659783.78,,0.03,,1,,6,,3,,1,,265
13,,14-20,,661373,,659783.78,,2.01,,1,,5,,31,,1,,247
14,,20-1,,659935,,659783.78,,0.19,,1,,6,,31,,1,,254
15,,1-33,,659928,,659783.78,,0.18,,1,,6,,2,,1,,244
16,,33-16,,660951,,659783.78,,1.48,,1,,5,,2,,1,,235
17,,16-24,,660588,,659783.78,,1.02,,1,,5,,5,,1,,240
18,,24-5,,660024,,659783.78,,0.30,,1,,5,,10,,1,,223
19,,5-10,,658850,,659783.78,,-1.18,,1,,5,,26,,1,,260
20,,10-23,,659686,,659783.78,,-0.12,,1,,6,,18,,1,,290
21,,23-8,,660323,,659783.78,,0.68,,1,,6,,18,,1,,240
22,,8-30,,659281,,659783.78,,-0.64,,1,,6,,24,,1,,227
23,,30-11,,659598,,659783.78,,-0.24,,1,,5,,38,,1,,251
24,,11-36,,660746,,659783.78,,1.22,,1,,5,,22,,1,,247
25,,36-13,,660055,,659783.78,,0.34,,1,,5,,9,,1,,257
26,,13-27,,658723,,659783.78,,-1.34,,1,,5,,7,,1,,244
27,,27-6,,658862,,659783.78,,-1.17,,1,,5,,7,,1,,241
28,,6-34,,659547,,659783.78,,-0.30,,1,,5,,8,,1,,243
29,,34-17,,660664,,659783.78,,1.11,,1,,6,,34,,1,,235
30,,17-25,,661383,,659783.78,,2.02,,1,,5,,36,,1,,241
31,,25-2,,660902,,659783.78,,1.42,,1,,5,,91,,1,,277
32,,2-21,,660231,,659783.78,,0.57,,1,,5,,27,,1,,241
33,,21-4,,659607,,659783.78,,-0.22,,1,,5,,27,,1,,230
34,,4-19,,659476,,659783.78,,-0.39,,1,,5,,13,,1,,273
35,,19-15,,658783,,659783.78,,-1.27,,1,,6,,13,,1,,227
36,,15-32,,657898,,659783.78,,-2.39,,1,,5,,0,,1,,249
37,,32-0,,659741,,659783.78,,-0.05,,1,,5,,0,,1,,268
[/csv]


[csv=,]
No.,,Spins,,Mean,,Std. Deviation,,Measure of Deviation
1,,329140,,329891.89,,-1.33,,1.7137
2,,330289,,329891.89,,0.70,,0.4780
3,,329463,,329891.89,,-0.76,,0.5576
4,,329665,,329891.89,,-0.40,,0.1561
5,,329599,,329891.89,,-0.52,,0.2600
6,,329653,,329891.89,,-0.42,,0.1730
7,,329611,,329891.89,,-0.50,,0.2392
8,,329888,,329891.89,,-0.01,,0.0000
9,,330698,,329891.89,,1.42,,1.9698
10,,329251,,329891.89,,-1.13,,1.2451
11,,330205,,329891.89,,0.55,,0.2972
12,,329153,,329891.89,,-1.30,,1.6550
13,,329514,,329891.89,,-0.67,,0.4329
14,,330578,,329891.89,,1.21,,1.4270
15,,328972,,329891.89,,-1.62,,2.5651
16,,330163,,329891.89,,0.48,,0.2228
17,,330770,,329891.89,,1.55,,2.3374
18,,331100,,329891.89,,2.13,,4.4243
19,,329811,,329891.89,,-0.14,,0.0198
20,,330795,,329891.89,,1.59,,2.4723
21,,329942,,329891.89,,0.09,,0.0076
22,,330463,,329891.89,,1.01,,0.9887
23,,330435,,329891.89,,0.96,,0.8941
24,,330425,,329891.89,,0.94,,0.8615
25,,330613,,329891.89,,1.27,,1.5763
26,,329830,,329891.89,,-0.11,,0.0116
27,,329209,,329891.89,,-1.21,,1.4136
28,,328879,,329891.89,,-1.79,,3.1100
29,,329263,,329891.89,,-1.11,,1.1989
30,,329393,,329891.89,,-0.88,,0.7545
31,,329227,,329891.89,,-1.17,,1.3401
32,,328926,,329891.89,,-1.70,,2.8280
33,,330788,,329891.89,,1.58,,2.4342
34,,329894,,329891.89,,0.00,,0.0000
35,,329039,,329891.89,,-1.51,,2.2050
36,,330541,,329891.89,,1.15,,1.2772
0,,330815,,329891.89,,1.63,,2.5831
[/csv]




Credit to Poit.  :thumbsup:

Vic
#797
Math & Statistics / Re: software
August 03, 2013, 03:07:40 PM
Maestro, kindly say which is the original format of your data?


Are they comma-separated values?
#798
Development / Re: [ALPHA] New Lw tracker
August 03, 2013, 02:29:20 PM
Source code.

Code (Csharp) Select
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace LwTrackerR2
{
    public partial class FormTracker : Form
    {
        // History list
        List<int> history = new List<int>();

        // List for holding last two dozens or columns
        List<int> lastTwo = new List<int>();

        // Lw Trackers
        List<string> ld = new List<string>(); // Hit on last two dozens
        List<string> jd = new List<string>(); // Jump from last dozen
        List<string> lc = new List<string>(); // Hit on last two columns
        List<string> jc = new List<string>(); // Jump from last column

        // Set a bigger font for DataGrid rows
        Font BigFont = new System.Drawing.Font(FontFamily.GenericMonospace, 15.75F, System.Drawing.FontStyle.Bold ^ FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

        // Tracker as BindingList of TrackerData (bound to DataGridView)
        BindingList<TrackerData> Tracker = new BindingList<TrackerData>();

        /// <summary>
        /// Constructor
        /// </summary>
        public FormTracker()
        {
            // Initialize
            InitializeComponent();

            // Set icon
            this.Icon = Properties.Resources.roulette_16_to_256;

            // Alternating background
            dgvTracker.RowsDefaultCellStyle.BackColor = Color.White;
            dgvTracker.AlternatingRowsDefaultCellStyle.BackColor = Color.LightGray;

            // Prevent automatic generation of columns
            dgvTracker.AutoGenerateColumns = false;

            // Prevent resize
            dgvTracker.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.None;
            dgvTracker.AllowUserToResizeRows = false;

            // Add Name column
            DataGridViewTextBoxColumn nameColumn = new DataGridViewTextBoxColumn();
            nameColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells;
            nameColumn.DataPropertyName = "Name";
            nameColumn.HeaderText = "Name";
            nameColumn.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
            nameColumn.DefaultCellStyle.Font = BigFont;
            dgvTracker.Columns.Add(nameColumn);

            // Add Advisor column
            DataGridViewTextBoxColumn advisorColumn = new DataGridViewTextBoxColumn();
            advisorColumn.DataPropertyName = "Advisor";
            advisorColumn.HeaderText = "Advisor";
            advisorColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells;
            advisorColumn.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
            advisorColumn.DefaultCellStyle.Font = BigFont;
            dgvTracker.Columns.Add(advisorColumn);

            // Add Registry column
            DataGridViewTextBoxColumn registryColumn = new DataGridViewTextBoxColumn();
            registryColumn.DataPropertyName = "Registry";
            registryColumn.HeaderText = "Registry";
            registryColumn.DefaultCellStyle.Font = BigFont;
            registryColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
            dgvTracker.Columns.Add(registryColumn);

            // Set dgvTracker DataSource
            dgvTracker.DataSource = Tracker;
        }


        /// <summary>
        /// Tracker form's entry point
        /// </summary>
        private void FormTracker_Load(object sender, EventArgs e)
        {
            // Populate tracker's base rows
            Tracker.Add(new TrackerData("LD"));
            Tracker.Add(new TrackerData("JD"));
            Tracker.Add(new TrackerData("LC"));
            Tracker.Add(new TrackerData("JC"));
        }

        /// <summary>
        /// Prevents form closing
        /// </summary>
        private void FormTracker_FormClosing(object sender, FormClosingEventArgs e)
        {
            // Prevent actual closing
            e.Cancel = true;
        }

        /// <summary>
        /// Processes adding a new item to the tracker
        /// </summary>
        /// <param name="n">Number</param>
        public void addNumber(int n)
        {
            // Variable for holding last dozen or column
            int last = 0;

            // Variable for holding beforelast dozen or column
            int beforelast = 0;

            // Variable for holding last addition to registry
            string reg = string.Empty;

            // String for advisors
            string ldAdv = string.Empty;
            string lcAdv = string.Empty;

            // Character arrays for advisors
            char[] jdAdv = null;
            char[] jcAdv = null;

            // Check for zero
            if (n == 0)
            {
                // Add zero to all in the registry
                ld.Add("0");
                jd.Add("0");
                lc.Add("0");
                jc.Add("0");

                /* Let's update all with zero (keeping last advisor) */

                // LD
                Tracker[0].Registry = string.Join("", ld.ToArray());

                // JD
                Tracker[1].Registry = string.Join("", jd.ToArray());

                // LC
                Tracker[2].Registry = string.Join("", lc.ToArray());

                // JC
                Tracker[3].Registry = string.Join("", jc.ToArray());

                // Refresh
                dgvTracker.Refresh();

                // Exit
                return;
            }

            // Insert number into history
            history.Insert(0, n);

            // Check there are at least 2 elements in history
            if (history.Count < 2)
            {
                // Less than two: halt.
                return;
            }

            /* Process LD */

            // Get last dozen
            last = Program.GetDozen(n);

            // Clear list
            lastTwo.Clear();

            // Set LD
            for (int h = 1; h < history.Count; h++)
            {
                // Set dozen for current iteration
                int dozen = Program.GetDozen(history[h]);

                // If dozen is zero...
                if (dozen == 0)
                {
                    // ...jump to next iteration
                    continue;
                }

                // Set beforelast
                if (beforelast == 0 && dozen != last)
                {
                    // Set it!
                    beforelast = dozen;
                }

                // Check for a halt
                if (reg != string.Empty)
                {
                    // Skip iteration
                    continue;
                }

                // Add if it doesn't exist
                if (!lastTwo.Contains(dozen))
                {
                    // Add current one
                    lastTwo.Add(dozen);
                }

                // Check if last dozen is present
                if (lastTwo.Contains(last))
                {
                    // Win
                    reg = "w";

                    // Skip iteration
                    continue;
                }

                // Halt on two elements
                if (lastTwo.Count == 2)
                {
                    // Lose
                    reg = "L";

                    // Halt
                    break;
                }
            }

            // Add hyphen if there's nothing to add
            if (reg.Length == 0)
            {
                // Add hyphen
                reg = "-";
            }

            // Add reg to ld
            ld.Add(reg);

            // Compute advisor
            ldAdv = last.ToString() + (beforelast != 0 ? "," + beforelast.ToString() : "");

            /* Process JD */

            // Reset reg
            reg = string.Empty;

            // Set JD
            for (int h = 1; h < history.Count; h++)
            {
                // Set dozen for current iteration
                int dozen = Program.GetDozen(history[h]);

                // If dozen is zero...
                if (dozen == 0)
                {
                    // ...jump to next iteration
                    continue;
                }

                // Set reg
                if (dozen != last)
                {
                    // Win
                    reg = "w";
                }
                else
                {
                    // Lose
                    reg = "L";
                }

                // Break on addition
                if (reg.Length > 0) { break; }
            }

            // Add hyphen if there's nothing to add
            if (reg.Length == 0)
            {
                // Add hyphen
                reg = "-";
            }

            // Add reg to jd
            jd.Add(reg);

            // Set advisor base
            jdAdv = "123".Replace(last.ToString(), "").ToCharArray();

            /* Process LC */

            // Reset last
            last = 0;

            // Reset beforelast
            beforelast = 0;

            // Reset reg
            reg = string.Empty;

            // Get last column
            last = Program.GetColumn(n);

            // Clear list
            lastTwo.Clear();

            // Set LC
            for (int h = 1; h < history.Count; h++)
            {
                // Set column for current iteration
                int column = Program.GetColumn(history[h]);

                // If column is zero...
                if (column == 0)
                {
                    // ...jump to next iteration
                    continue;
                }

                // Set beforelast
                if (beforelast == 0 && column != last)
                {
                    // Set it!
                    beforelast = column;
                }

                // Check for a halt
                if (reg != string.Empty)
                {
                    // Skip iteration
                    continue;
                }

                // Add if it doesn't exist
                if (!lastTwo.Contains(column))
                {
                    // Add current one
                    lastTwo.Add(column);
                }

                // Check if last column is present
                if (lastTwo.Contains(last))
                {
                    // Win
                    reg = "w";

                    // Skip iteration
                    continue;
                }

                // Halt on two elements
                if (lastTwo.Count == 2)
                {
                    // Lose
                    reg = "L";

                    // Halt
                    break;
                }
            }

            // Add hyphen if there's nothing to add
            if (reg.Length == 0)
            {
                // Add hyphen
                reg = "-";
            }

            // Add reg to lc
            lc.Add(reg);

            // Compute advisor
            lcAdv = last.ToString() + (beforelast != 0 ? "," + beforelast.ToString() : "");

            /* Process JC */

            // Reset reg
            reg = string.Empty;

            // Set JC
            for (int h = 1; h < history.Count; h++)
            {
                // Set column for current iteration
                int column = Program.GetColumn(history[h]);

                // If column is zero...
                if (column == 0)
                {
                    // ...jump to next iteration
                    continue;
                }

                // Set reg
                if (column != last)
                {
                    // Win
                    reg = "w";
                }
                else
                {
                    // Lose
                    reg = "L";
                }

                // Break on addition
                if (reg.Length > 0) { break; }
            }

            // Add hyphen if there's nothing to add
            if (reg.Length == 0)
            {
                // Add hyphen
                reg = "-";
            }

            // Add reg to jc
            jc.Add(reg);

            // Set advisor base
            jcAdv = "123".Replace(last.ToString(), "").ToCharArray();

            // LD
            Tracker[0].Advisor = ldAdv;
            Tracker[0].Registry = string.Join("", ld.ToArray());

            // JD
            Tracker[1].Advisor = jdAdv[0] + "," + jdAdv[1];
            Tracker[1].Registry = string.Join("", jd.ToArray());

            // LC
            Tracker[2].Advisor = lcAdv;
            Tracker[2].Registry = string.Join("", lc.ToArray());

            // JC
            Tracker[3].Advisor = jcAdv[0] + "," + jcAdv[1];
            Tracker[3].Registry = string.Join("", jc.ToArray());

            // Refresh
            dgvTracker.Refresh();
        }

        /// <summary>
        /// Remove number from tracker
        /// </summary>
        public void removeNumber()
        {
            // Declare beforelast
            int beforelast;

            // Let's act according to current history's length
            switch (history.Count)
            {
                // Zero
                case 0:
                    // Exit flat
                    break;

                // One
                case 1:
                    // Clear history
                    history.Clear();

                    /* Clear trackers */

                    ld.Clear();
                    jd.Clear();
                    lc.Clear();
                    jc.Clear();

                    /* Clear datagridiew  */

                    clearDgv();

                    // End case 1
                    break;
                // Two
                case 2:
                    // Save beforelast number
                    beforelast = history[history.Count - 2];

                    // Remove two elements from history
                    history.RemoveRange(history.Count - 2, 2);

                    /* Clear trackers */

                    ld.Clear();
                    jd.Clear();
                    lc.Clear();
                    jc.Clear();

                    /* Clear datagridiew  */

                    clearDgv();

                    // Add saved number
                    addNumber(beforelast);

                    // End case 1
                    break;
                // More
                default:
                    // Save beforelast number
                    beforelast = history[history.Count - 2];

                    // Remove two elements from history
                    history.RemoveRange(history.Count - 2, 2);

                    // Remove two elements from trackers
                    ld.RemoveRange(ld.Count - 2, 2);
                    jd.RemoveRange(jd.Count - 2, 2);
                    lc.RemoveRange(lc.Count - 2, 2);
                    jc.RemoveRange(jc.Count - 2, 2);
                   
                    // Add saved number
                    addNumber(beforelast);

                    // End default
                    break;
            }

            /* Refresh DataGridView */

            // C# Quirk, "can't fall through case 0" can make a good case for an extra check
            dgvTracker.Refresh();
        }
       
        /// <summary>
        /// Clears advisors and registry on dgvTracker
        /// </summary>
        private void clearDgv()
        {
            // LD
            Tracker[0].Advisor = string.Empty;
            Tracker[0].Registry = string.Empty;

            // JD
            Tracker[1].Advisor = string.Empty;
            Tracker[1].Registry = string.Empty;

            // LC
            Tracker[2].Advisor = string.Empty;
            Tracker[2].Registry = string.Empty;

            // JC
            Tracker[3].Advisor = string.Empty;
            Tracker[3].Registry = string.Empty;
        }
    }
}
#799
Development / Re: [ALPHA] New Lw tracker
August 03, 2013, 05:31:41 AM
Thanks Sam,

I'm glad you found no mistakes.

Now we move to ALPHA 2: Undo.

Sponsor download: [attachmini=1]

Please test & report on undo functionality.
#800
Development / [ALPHA] Bally's SO tracker
July 29, 2013, 05:17:27 PM
Implementation of Bally's SO tracker with sponsor development cycle.
#801
Development / [ALPHA] Soggett's Gift
July 29, 2013, 05:15:44 PM
...Better late than never! Placeholder for Soggett's gift program using sponsor development methodology.
#802
Hello dear RF, it isn't about a single software, but about sponsored development methodology where all willing members pool resources to order for everyone in the community.

If you want to see it like so, sponsors are buying the "lead" or the right to say what is going to be coded here: http://betselection.cc/sponsor-requests/

It is a "topic solved" board which means each and every sponsor request is marked when attended.

This way there is a record when each and every request is attended.

It's a good motion.



Members are encouraged to sponsor since it also helps to cover our monthly hosting expenses, so it ensures the smooth continuation of our community too  :thumbsup:
#803
Development / Re: [ALPHA] New Lw tracker
July 29, 2013, 05:29:36 AM

It recreates its own state on every spin in order to avoid depending on previous variables (which might be prone to leftover bugs).

Code (Csharp) Select
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace LwTrackerR2
{
    public partial class FormTracker : Form
    {
        // History list
        List<int> history = new List<int>();

        // List for holding last two dozens or columns
        List<int> lastTwo = new List<int>();

        // Lw Trackers
        List<string> ld = new List<string>(); // Hit on last two dozens
        List<string> jd = new List<string>(); // Jump from last dozen
        List<string> lc = new List<string>(); // Hit on last two columns
        List<string> jc = new List<string>(); // Jump from last column

        // Set a bigger font for DataGrid rows
        Font BigFont = new System.Drawing.Font(FontFamily.GenericMonospace, 15.75F, System.Drawing.FontStyle.Bold ^ FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

        // Tracker as BindingList of TrackerData (bound to DataGridView)
        BindingList<TrackerData> Tracker = new BindingList<TrackerData>();

        /// <summary>
        /// Constructor
        /// </summary>
        public FormTracker()
        {
            // Initialize
            InitializeComponent();

            // Set icon
            this.Icon = Properties.Resources.roulette_16_to_256;

            // Alternating background
            dgvTracker.RowsDefaultCellStyle.BackColor = Color.White;
            dgvTracker.AlternatingRowsDefaultCellStyle.BackColor = Color.LightGray;

            // Prevent automatic generation of columns
            dgvTracker.AutoGenerateColumns = false;

            // Prevent resize
            dgvTracker.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.None;
            dgvTracker.AllowUserToResizeRows = false;

            // Add Name column
            DataGridViewTextBoxColumn nameColumn = new DataGridViewTextBoxColumn();
            nameColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells;
            nameColumn.DataPropertyName = "Name";
            nameColumn.HeaderText = "Name";
            nameColumn.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
            nameColumn.DefaultCellStyle.Font = BigFont;
            dgvTracker.Columns.Add(nameColumn);

            // Add Advisor column
            DataGridViewTextBoxColumn advisorColumn = new DataGridViewTextBoxColumn();
            advisorColumn.DataPropertyName = "Advisor";
            advisorColumn.HeaderText = "Advisor";
            advisorColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells;
            advisorColumn.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
            advisorColumn.DefaultCellStyle.Font = BigFont;
            dgvTracker.Columns.Add(advisorColumn);

            // Add Registry column
            DataGridViewTextBoxColumn registryColumn = new DataGridViewTextBoxColumn();
            registryColumn.DataPropertyName = "Registry";
            registryColumn.HeaderText = "Registry";
            registryColumn.DefaultCellStyle.Font = BigFont;
            registryColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
            dgvTracker.Columns.Add(registryColumn);

            // Set dgvTracker DataSource
            dgvTracker.DataSource = Tracker;
        }


        /// <summary>
        /// Tracker form's entry point
        /// </summary>
        private void FormTracker_Load(object sender, EventArgs e)
        {
            // Populate tracker's base rows
            Tracker.Add(new TrackerData("LD"));
            Tracker.Add(new TrackerData("JD"));
            Tracker.Add(new TrackerData("LC"));
            Tracker.Add(new TrackerData("JC"));
        }

        /// <summary>
        /// Prevents form closing
        /// </summary>
        private void FormTracker_FormClosing(object sender, FormClosingEventArgs e)
        {
            // Prevent actual closing
            e.Cancel = true;
        }

        /// <summary>
        /// Processes adding a new item to the tracker
        /// </summary>
        /// <param name="n">Number</param>
        public void addNumber(int n)
        {
            // Variable for holding last dozen or column
            int last = 0;

            // Variable for holding beforelast dozen or column
            int beforelast = 0;

            // Variable for holding last addition to registry
            string reg = string.Empty;

            // String for advisors
            string ldAdv = string.Empty;
            string lcAdv = string.Empty;

            // Character arrays for advisors
            char[] jdAdv = null;
            char[] jcAdv = null;

            // Check for zero
            if (n == 0)
            {
                // Add zero to all in the registry
                ld.Add("0");
                jd.Add("0");
                lc.Add("0");
                jc.Add("0");

                /* Let's update all with zero (keeping last advisor) */

                // LD
                Tracker[0].Registry = string.Join("", ld.ToArray());

                // JD
                Tracker[1].Registry = string.Join("", jd.ToArray());

                // LC
                Tracker[2].Registry = string.Join("", lc.ToArray());

                // JC
                Tracker[3].Registry = string.Join("", jc.ToArray());

                // Refresh
                dgvTracker.Refresh();

                // Exit
                return;
            }

            // Insert number into history
            history.Insert(0, n);

            // Check there are at least 2 elements in history
            if (history.Count < 2)
            {
                // Less than two: halt.
                return;
            }

            /* Process LD */

            // Get last dozen
            last = Program.GetDozen(n);

            // Clear list
            lastTwo.Clear();

            // Set LD
            for (int h = 1; h < history.Count; h++)
            {
                // Set dozen for current iteration
                int dozen = Program.GetDozen(history[h]);

                // If dozen is zero...
                if (dozen == 0)
                {
                    // ...jump to next iteration
                    continue;
                }

                // Set beforelast
                if (beforelast == 0 && dozen != last)
                {
                    // Set it!
                    beforelast = dozen;
                }

                // Check for a halt
                if (reg != string.Empty)
                {
                    // Skip iteration
                    continue;
                }

                // Add if it doesn't exist
                if (!lastTwo.Contains(dozen))
                {
                    // Add current one
                    lastTwo.Add(dozen);
                }

                // Check if last dozen is present
                if (lastTwo.Contains(last))
                {
                    // Win
                    reg = "w";

                    // Skip iteration
                    continue;
                }

                // Halt on two elements
                if (lastTwo.Count == 2)
                {
                    // Lose
                    reg = "L";

                    // Halt
                    break;
                }
            }

            // Add hyphen if there's nothing to add
            if (reg.Length == 0)
            {
                // Add hyphen
                reg = "-";
            }

            // Add reg to ld
            ld.Add(reg);

            // Compute advisor
            ldAdv = last.ToString() + (beforelast != 0 ? "," + beforelast.ToString() : "");

            /* Process JD */

            // Reset reg
            reg = string.Empty;

            // Set JD
            for (int h = 1; h < history.Count; h++)
            {
                // Set dozen for current iteration
                int dozen = Program.GetDozen(history[h]);

                // If dozen is zero...
                if (dozen == 0)
                {
                    // ...jump to next iteration
                    continue;
                }

                // Set reg
                if (dozen != last)
                {
                    // Win
                    reg = "w";
                }
                else
                {
                    // Lose
                    reg = "L";
                }

                // Break on addition
                if (reg.Length > 0) { break; }
            }

            // Add hyphen if there's nothing to add
            if (reg.Length == 0)
            {
                // Add hyphen
                reg = "-";
            }

            // Add reg to jd
            jd.Add(reg);

            // Set advisor base
            jdAdv = "123".Replace(last.ToString(), "").ToCharArray();

            /* Process LC */

            // Reset last
            last = 0;

            // Reset beforelast
            beforelast = 0;

            // Reset reg
            reg = string.Empty;

            // Get last column
            last = Program.GetColumn(n);

            // Clear list
            lastTwo.Clear();

            // Set LC
            for (int h = 1; h < history.Count; h++)
            {
                // Set column for current iteration
                int column = Program.GetColumn(history[h]);

                // If column is zero...
                if (column == 0)
                {
                    // ...jump to next iteration
                    continue;
                }

                // Set beforelast
                if (beforelast == 0 && column != last)
                {
                    // Set it!
                    beforelast = column;
                }

                // Check for a halt
                if (reg != string.Empty)
                {
                    // Skip iteration
                    continue;
                }

                // Add if it doesn't exist
                if (!lastTwo.Contains(column))
                {
                    // Add current one
                    lastTwo.Add(column);
                }

                // Check if last column is present
                if (lastTwo.Contains(last))
                {
                    // Win
                    reg = "w";

                    // Skip iteration
                    continue;
                }

                // Halt on two elements
                if (lastTwo.Count == 2)
                {
                    // Lose
                    reg = "L";

                    // Halt
                    break;
                }
            }

            // Add hyphen if there's nothing to add
            if (reg.Length == 0)
            {
                // Add hyphen
                reg = "-";
            }

            // Add reg to lc
            lc.Add(reg);

            // Compute advisor
            lcAdv = last.ToString() + (beforelast != 0 ? "," + beforelast.ToString() : "");

            /* Process JC */

            // Reset reg
            reg = string.Empty;

            // Set JC
            for (int h = 1; h < history.Count; h++)
            {
                // Set column for current iteration
                int column = Program.GetColumn(history[h]);

                // If column is zero...
                if (column == 0)
                {
                    // ...jump to next iteration
                    continue;
                }

                // Set reg
                if (column != last)
                {
                    // Win
                    reg = "w";
                }
                else
                {
                    // Lose
                    reg = "L";
                }

                // Break on addition
                if (reg.Length > 0) { break; }
            }

            // Add hyphen if there's nothing to add
            if (reg.Length == 0)
            {
                // Add hyphen
                reg = "-";
            }

            // Add reg to jc
            jc.Add(reg);

            // Set advisor base
            jcAdv = "123".Replace(last.ToString(), "").ToCharArray();

            // LD
            Tracker[0].Advisor = ldAdv;
            Tracker[0].Registry = string.Join("", ld.ToArray());

            // JD
            Tracker[1].Advisor = jdAdv[0] + "," + jdAdv[1];
            Tracker[1].Registry = string.Join("", jd.ToArray());

            // LC
            Tracker[2].Advisor = lcAdv;
            Tracker[2].Registry = string.Join("", lc.ToArray());

            // JC
            Tracker[3].Advisor = jcAdv[0] + "," + jcAdv[1];
            Tracker[3].Registry = string.Join("", jc.ToArray());

            // Refresh
            dgvTracker.Refresh();
        }

        /// <summary>
        /// Remove number from tracker
        /// </summary>
        public void removeNumber()
        {
            // UNDO CODE HERE
        }
    }
}
#804
Development / Re: [ALPHA] New Lw tracker
July 29, 2013, 04:40:51 AM
Lw Tracker (Revision 2), First Alpha:

Sponsor download: [attachmini=1]






What I need is confirmation it adds Lw's correctly.

After that, UNDO for Alpha 2!
#805
These sponsored releases are completely free from software protections, also, their full source code and resources are released alongside too, guaranteeing nobody can take any sponsored release from the community once it has been transferred to the public. Ever!

That's quite a worthy model to sponsor and support :thumbsup:
#806
Hi guys,

Just wondering if you get what we are trying to achieve with the new sponsor's den: We are not selling software, we are asking for sponsorship to give software away to the whole community.

Also, your sponsorship help us pay for host and directly helps in paying the needed coding hours.

Ideally as time go by, more conscious people will join forces and we can have a healthy release schedule. It is a true community spirited motion, a true synergy effect. Plenty of "littles" makes a compounding force. With this force, fellow supporting members call the shots to order for the community and ultimately everybody enjoy the final product, as it is released to the public.




Now you know what we're trying to achieve, you can do your part. If $10 isn't a budget-wrecking amount for you and you can afford to spare it, right now is a great time to join. To help the snowball effect to begin running.
It actually benefits everyone, in the short and long run :nod:


#807
Quote10:09am Izak Matatya
I went through the 7 pages of discussions.[...]

...Ah! At least we know Izak has read here  :)
#808
General Discussion / Re: american wheel.
July 28, 2013, 05:03:08 AM
*: wish I was this talented in the dough art to bake such a cake! Likewise goes with [smiley]skype/heart.gif[/smiley]

Let's be around for the 40th!!
#809
General Discussion / Re: american wheel.
July 28, 2013, 02:01:05 AM
From the forum with love* [smiley]cps/heart.gif[/smiley]:

[attachimg=1]


Happy 30th to you & the Mrs. dear Turner.

[smiley]cps/hearts.gif[/smiley]
#810
Development / [ALPHA] New Lw tracker
July 26, 2013, 12:37:06 AM
Thread for the new Lw tracker.

Cycle is: new alpha version is release, sponsors test, feature confirmed so we label it OK... then Rinse & Repeat until a feature-complete version can be released.