Results 1 to 9 of 9
  1. #1
    comyok555's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed

    Question Important question that I want to know tell me plz

    Hello I'm 19 years old I learnt C language already
    so I just keep studying my c++ language and suddenly I've a question that always in my mind.
    If I finish in c++ How can I link into hacking game. I just want to know man
    Cuz My main approach is to hacking game.If I know that reason It will make me more concentrated.
    thanks but You know what I mean I'll give you some example :
    Just like I want to do a recoil. so How can I get source code?
    Thanks I'll be waiting for the answers.


    Thank you guys for answer
    Last edited by comyok555; 12-29-2014 at 12:19 AM. Reason: for additional

  2. #2
    afiqhebat's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Location
    Where Legends Were Born
    Posts
    214
    Reputation
    10
    Thanks
    151
    My Mood
    Psychedelic
    C++ is really useful . I mean most game use c++ , if u want to go for hacking choose c++ and learn some DirectX too . I think that's it

  3. The Following 3 Users Say Thank You to afiqhebat For This Useful Post:

    comyok555 (12-29-2014),Flying Duck (12-31-2015),Forpetesake (01-08-2015)

  4. #3
    comyok555's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed
    thanks but You know what I mean I'll give you some example :
    Just like I want to do a recoil. so How can I get source code?
    Thanks I'll be waiting for the answers.

  5. #4
    afiqhebat's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Location
    Where Legends Were Born
    Posts
    214
    Reputation
    10
    Thanks
    151
    My Mood
    Psychedelic
    U could use a disassembler to disassembled the .exe file using software like IDA , OllyDbg and radare2 . It's a reverse engineering method. U need to learn that to
    Sorry late reply.

  6. The Following 2 Users Say Thank You to afiqhebat For This Useful Post:

    Flying Duck (12-31-2015),Forpetesake (01-08-2015)

  7. #5
    InunoTaishou's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    The Internet
    Posts
    446
    Reputation
    20
    Thanks
    950
    My Mood
    Relaxed
    "To get the source code you write it."
    ~Mr. Miyagi

    I haven't actually started learning any hacking yet, still learning C++, but my approach was going to be to try and do small stuff with games that are popular (acitve) on the forum. Where people already found the offsets for games (because you're going to be reading and writing to memory, you need to know the pointer and the offset to do that) and post them frequently. So like combat arms, counter strike GO (because I play it), and possibly Bf3.

    You can find source code for any game if you actually. Not saying that to be mean but it's true.... Had you googled "Bf3 hack source code" you could probably find 20 posts with aimbot, no recoil, and cham with source.

    Example: No Recoil -- No Spread (Game: Combat Arms NA) (Status: Outdated)
    Code:
    //===================
    #include <Windows.h>
    //===================
    
    //================================================================
    void* g_pOriginalGetRecoil = NULL;
    void* g_pOriginalGetDeviation = NULL;
    void** g_pGetRecoilVTableAddress = (void**)0x020A3ACC;  //adress
    void** g_pGetDeviationVTableAddress = (void**)0x020A3AC8; //adress
    //================================================================
    
    //================================================================
    void __declspec(naked) hkGetRecoil(void) //GetRecoil
    {
    	__asm
    	{
    		xor eax, eax
    			mov[ecx + 0x164], eax
    			mov[ecx + 0x16C], eax
    			jmp dword ptr[g_pOriginalGetRecoil]
    	}
    }
    
    
    void __declspec(naked) hkGetDeviation(void) //GetDeviation
    {
    	__asm
    	{
    		xor eax, eax
    			mov[ecx + 0x140], eax
    			mov[ecx + 0x13C], eax
    			jmp dword ptr[g_pOriginalGetDeviation]
    	}
    }
    
    unsigned long __stdcall HookThread(void* param) //Hooking
    {
    	unsigned long flOldProtection;
    	if ((int)param == 1)				//Enable Hook
    	{
    		if (!g_pOriginalGetDeviation)
    			g_pOriginalGetDeviation = *g_pGetDeviationVTableAddress;													//Backing up Original Functions
    		if (!g_pOriginalGetRecoil)
    			g_pOriginalGetRecoil = *g_pGetRecoilVTableAddress;
    
    		if (VirtualProtect(g_pGetDeviationVTableAddress, 8, PAGE_READWRITE, &flOldProtection))							//Removing memory protection
    		{
    			*g_pGetDeviationVTableAddress = hkGetDeviation;																//Swapping VTable Pointers
    			*g_pGetRecoilVTableAddress = hkGetRecoil;
    			return VirtualProtect(g_pGetDeviationVTableAddress, 8, flOldProtection, &flOldProtection);						//Readding normal memory protection
    		}
    		else
    		{
    			return 0;
    		}
    	}
    	else //Disable Hook
    	{
    		if (VirtualProtect(g_pGetDeviationVTableAddress, 8, PAGE_READWRITE, &flOldProtection))							//Removing memory protection
    		{
    			*g_pGetDeviationVTableAddress = g_pOriginalGetDeviation;													//Setting VTable pointers back to original ones
    			*g_pGetRecoilVTableAddress = g_pOriginalGetRecoil;
    			return VirtualProtect(g_pGetDeviationVTableAddress, 8, flOldProtection, &flOldProtection);						//Readding normal memory protection
    		}
    		else
    		{
    			return 0;
    		}
    	}
    	return 1;
    }
    
    
    unsigned long __stdcall DllMain(HMODULE hModule, unsigned long ulReason, void* param)
    {
    	if (ulReason == DLL_PROCESS_ATTACH)
    	{
    		CloseHandle(CreateThread(NULL, 0, &HookThread, (void*)1, 0, NULL)); //Enable hook
    	}
    	else if (ulReason == DLL_PROCESS_DETACH)
    	{
    		CloseHandle(CreateThread(NULL, 0, &HookThread, NULL, 0, NULL)); //Disable hook
    	}
    	return 1;
    }
    //==================================================================================================================
    https://www.mpgh.net/forum/signaturepics/sigpic210976_1.gif

  8. #6
    Knochove's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Location
    :(
    Posts
    48
    Reputation
    10
    Thanks
    11
    My Mood
    Tired
    Quote Originally Posted by afiqhebat View Post
    U could use a disassembler to disassembled the .exe file using software like IDA , OllyDbg and radare2 . It's a reverse engineering method. U need to learn that to
    Sorry late reply.
    you give, by far, the worst advice ever. Judging by the language you use it's clear to see how shallow your knowledge in the subject is.

    @OP There are multiple parts to game hacking. For example there is function hooking, value editing, unpacking(rarely in my area) and a couple more stuff. If you want to do something like hooking then that involves getting the function that calculates the recoil of a gun (for example a shotgun has a large amount of recoil) and then making it return 0 so that you have 0 recoil Just browse forums and learn the different things, but start off with easier things. As for finding the function you need to learn reversing which requires ASM (Assembly) knowledge, a decompiler, and a debugger (not all 3 for some). Just make simple programs in pure C and decompile them to see what it looks like, then get into more advanced stuff. Searching is the way to go OP.
    Last edited by Knochove; 12-29-2014 at 12:11 PM.

  9. #7
    comyok555's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed
    Thanks you guys for answers. I apperciate that.

  10. #8
    afiqhebat's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Location
    Where Legends Were Born
    Posts
    214
    Reputation
    10
    Thanks
    151
    My Mood
    Psychedelic
    Quote Originally Posted by Knochove View Post
    you give, by far, the worst advice ever. Judging by the language you use it's clear to see how shallow your knowledge in the subject is.

    @OP There are multiple parts to game hacking. For example there is function hooking, value editing, unpacking(rarely in my area) and a couple more stuff. If you want to do something like hooking then that involves getting the function that calculates the recoil of a gun (for example a shotgun has a large amount of recoil) and then making it return 0 so that you have 0 recoil Just browse forums and learn the different things, but start off with easier things. As for finding the function you need to learn reversing which requires ASM (Assembly) knowledge, a decompiler, and a debugger (not all 3 for some). Just make simple programs in pure C and decompile them to see what it looks like, then get into more advanced stuff. Searching is the way to go OP.

    he is asking to get the source code, he could disassemble a hacking dll with this stuff to get the source code. that wat i meant.

  11. The Following 2 Users Say Thank You to afiqhebat For This Useful Post:

    Flying Duck (12-31-2015),Forpetesake (01-08-2015)

  12. #9
    Knochove's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Location
    :(
    Posts
    48
    Reputation
    10
    Thanks
    11
    My Mood
    Tired
    and i'll repeat it again : "you give, by far, the worst advice ever. Judging by the language you use it's clear to see how shallow your knowledge in the subject is."

    Have fun converting the whole of a DLL source back to C/C++ from ASM I bet that'll help OP

Similar Threads

  1. Hidden Project questions that no one wants to answer in game :c
    By ineedtotrade! in forum Adventure Quest Worlds (AQW) Discussions
    Replies: 10
    Last Post: 12-04-2013, 10:26 PM
  2. i want to know how to make a program that extracts ur dlls or wat ever in vb2008
    By Dead(H)ell in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 6
    Last Post: 01-24-2012, 09:22 AM
  3. A stupid question! ( my dad wants to know it )
    By Battlefield 3 in forum General
    Replies: 58
    Last Post: 08-27-2011, 01:23 AM
  4. if anyone wants to know
    By -[standoff]- in forum MapleStory Hacks, Cheats & Trainers
    Replies: 21
    Last Post: 04-06-2007, 12:14 PM
  5. C4D renders that Bull3t wanted
    By A7X Oblivian in forum Art & Graphic Design
    Replies: 2
    Last Post: 06-08-2006, 10:28 AM