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

#1366
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.
#1367
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!
#1368
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!
#1369
BTW, we really shouldn't care for someone's age, gender, religious belief, etc.

It's their personal quality and interactions what we should and do care about in here :thumbsup:
#1370
Quote from: topcat888 on December 16, 2012, 04:49:47 PM
Out of interest, is this a male only forum..? and if so, why..??
We do have Ladies around  :rose:

In the past, I also have interacted with ladies who don't want to state they are female since they don't want any special treatments! So they would just pick a regular, non-hinting nickname and participate as any other member from the gang  :nod:
#1371
Ralph's Bot / Re: Bot bug??
December 16, 2012, 08:08:27 AM
There's a lead. If you notice reply #26, it says:

Capture.PNG (729.86 kB, 893x817 - viewed 23 times.)

It seems something your end (antivirus? firewall?) is blocking the image from downloading completely.
#1372
General Discussion / Re: Is variance really a killer?
December 16, 2012, 03:09:37 AM
Quote from: TwoCatSam on December 16, 2012, 02:45:39 AM
Is variance the same as dispersion?
Variance is a measure of statistical dispersion.

Standard deviation is another way to measure dispersion.



You can check informative articles here:

http://www.quickmba.com/stats/dispersion/

http://www.princeton.edu/~achaney/tmve/wiki100k/docs/Statistical_dispersion.html



They do have a different entry on Wikipedia:

http://en.wikipedia.org/wiki/Statistical_dispersion

http://en.wikipedia.org/wiki/Variance
#1373
You need HerAttentions 2.1.3 program.

Use the helpful apps: pamper-her 1.3, movies-again 1.2, and details 4.u

If you do it right, you will get the new version of the I-love-you Virus, y.O-13.

With it Offline Happiness 2013 is patched to a successful performance this upcoming year  :)

Vic
#1374
Ralph's Bot / Re: Bot bug??
December 15, 2012, 10:43:25 PM
Sam,

Can you confirm the file size of the downloaded image on your computer is: 729.86 kB
#1375
Ralph's Bot / Re: Bot bug??
December 15, 2012, 08:19:25 PM
I can see what BA posted in full my friend.


[attachimg=1]

Can you try in another computer just to discard...
#1376
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;
    }
}
#1377
Nice to see you posting Ivica.

May the wheel tides always swing your way!  :)
#1378
Dozen/Column / Re: The 'Run of Three' System
December 15, 2012, 06:51:38 PM
Quote from: Bally6354 on December 15, 2012, 06:44:42 PM
I have asked Vic when he has time to make a tracker for this.
Thank you Bally for the sponsorship. Going to make an attempt to deliver it this month, if not, then first week of January (i.e. within vacation time!)

Cheers!
#1379
Archive / Re: Sponsor a community software!
December 15, 2012, 01:09:28 PM
Quote from: Bally6354 on December 14, 2012, 01:09:14 PM
I did have an idea which I would like put in a tracker
I can do that  :nod:
#1380
Ralph's Bot / Re: Bot bug??
December 15, 2012, 06:13:22 AM
I see the image on the upper-left part of the canvas.

What exactly do you mean by "Why does the screen shot do that?"?

What is "that"? is it the large blank area?