[source] Trigger bot [not released]

Posts 1–13 of 13 · Page 1 of 1
[source] Trigger bot [not released]
Code:
#include "stdafx.h"
#include <windows.h>
#include <stdio.h>
#include <iostream>
#include <time.h>

using namespace std;

int fcollerfind(int kleur1,int kleur2,int kleur3,COLORREF CR1, int bij, int af, int code,int y, int x);
void leftclick();





int main() {
    POINT p;
	GetCursorPos(&p);
    HDC hdc = GetDC(HWND_DESKTOP); //het scherm
    COLORREF CR1; //3 kleuren

	int gevoelig = 0;
	int loop = 5;

	int loop2 = 1;
	int y = 0;
	int get = 0;
	int hoeveel = 0;
	int hx = 0;
	int hy = 0;
	int hx2 = 0;
	int hy2 = 0;
	int geschoten = 0;
	int welke = 0;
	int idb;

	bool aimer = false;

		while(1) {
			if ((GetAsyncKeyState(VK_F8)&1) ) {
				cout << "Aan\n";
				aimer = true;
				GetCursorPos(&p);
			}

			for(int ida = 1;aimer == true;ida++) {

				if ((GetAsyncKeyState(VK_F9)&1)) {
					//cout << "stop\n";
					aimer = false;
				}

				GetCursorPos(&p);
				loop2++;
				//cout << loop << " " << loop2 << " ";

				if ( loop < loop2 ) {
					aimer = false;
					loop2 = 0;
				}


				time_t start;
				start = time(NULL);
				int hoeveel = 0;
				int hx = 0;
				int hy = 0;

			//cout << "start";

				welke = 1;
				hoeveel = 0;
				GetCursorPos(&p);
				hx = 0;
				hy = 0;


				for(int y=0;y<167;y++) {
						if ( hoeveel > gevoelig ) { continue; }
					for(int x=0;x<167;x++) {
						CR1 = GetPixel(hdc,p.x+x,p.y+y); 
						GetCursorPos(&p);
						if ( hoeveel > gevoelig ) { continue; }

							if ((GetAsyncKeyState(VK_F9)&1)) {
								//cout << "stop\n";
								aimer = false;
							}


							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(103,125,125,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(58,157,157,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(53,174,174,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(53,176,176,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(53,174,174,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(58,157,157,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(103,125,125,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(82,133,133,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(53,177,177,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(60,158,158,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(96,129,129,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(118,127,127,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(96,129,129,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(60,158,158,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(53,177,177,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(82,133,133,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(103,125,125,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(53,177,177,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(83,136,136,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(83,136,136,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(53,177,177,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(103,125,125,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(58,157,157,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(60,158,158,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(60,158,158,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(58,157,157,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(53,174,174,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(96,129,129,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(96,129,129,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(53,174,174,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(53,176,176,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(118,127,127,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(0,255,255,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(118,127,127,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(53,176,176,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(53,174,174,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(96,129,129,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(96,129,129,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(53,174,174,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(58,157,157,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(60,158,158,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(60,158,158,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(58,157,157,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(130,130,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(103,125,125,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(53,177,177,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(191,223,231,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(181,219,227,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(168,213,223,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(91,92,92,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(104,124,127,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(104,124,127,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(59,95,96,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(39,123,124,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(100,123,126,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(104,124,127,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(107,128,131,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(107,128,131,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(93,94,95,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(61,96,97,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(93,136,139,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(94,132,136,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(70,93,94,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(85,92,93,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(102,128,131,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(94,132,136,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(40,127,128,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(61,96,97,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(107,128,131,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(107,128,131,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(110,131,133,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(110,131,133,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(95,96,97,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(95,96,97,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(105,130,132,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(96,135,138,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(41,127,128,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(41,129,130,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(95,138,142,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(96,135,138,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(76,92,93,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(95,96,97,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(110,131,133,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(110,131,133,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(97,98,99,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(112,133,136,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(112,133,136,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(112,133,136,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(112,133,136,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(112,133,136,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(97,98,99,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(97,98,99,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(97,98,99,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(115,137,140,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(115,137,140,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(115,137,140,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(115,137,140,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

							if( fcollerfind(115,137,140,CR1,3,2,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 	if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 

						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 
						 if( fcollerfind(255,255,255,CR1,0,0,welke,y,x) ) { 
								hx = hx + p.x+x; 
								hy = hy + p.y+y; 
								hoeveel++; 
							} 
						 welke++; 



						//#include "kleur2.txt"
						//#include "kleur3.txt"

					}
				}
				//cout << hoeveel;



				if ( hoeveel > gevoelig ) {
					Sleep(15);
					geschoten++;
					//cout << geschoten;
					//cout << "Gevonden: " << hoeveel << "\n";
					cout << "\nSCHIET\n";
					//SetCursorPos(hx/hoeveel,hy/hoeveel);
					Sleep(1);
					leftclick();
				}/* else {
					if ( hoeveel > gevoelig ) {
						idb = ida;
						Sleep(15);
					}
				}
				*/

                      
				time_t end;
				end = time(NULL);
				//cout << "Sec: " << end - start << "\n";
				//cout << "hoeveel= " << hoeveel << "\n" ;
				//aimer = false;
			}
			aimer = true;
			Sleep(100);
		}
	system("pause");
    return 0;
}  


int fcollerfind(int kleur1,int kleur2,int kleur3,COLORREF CR1, int bij, int af, int code,int y, int x) {

	int get = 0;
	int hoeveel = 0;
	int hx = 0;
	int hy = 0;
	int hx2 = 0;
	int hy2 = 0;
	int acode = 0;

	POINT p;
	GetCursorPos(&p);

	//onderstaande opnieuw maken zonder bkleur


	for(int bkleur1 = kleur1 - af; bkleur1<kleur1 + bij; bkleur1++) {    //RGB waarde die steeds verandert
		for(int bkleur2 = kleur2 - af; bkleur2<kleur2 + bij; bkleur2++) {    //RGB waarde die steeds verandert
			for(int bkleur3 = kleur3 - af; bkleur3<kleur3 + bij; bkleur3++) {    //RGB waarde die steeds verandert

				//cout << kleur1 << " " << kleur2 << " " << kleur3 << "\n";

                if(CR1==RGB(bkleur1,bkleur2,bkleur3)) {       //hier laat je steeds een pixel kleur oplopen, als her is is gaat de muis er heen
					//cout << code << "\n";
					return true;
				}

				get = CR1 - RGB(kleur1,kleur2,kleur3);

				if(get < 1000 && get > -1000) {
					//cout << code << "\n";
					return true;
				}
			}
		}
	}


	return false;
}


void leftclick() {  

	mouse_event(MOUSEEVENTF_LEFTDOWN, 1, 1, 1, 1);
	Sleep(500);
	mouse_event(MOUSEEVENTF_LEFTUP, 1, 1, 1, 1);

	while ((GetAsyncKeyState(VK_RBUTTON)&1) ) {
		mouse_event(MOUSEEVENTF_LEFTDOWN, 1, 1, 1, 1);
		Sleep(500);
		mouse_event(MOUSEEVENTF_LEFTUP, 1, 1, 1, 1);
	}
}

DWORD WINAPI yhd(LPVOID) {
	main();
	return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
	DisableThreadLibraryCalls(hDll);
	if ( dwReason == DLL_PROCESS_ATTACH ) {
		MessageBoxA(0, "Trigger by lauwy\nMPGH\nWindows 7 only", "Injected", 0);
		CreateThread(NULL, NULL, yhd, NULL, NULL, NULL);
	}
	return true;
}
Fast coded but works very very good
Added noob anti leeche protection
I released the dll

They deleted it xD
I wished It wasn't in dutch so I could attempt to see how you made this lol.
is this working in white chams???what color??
Quote Originally Posted by TheGamer321 View Post
is this working in white chams???what color??
lol look at the header files no d3d9.h
im talking about what the bot will shoot white chams ...
Quote Originally Posted by TheGamer321 View Post
im talking about what the bot will shoot white chams ...
umm, well first off ChamS is short for something like Chameleon Skins and its meant so that players would show up a certain color behind walls and other objects and another color when they are visible. what im guessing this bot does, based off of what lauwly sayed in other posts that he puts the white players pushtoconsol on, <<all the players are white now>> then he does a pixel search to where the curser is placed <<in the game its automatically at the center of the screen>> and if the color of the pixel is white/any shade of gray that he specified the gun will automatically fire.. <<i said gray because the lights and shadows in the game can change the white color>>


anyways im still reading the code, transilating parts of it so u guys understand it and fixing some things, ill give it to u guys when im done

PS. there will b a better noob anti-leach on it
sir lauwy its the code of your trigger bot
not working, C++ gives me 100 errors.
Quote Originally Posted by Vetok View Post
not working, C++ gives me 100 errors.
no DUHH ..lol

he doesnt want noobs to have it, so he edited some random stuff to make it not work :P
hey lauwy i just compile it and it work but there is problem, he shoot auto every 10 sec or more, and he shoot on everything is there somehow to make when it shows red letters of enemy that he start shoot? just asking! btw i like that anti noob protection xD stay cool and try to answer me on this if u know something to make it on that way
Posts 1–13 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us