Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 32
  1. #16
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,690
    Reputation
    184
    Thanks
    1,147
    My Mood
    Aggressive
    Quote Originally Posted by deathninjak0 View Post
    Code:
    DWORD WINAPI dwHackThread(LPVOID)//calling the hack
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    Hacks ();
    
    
    return 0;
    }
    Code:
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )//starting the dll
    {
    DisableThreadLibraryCalls(hDll);
    
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    	CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    	CreateThread(NULL, NULL, OPK, NULL, NULL, NULL);
    
    }
    Use that.

  2. #17
    UltimateX1's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    114
    Reputation
    10
    Thanks
    10
    My Mood
    Yeehaw
    every notice how this is a C+P from like 8 different posts lol

    the dllmain is from flameswor
    the push is from c00lguys base
    nop is from acid_burn
    and iv seen that exact is game ready for hook someweres


    }[/code]
    Code:
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )//starting the dll
    {
    DisableThreadLibraryCalls(hDll);
    
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    	CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    	CreateThread(NULL, NULL, OPK, NULL, NULL, NULL);
    
    }
    that would make a error because he dosnt have a OPK thread
    Last edited by UltimateX1; 10-01-2010 at 10:01 AM.

  3. #18
    swatfx's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    661
    Reputation
    20
    Thanks
    108
    My Mood
    Mellow
    Quote Originally Posted by UltimateX1 View Post
    every notice how this is a C+P from like 8 different posts lol

    the dllmain is from flameswor
    the push is from c00lguys base
    nop is from acid_burn
    and iv seen that exact is game ready for hook someweres



    that would make a error because he dosnt have a OPK thread
    lol none of those things are actually made by the people u said.

    sure they may use them, and may have even posted them here but they still didn't create them.

    lol the best is the dllmain is from flameswor1d, thats a good one

  4. #19
    UltimateX1's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    114
    Reputation
    10
    Thanks
    10
    My Mood
    Yeehaw
    Quote Originally Posted by swatfx View Post
    lol none of those things are actually made by the people u said.

    sure they may use them, and may have even posted them here but they still didn't create them.

    lol the best is the dllmain is from flameswor1d, thats a good one
    did you look at his base...

    its exactly the same he even attached it and detached it 2 times each


    as for the second one

    go look at c00lguys base

    youll see his PUSH and this kids push are the same(in every way)

    third

    memoria was made and posted by acid_burn

    last

    i just said iv seen it just like that b4

    also i never said they made them i just said that they have used the same exact ones in their posts

  5. #20
    hihijiji's Avatar
    Join Date
    Jul 2008
    Gender
    male
    Location
    Amsterdam
    Posts
    4
    Reputation
    10
    Thanks
    0
    Sorry for bringing this back up, but this has still not been resolved. Any ideas?

    I understand she needs a Dword for Winapi but the one she has is error'ing.

  6. #21
    LightzOut's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    185
    Reputation
    11
    Thanks
    25
    Quote Originally Posted by UltimateX1 View Post
    every notice how this is a C+P from like 8 different posts lol

    the dllmain is from flameswor
    the push is from c00lguys base
    nop is from acid_burn
    and iv seen that exact is game ready for hook someweres



    that would make a error because he dosnt have a OPK thread
    Quote Originally Posted by UltimateX1 View Post
    did you look at his base...

    its exactly the same he even attached it and detached it 2 times each


    as for the second one

    go look at c00lguys base

    youll see his PUSH and this kids push are the same(in every way)

    third

    memoria was made and posted by acid_burn

    last

    i just said iv seen it just like that b4

    also i never said they made them i just said that they have used the same exact ones in their posts
    No. Just no.
    Every .dll known to man needs dllmain as a starting point. So saying that someone on this forum made it is complete bullshit.

    C00lguy wasn't the original coder for that ptc method. I believe it was CN but not sure.

    Not sure if ac1dbuRn coded that memoria function himself, but either way, it is just a way of using memcpy with virtualprotect. Which has been done by many people before.

    And it is public code, so why would it even matter. The poeple that release code and spoonfeed noobs know that people will use it. Otherwise, why would they post it?
    Last edited by LightzOut; 10-01-2010 at 05:59 PM.

  7. #22
    deathninjak0's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    1,512
    Reputation
    12
    Thanks
    294
    My Mood
    Cool
    Sorry about the code..I wasn't thinking clearly..

  8. #23
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,035
    Reputation
    340
    Thanks
    2,784
    My Mood
    Sad
    Quote Originally Posted by LightzOut View Post
    No. Just no.
    Every .dll known to man needs dllmain as a starting point. So saying that someone on this forum made it is complete bullshit.

    C00lguy wasn't the original coder for that ptc method. I believe it was CN but not sure.

    Not sure if ac1dbuRn coded that memoria function himself, but either way, it is just a way of using memcpy with virtualprotect. Which has been done by many people before.

    And it is public code, so why would it even matter. The poeple that release code and spoonfeed noobs know that people will use it. Otherwise, why would they post it?
    Incorrect, the DllMain function is simply called by Windows on attach. It is not required by DLLs. DLLs may use this to initialise data (that's what they're meant to be used for), though this isn't mandatory, and you can omit the DllMain function altogether.

  9. The Following User Says Thank You to freedompeace For This Useful Post:

    LightzOut (10-01-2010)

  10. #24
    LightzOut's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    185
    Reputation
    11
    Thanks
    25
    Quote Originally Posted by freedompeace View Post
    Incorrect, the DllMain function is simply called by Windows on attach. It is not required by DLLs. DLLs may use this to initialise data (that's what they're meant to be used for), though this isn't mandatory, and you can omit the DllMain function altogether.
    True, thanks for the correction.

  11. #25
    Kallisti's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,040
    Reputation
    52
    Thanks
    376
    My Mood
    In Love
    Quote Originally Posted by UltimateX1 View Post
    every notice how this is a C+P from like 8 different posts lol

    the dllmain is from flameswor
    the push is from c00lguys base
    nop is from acid_burn
    and iv seen that exact is game ready for hook someweres



    that would make a error because he dosnt have a OPK thread
    dllmain is by microsoft
    I couldve put ShitToConsole if i wanted. Push short version of PushToConsole, not to mention most Push functions are the same.
    im sure plenty of people used that NOP method
    all game ready bools are the same.

    i never put the opk thread, nor the createthread

    get off me
    Last edited by Kallisti; 10-01-2010 at 09:42 PM.

    未来が見えなくて怖いから
    未来が見えてしまって悲しいから
    目を閉じて優しい思い出に浸ってしまう




  12. #26
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    Code:
    #include <windows.h>
    #include "stdafx.h"
    
    //Addys Here
    #define LTCAddy		0x3785435C
    #define AltLTC		0x46F670
    #define RECOIL1		0x3745FA90
    #define RECOIL2		0x37232A69
    #define RECOIL3		0x3745FAA4
    #define RECOIL4		0x3745FAA7
    #define RECOIL5		0x3745FAB0
    #define RELOAD		0x374AB714
    #define WALLS		0x5721BA
    //Defines
    
    void __cdecl PushToConsole (const char* szCommand )
    {
        HMODULE hMod = GetModuleHandleA("CShell.dll");
        if(hMod == NULL)
            return;
        int* ltClientAddr = (int*) LTCAddy;
        typedef int (*ptc_t)(const char *);
        ptc_t ptc = *(ptc_t*) (*ltClientAddr + 0x208);
        ptc(szCommand);
    }
    
    bool Memoria( void * pDest, char * szPatch, size_t sSize ) //Nopping Method
    { 
        DWORD dwOrgProtect = NULL; 
    	if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
    		return FALSE;
    
        memcpy( pDest, szPatch, sSize ); 
        VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
        return TRUE; 
    }
    
    bool Iloveflameswor10()
    {
    if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    && GetModuleHandleA( "CShell.dll"   ) != NULL )
    return true;
    return false;
    }
    void main(void)
    {
    	while (!Iloveflameswor10()){
    		Sleep(20);
    	}
    	bool NX = false;
    	bool spread = false;
    	bool speed = false;
    	bool Recoil = false;
    	bool activate = false;
    	bool reload = false;
    	while(true){
    		PushToConsole("ShowFps 1");
    		PushToConsole("FogEnable 0");
    		if(GetAsyncKeyState(VK_NUMPAD1)<0){ // NX Chams
    			if(NX){
    				PushToConsole("SkelModelStencil 0");
    				NX = false;
    			} else {
    				PushToConsole("SkelModelStencil 1");
    				NX = true;
    			}
    		}
    				if(GetAsyncKeyState(VK_NUMPAD2)<0){ // No Spread
    			if(spread){
    				PushToConsole("PerturbRotationEffect 3.000000");
    				PushToConsole("PerturbIncreaseSpeed 3.000000");
    				PushToConsole("PerturbDecreaseSpeed 9.000000");
    				PushToConsole("PerturbWalkPercent 0.500000");
    				spread = false;
    			} else {
    				PushToConsole("PerturbRotationEffect  0.000000"); 
    				PushToConsole("PerturbIncreaseSpeed 0.000000"); 
    				PushToConsole("PerturbWalkPercent 0.000000"); 
    				PushToConsole("PerturbFiringIncreaseSpeed 0.000000");
    				spread = true;
    			}
    		}
    				if(GetAsyncKeyState(VK_NUMPAD3)<0){ // No Recoil
    			if(Recoil){
    			Memoria((LPVOID)(RECOIL1), "\xD8\x66\x54", 3);
    			Memoria((LPVOID)(RECOIL2), "\xD9\x46\x54", 3);
    			Memoria((LPVOID)(RECOIL3), "\xD9\x5E\x54", 3);
    			Memoria((LPVOID)(RECOIL4), "\xD9\x46\x48", 3);
    			Memoria((LPVOID)(RECOIL5), "\xD9\x5E\x48", 3);
    				Recoil = false;
    			} else {
    			Memoria((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
    			Memoria((LPVOID)(RECOIL2), "\x90\x90\x90", 3);
    			Memoria((LPVOID)(RECOIL3), "\x90\x90\x90", 3);
    			Memoria((LPVOID)(RECOIL4), "\x90\x90\x90", 3);
    			Memoria((LPVOID)(RECOIL5), "\x90\x90\x90", 3);
    				Recoil = true;
    			}
    		}
    				if(GetAsyncKeyState(VK_NUMPAD4)<0){ // Legit Speed Hax
    			if(speed){
    				PushToConsole("BaseMoveAccel 3000.000000");
    				PushToConsole("StartAccel 500.000000");
    				PushToConsole("MaxAccel 3000.000000");
    				PushToConsole("AccelInc 6000.000000");
    				PushToConsole("WalkVel 70.000000");
    				PushToConsole("FRunVel 285.000000");
    				PushToConsole("BRunVel 285.000000");
    				PushToConsole("SRunVel 285.000000");
    				PushToConsole("DuckVel 50.000000");
    				speed = false;
    			} else {
    				PushToConsole("BaseMoveAccel 3000.000000");
    				PushToConsole("StartAccel 550.000000");
    				PushToConsole("MaxAccel 3000.000000");
    				PushToConsole("AccelInc 6000.000000");
    				PushToConsole("WalkVel 120.000000");
    				PushToConsole("FRunVel 335.000000");
    		    	PushToConsole("BRunVel 335.000000");
    				PushToConsole("SRunVel 335.000000");
    				PushToConsole("DuckVel 100.000000");
    				speed = true;
    			}
    		}
    				if(GetAsyncKeyState(VK_NUMPAD5)<0){ // Activation
    			if(activate){
    				PushToConsole("ActivationDistance 10" );
    				activate = false;
    			} else {
    				PushToConsole("ActivationDistance 999999" ); 
    				activate = true;
    			}
    		}
    				if(GetAsyncKeyState(VK_NUMPAD6)<0){ //reload
    					if (reload){
    			Memoria((LPVOID)(RELOAD), "\x0F\x84\xB1\x01\x00\x00", 6);
    		}else{
    			Memoria((LPVOID)(RELOAD), "\x90\x90\x90\x90\x90\x90", 6);
    		}
    				}
    				if(GetAsyncKeyState(VK_MENU)<0){ //fly
    				PushToConsole("PlayerGravity 800");
    				}else{
    				PushToConsole("PlayerGravity -800");
    				}
    		Sleep(200);
    	}
    }
    BOOL APIENTRY DllMain( HMODULE hModule,
                           DWORD  ul_reason_for_call,
                           LPVOID lpReserved
    					 )
    {
    	switch (ul_reason_for_call)
    	{
    	case DLL_PROCESS_ATTACH:
    		    MessageBoxA( NULL, "Welcome to Kallisti\n" "If you see this. The hack has been injected", "Kallisti's hotkey hack", MB_YESNO| MB_ICONWARNING);
    	case DLL_THREAD_ATTACH:
    	case DLL_THREAD_DETACH:
    	case DLL_PROCESS_DETACH:
    		break;
    	}
    	return TRUE;
    }
    Thank me
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  13. #27
    Kallisti's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,040
    Reputation
    52
    Thanks
    376
    My Mood
    In Love
    Quote Originally Posted by flameswor10 View Post
    Code:
    #include <windows.h>
    #include "stdafx.h"
    
    //Addys Here
    #define LTCAddy		0x3785435C
    #define AltLTC		0x46F670
    #define RECOIL1		0x3745FA90
    #define RECOIL2		0x37232A69
    #define RECOIL3		0x3745FAA4
    #define RECOIL4		0x3745FAA7
    #define RECOIL5		0x3745FAB0
    #define RELOAD		0x374AB714
    #define WALLS		0x5721BA
    //Defines
    
    void __cdecl PushToConsole (const char* szCommand )
    {
        HMODULE hMod = GetModuleHandleA("CShell.dll");
        if(hMod == NULL)
            return;
        int* ltClientAddr = (int*) LTCAddy;
        typedef int (*ptc_t)(const char *);
        ptc_t ptc = *(ptc_t*) (*ltClientAddr + 0x208);
        ptc(szCommand);
    }
    
    bool Memoria( void * pDest, char * szPatch, size_t sSize ) //Nopping Method
    { 
        DWORD dwOrgProtect = NULL; 
    	if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
    		return FALSE;
    
        memcpy( pDest, szPatch, sSize ); 
        VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
        return TRUE; 
    }
    
    bool Iloveflameswor10()
    {
    if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    && GetModuleHandleA( "CShell.dll"   ) != NULL )
    return true;
    return false;
    }
    void main(void)
    {
    	while (!Iloveflameswor10()){
    		Sleep(20);
    	}
    	bool NX = false;
    	bool spread = false;
    	bool speed = false;
    	bool Recoil = false;
    	bool activate = false;
    	bool reload = false;
    	while(true){
    		PushToConsole("ShowFps 1");
    		PushToConsole("FogEnable 0");
    		if(GetAsyncKeyState(VK_NUMPAD1)<0){ // NX Chams
    			if(NX){
    				PushToConsole("SkelModelStencil 0");
    				NX = false;
    			} else {
    				PushToConsole("SkelModelStencil 1");
    				NX = true;
    			}
    		}
    				if(GetAsyncKeyState(VK_NUMPAD2)<0){ // No Spread
    			if(spread){
    				PushToConsole("PerturbRotationEffect 3.000000");
    				PushToConsole("PerturbIncreaseSpeed 3.000000");
    				PushToConsole("PerturbDecreaseSpeed 9.000000");
    				PushToConsole("PerturbWalkPercent 0.500000");
    				spread = false;
    			} else {
    				PushToConsole("PerturbRotationEffect  0.000000"); 
    				PushToConsole("PerturbIncreaseSpeed 0.000000"); 
    				PushToConsole("PerturbWalkPercent 0.000000"); 
    				PushToConsole("PerturbFiringIncreaseSpeed 0.000000");
    				spread = true;
    			}
    		}
    				if(GetAsyncKeyState(VK_NUMPAD3)<0){ // No Recoil
    			if(Recoil){
    			Memoria((LPVOID)(RECOIL1), "\xD8\x66\x54", 3);
    			Memoria((LPVOID)(RECOIL2), "\xD9\x46\x54", 3);
    			Memoria((LPVOID)(RECOIL3), "\xD9\x5E\x54", 3);
    			Memoria((LPVOID)(RECOIL4), "\xD9\x46\x48", 3);
    			Memoria((LPVOID)(RECOIL5), "\xD9\x5E\x48", 3);
    				Recoil = false;
    			} else {
    			Memoria((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
    			Memoria((LPVOID)(RECOIL2), "\x90\x90\x90", 3);
    			Memoria((LPVOID)(RECOIL3), "\x90\x90\x90", 3);
    			Memoria((LPVOID)(RECOIL4), "\x90\x90\x90", 3);
    			Memoria((LPVOID)(RECOIL5), "\x90\x90\x90", 3);
    				Recoil = true;
    			}
    		}
    				if(GetAsyncKeyState(VK_NUMPAD4)<0){ // Legit Speed Hax
    			if(speed){
    				PushToConsole("BaseMoveAccel 3000.000000");
    				PushToConsole("StartAccel 500.000000");
    				PushToConsole("MaxAccel 3000.000000");
    				PushToConsole("AccelInc 6000.000000");
    				PushToConsole("WalkVel 70.000000");
    				PushToConsole("FRunVel 285.000000");
    				PushToConsole("BRunVel 285.000000");
    				PushToConsole("SRunVel 285.000000");
    				PushToConsole("DuckVel 50.000000");
    				speed = false;
    			} else {
    				PushToConsole("BaseMoveAccel 3000.000000");
    				PushToConsole("StartAccel 550.000000");
    				PushToConsole("MaxAccel 3000.000000");
    				PushToConsole("AccelInc 6000.000000");
    				PushToConsole("WalkVel 120.000000");
    				PushToConsole("FRunVel 335.000000");
    		    	PushToConsole("BRunVel 335.000000");
    				PushToConsole("SRunVel 335.000000");
    				PushToConsole("DuckVel 100.000000");
    				speed = true;
    			}
    		}
    				if(GetAsyncKeyState(VK_NUMPAD5)<0){ // Activation
    			if(activate){
    				PushToConsole("ActivationDistance 10" );
    				activate = false;
    			} else {
    				PushToConsole("ActivationDistance 999999" ); 
    				activate = true;
    			}
    		}
    				if(GetAsyncKeyState(VK_NUMPAD6)<0){ //reload
    					if (reload){
    			Memoria((LPVOID)(RELOAD), "\x0F\x84\xB1\x01\x00\x00", 6);
    		}else{
    			Memoria((LPVOID)(RELOAD), "\x90\x90\x90\x90\x90\x90", 6);
    		}
    				}
    				if(GetAsyncKeyState(VK_MENU)<0){ //fly
    				PushToConsole("PlayerGravity 800");
    				}else{
    				PushToConsole("PlayerGravity -800");
    				}
    		Sleep(200);
    	}
    }
    BOOL APIENTRY DllMain( HMODULE hModule,
                           DWORD  ul_reason_for_call,
                           LPVOID lpReserved
    					 )
    {
    	switch (ul_reason_for_call)
    	{
    	case DLL_PROCESS_ATTACH:
    		    MessageBoxA( NULL, "Welcome to Kallisti\n" "If you see this. The hack has been injected", "Kallisti's hotkey hack", MB_YESNO| MB_ICONWARNING);
    	case DLL_THREAD_ATTACH:
    	case DLL_THREAD_DETACH:
    	case DLL_PROCESS_DETACH:
    		break;
    	}
    	return TRUE;
    }
    Thank me
    im not copying and pasted hell no

    未来が見えなくて怖いから
    未来が見えてしまって悲しいから
    目を閉じて優しい思い出に浸ってしまう




  14. #28
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    Err.. It's a full working hotkey hack with latest addies and no reload
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  15. #29
    therofl's Avatar
    Join Date
    Feb 2008
    Gender
    male
    Posts
    76
    Reputation
    9
    Thanks
    9
    Quote Originally Posted by flameswor10 View Post
    Err.. It's a full working hotkey hack with latest addies and no reload
    Looks like what everyone else has. >_>

  16. #30
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,030
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    all the bools look nasty.

    if(!NxChams)
    PTC("SkelStencilModel 1");

    This looks better.
    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

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. [Solved] Vindictus doesn't load with any injector
    By Vindicator209 in forum Vindictus Help
    Replies: 5
    Last Post: 09-12-2011, 07:55 PM
  2. [Help Request] When i run Portal Doesn't work?
    By fisherblue23 in forum Combat Arms Help
    Replies: 6
    Last Post: 08-28-2011, 05:43 PM
  3. [Help] Doesn't load...
    By /b/oss in forum Battlefield Play4Free Hacks
    Replies: 9
    Last Post: 04-11-2011, 04:07 PM
  4. Injecters Patched? or Engine
    By Killerskillz in forum Combat Arms Hacks & Cheats
    Replies: 10
    Last Post: 08-15-2009, 08:09 AM
  5. wont inject in engine.exe anymore!?
    By GibsonRocks231 in forum Combat Arms Hacks & Cheats
    Replies: 2
    Last Post: 08-04-2009, 03:10 AM