Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 34
  1. #16
    ~Liberty~'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    255
    Reputation
    6
    Thanks
    200
    My Mood
    Cool
    Quote Originally Posted by dugindog View Post
    you copied that from me
    WHAT!? i never copied something from you
    This is something i got from Schim for awile ago.

    ~Liberty~ Last Menu

    Yes, I am Ostisgood. Still same Msn: Ostisgoodformpgh@hotmail.no

  2. #17
    Joemommahitme's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Unknown
    Posts
    41
    Reputation
    10
    Thanks
    5
    My Mood
    Brooding
    Yes,I know this code is really messed up,but so far I have narrowed it down to 7 errors.
    Anyone possibly know where I am going wrong with this code?


    Code:
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    && GetModuleHandleA( "CShell.dll"   ) != NULL )
    return true;
    return false;
    }
    void PushToConsole(const char* Command) {
    DWORD CNADDIE = 0x007d9200;
    void* Send = ( void* )*( DWORD* )(CNADDIE);
    __asm
    {
    Command;
    call Send;
    add esp, -3-1+2+6;
    } 
    4;
    }
    }	
    void main()
    {
                    bool recoil = false, walls = false, fog = false, sway = false, blood = false;
    
    while(true)
    {
    if(GetAsyncKeyState(VK_NUMPAD0)<0){     
    			walls = !walls;  
    			if(walls){ 
    				memcpy((LPVOID)0x57207A, "\x6A\x01", 2);
    			} else { 
    				memcpy((LPVOID)0x57207A, "\x6A\x00", 2);
    				
    			}
    Sleep(150)
    }
    if(GetAsyncKeyState(VK_NUMPAD1)<0){
    recoil = !recoil;
    if(recoil){
    PushToConsole("PerturbIncreaseSpeed 0.000000" );
    PushToConsole("PerturbWalkPercent 0.000000" );
    PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
    PushToConsole("PerturbRecoil 0.000000" );
    PushToConsole("FireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
    PushToConsole("ZoomedFireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireDuckPerturb 0.000000" );
    } else {
    Put Normal Values for Recoil in PTC format HERE! (idk the original Values
    }
    Sleep(150)
    }
    if(GetAsyncKeyState(VK_NUMPAD1)<0){
    fog = !fog;
    if(fog){
    PushToConsole("FogEnable 0");
    } else {
    PushToConsole("FogEnable 1");
    }
    Sleep(150)
    }
    if(GetAsyncKeyState(VK_NUMPAD2)<0){
    sway = !sway;
    if(sway){
    PushToConsole("WeaponSway 0.000000" )
    } else {
    NORMAL WeaponSway In PTC Format Goes here
    }
    Sleep(150)
    }
    PushToConsole("WhiteBlood 1" );Numpad 4
    {
    }
    
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    main();
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }

  3. #18
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    Quote Originally Posted by Joemommahitme View Post
    Yes,I know this code is really messed up,but so far I have narrowed it down to 7 errors.
    Anyone possibly know where I am going wrong with this code?


    Code:
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    && GetModuleHandleA( "CShell.dll"   ) != NULL )
    return true;
    return false;
    }
    void PushToConsole(const char* Command) {
    DWORD CNADDIE = 0x007d9200;
    void* Send = ( void* )*( DWORD* )(CNADDIE);
    __asm
    {
    Command;
    call Send;
    add esp, -3-1+2+6;
    } 
    4;
    }
    }	
    void main()
    {
                    bool recoil = false, walls = false, fog = false, sway = false, blood = false;
    
    while(true)
    {
    if(GetAsyncKeyState(VK_NUMPAD0)<0){     
    			walls = !walls;  
    			if(walls){ 
    				memcpy((LPVOID)0x57207A, "\x6A\x01", 2);
    			} else { 
    				memcpy((LPVOID)0x57207A, "\x6A\x00", 2);
    				
    			}
    Sleep(150)
    }
    if(GetAsyncKeyState(VK_NUMPAD1)<0){
    recoil = !recoil;
    if(recoil){
    PushToConsole("PerturbIncreaseSpeed 0.000000" );
    PushToConsole("PerturbWalkPercent 0.000000" );
    PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
    PushToConsole("PerturbRecoil 0.000000" );
    PushToConsole("FireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
    PushToConsole("ZoomedFireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireDuckPerturb 0.000000" );
    } else {
    Put Normal Values for Recoil in PTC format HERE! (idk the original Values
    }
    Sleep(150)
    }
    if(GetAsyncKeyState(VK_NUMPAD1)<0){
    fog = !fog;
    if(fog){
    PushToConsole("FogEnable 0");
    } else {
    PushToConsole("FogEnable 1");
    }
    Sleep(150)
    }
    if(GetAsyncKeyState(VK_NUMPAD2)<0){
    sway = !sway;
    if(sway){
    PushToConsole("WeaponSway 0.000000" )
    } else {
    NORMAL WeaponSway In PTC Format Goes here
    }
    Sleep(150)
    }
    PushToConsole("WhiteBlood 1" );Numpad 4
    {
    }
    
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    main();
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    There are lots of things wrong with that code.
    Actually look at it and tell me what you find.

  4. #19
    BloodSkin's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Columbus, OH
    Posts
    354
    Reputation
    11
    Thanks
    63
    Quote Originally Posted by Sealionone View Post
    There are lots of things wrong with that code.
    Actually look at it and tell me what you find.
    you can set a bool up like that? o.O

  5. #20
    Joemommahitme's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Unknown
    Posts
    41
    Reputation
    10
    Thanks
    5
    My Mood
    Brooding
    to many brackets to start off with,dunno wich to delete and what not to delete.

    Edit:never mind,im through with this.I try to start a new career,and obviously no1 gives a shit about new people.
    Last edited by Joemommahitme; 07-24-2010 at 08:51 AM.

  6. #21
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,067
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Quote Originally Posted by Joemommahitme View Post
    to many brackets to start off with,dunno wich to delete and what not to delete.

    Edit:never mind,im through with this.I try to start a new career,and obviously no1 gives a shit about new people.
    dont give up that easily if you really want to learn, go look throught the hack source code section or just start CN's tutorial again.

  7. #22
    BloodSkin's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Columbus, OH
    Posts
    354
    Reputation
    11
    Thanks
    63
    Quote Originally Posted by markoj View Post
    dont give up that easily if you really want to learn, go look throught the hack source code section or just start CN's tutorial again.
    or if you REALLY want to learn go watch the c++ videos in the c++ section

  8. #23
    Joemommahitme's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Unknown
    Posts
    41
    Reputation
    10
    Thanks
    5
    My Mood
    Brooding
    I have gone over his tutorial 5x,and I have books upon books,and I just simply cant do it.No inspiration,and no willingness to do so now.

  9. #24
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    Quote Originally Posted by Joemommahitme View Post
    I have gone over his tutorial 5x,and I have books upon books,and I just simply cant do it.No inspiration,and no willingness to do so now.
    Did you honestly even read the code at all.

  10. #25
    Joemommahitme's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Unknown
    Posts
    41
    Reputation
    10
    Thanks
    5
    My Mood
    Brooding
    Didn't expain how to add more in his tutorial.Also the brackets just confuse me more as it is.

  11. #26
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    Quote Originally Posted by Joemommahitme View Post
    Didn't expain how to add more in his tutorial.Also the brackets just confuse me more as it is.
    Learn the language and you'll understand it.
    It's like trying to write a book in Chinese when you don't know any words.

  12. #27
    Joemommahitme's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Unknown
    Posts
    41
    Reputation
    10
    Thanks
    5
    My Mood
    Brooding
    Whats the point,I mean I dont have the things required to find the games code after every patch,and all the noobs making small hacks are glorified/adored for making just NX chams,and no spread.Me knowing my luck I wont be.....As I said,im normally turned down,and it always will be like that -_- sooooo whats the point?

  13. #28
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,030
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    Quote Originally Posted by Joemommahitme View Post
    Whats the point,I mean I dont have the things required to find the games code after every patch,and all the noobs making small hacks are glorified/adored for making just NX chams,and no spread.Me knowing my luck I wont be.....As I said,im normally turned down,and it always will be like that -_- sooooo whats the point?
    Dont give up and you'll learn.



    And btw Glory from choobs for C+Ped code is not actual accomplishment.
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

  14. #29
    Joemommahitme's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Unknown
    Posts
    41
    Reputation
    10
    Thanks
    5
    My Mood
    Brooding

    Cool

    Quote Originally Posted by whatup777 View Post
    Dont give up and you'll learn.



    And btw Glory from choobs for C+Ped code is not actual accomplishment.

    Besides that I have college here pretty soon,and I wont have enough time to be coding and all,maybe in like 7years from now I can.I just dont have the patience to do so,really fed up with trying.

  15. #30
    carterv's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    51
    Reputation
    10
    Thanks
    3
    My Mood
    Devilish
    Delete all of your code and start from a base. The code you have would take longer to fix than anything else, and you obviously need to learn at least the basics of C++.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. i need some hacker's help.
    By Weed Farmer™ in forum General
    Replies: 3
    Last Post: 09-04-2009, 11:01 AM
  2. Swat 4 hacker Need Help fast
    By punjabi in forum General
    Replies: 23
    Last Post: 04-17-2009, 08:15 PM
  3. I'm a new hacker and i need help
    By StrifeOwns in forum Combat Arms Hacks & Cheats
    Replies: 20
    Last Post: 09-21-2008, 12:34 AM
  4. adress... help even a hacker needs help u kno!
    By ~claw~ in forum WarRock - International Hacks
    Replies: 2
    Last Post: 06-29-2007, 09:29 AM
  5. Sum hacker pro or comp pro look here i need help
    By sniper5god in forum WarRock - International Hacks
    Replies: 11
    Last Post: 02-19-2007, 01:02 PM