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

Topics - VLS

#276
Sword: Straight-up.

Methodology: play the latest number to have shown 3 times.

Shield: Even chance.

Play the latest even chance spun twice.

In case of a tie between two even chance locations, look back until there is one with more shows.
#277
General Discussion / Suggest sections
December 16, 2012, 06:17:35 PM
We're in the process of reordering sections in order to bring a wider discussion to the table.

Which casino games and gambling propositions would you like featured?

Remember we are "Bet Selection", which means basically all gambling forms where people gets to choose where to bet are good to be covered :thumbsup:

Feel free to suggest sections you want!
#278
General Discussion / Warm welcome to our new mod: ADulay
December 16, 2012, 05:45:23 PM
Today we have a new member in the moderating crew.

A fine fellow accompanying us since plenty of time ago: ADulay

Welcome to the mod crew mate!  :nod: :thumbsup:

Enjoy!
#279
A true workhorse programmed in C++

[attachimg=1]

Download: [attachmini=2]

Takes a file with one number per line (must contain number only, no blanks or other characters).

Outputs one processed file for dozens and one processed file for columns.

If Debug CheckBox is ticked, the program outputs debug files. Useful to check the correctness of your data input or results.

Enjoy!
Vic




Code (cpp) Select
#include <windows.h>
#include <fstream>
#include <deque>
#include <string>


// Identifiers.
#define IDC_BUTTON 2000
#define IDC_CHECK  2001


// Globals
HINSTANCE instance;
HWND hwnd;
HFONT h_font;
std::deque<int> dozens; // Deque as LIFO queue for dozens
std::deque<int> columns; // Deque as LIFO queue for columns
bool debug; // Holds last state for debug


// Prototypes
int GetDozen(int num);
int GetColumn(int num);


// Declare window procedure
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);


// Class name as global
char szClassName[ ] = "LastDCGen";


// Program's entrypoint
int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument, int nFunsterStil)
{
    instance = hThisInstance;
    MSG messages;
    WNDCLASSEX wincl;


    /* The Window structure */
    wincl.hInstance = hThisInstance;
    wincl.lpszClassName = szClassName;
    wincl.lpfnWndProc = WindowProcedure;
    wincl.style = CS_DBLCLKS;
    wincl.cbSize = sizeof (WNDCLASSEX);
    /* Use default icon and mouse-pointer */
    wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION);
    wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION);
    wincl.hCursor = LoadCursor (NULL, IDC_ARROW);
    wincl.lpszMenuName = NULL;
    wincl.cbClsExtra = 0;
    wincl.cbWndExtra = 0;
    /* BG Color */
    wincl.hbrBackground = (HBRUSH)(COLOR_3DFACE + 1);


    /* Register the window class, and if it fails quit the program */
    if (!RegisterClassEx (&wincl))
        return 0;


    /* The class is registered, let's create the program*/
    hwnd = CreateWindowEx (
               0,
               szClassName, /* Classname */
               "LastDC Lw Generator",  /* Title Text */
               WS_OVERLAPPEDWINDOW &~ WS_MAXIMIZEBOX &~ WS_MINIMIZEBOX, /* no min/max button */
               CW_USEDEFAULT,
               CW_USEDEFAULT,
               196, /* Width */
               100, /* Height */
               HWND_DESKTOP, /* The window is a child-window to desktop */
               NULL, /* No menu */
               hThisInstance,  /* Program Instance handler */
               NULL
           );


    // Center it
    RECT rc;
    int screenWidth = GetSystemMetrics(SM_CXSCREEN);
    int screenHeight = GetSystemMetrics(SM_CYSCREEN);
    GetWindowRect(hwnd, &rc);
    SetWindowPos(hwnd, 0, (screenWidth - rc.right)/2, (screenHeight - rc.bottom)/2, 0, 0, SWP_NOZORDER|SWP_NOSIZE);


    // Set Font
    h_font = CreateFont(-13, 0, 0, 0, FW_NORMAL, 0,
                        0, 0, ANSI_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,
                        DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Times New Roman");


    /* Make the window visible on the screen */
    ShowWindow (hwnd, nFunsterStil);


    /* Run the message loop. */
    while (GetMessage (&messages, NULL, 0, 0))
    {
        /* Translate virtual-key messages into character messages */
        TranslateMessage(&messages);


        /* Send message to WindowProcedure */
        DispatchMessage(&messages);
    }


    /* The program return-value is 0 - The value that PostQuitMessage() gave */
    return messages.wParam;
}


// Window Procedure
LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
    // Handle messages
    switch (message)
    {


        // Form creation
    case WM_CREATE:


        // Last window
        HWND wnd;


        // Create Button
        wnd = CreateWindowEx(0x00000000, "Button", "Select file", 0x50010001, 8, 16, 96, 32, hwnd, (HMENU) IDC_BUTTON, instance, NULL);
        SendMessage(wnd, WM_SETFONT, (WPARAM) h_font, TRUE);


        // Create CheckBox
        wnd = CreateWindowEx(0x00000000, "Button", "Debug", 0x50010003, 112, 17, 96, 32, hwnd, (HMENU) IDC_CHECK, instance, NULL);
        SendMessage(wnd, WM_SETFONT, (WPARAM) h_font, TRUE);


        // Emulate button press
        break;


        // Handle user command
    case WM_COMMAND:
        switch (LOWORD(wParam))
        {
            // CheckBox
        case IDC_CHECK:
            if (IsDlgButtonChecked(hwnd, IDC_CHECK) == BST_CHECKED)
            {
                // Checked
                debug = true;
            }
            else
            {
                // Unckecked
                debug = false;
            }
            break;


            // Button
        case IDC_BUTTON:
            // Open file name
            OPENFILENAME ofn;


            // Memory buffer to contain file name
            char szFile[MAX_PATH+1];


            // Open a file
            ZeroMemory( &ofn , sizeof( ofn ) );
            ofn.lStructSize = sizeof ( ofn );
            ofn.hwndOwner = NULL ;
            ofn.lpstrFile = szFile ;
            ofn.lpstrFile[0] = '\0';
            ofn.nMaxFile = sizeof( szFile );
            ofn.lpstrFilter = "All\0*.*\0Text\0*.TXT\0";
            ofn.nFilterIndex =1;
            ofn.lpstrFileTitle = NULL ;
            ofn.nMaxFileTitle = 0 ;
            ofn.lpstrInitialDir = NULL ;
            ofn.Flags = OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST ;


            // Invoke file dialog
            if (GetOpenFileName( &ofn ))
            {
                // ifstream from file
                std::ifstream file(ofn.lpstrFile);


                // base name
                std::string ofbase;


                // Set base to opened file
                ofbase = ofn.lpstrFile;


                // Remove extension
                if (ofbase.find(".")!=std::string::npos)
                {
                    ofbase.erase(ofbase.find_last_of("."), std::string::npos);
                }


                // Set dozen and column files
                std::string ofdozn(ofbase); // dozens base
                std::string ofcoln(ofbase); // columns base
                ofdozn.append("-dozens.txt"); // Append to dozens file
                ofcoln.append("-columns.txt"); // Append to columns file
                std::ofstream ofdoz(ofdozn.c_str()); // ofstream for dozens
                std::ofstream ofcol(ofcoln.c_str()); // ofstream for columns
                std::ofstream ofcoldb; // ofstream for dozens debug
                std::ofstream ofdozdb; // ofstream for columns debug


                // Set debug files
                if (debug)
                {
                    std::string ofdozdbn(ofbase); // dozens debug
                    std::string ofcoldbn(ofbase); // columns debug
                    ofdozdbn.append("-dozens_debug.txt"); // Append to dozens debug
                    ofcoldbn.append("-columns_debug.txt"); // Append to columns debug
                    ofdozdb.open(ofdozdbn.c_str()); // Open dozen debug
                    ofcoldb.open(ofcoldbn.c_str()); // Open column debug
                }


                // string for line
                std::string s;


                // Walk file
                while (std::getline(file, s))
                {
                    // Resize to two characters
                    s.resize(2);


                    // Halt if it isn't numeric
                    for (int i = 0; i < s.length(); ++i)
                    {
                        // Check
                        if (!isdigit(s[i]))
                        {
                            // skip iteration
                            continue;
                        }
                    }


                    // Set number
                    int number = atoi(s.c_str());


                    // Check it's 0-36 (roulette range)
                    if (number < 0 || number > 36)
                    {
                        // skip iteration
                        continue;
                    }


                    // Get current dozen
                    int dozen = GetDozen(number);


                    // Check if empty
                    if (dozens.size() == 0)
                    {
                        // Add element to deque's front
                        dozens.push_front(dozen);


                        // Skip iteration
                        continue;
                    }


                    // Look for an instance in deque
                    if (std::find(dozens.begin(), dozens.end(), dozen) != dozens.end())
                    {
                        // win to regular file
                        ofdoz << "W" << std::endl;


                        // win to debug file
                        if (debug)
                        {
                            ofdozdb << number << " " << dozen << " " << "W" << std::endl;
                        }
                    }
                    else
                    {
                        // lose
                        ofdoz << "L" << std::endl;


                        // lose to debug file
                        if (debug)
                        {
                            ofdozdb << number << " " << dozen << " " << "L" << std::endl;
                        }
                    }


                    // Handle one element
                    if (dozens.size() == 1 )
                    {
                        // Check for the same
                        if (dozen != dozens[0])
                        {
                            // Add second element to deque's front
                            dozens.push_front(dozen);
                        }


                        // Skip iteration
                        continue;
                    }


                    // Handle two elements
                    if (dozen != dozens[1])
                    {
                        // Pop first one
                        dozens.pop_back();


                        // Add new element to deque's front
                        dozens.push_front(dozen);
                    }


                    /* Columns */


                    // Get current column
                    int column = GetColumn(number);


                    // Check if empty
                    if (columns.size() == 0)
                    {
                        // Add element to deque's front
                        columns.push_front(column);


                        // Skip iteration
                        continue;
                    }


                    // Look for an instance in deque
                    if (std::find(columns.begin(), columns.end(), column) != columns.end())
                    {
                        // win to regular file
                        ofcol << "W" << std::endl;


                        // win to debug file
                        if (debug)
                        {
                            ofcoldb << number << " " << column << " " << "W" << std::endl;
                        }
                    }
                    else
                    {
                        // lose
                        ofcol << "L" << " " << std::endl;


                        // lose to debug file
                        if (debug)
                        {
                            ofcoldb << number << " " << column << " " << "L" << std::endl;
                        }
                    }


                    // Handle one element
                    if (columns.size() == 1 )
                    {
                        // Check for the same
                        if (column != columns[0])
                        {
                            // Add second element to deque's front
                            columns.push_front(column);
                        }


                        // Skip iteration
                        continue;
                    }


                    // Handle two elements
                    if (column != columns[1])
                    {
                        // Pop first one
                        columns.pop_back();


                        // Add new element to deque's front
                        columns.push_front(column);
                    }




                }


                // Close ofstreams
                ofdoz.close();
                ofcol.close();
                if (debug)
                {
                    ofdozdb.close();
                    ofcoldb.close();
                }


                // Clear deques
                dozens.clear();
                columns.clear();


                // Inform user we have processed everything
                MessageBox ( NULL , "Finished!" , "File Name" , MB_OK);
            }
        }


        break;


        // Form close
    case WM_DESTROY:


        // Launch BetSelection.cc
        ShellExecute(NULL, "open", "http://betselection.cc", NULL, NULL, SW_SHOWNORMAL);


        // Good bye!
        PostQuitMessage (0);
        break;


        // Process other messages
    default:
        return DefWindowProc (hwnd, message, wParam, lParam);
    }
    return 0;
}


/* Roulette Functions */


// Determines the dozen that a number belongs to
// Returns 0, 1, 2, 3.
int GetDozen(int num)
{
    switch (num)
    {
    case 1:
    case 2:
    case 3:
    case 4:
    case 5:
    case 6:
    case 7:
    case 8:
    case 9:
    case 10:
    case 11:
    case 12:
        // First dozen
        return 1;
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 20:
    case 21:
    case 22:
    case 23:
    case 24:
        // Second dozen
        return 2;
    case 25:
    case 26:
    case 27:
    case 28:
    case 29:
    case 30:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
        // Third dozen
        return 3;
    default:
        // No dozen
        return 0;
    }
}




// Determines the column that a number belongs to
// Returns 0, 1, 2, 3.
int GetColumn(int num)
{
    switch (num)
    {
    case 1:
    case 4:
    case 7:
    case 10:
    case 13:
    case 16:
    case 19:
    case 22:
    case 25:
    case 28:
    case 31:
    case 34:
        // First column
        return 1;
    case 2:
    case 5:
    case 8:
    case 11:
    case 14:
    case 17:
    case 20:
    case 23:
    case 26:
    case 29:
    case 32:
    case 35:
        // Second column
        return 2;
    case 3:
    case 6:
    case 9:
    case 12:
    case 15:
    case 18:
    case 21:
    case 24:
    case 27:
    case 30:
    case 33:
    case 36:
        // Third column
        return 3;
    default:
        // No column
        return 0;
    }
}
#280
Archive / Sponsor a community software!
December 13, 2012, 06:34:54 AM
If you are in a giving mood these days and would like to receive at the same time, then sponsor a community software!

What's this?

Simple: we agree to a price for your requirements, I code it for you, then you paypal the agreed amount for me to release the software to the community in the free releases section in your name.

You might think: hey! I am paying why would others benefit? Consider:

- You are obtaining exactly the program you want to get done.

- Consider it as you "calling the shots". Other users have no "pull" at all, you do!

- Last but not least, the copies given as a gift to others on your part take absolutely nothing from the "original one" you use.

We all get something good from it :thumbsup:

Post your requirements. I'll ponder you a good reasonable price and the community will thank and appreciate your willingness to share.

Vic
#281
Meta-selection / Trigger-packs concept
December 12, 2012, 11:01:49 PM
The concept of "Trigger packs" is simple.

It's an evolution of the multiple methods working together.

This time the winning and losing annotations are given by any of the selected triggers added to the pack.

In other words, a set of triggers are acting as one. You ponder them like one, you use them in unison.
#282
As a fellow friend mentioned he now prefers private groups than open forums, it begs the question: are we better off discussing openly or in private?

As the admin of this forum I am of course biased on the public side, but I do want to know the opinions of the fellows around.

First reason:

- People get introduced to others in the public forums.

Possible new fine contributing members are automatically out of the picture in a private environment. That is detrimental in my view.

Another reason:

- More people is exposed to your ideas, with more personal views available.

Sure in private circles criticism is none. i.e. in numerology groups 31-13 is the bible. Post it in a public forum and you'll get testers giving you factual data of it not being any better than any other combination.

I guess it depends on what you want. A pat on the back or open criticism.
#283
General Discussion / Mission statement.
December 12, 2012, 03:31:19 PM
Recently a top forum fellow remarked we need a mission statement. I agree.

Please give your own examples.

We are talking about statements like:

"To provide a clean environment for discussion of roulette and gambling"

:thumbsup:
#284
General Discussion / Spell check activated
December 12, 2012, 01:32:36 PM
Its right next to preview button...  :)


[attachimg=1]
#285
This log serves to keep precedents and learn what is not acceptable here in our place.

The actual purpose is to remind us we must be mature enough to avoid attacking each other at the personal level.

This is essentially what we want the fine fellows around to internalize:

Quote
[...]people can learn how to respectfully disagree.  They can learn how to question the system and the rules without questioning the intelligence of the poster. 
#286
General Discussion / MOVED: The Juggler
December 12, 2012, 12:25:09 AM
This topic has been moved to Straight-up.

Thanks for posting it!

http://betselection.cc/index.php?topic=447.0
#287
Roulette Xtreme / Roulette Xtreme official site
December 11, 2012, 01:10:08 PM
http://uxsoftware.com


Hopefully someone from UX staff gets to register around  :nod:
#288
General Discussion / Somebody invite... (missed members)
December 10, 2012, 10:25:23 PM
Hey guys, since this is a tight community I thought about making a "somebody invite" thread, for missed members of the community.

I'll be pleased to upgrade missed members who register.

If any of you maintain contact with any of the mentioned members, talk to him/her about this place.

The fellow member might enjoy us and be grateful, as much as we will for you to sharing our humble space.
#289
Archive / [RELEASE] Last Dozen/Column generator v0.1
December 10, 2012, 02:15:31 AM
This humble program is a workhorse programmed in C++

[attachimg=2]

Download: [attachmini=1]

It takes a file with roulette numbers (one per line) and outputs:

<file>-dozens.txt
<file>-dozens-debug.txt
<file>-columns.txt
<file>-columns-debug.txt

Even Gigabyte files are welcomed by it ;)

Enjoy!  :nod:
Vic

Code (cpp) Select
#include <windows.h>
#include <fstream>
#include <deque>
#include <string>

// Identifiers.
#define IDC_BUTTON 2000

// Globals
HINSTANCE instance;
HWND hwnd;
HFONT h_font;
std::deque<int> dozens; // Deque as LIFO queue for dozens
std::deque<int> columns; // Deque as LIFO queue for columns

// Prototypes
int GetDozen(int num);
int GetColumn(int num);

// Declare window procedure
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);

// Class name as global
char szClassName[ ] = "LastDCGen";

// Program's entrypoint
int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument, int nFunsterStil)
{
    instance = hThisInstance;
    MSG messages;
    WNDCLASSEX wincl;

    /* The Window structure */
    wincl.hInstance = hThisInstance;
    wincl.lpszClassName = szClassName;
    wincl.lpfnWndProc = WindowProcedure;
    wincl.style = CS_DBLCLKS;
    wincl.cbSize = sizeof (WNDCLASSEX);
    /* Use default icon and mouse-pointer */
    wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION);
    wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION);
    wincl.hCursor = LoadCursor (NULL, IDC_ARROW);
    wincl.lpszMenuName = NULL;
    wincl.cbClsExtra = 0;
    wincl.cbWndExtra = 0;
    /* Use Windows's default color as the background of the window */
    wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND;

    /* Register the window class, and if it fails quit the program */
    if (!RegisterClassEx (&wincl))
        return 0;

    /* The class is registered, let's create the program*/
    hwnd = CreateWindowEx (
               0,
               szClassName, /* Classname */
               "LastDC Lw Generator",  /* Title Text */
               WS_OVERLAPPEDWINDOW &~ WS_MAXIMIZEBOX &~ WS_MINIMIZEBOX, /* no min/max button */
               CW_USEDEFAULT,
               CW_USEDEFAULT,
               190, /* Width */
               100, /* Height */
               HWND_DESKTOP, /* The window is a child-window to desktop */
               NULL, /* No menu */
               hThisInstance,  /* Program Instance handler */
               NULL
           );

    // Center it
    RECT rc;
    int screenWidth = GetSystemMetrics(SM_CXSCREEN);
    int screenHeight = GetSystemMetrics(SM_CYSCREEN);
    GetWindowRect(hwnd, &rc);
    SetWindowPos(hwnd, 0, (screenWidth - rc.right)/2, (screenHeight - rc.bottom)/2, 0, 0, SWP_NOZORDER|SWP_NOSIZE);

    // Set Font
    h_font = CreateFont(-13, 0, 0, 0, FW_NORMAL, 0,
                        0, 0, ANSI_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,
                        DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Times New Roman");

    /* Make the window visible on the screen */
    ShowWindow (hwnd, nFunsterStil);

    /* Run the message loop. */
    while (GetMessage (&messages, NULL, 0, 0))
    {
        /* Translate virtual-key messages into character messages */
        TranslateMessage(&messages);

        /* Send message to WindowProcedure */
        DispatchMessage(&messages);
    }

    /* The program return-value is 0 - The value that PostQuitMessage() gave */
    return messages.wParam;
}

// Window Procedure
LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
    // Handle messages
    switch (message)
    {

        // Form creation
    case WM_CREATE:

        // Create button
        HWND wnd;
        wnd = CreateWindowEx(0x00000000, "Button", "Select file", 0x50010001, 8, 16, 96, 32, hwnd, (HMENU) IDC_BUTTON, instance, NULL);
        SendMessage(wnd, WM_SETFONT, (WPARAM) h_font, TRUE);

        // Emulate button press
        break;

        // Handle user command
    case WM_COMMAND:
        switch (wParam)
        {
        case IDC_BUTTON:
            // Open file name
            OPENFILENAME ofn;

            // Memory buffer to contain file name
            char szFile[MAX_PATH+1];

            // Open file dialog
            ZeroMemory( &ofn , sizeof( ofn));
            ofn.lStructSize = sizeof ( ofn );
            ofn.hwndOwner = NULL ;
            ofn.lpstrFile = szFile ;
            ofn.lpstrFile[0] = '\0';
            ofn.nMaxFile = sizeof( szFile );
            ofn.lpstrFilter = "All\0*.*\0Text\0*.TXT\0";
            ofn.nFilterIndex =1;
            ofn.lpstrFileTitle = NULL ;
            ofn.nMaxFileTitle = 0 ;
            ofn.lpstrInitialDir=NULL ;
            ofn.Flags = OFN_PATHMUSTEXIST|OFN_FILEMUSTEXIST ;

            // Invoke file dialog
            if (GetOpenFileName( &ofn ))
            {
                // ifstream from file
                std::ifstream file(ofn.lpstrFile);

                // base name
                std::string ofbase;

                // Set base to opened file
                ofbase = ofn.lpstrFile;

                // Remove extension
                if (ofbase.find(".")!=std::string::npos)
                {
                    ofbase.erase(ofbase.find_last_of("."), std::string::npos);
                }

                // Declare filenames passing base
                std::string ofdozn(ofbase); // dozens
                std::string ofdozdbn(ofbase); // dozens debug
                std::string ofcoln(ofbase); // columns
                std::string ofcoldbn(ofbase); // columns debug

                // Append to dozens file
                ofdozn.append("-dozens.txt");

                // Append to dozens debug
                ofdozdbn.append("-dozens_debug.txt");

                // Append to columns file
                ofcoln.append("-columns.txt");

                // Append to columns debug
                ofcoldbn.append("-columns_debug.txt");

                // ofstream to files
                std::ofstream ofdoz(ofdozn.c_str());
                std::ofstream ofdozdb(ofdozdbn.c_str());
                std::ofstream ofcol(ofcoln.c_str());
                std::ofstream ofcoldb(ofcoldbn.c_str());

                // string for line
                std::string s;

                // Walk file
                while (std::getline(file, s))
                {
                    // Resize to two characters
                    s.resize(2);

                    // Halt if it isn't numeric
                    for (int i = 0; i < s.length(); ++i)
                    {
                        // Check
                        if (!isdigit(s[i]))
                        {
                            // skip iteration
                            continue;
                        }
                    }

                    // Set number
                    int number = atoi(s.c_str());

                    // Check it's 0-36 (roulette range)
                    if (number < 0 || number > 36)
                    {
                        // skip iteration
                        continue;
                    }

                    // Get current dozen
                    int dozen = GetDozen(number);

                    // Check if empty
                    if (dozens.size() == 0)
                    {
                        // Add element to deque's front
                        dozens.push_front(dozen);

                        // Skip iteration
                        continue;
                    }

                    // Look for an instance in deque
                    if (std::find(dozens.begin(), dozens.end(), dozen) != dozens.end())
                    {
                        // win to regular file
                        ofdoz << "W" << std::endl;

                        // win to debug file
                        ofdozdb << number << " " << dozen << " " << "W" << std::endl;
                    }
                    else
                    {
                        // lose
                        ofdoz << "L" << std::endl;

                        // lose to debug file
                        ofdozdb << number << " " << dozen << " " << "L" << std::endl;
                    }

                    // Handle one element
                    if (dozens.size() == 1 )
                    {
                        // Check for the same
                        if (dozen != dozens[0])
                        {
                            // Add second element to deque's front
                            dozens.push_front(dozen);
                        }

                        // Skip iteration
                        continue;
                    }

                    // Handle two elements
                    if (dozen != dozens[1])
                    {
                        // Pop first one
                        dozens.pop_back();

                        // Add new element to deque's front
                        dozens.push_front(dozen);
                    }

                    /* Columns */

                    // Get current column
                    int column = GetColumn(number);

                    // Check if empty
                    if (columns.size() == 0)
                    {
                        // Add element to deque's front
                        columns.push_front(column);

                        // Skip iteration
                        continue;
                    }

                    // Look for an instance in deque
                    if (std::find(columns.begin(), columns.end(), column) != columns.end())
                    {
                        // win to regular file
                        ofcol << "W" << std::endl;

                        // win to debug file
                        ofcoldb << number << " " << column << " " << "W" << std::endl;
                    }
                    else
                    {
                        // lose
                        ofcol << "L" << " " << std::endl;

                        // lose to debug file
                        ofcoldb << number << " " << column << " " << "L" << std::endl;
                    }

                    // Handle one element
                    if (columns.size() == 1 )
                    {
                        // Check for the same
                        if (column != columns[0])
                        {
                            // Add second element to deque's front
                            columns.push_front(column);
                        }

                        // Skip iteration
                        continue;
                    }

                    // Handle two elements
                    if (column != columns[1])
                    {
                        // Pop first one
                        columns.pop_back();

                        // Add new element to deque's front
                        columns.push_front(column);
                    }

                   
                }
               
                // Close ofstreams
                ofdoz.close();
                ofdozdb.close();
                ofcol.close();
                ofcoldb.close();
               
                // Clear deques
                dozens.clear();
                columns.clear();

                // Inform user we have processed everything
                MessageBox ( NULL , "Finished!" , "File Name" , MB_OK);
            }
        }

        break;

        // Form close
    case WM_DESTROY:

        // Launch BetSelection.cc
        ShellExecute(NULL, "open", "http://betselection.cc", NULL, NULL, SW_SHOWNORMAL);

        // Good bye!
        PostQuitMessage (0);
        break;

        // Process other messages
    default:
        return DefWindowProc (hwnd, message, wParam, lParam);
    }
    return 0;
}

/* Roulette Functions */

// Determines the dozen that a number belongs to
// Returns 0, 1, 2, 3.
int GetDozen(int num)
{
    switch (num)
    {
    case 1:
    case 2:
    case 3:
    case 4:
    case 5:
    case 6:
    case 7:
    case 8:
    case 9:
    case 10:
    case 11:
    case 12:
        // First dozen
        return 1;
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
    case 19:
    case 20:
    case 21:
    case 22:
    case 23:
    case 24:
        // Second dozen
        return 2;
    case 25:
    case 26:
    case 27:
    case 28:
    case 29:
    case 30:
    case 31:
    case 32:
    case 33:
    case 34:
    case 35:
    case 36:
        // Third dozen
        return 3;
    default:
        // No dozen
        return 0;
    }
}


// Determines the column that a number belongs to
// Returns 0, 1, 2, 3.
int GetColumn(int num)
{
    switch (num)
    {
    case 1:
    case 4:
    case 7:
    case 10:
    case 13:
    case 16:
    case 19:
    case 22:
    case 25:
    case 28:
    case 31:
    case 34:
        // First column
        return 1;
    case 2:
    case 5:
    case 8:
    case 11:
    case 14:
    case 17:
    case 20:
    case 23:
    case 26:
    case 29:
    case 32:
    case 35:
        // Second column
        return 2;
    case 3:
    case 6:
    case 9:
    case 12:
    case 15:
    case 18:
    case 21:
    case 24:
    case 27:
    case 30:
    case 33:
    case 36:
        // Third column
        return 3;
    default:
        // No column
        return 0;
    }
}
#290
The most important thing to always consider is that we will face gambling as any other profitable activity, as a profession that will allow us to increase our revenues, or even make a decent living from it.

To refute the infallibility of the bank we could put thousands of examples where the daily difficulties are well above the 2.7% that roulette imposes on us.

Without going any further direct taxes in many countries  are higher than this rate, however the businesses proliferate, many without incurring evasion. But that's a problem we leave to the treasury.

We won't dispute the existence of a rate against us which will be a difficulty yet not the only nor the most deleterious to beat.

The truth is that no trader who wants to make it successful focuses more on the product that sells less, unless he has relatively accurate information about that product to start revaluing or will start to become fashionable.

Any entrepreneur worth his salt will know that in periods of recession you should spend less at risk of losing all your capital (or spend more taking it very clear the resistance of your finances with the urge to win market share from its competitors contraction).

I mean that an effective entrepreneur has very clear moments of recession and acts accordingly disposing of its capital conservatively or aggressively, but always looking to the ultimate consequences of their precise actions.

I mean, he never spends its entire capital hoping that the recession is over.

It may be that the recession is prolonged and its capital comes to an end, but he will have stood for it up to its truly latest consequences. Ruin would be attributed to the worst circumstances but not due to his actions, at least the entrepreneur would do his best to make it so.

An effective entrepreneur also clearly recognizes the upturns and leverages them while recognizing that he must make reservations for times not so good, which he knows that sooner or later would show. The ant and the grasshopper...

Most players, including systemists, do not behave like entrepreneurs, but rather just the opposite.

To successfully address the rate of 2.7% against try to behave like entrepreneurs, but also use all the specific tools we have at our disposal. Displaying an array of tools that put us in a sufficiently positive position to attack the bank successfully. Such situations are not permanent nor uniform, nor are given 100% of the time we play, but will be enough of times to average balances that allow us to be victorious.
#291

1- Having a positive mentality, ie beyond the small losses I will win, I aim to win the war even if I can lose a battle.


2 - Having the capital to develop the game we're going to do (with the general recommendations to reduce bets when losing, etc.)


3 - Having the patience and time to recover the small losses that are occurring without entering the "casino game" and start running to finish before you run out of gas.


4 - Not being stubborn. Stubbornness is the cardinal sin of the player.
The Simple Martingale or method of Garcia are two examples of the supposed infallibility of the progressions, unfortunately there are table limits that would prevent a player with unlimited capital to winning always, saved the fact that no one has unlimited capital.
#292
Gambling Philosophy / [Manrique] If you are on a well
December 07, 2012, 08:48:26 PM
If you're on a well, the only thing not to do is keep digging.

Manrique
#293
Gambling Philosophy / [Manrique] Who can do more...
December 07, 2012, 08:43:56 PM
Who can do more, can do less.

So if we hit a number we also hit its column, color, dozen, line ...

Manrique
#294
Gambling Philosophy / [Manrique] A chip
December 07, 2012, 07:05:14 PM
Once you won a chip, that chip is already yours, especially if you leave the casino.

Manrique
#295
Gambling Philosophy / [Manrique] Limits
December 07, 2012, 07:03:48 PM
You have to put a limit on the losses, not profits.

Manrique
#296
Gambling Philosophy / [Manrique] The Golden Rule
December 07, 2012, 06:57:26 PM
"Each chip gained must be thrown into the pocket."

This means that if we take 100 chips to the casino, the only way to lose those 100 is to never having been on a winning balance phase (we will see this case). But when that happens maybe the game is telling us we should not continue to lose the 100.

Manrique
#297
General Discussion / At least one (1) post a month
December 07, 2012, 04:31:31 PM
Hello guys,

I'm coding a forum modification so members must make at least one (1) post a month to get full access.

Hopefully it will "wake" some of the quality posters around and bring in some fresh faces to the fore.

Those who don't want to contribute any post can take a reader membership, with software access.

It isn't much right, only a single post to consider it an active member for the month.

It can't only be take, take, take. We are all better if we give a little to keep the place active and thriving.
#298
Proof has been given his own personal space:

http://www.rouletteforum.cc/index.php?board=101.0
We're happy for him and sure feel glad to have him around in our ranks too!  :thumbsup:




Don't miss the section's introduction:

http://www.rouletteforum.cc/index.php?topic=11360.0
#299
Straight-up / Cyclic wakers
December 05, 2012, 02:51:51 AM
Start with a "window" of the last 37 spins.


As new numbers go by, you drop the last one. Always keeping a 37-spin view.


Your focus group are the sleepers on the last 37 spins.


When one of them "wakes" (hits) the game starts: you bet this number and start adding spins to your window.. making it a 38-spin window, 39-spin, 40-spin and so on. Always keeping an eye on the wakers.


You continue tracking and adding every waker as they surface.


On a hit, check bankroll balance. If on the plus, close the cycle; if on the negative, rise +1 unit on every number bet and continue.


The game finishes either on any plus or at spin #74.
#300
"Is it better for the fugitive to change hideout each day to one of his 37 houses randomly -knowing that the guards would only seek a randomly chosen one each day- or would it be better to stay in a single house, waiting for him to be lucky to have more time keeping himself there hoping the guards would step him over without looking..... ??? ??? ."