Results 1 to 6 of 6
  1. #1
    swat243's Avatar
    Join Date
    Dec 2013
    Gender
    female
    Posts
    20
    Reputation
    10
    Thanks
    0
    My Mood
    Fine

    visual studio HELP

    yeah i have the program visual studio and i try to make a hack it isn`s a problem to hack a flashgame but with APB

    the codes i don`t know them and i doesn`t know how can i begin

  2. #2
    swat243's Avatar
    Join Date
    Dec 2013
    Gender
    female
    Posts
    20
    Reputation
    10
    Thanks
    0
    My Mood
    Fine
    i hope someone can help me

  3. #3
    orlaub's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    70
    Reputation
    10
    Thanks
    7
    My Mood
    Grumpy
    If it was that simple, everyone would do it...

  4. #4
    swat243's Avatar
    Join Date
    Dec 2013
    Gender
    female
    Posts
    20
    Reputation
    10
    Thanks
    0
    My Mood
    Fine
    yeah here is my writing file when i try to oping it stand there "source files is not compiled"
    first part :#include "APB"

    std::string chosencolour;
    void Mainscan/scancontens scan)
    void checkcolour(colorref pixel, int x, int y)
    bool colourmatch(colorref pixel),
    {

    std::string gamewindows;
    std::cout << "enter game windows to triggerbot" << std::endl;
    //std::getline(std::cin,gamewindow;
    gamewindow = "APB";

    HWND appwnd = findwindow(0, gamewindow.c_str()),
    RECT rcClientpositioning;

    while(!appwnd)
    {

    system(cls);
    appwnd = findwindow(0, gamewindow.c_str());
    std::cout <<"lokking for " << gamewindow << std::endl;
    sleep(1000);

    }
    std::cout << "found " << gamewindow << std::endl;

    while(atoi(chosencolour.c_str()) < 1 || atoi(chosencolour.c_str())
    {
    system("CLS");
    std::cout <<"choose which color to trigger against\n" <<
    << std::endl;
    std::getline(std::cin, chosencolour);

    }

    std::string color;
    if (chosencolour =="1"color = "red";
    else if (chosencolour == "2")color = "Green";
    else if (chosencolour == "3")color = "Blue";
    system("cls");

    std::cout << "triggerbot online, hover over" << color << "to shoot..." << std::endl;

    GetwindowRECT(appwnd, &rcClientpositoning);

    HDC hdcmain = GetDC(HWND_DESKTOP);

    int startingx = rcclientpositioning.right - ((rcclientpositioning.left)2);
    int startingy = rcclientpositioning.bottom - ((rcclientpositioning.bottom.top)/2);

    scancontents scan(startingx, startingy , hdcmain, 30, 40, -30,;
    Mainscan()scan;




    system("pause");



    }

    void Mainscan(scancontents scan)
    {

    int debugruntime = clock();
    while(true)
    {

    for(int y = scan.startY+scan.deducty; y < scan.startY+scan.compareY; y++)
    {

    for(int x =scan.startx+scan.deductx; x < scan.startY+scan.compareY; x++)
    {
    // sleep(100);
    //setcursorpos(x, y);

    checkcolour(getpixel(scan.hdc, x, y), x, y)
    if/getAsynckeystate(vk_delete))
    {
    exit(0);
    }

    }


    }

    }

    void checkcolour(colorref pixel, int x, int y)
    {
    //if(colourMatch(pixel))
    {
    mouse_event(mouseeventf_leftdown; x, y, 0, 0;
    mouse_event(mouseeventf_leftup, x, y, 0, 0;




    }





    }


    bool ccolourmatch(colorref pixel)
    {

    int r = getRvalue(pixel);
    int g = getGvalue(pixel);
    int b = getBvalue(pixel);
    //red
    if(chosencolour == "1")

    {

    if(r > 50&& g < 40 && b < 40)
    {

    return true;

    }


    }


    //green
    else if(chosencolour == "2")

    {

    if(r > 40&& g > 50 && b < 40)
    {

    return true;

    }


    }
    //blue
    else if(chosencolour == "3")

    {

    if(r < 50&& g < 40 && b > 50)
    {

    return true;

    }

    return false;
    }


    }




    and the 2st:


    #include <windows.h>
    #include <iostream>
    #include <ctime>
    #include <string>


    class scanContents
    {
    public:
    int startx;
    int startY;
    int Deductx;
    int deducty;
    int comparex;
    int comparey;
    HDC hdc;

    scancontents(
    int startx, int starty, HDC hdc, int comparex = 0,
    int compareY = 0, int deductx = 0, int deducty = 0)

    {

    startx = startx;
    starty = starty;
    comparex = comaprex;
    comaprey = comaprey;
    deductx = deduct x;
    deducty = deducty;
    HDC = HDC;
    }

  5. #5
    swat243's Avatar
    Join Date
    Dec 2013
    Gender
    female
    Posts
    20
    Reputation
    10
    Thanks
    0
    My Mood
    Fine
    i try to make a triggerbot with esp

  6. #6
    swat243's Avatar
    Join Date
    Dec 2013
    Gender
    female
    Posts
    20
    Reputation
    10
    Thanks
    0
    My Mood
    Fine
    yeah

    the only problem is that when i test the writing file from me stand there"source files is not compiled"

Similar Threads

  1. [Help Request] Need help whit Visual Studio 2012 [Read Thread Before Ignoring]
    By Skinksteek in forum Call of Duty Modern Warfare 3 Coding, Programming & Source Code
    Replies: 5
    Last Post: 10-21-2012, 12:33 PM
  2. [Help Request] need help on visual studio 2010
    By muzafar1996 in forum CrossFire Help
    Replies: 3
    Last Post: 07-29-2011, 05:59 PM
  3. [Help Request] [Help Request] How to make No Recoil hack in Visual Studio?
    By Tstovall in forum CrossFire Help
    Replies: 5
    Last Post: 07-20-2011, 02:55 AM
  4. Visual Studio HELP!
    By dudemil in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 3
    Last Post: 07-26-2010, 01:04 PM
  5. Visual Studio help
    By dudemil in forum Visual Basic Programming
    Replies: 1
    Last Post: 07-26-2010, 04:03 AM