Results 1 to 5 of 5
  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 Nevermind Fixed It (Please Close This Thread)

    Hello,
    Its me again and now for some reason when i am getting ready to release my very first hack the dang game updates and now when i inject my hack and i go into a game it crashes. Anyone no why

    My Source Code:
    #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 find a good base.
    Last edited by johnnydicamillo; 12-16-2010 at 04:10 PM. Reason: Found My problem And Did not want to double Post

  2. #2
    joguizi's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    1
    My Mood
    Happy
    First, post in two topics is completely useless.
    For your problem, maybe your addies are not up-to-date

  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 joguizi View Post
    First, post in two topics is completely useless.
    For your problem, maybe your addies are not up-to-date
    yeah i just figure it out but i didnt want to double post but how do i get someone to close this

  4. #4
    joguizi's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    1
    My Mood
    Happy
    You just have to wait...
    But, I can see that almost everything in your hack is given by who made the basic source, don't release a hack that you just took a basic source.
    Improves it and made it your own hack.
    If you don't know how just learn C++.
    Don't forget to add the credits for the base if you release a hack.
    Last edited by joguizi; 12-16-2010 at 04:31 PM.

  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 joguizi View Post
    You just have to wait...
    But, I can see that almost everything in your hack is given by who made the basic source, don't release a hack that you just took a basic source.
    Improves it and made it your own hack.
    If you don't know how just learn C++.
    Don't forget to add the credits for the base if you release a hack.
    actually i decided to make my own base seems to work a lot better and just released my hack just waiting for it to get aproved.