Results 1 to 3 of 3
  1. #1
    Some people aren't satisfied on what God has given to them.
    MPGH Member
    αςε.εmόkόι's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    Anywhere
    Posts
    1,645
    Reputation
    10
    Thanks
    750

    WHAT IS THE MEANING OF THIS !!

    ------ Build started: Project: injectme, Configuration: Debug Win32 ------
    Compiling...
    Main.cpp
    c:\documents and settings\user\my documents\visual studio 2008\projects\injectme\injectme\main.cpp(38) : error C2143: syntax error : missing ';' before '}'
    c:\documents and settings\user\my documents\visual studio 2008\projects\injectme\injectme\main.cpp(104) : error C2664: 'ShellExecuteW' : cannot convert parameter 2 from 'const char [5]' to 'LPCWSTR'
    Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    Build log was saved at "file://c:\Documents and Settings\user\My Documents\Visual Studio 2008\Projects\injectme\injectme\Debug\BuildLog.htm "
    injectme - 2 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



    WHAT IS WRONG IN MY SOURCE CODE !!

    #include <stdio.h>
    #include <windows.h>

    #define ADR_PlayerPointer 0x00AB5330
    #define ADR_ServerPointer 0x009AF950
    #define ADR_UnliSP 0x007DBFAC
    #define ADR_Glasswall 0x0093ABC8
    #define OFS_NFD 0x00102C8
    #define OFS_Z 0x00102E8
    #define ADR_Speed 0x007EA97C

    DWORD *ingame= (DWORD*)ADR_PlayerPointer;
    DWORD *outgame= (DWORD*)ADR_ServerPointer;

    void unlisp()
    {
    *(float*)ADR_UnliSP = 1000000;
    }

    void glasswall()
    {
    if(GetAsyncKeyState(VK_MBUTTON) &1)
    {
    *(int*)ADR_Glasswall = 1;
    }
    }
    void glasswalloff()
    {
    if(GetAsyncKeyState(VK_CAPITAL) &1)
    {
    *(int*)ADR_Glasswall= 0;
    }
    }

    void nofalldamage()
    {
    *(float*)OFS_NFD = -3000
    }

    void superjump()
    {
    if(GetAsyncKeyState(VK_CONTROL) &1)
    {
    DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
    *(float*)(dwPlayerPtr+OFS_Z) = 1000;
    }
    }

    void dig()
    {
    if(GetAsyncKeyState(VK_MENU) &1)
    {
    DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
    *(float*)(dwPlayerPtr+OFS_Z) = -1000;
    }
    }

    void speed1()
    {
    if(GetAsyncKeyState(VK_NUMPAD2) &1)
    {
    *(float*) ADR_Speed = 500;
    }
    }
    void speed()
    {
    if(GetAsyncKeyState(VK_NUMPAD1) &1)
    {
    *(float*) ADR_Speed = 250;
    }
    }
    void speedoff()
    {
    if(GetAsyncKeyState(VK_NUMPAD0) &1)
    {
    *(float*) ADR_Speed = 97.0f;
    }
    }

    void HackThread()
    {
    for(;; )
    {
    if(*ingame)
    {
    superjump();
    dig();
    speed();
    unlisp();
    nofalldamage();
    glasswall();
    }
    if(*outgame)
    {
    Sleep(200);
    }
    }
    }
    BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
    {
    if(dwReason == DLL_PROCESS_ATTACH)
    {
    MessageBoxA(NULL,"MADE BY: Ace Suazo","ALL RIGHTS RESERVED BY",MB_OK);//
    ShellExecute(NULL,"open","https://mpgh.net/",NULL,NULL,SW_SHOWNORMAL);//
    CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
    }
    return TRUE;
    }

  2. #2
    johnpp's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    qweqwe
    Posts
    43
    Reputation
    10
    Thanks
    8
    My Mood
    Tired
    you forgot this ";" on nofalldamage
    and change character set to Multi-byte
    [img]https://i294.photobucke*****m/albums/mm82/johnpp12/tumblr_ltsi6e2c6h1qzew1so1_500.gif[/img][img]https://i294.photobucke*****m/albums/mm82/johnpp12/tumblr_lugygrKkKq1qg54vto1_500.gif[/img]

  3. The Following User Says Thank You to johnpp For This Useful Post:

    αςε.εmόkόι (03-28-2012)

  4. #3
    Threadstarter
    Some people aren't satisfied on what God has given to them.
    MPGH Member
    αςε.εmόkόι's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    Anywhere
    Posts
    1,645
    Reputation
    10
    Thanks
    750
    Quote Originally Posted by johnpp View Post
    you forgot this ";" on nofalldamage
    and change character set to Multi-byte
    oh, thank you very much ^^....

Similar Threads

  1. What will the meme for this Game be?
    By aosma8 in forum Call of Duty Black Ops Discussions
    Replies: 6
    Last Post: 10-07-2010, 11:37 PM
  2. [SOLVED] What is the name of this?
    By thatswhatsup77 in forum Call of Duty Modern Warfare 2 Help
    Replies: 5
    Last Post: 09-09-2010, 10:27 AM
  3. Apologies for being so stupid... but what's the name of this certain hack!
    By FallenLegacy in forum Combat Arms EU Discussions
    Replies: 20
    Last Post: 04-13-2010, 05:54 AM
  4. GRRRRRR!! what is the name of this song!!!???
    By dibiase in forum General
    Replies: 6
    Last Post: 07-14-2009, 09:05 AM