Results 1 to 6 of 6
  1. #1
    johnnydicamillo's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    In the MPGH website
    Posts
    79
    Reputation
    10
    Thanks
    5
    My Mood
    Confused

    Exclamation My code keeps crashing the game

    For some reason my source code keeps crashing my game when ever i go into the match.
    #include <windows.h>
    #include <stdio.h>

    //-------------------Define Hacks----------------------//

    #define Playerpointer 0xD45310
    #define Serverpointer 0xC41938
    #define OFS_Z 0x102D8
    #define NFD_Player_OffSet 0x103A8
    #define OFS_NORECOIL1 0x1C
    #define OFS_NORECOIL2 0x20
    #define OFS_NORECOIL3 0x24
    #define Speed 0xA65CAC
    #define No_Spread 0x000000
    #define Extra_Ammo_1 0xBC78CC
    #define Extra_Ammo_2 0xBC78CD

    //------------------End Define Adddies-----------------//

    //--------------------------Define HackThread--------------------------//

    DWORD *ingame= (DWORD*)Playerpointer;
    DWORD *outgame= (DWORD*)Serverpointer;

    //--------------------------End Define HackThread--------------------------//

    //--------------------------Start Hacks--------------------------//

    void PlayerHacks() // Start PlayerHacks
    {
    DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
    if(dwPlayerPtr != 0){

    //No Recoil
    {*(float*)(dwPlayerPtr+OFS_NORECOIL1) = 0;
    *(float*)(dwPlayerPtr+OFS_NORECOIL2) = 0;
    *(float*)(dwPlayerPtr+OFS_NORECOIL3) = 0;}

    //End No Recoil

    //Speed x2
    {if(GetAsyncKeyState(VK_NUMPAD1) &1<< 0xF){
    *(float*)(Speed) = 200.0f;}}

    //Speed x3
    {if(GetAsyncKeyState(VK_NUMPAD2) &1<< 0xF){
    *(float*)(Speed) = 300.0f;}}

    //Speed x5
    {if(GetAsyncKeyState(VK_NUMPAD3) &1<< 0xF){
    *(float*)(Speed) = 500.0f;}}

    //Speed Normal
    {if(GetAsyncKeyState(VK_NUMPAD0) &1<< 0xF){
    *(float*)(Speed) = 100.0f;}}

    //Extra Ammo A
    {*(int*)(Extra_Ammo_1) = 1;}

    //Extra Ammo S
    {*(int*)(Extra_Ammo_2) = 1;}

    //No Spread
    {*(float*) No_Spread = 0;}
    //End No Recoil

    //Superjump

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

    //End Superjump

    // No Fall Damage

    {*(float*)(dwPlayerPtr+NFD_Player_OffSet) = -20000;}

    //End No Fall Damage

    }} //End PlayerHacks

    void ServerHacks() // Start ServerHacks
    {
    DWORD dwSrvrPtr=*(DWORD*)Serverpointer;
    if(dwSrvrPtr!=0){

    }} //End ServerHacks

    //--------------------------End Hacks--------------------------//

    //-------------------------HackThread--------------------------//

    void Hacks(){
    for(;{
    PlayerHacks();
    ServerHacks();
    Sleep(20);}}

    //--------------------------End HackThread--------------------------//

    //--------------------------End--------------------------//

    BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res){
    switch(DWORD_GRUND){
    case 1:
    ShellExecuteA(NULL,"Open","https://www.sealteamvi.*********/",NULL,NULL,1);
    CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Hacks , 0, 0, 0);
    break;
    case 2:
    break;}
    return TRUE;}

    //--------------------------End--------------------------//
    //credits go to [Tutorial] WarRock NoMenu Hack [Date = 2 sept 2010] - Gamerz Needs - For All Your Gaming Needs! for helping me create this main.cpp

  2. #2
    Gh0sts~l1f3's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    146
    Reputation
    16
    Thanks
    74
    Try Remove this ShellExecuteA(NULL,"Open","https://www.sealteamvi.*********/",NULL,NULL,1);

    Remove it and test

  3. #3
    johnnydicamillo's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    In the MPGH website
    Posts
    79
    Reputation
    10
    Thanks
    5
    My Mood
    Confused
    Quote Originally Posted by Gh0sts~l1f3 View Post
    Try Remove this ShellExecuteA(NULL,"Open","https://www.sealteamvi.*********/",NULL,NULL,1);

    Remove it and test
    no that did nothing besides stoppping my clan website from showing up

  4. #4
    Gh0sts~l1f3's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    146
    Reputation
    16
    Thanks
    74
    y i know what it do and it some time made hack detected

  5. #5
    johnnydicamillo's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    In the MPGH website
    Posts
    79
    Reputation
    10
    Thanks
    5
    My Mood
    Confused
    Quote Originally Posted by Gh0sts~l1f3 View Post
    y i know what it do and it some time made hack detected
    this is old can we get someone to close this
    If I helped you in anyway please press thanks

  6. #6
    xTremist's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    107
    Reputation
    10
    Thanks
    16
    My Mood
    Bored
    Stop spamming threads, please.
    Simple WarRock NoMenu Base:
    Update the addresses yourself.