Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    Help ?


    houndog44
     Share

    Recommended Posts

    Hey

     

    I Was wondering, every time i use C +++ To try and build a hack DLL it says this:

     

    ------ Build started: Project: Teleport Hack, Configuration: Debug Win32 ------

    Compiling...

    Teleport Hack.cpp

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(4) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(4) : error C2146: syntax error : missing ';' before identifier 'ya'

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(4) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(4) : error C2146: syntax error : missing ';' before identifier 'go'

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(4) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(4) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(4) : error C2146: syntax error : missing ';' before identifier 'asked'

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(4) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(4) : error C2143: syntax error : missing ';' before 'for'

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(4) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(4) : error C2059: syntax error : ')'

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(4) : error C2059: syntax error : 'if'

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(4) : error C2015: too many characters in constant

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(4) : error C2001: newline in constant

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(4) : error C2015: too many characters in constant

    c:\program files (x86)\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(19) : error C2144: syntax error : '__w64 unsigned int' should be preceded by ';'

    c:\program files (x86)\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(19) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(14) : error C2153: hex constants must have at least one hex digit

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(14) : error C2059: syntax error : 'bad suffix on number'

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(14) : error C2146: syntax error : missing ';' before identifier 'PLAYER_POINTER'

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(14) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(33) : error C2065: 'SetTeleportCoor' : undeclared identifier

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(42) : error C2065: 'PlayerIsIngame' : undeclared identifier

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(44) : error C2059: syntax error : ')'

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(49) : error C2059: syntax error : ')'

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(50) : error C2065: 'ab' : undeclared identifier

    c:\users\fraser_2\documents\visual studio 2008\projects\teleport hack\teleport hack\teleport hack.cpp(54) : error C2059: syntax error : ')'

    Build log was saved at "file://c:\Users\Fraser_2\Documents\Visual Studio 2008\Projects\Teleport Hack\Teleport Hack\Debug\BuildLog.htm"

    Teleport Hack - 27 error(s), 0 warning(s)

    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

     

    Note the 1 failed ^^^^^

     

    THAT ALWAYS COMES UP !?

    I Don't know what to do??

    Link to comment
    Share on other sites

    It will be easier for us to help you if you show us your Sourcecode.

     

    Sure

     

    CODE:

     

    #include <windows.h>

    #include <stdio.h>

    /*Creditz goes to ZeaS*/

     

    DWORD *PlayerIsInamge = (DWORD*)0xPLAYER_POINTER;

     

    int ArrayX[100];

    int ArrayY[100];

    int ArrayZ[100];

     

    int curx, cury, curz;

    int ArraySwitch=0, ArraySwitch2=0;

     

    DWORD X, Y, Z;

     

    DWORD WINAPI SaveTeleportCoor(LPVOID);

    DWORD WINAPI ArrayTeleport(LPVOID);

     

    BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)

    {

    if(dwReason == DLL_PROCESS_ATTACH)

    {

    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)SaveTeleportCoor, NULL, NULL, NULL);

    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)SetTeleportCoor, NULL, NULL, NULL);

    }

    return TRUE;

    }

     

    DWORD WINAPI SetTeleportCoor(LPVOID)

    {

    for(;O.o

    {

    if(*PlayerIsIngame)

    {

    X = ( /*Player Pointer*/ );

    X = *(DWORD*)X;

    X += 0x18c; //Offset X

    curx = *(int*)X;

     

    Y = ( /*Player Pointer*/ );

    Y = *(DWORD*)ab;

    Y += 0x194; //Offset Y

    cury = *(int*)Y;

     

    Z = ( /*Player Pointer*/ );

    Z = *(DWORD*)Z;

    Z += 0x190; //Offset Z

    curz = *(int*)Z;

     

    if(GetAsyncKeyState(VK_NUMPAD8)&1) // Saving Current Possition

    {

     

    ArrayX[ArraySwitch] = curx;

    ArrayY[ArraySwitch] = cury;

    ArrayZ[ArraySwitch] = curz;

    ArraySwitch++;

    Sleep(2);

     

    }

    }

    }

    return 0;

    }

     

    DWORD WINAPI ArrayTeleport(LPVOID)

    {

    for(;xD

    {

    if(GetAsyncKeyState(VK_NUMPAD1)&1) //Teleport Forward

    {

     

    DWORD *first = (DWORD*)X;

    *(int*)X = ArrayX[ArraySwitch2];

    DWORD *secound = (DWORD*)Y;

    *(int*)Y = ArrayY[ArraySwitch2];

    DWORD *third = (DWORD*)Z;

    *(int*)Z = ArrayZ[ArraySwitch2];

    Sleep(1);

    ArraySwitch2++;

     

    }

    if(GetAsyncKeyState(VK_NUMPAD2)&1) //Teleport Backward

    {

     

    ArraySwitch2--;

     

    DWORD *first = (DWORD*)X;

    *(int*)X = ArrayX[ArraySwitch2];

    DWORD *secound = (DWORD*)Y;

    *(int*)Y = ArrayY[ArraySwitch2];

    DWORD *third = (DWORD*)Z;

    *(int*)Z = ArrayZ[ArraySwitch2];

    Sleep(1);

    }

    Sleep(21);

    }

    return 0;

    }

    Link to comment
    Share on other sites

    1st:

    DWORD *PlayerIsInamge = (DWORD*)0xPLAYER_POINTER;

     

    Remove the "0x" before PLAYER_POINTER. Furthermore you have to define PLAYER_POINTER somewhere.

     

    2nd:

    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)SetTeleportCoor, NULL, NULL, NULL);

     

    You haven't defined SetTeleportCoor. And you should look up how to use CreateThread() in a better way (->MSDN)

     

    3rd:

    if(*PlayerIsIngame)

     

    The same again, you haven't defined PlayerIsIngame...

     

    4th:

    X = ( /*Player Pointer*/ );

     

    ??? Maybe you should buy a book and learn C++!

     

    5th:

    Y = ( /*Player Pointer*/ );

     

    The same as 4th..

     

    6th:

    Y = *(DWORD*)ab;

     

    You haven't defined ab.

     

    7th:

    Z = ( /*Player Pointer*/ );

     

    ...

    Link to comment
    Share on other sites

    1st:

    DWORD *PlayerIsInamge = (DWORD*)0xPLAYER_POINTER;

     

    Remove the "0x" before PLAYER_POINTER. Furthermore you have to define PLAYER_POINTER somewhere.

     

    2nd:

    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)SetTeleportCoor, NULL, NULL, NULL);

     

    You haven't defined SetTeleportCoor. And you should look up how to use CreateThread() in a better way (->MSDN)

     

    3rd:

    if(*PlayerIsIngame)

     

    The same again, you haven't defined PlayerIsIngame...

     

    4th:

    X = ( /*Player Pointer*/ );

     

    ??? Maybe you should buy a book and learn C++!

     

    5th:

    Y = ( /*Player Pointer*/ );

     

    The same as 4th..

     

    6th:

    Y = *(DWORD*)ab;

     

    You haven't defined ab.

     

    7th:

    Z = ( /*Player Pointer*/ );

     

    ...

     

     

     

     

    I Think he got that off someone else lol

    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...