Results 1 to 13 of 13
  1. #1
    TrixtSam's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    89
    Reputation
    10
    Thanks
    129

    My hack crashes after being ingame for like 2 minutes?

    Any ideas, I only had.. NX Chams, NameTags, and CrossHair enabled.
    My NT Addie is correct.

    I'm using Windows 7 64 bit.
    Base: Fuck King 7.

    Would be nice to get some help!
    Thanks

  2. #2
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    831
    Reputation
    44
    Thanks
    401
    My Mood
    Twisted
    Im sure your hook is detected

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    https://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    https://www.youtube.com/watch?v=Na2kUdu4d_k

  3. #3
    TrixtSam's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    89
    Reputation
    10
    Thanks
    129
    It's the same one as all the menu bases that get released, the new one i think...

    Code:
    void InstallHook ()
                      {   
           do  
    	    {
    		hD3D9Dll = lGetModuleHandle("d3d9.dll");
    		Sleep(20);
    	    }
    	    while(!hD3D9Dll);
    
    	Sleep(100); int i = 0;
    	DWORD_PTR * VtablePtr = FindDevice((DWORD)hD3D9Dll,0x128000);
    
        if(VtablePtr == NULL)
    	{
    		MessageBox(NULL,"Cannot Found Device Press Ok For Exit !",0,MB_ICONSTOP);
            ExitProcess(0);
    	}
    
        DWORD_PTR * VTable = 0;
        *(DWORD_PTR *)&VTable = *(DWORD_PTR *)VtablePtr;
    				  
         pPresent         = (oPresent)              DetourFeatures((BYTE *)VTable[17],(BYTE *)myPresent              ,5); 
         pReset           = (oReset)                DetourFeatures((BYTE *)VTable[16],(BYTE *)myReset                ,5);
    
                    }

  4. #4
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    831
    Reputation
    44
    Thanks
    401
    My Mood
    Twisted
    Wh not detour the endd3d function in LTClient class??
    Its like endscene, really nice though

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    https://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    https://www.youtube.com/watch?v=Na2kUdu4d_k

  5. The Following 2 Users Say Thank You to Ch40zz-C0d3r For This Useful Post:

    [MPGH]Flengo (12-24-2012),Shadow` (12-24-2012)

  6. #5
    TrixtSam's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    89
    Reputation
    10
    Thanks
    129
    Quote Originally Posted by Ch40zz-C0d3r View Post
    Wh not detour the endd3d function in LTClient class??
    Its like endscene, really nice though

    This is how it was when i got it:/ Redemption base does it also:/

  7. #6
    |-|3|_][({}PT3R12's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Location
    UnkwOwnS
    Posts
    449
    Reputation
    12
    Thanks
    472
    My Mood
    Twisted
    You need a new detour, as far as I know not many people are releasing theirs because otherwise it gets patched rather quickly, so your best bet is to invest your time reading up on jmps and simple hooks and just going from there

  8. #7
    TrixtSam's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    89
    Reputation
    10
    Thanks
    129
    Quote Originally Posted by |-|3|_][({}PT3R12 View Post
    You need a new detour, as far as I know not many people are releasing theirs because otherwise it gets patched rather quickly, so your best bet is to invest your time reading up on jmps and simple hooks and just going from there
    Had a feeling it was that haha, thanks for telling me! Really apreciate it!

  9. #8
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    /admincp/banning.php
    Posts
    20,591
    Reputation
    5180
    Thanks
    14,177
    My Mood
    Inspired
    Quote Originally Posted by Ch40zz-C0d3r View Post
    Wh not detour the endd3d function in LTClient class??
    Its like endscene, really nice though


    That's what that's used for. Now time for some exploration

    Thanks.

    OT: Use simple JMP detours and encrypt all your strings.
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.

     


     
    VM | PM | IM
    Staff Administrator Since 10.13.2019
    Publicist Since 04.04.2015
    Middleman Since 04.14.2014
    Global Moderator Since 08.01.2013
    Premium Since 05.29.2013

    Minion+ Since 04.18.2013

    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  10. #9
    TrixtSam's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    89
    Reputation
    10
    Thanks
    129
    Quote Originally Posted by Flengo View Post




    That's what that's used for. Now time for some exploration

    Thanks.

    OT: Use simple JMP detours and encrypt all your strings.
    I have the simple JMP detours, and I will when i get round to it tonight, Will this make it not crash as much? Cause nearly every base has it, and encryping all the strings is anoyying but yeah lol

  11. #10
    V I's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Jewish land
    Posts
    1,440
    Reputation
    272
    Thanks
    2,442
    My Mood
    Aggressive
    Use XOR and update your Detours

  12. #11
    Shadow`'s Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    MN
    Posts
    636
    Reputation
    74
    Thanks
    3,014
    My Mood
    Relaxed
    If you don't have all your strings encrypted, then that's most likely the problem. Encrypting them is worth it, trust me, it's from personal experience with annoying problems like yours.
    Last edited by Shadow`; 12-24-2012 at 02:45 PM.
    Currently coding applications in Java and C++.

    "It is change, continuing change, inevitable change, that is the dominant factor in society today. No sensible decision can be made any longer without taking into account not only the world as it is, but the world as it will be." -Isaac Asimov

  13. #12
    TrixtSam's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    89
    Reputation
    10
    Thanks
    129
    Okay thanks guys, this has really bugged me haha! And.. My detours are upto date, I'm sure they are..

    Code:
    void *DetourFeatures (BYTE *src, const BYTE *dst, const int len)
    {
    BYTE *jmp = (BYTE *)malloc(len + 5);
    	DWORD dwback;
    	VirtualProtect(src, len, PAGE_READWRITE, &dwback);
    	memcpy(jmp, src, len);
    	jmp += len;
    	jmp[0] = 0xE9;
    	*(DWORD *)(jmp + 1) = (DWORD)(src + len - jmp) - 5;
    	src[0] = 0xE9;
    	*(DWORD *)(src + 1) = (DWORD)(dst - src) - 5;
    	for(INT i = 5; i < len; i++) src[i] = 0x90;
    	VirtualProtect(src, len, dwback, &dwback);
    	return(jmp - len);
    }

  14. #13
    [SMA] Paradise`'s Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    NOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOBNOOB
    Posts
    8,922
    Reputation
    1781
    Thanks
    3,049
    My Mood
    Amazed
    Quote Originally Posted by TrixtSam View Post
    Okay thanks guys, this has really bugged me haha! And.. My detours are upto date, I'm sure they are..

    Code:
    void *DetourFeatures (BYTE *src, const BYTE *dst, const int len)
    {
    BYTE *jmp = (BYTE *)malloc(len + 5);
    	DWORD dwback;
    	VirtualProtect(src, len, PAGE_READWRITE, &dwback);
    	memcpy(jmp, src, len);
    	jmp += len;
    	jmp[0] = 0xE9;
    	*(DWORD *)(jmp + 1) = (DWORD)(src + len - jmp) - 5;
    	src[0] = 0xE9;
    	*(DWORD *)(src + 1) = (DWORD)(dst - src) - 5;
    	for(INT i = 5; i < len; i++) src[i] = 0x90;
    	VirtualProtect(src, len, dwback, &dwback);
    	return(jmp - len);
    }
    Sounds good, I guess this is solved.

    /Closed.

Similar Threads

  1. Game Keeps crashing after playing for a few seconds with hacks
    By mattskate19 in forum Battlefield Heroes Hacks
    Replies: 4
    Last Post: 12-17-2011, 07:06 PM
  2. My Hack crashes after 10 min.
    By Andyi in forum Piercing Blow Hack Coding/Source Code
    Replies: 10
    Last Post: 03-10-2011, 05:53 PM
  3. Replies: 3
    Last Post: 01-10-2010, 12:24 AM
  4. [TUT]Potential fix for hack crashes after 1 or 2 games.
    By unkowen133 in forum Combat Arms Discussions
    Replies: 44
    Last Post: 09-03-2009, 03:34 AM