Hallo Community,
Ich habe zwei Frage zum Thema GetPixel.
1.Gibt es irgendwo ein Tutorial, auf deutsch oder englisch?
2.Ich habe einen Trigger Bot geschreiben, der NICHT C&P ist

.
Code:
#include <iostream>
#include <Windows.h>
int X = 960;
int Y = 664;
int R = 255;
int G = 51;
int B = 51;
bool Triggerbot = false;
using namespace std;
int PixelErkennen()
{
HDC hdc = GetDC(NULL);
COLORREF color = GetPixel(hdc, X, Y);
ReleaseDC(NULL, hdc);
int R = 255;
int G = 51;
int B = 51;
Triggerbot = true;
return 1;
}
void Bot()
{
if(Triggerbot){
mouse_event(MOUSEEVENTF_LEFTDOWN,X,Y,0,0);
}
}
Okay, ich muss schon sagen, dass ich nicht so die C++ Skills habe, denn ich Programmiere fast nur mit Javascript, VBasic, html und C#.
Könnte es so aussehen oder bin ich auf dem Holzweg?
Eigendlich bin ich in diesem Forum nicht mehr unterwegs, weil man sofort falls man ein Problem hat, als C&P Noob o.ä bezeichnet wird.