1. #1

    Registriert seit
    18.11.2011
    Beiträge
    457
    Thanked 296 Times in 94 Posts
    Blog Entries
    1

    Standard Auf bestimmte Symbole klicken

    Mir ist eben eine Idee gekommen und ich weiß nicht, ob man sie verwirklichen kann. Vorab, ich habe über Google nicht wirklich etwas gefunden.

    Ist es möglich, per WinAPI oder sonstiges ein .NET-Programm auf bestimmte Symbole klicken lassen kann, egal wie groß sie skaliert und gedreht sind?
    Geändert von Pwned (28.11.2012 um 22:20 Uhr) Grund: Formulierung

  2. #2
    Avatar von soulreafer
    Registriert seit
    07.10.2012
    Beiträge
    175
    Thanked 64 Times in 35 Posts

    Standard AW: Auf bestimmte Farbbereiche klicken

    haste mal ein beispiel was geklickt werden soll?
    grafiken alleine wohl ehr nicht mit winapi. nur fenster handel´s
    Kryptokombat! Crypto Sportsbet Gambling
    http://www.kryptokombat.tv

  3. #3

    Registriert seit
    18.11.2011
    Beiträge
    457
    Thanked 296 Times in 94 Posts
    Blog Entries
    1

    Standard AW: Auf bestimmte Farbbereiche klicken

    Geht um die Kokosnüsse bei Catch the Coconut. Klar, kann man natürlich auch die Tokens auslesen und analysieren, aber einfacher ist es dadurch sicher nicht.

    Finde grad kein Bild mehr davon, bin mir sicher da gab es mal eins.

  4. #4
    Avatar von Ta1lor
    Registriert seit
    15.11.2011
    Beiträge
    767
    Thanked 832 Times in 435 Posts

    Standard AW: Auf bestimmte Farbbereiche klicken

    Code:
    //**************************************
    //INCLUDE files for :Colour Aimbot
    //**************************************
    #include <windows.h>
    
    //**************************************
    // Name: Colour Aimbot
    // Description:aim at blue/red
    // By: The Equilibrium
    //
    // Inputs:None
    //
    // Returns:None
    //
    // Assumes:None
    //
    //Side Effects:None
    //This code is copyrighted and has limited warranties.
    //Please see http://www.Planet-Source-Code.com/xq/ASP/txtCodeId.10922/lngWId.3/qx/vb/scripts/ShowCode.htm
    //for details.
    //**************************************
    
    #include <windows.h>
    bool red=false;        //variable
    bool blue=false;
    int WINAPI WinMain (HINSTANCE hThisInstance,HINSTANCE hPrevInstance,LPSTR lpszArgument, int nFunsterStil)
    
    
        {
            while(1){    //keep the programme running
                Sleep(1);    //pause for a millisecond
                if(GetAsyncKeyState(VK_F10)& (1==1)){    //if F10 is pressed
                    blue=!blue;    //change the current value for blue
                }
    
    
                    if(GetAsyncKeyState(VK_F11)&(1==1)){
                        red=!red;
                    }
                    if(red || blue){    //if red or blue is on
                        int x, y;
                        HDC hdc = GetDC(HWND_DESKTOP); //get window
                        COLORREF aPixel;        //variable aPixel
                        int cx = GetSystemMetrics(SM_CXSCREEN); //get resolution
                        int cy = GetSystemMetrics(SM_CYSCREEN); //get resolution
                        while(red || blue){    //while red or blue is on
                            Sleep(1);    //pause so not to use up resources
                            for(y=1;y<cy;y++){    //scan the screen. From y=1 - y=resolution
                                for(x=1;x<cx;x++){ //scan the screen. From x=1 - x=resolution
                                    aPixel = GetPixel(hdc, x, y);    //get colour of every pixel
                                    if(blue){    //if blue
                                        for(int colour=40;colour<255;colour++){    //range of accepted RGB values
                                            if(aPixel==RGB(0,0,colour)){    //if pixel is have the colour
                                                SetCursorPos(x,y);        //set mouse cursor to that position
                                            }
                                        }
                                    }
                                    else if(red){    //look above
    
    
                                            for(int colour=40;colour<255;colour++){
                                                if(aPixel==RGB(colour,0,0)){    
                                                    SetCursorPos(x,y);    
                                                }
                                            }
                                        }
                                    }
                                    Sleep(1);    //so not to use to much CPU on a high resolution
                                }
                            }
                        }
                    }
            }
    Hatte ich irgendwo mal gefunden. Ist eigentlich nur WinAPI, müsstest du dir dann "übersetzen".

  5. #5
    Avatar von soulreafer
    Registriert seit
    07.10.2012
    Beiträge
    175
    Thanked 64 Times in 35 Posts

    Standard AW: Auf bestimmte Farbbereiche klicken

    Zitat Zitat von Ta1lor Beitrag anzeigen
    Code:
    //**************************************
    //INCLUDE files for :Colour Aimbot
    //**************************************
    #include <windows.h>
    
    //**************************************
    // Name: Colour Aimbot
    // Description:aim at blue/red
    // By: The Equilibrium
    //
    // Inputs:None
    //
    // Returns:None
    //
    // Assumes:None
    //
    //Side Effects:None
    //This code is copyrighted and has limited warranties.
    //Please see http://www.Planet-Source-Code.com/xq/ASP/txtCodeId.10922/lngWId.3/qx/vb/scripts/ShowCode.htm
    //for details.
    //**************************************
    
    #include <windows.h>
    bool red=false;        //variable
    bool blue=false;
    int WINAPI WinMain (HINSTANCE hThisInstance,HINSTANCE hPrevInstance,LPSTR lpszArgument, int nFunsterStil)
    
    
        {
            while(1){    //keep the programme running
                Sleep(1);    //pause for a millisecond
                if(GetAsyncKeyState(VK_F10)& (1==1)){    //if F10 is pressed
                    blue=!blue;    //change the current value for blue
                }
    
    
                    if(GetAsyncKeyState(VK_F11)&(1==1)){
                        red=!red;
                    }
                    if(red || blue){    //if red or blue is on
                        int x, y;
                        HDC hdc = GetDC(HWND_DESKTOP); //get window
                        COLORREF aPixel;        //variable aPixel
                        int cx = GetSystemMetrics(SM_CXSCREEN); //get resolution
                        int cy = GetSystemMetrics(SM_CYSCREEN); //get resolution
                        while(red || blue){    //while red or blue is on
                            Sleep(1);    //pause so not to use up resources
                            for(y=1;y<cy;y++){    //scan the screen. From y=1 - y=resolution
                                for(x=1;x<cx;x++){ //scan the screen. From x=1 - x=resolution
                                    aPixel = GetPixel(hdc, x, y);    //get colour of every pixel
                                    if(blue){    //if blue
                                        for(int colour=40;colour<255;colour++){    //range of accepted RGB values
                                            if(aPixel==RGB(0,0,colour)){    //if pixel is have the colour
                                                SetCursorPos(x,y);        //set mouse cursor to that position
                                            }
                                        }
                                    }
                                    else if(red){    //look above
    
    
                                            for(int colour=40;colour<255;colour++){
                                                if(aPixel==RGB(colour,0,0)){    
                                                    SetCursorPos(x,y);    
                                                }
                                            }
                                        }
                                    }
                                    Sleep(1);    //so not to use to much CPU on a high resolution
                                }
                            }
                        }
                    }
            }
    Hatte ich irgendwo mal gefunden. Ist eigentlich nur WinAPI, müsstest du dir dann "übersetzen".

    welche sprache ist das überhaupt? sharp?
    Kryptokombat! Crypto Sportsbet Gambling
    http://www.kryptokombat.tv

  6. #6
    Avatar von Ta1lor
    Registriert seit
    15.11.2011
    Beiträge
    767
    Thanked 832 Times in 435 Posts

    Standard AW: Auf bestimmte Farbbereiche klicken

    C++

Ähnliche Themen

  1. Win7 Spiel für Mausbewegung + Klicken?
    Von ZarneXxX im Forum Windows
    Antworten: 1
    Letzter Beitrag: 30.10.2013, 17:55
  2. Antworten: 2
    Letzter Beitrag: 29.05.2013, 09:08
  3. BF3 bestimmte Spielmodi
    Von ElkosMED im Forum Battlefield
    Antworten: 2
    Letzter Beitrag: 24.05.2013, 21:21
  4. Bestimmte Sonnenbrille gesucht.
    Von Flo im Forum Lifestyle & Fashion
    Antworten: 1
    Letzter Beitrag: 27.08.2012, 23:35
Diese Seite nutzt Cookies, um das Nutzererlebnis zu verbessern. Klicken Sie hier, um das Cookie-Tracking zu deaktivieren.