Results 1 to 5 of 5
  1. #1
    TheMaTriX's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    37
    Reputation
    10
    Thanks
    0

    my hack detected i dont know what to do

    edit:
    the game crash after i start "PLAY" in room and its come to loading

    what can i do?

    thats the code
    Code:
    //includes all nessecary files to this source
    #include <windows.h>
    //End of includes
    //This is what you call globals.
    
    
    #include <dos.h>
    
    #include <stdio.h>
    
    #include <conio.h>
    #include <iostream>
    #include <conio.h>
    #include <windows.h>
    
    
    int HackOn = 0;
    
    int HackMax = 10;
    
    bool test = false;
    
    #define ADDR_SBULLLETS			0x3741BFED 
    
    void Main (void)
    {
    
    	MessageBox(NULL, L"ok", L"activated", MB_OK);
    	Sleep(5000);
    	Sleep(5000);
    	Sleep(5000);
    		Sleep(5000);
    	Sleep(5000);
    	Sleep(5000);
    
    	while(1)
    		
    	{
    		if(GetAsyncKeyState(VK_NUMPAD1)&1)
    			
    		{
    			test = (!test);
    			
    		}
    		if(GetAsyncKeyState(VK_NUMPAD2)&1)
    			
    		{
    			HackOn ++;
    			
    			if(HackOn == HackMax) HackOn = 0;
    			
    		}
    		if(test)
    			
    		{
    			memcpy( (PBYTE)ADDR_SBULLLETS, (PBYTE)"\x33\xC0\x90", 3 );
    
    		}else{
    			
    			memcpy(  (PBYTE)ADDR_SBULLLETS, (PBYTE)"\x0F\x94\xC0", 3 );
    
    		}
    	}
    }
    DWORD WINAPI Lesson (LPVOID)
    
    {	
    	Main();
    
    	return 1;
    
    }
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    
    {
    	DisableThreadLibraryCalls(hDll);
    
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
    
    		CreateThread(NULL, NULL, Lesson, NULL, NULL, NULL);
    		
    	}
    return TRUE;
    
    
    }
    thats code based on tutorial
    i correct the address
    maybe i need check before the while if its in game or in loby or something ? and how can i do that
    thx: )
    Last edited by TheMaTriX; 02-10-2012 at 01:11 PM.

  2. #2
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love
    GameStatus
    No I do not make game hacks anymore, please stop asking.

  3. #3
    TheMaTriX's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    37
    Reputation
    10
    Thanks
    0
    can u please give me the address of gamestatus?
    edit:
    i try this
    Code:
    bool amit = false;
    
    //////////////////////////////
    
    		if(*(INT*)ADDR_GAMESTATUS == 1)
    		{
    			amit = true;
    		}
    		if(*(INT*)ADDR_GAMESTATUS == 0) {
    
    			amit = false;
    		}
    		
    while(amit = false) 
    {
    	Sleep(10000);
    			if(*(INT*)ADDR_GAMESTATUS == 1)
    		{
    			amit = true;
    		}
    		if(*(INT*)ADDR_GAMESTATUS == 0) {
    
    			amit = false;
    		}
    }
    MessageBox(NULL, L"ok", L"activated", MB_OK);
    	Sleep(9000);
    	while(true) { // crash here
    //the code of the hack here
    }
    edit2:
    when the while starting the game just crash??
    why?
    Last edited by TheMaTriX; 02-11-2012 at 11:46 AM.

  4. #4
    EliteHakz's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    In your gf's mind ;)
    Posts
    417
    Reputation
    7
    Thanks
    56
    My Mood
    Amazed
    Do @flameswor10 and he'll come to tha rescue I guess.
    Good luck.

  5. #5
    NSixx's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    244
    Reputation
    12
    Thanks
    246
    My Mood
    Amused
    you also have to
    #include <windows.h>

    you dont need 2 :P
    If we don't end war, war will end us.

Similar Threads

  1. [Info] i dont know what to do after i download hack please help!
    By andi2176 in forum Mission Against Terror Discussions
    Replies: 2
    Last Post: 07-08-2011, 12:25 AM
  2. I dont know whats wrong?!?
    By aluseu in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 1
    Last Post: 03-21-2010, 03:01 AM
  3. hi i have injector but now dont know what to do
    By Adypoker1 in forum CrossFire Hacks & Cheats
    Replies: 2
    Last Post: 07-11-2009, 02:54 AM
  4. i dont know what im doing wrong Oo
    By hoppele in forum Combat Arms Hacks & Cheats
    Replies: 5
    Last Post: 12-24-2008, 06:44 AM
  5. Replies: 6
    Last Post: 01-26-2008, 10:57 AM