Results 1 to 10 of 10
  1. #1
    pakeke80's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    23
    My Mood
    Devilish

    game crashes when injected......

    hi sir, can i ask question?????, when i injected this to a game it crashes????
    maybe there is a wrong?????
    help me please????
    base address = 00087454
    offsets= 60, 0, 24, 4

    Code:
    #include <Windows.h>
    
    
    void mine()
    {
    	if (GetAsyncKeyState(VK_NUMPAD1)&1)	
    
    	{
            Beep(512, 100);
    		
    		MessageBoxA(0,"HaCk AcTiVaTeD","sUcCsEs!!!",0);
    	*(float*)(0x00087454+0x60+0x0+0x24+0x4)=0;
    	}
    	
    	
    	else
    	{
    		Beep(612, 100);
    		MessageBoxA(0,"FaIlEd","HaCk NoT aCtIvAtEd!!!",0);
    		DLL_PROCESS_DETACH;
    
    	}
    		if (GetAsyncKeyState(VK_NUMPAD2)&1)	
    	{
            Beep(512, 100);
    		MessageBoxA(0,"HaCk DeAcTiVaTeD","sUcCsEs!!!",0);
    			*(float*)(0x00087454+0x60+0x0+0x24+0x4)=true;
    		}
    	
    	
    }
    void huk()
    {
    	GetModuleHandleA("MineSweeper.exe");
    }
    
    
    BOOL __stdcall DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
    {
    	DisableThreadLibraryCalls(hDll);
    	if (dwReason == DLL_PROCESS_ATTACH)
    	{ 
    //MessageBoxA(0,"D3d HaCk","ShEn LeI lIaNg", MB_OK); 
    //CreateThread(0,0,0,huk,0,0);
    CreateThread(0,0,0,mine,0,0);
    
    	}	
    	return TRUE;
    }
    advance thanks to whom will help on me ^_^

    and also, i have a cheat engine source beta, but its detected, can someone help me make the strings undetected?????, the compiler is lazarus, the same with delphi but somethin differs in it.............

  2. #2
    derh.acker's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    localhost
    Posts
    826
    Reputation
    14
    Thanks
    616
    My Mood
    Angelic
    What is that?
    *(float*)(0x00087454+0x60+0x0+0x24+0x4)=true;
    1. You are trying to write to the address 874DC (0x00087454+0x60+0x0+0x24+0x4)
    2. Float != Bool

    3. Why do you want to check if hotkeys are pressed in a thread which closes after the first check?

  3. #3
    {Banned}**HACKER**'s Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    843
    Reputation
    8
    Thanks
    719
    My Mood
    Cheerful
    What i love is that he is trying to hack MineSweeper and this game is Crossfire ....

  4. #4
    pakeke80's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    23
    My Mood
    Devilish
    hahaha, i posted it here cause i know the pro coder are in here ^_^

  5. #5
    UnXperienS's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Location
    In your House
    Posts
    317
    Reputation
    10
    Thanks
    33
    My Mood
    Cool
    i dont get it

  6. #6
    pakeke80's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    23
    My Mood
    Devilish
    it is a multi level pointer...
    base address = 00087454
    offsets= 60, 0, 24, 4
    and i want to freeze the value to 0....
    but it crashes when injected to game...
    (MineSweeper)

  7. #7
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    Quote Originally Posted by derh.acker View Post
    What is that?
    *(float*)(0x00087454+0x60+0x0+0x24+0x4)=true;
    1. You are trying to write to the address 874DC (0x00087454+0x60+0x0+0x24+0x4)
    2. Float != Bool

    3. Why do you want to check if hotkeys are pressed in a thread which closes after the first check?
    4. WTF DLL_PROCESS_DETACH;


     



    [img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]

  8. #8
    pakeke80's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    23
    My Mood
    Devilish
    im sorry, im not good in coding at all, can you help me to finish that minesweeper cheat?????? ^_^
    can you re arrange the codes????

  9. #9
    Genkidesu's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    Thanh Hóa
    Posts
    187
    Reputation
    30
    Thanks
    2,786
    My Mood
    Bored
    The address & offsets are not from mine, it's your. So figure it out yourself if this doesn't work.
    Code:
    #include <Windows.h>
    
    #define hackaddy 0x87454
    
    void minesweeper()
    {
    	HWND Game = FindWindowA(NULL, "MineSweeper");
    
    	//offsets
    	DWORD offset4 = *((DWORD*)hackaddy) + 0x60;
    	DWORD offset3 = *((DWORD*)offset4 ) + 0x0; 
    	DWORD offset2 = *((DWORD*)offset3 ) + 0x24;
    	DWORD offset1 = *((DWORD*)offset2 ) + 0x4;
    
    	for(;;Sleep(25))
    	{
    		if(Game != NULL)
    		{
    			if(GetAsyncKeyState(VK_F11) &1)
    			{
    				Beep(512, 100);
    				MessageBoxA(0,"HaCk AcTiVaTeD","sUcCsEs!!!",0);
    				*(float*)offset1 = 0.0f;
    			}
    			
    			if (GetAsyncKeyState(VK_F12) &1)	
    			{
    				Beep(512, 100);
    				MessageBoxA(0,"HaCk DeAcTiVaTeD","sUcCsEs!!!",0);
    				*(float*)offset1 = 1.0f;
    			}
    		}
    		else
    		{
    			Beep(612, 100);
    			MessageBoxA(0,"FaIlEd","HaCk NoT aCtIvAtEd!!!",0);
    			//ExitProcess(0);
    		}
    	}
    }
    
    BOOL __stdcall DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
    {
    	DisableThreadLibraryCalls(hDll);
    
    	if (dwReason == DLL_PROCESS_ATTACH)
    	{
    		CreateThread(0,0,0,minesweeper,0,0);
    	}	
    	return TRUE;
    }
    I suggest you to visit here instead: C++/C Programming - MPGH - MultiPlayer Game Hacking

  10. #10
    twixxxx's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    28
    Reputation
    10
    Thanks
    1
    My Mood
    Asleep
    Hi, this is my first time doing it, he is my base.
    I just do not understand why I get the X-Trap popin up saying abnormal memory access. I used ur logger to log the addys and offsets, but it didnt show the
    WeaponMgr so I had to google it and i found this latest one. and confirmed it from CShell
    but I really do not understand why X-Trap pops up

    #include "windows.h"
    #define WeaponMgr 0xAB2940
    #define NoRecoil1 0x53C
    #define NoRecoil2 0x6A4
    #define NoRecoil3 0x1958
    #define NoRecoil4 0x1964
    #define NoRecoil5 0x1FC0
    #define NoRecoil6 0x2128
    #define NoRecoil7 0x2290
    using namespace std;

    DWORD WINAPI hack1(LPVOID param) {
    bool noreload = true;
    DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
    DWORD Wapenclass = *(PDWORD)(CShell + WeaponMgr);

    int main();

    if(noreload) {
    for(int i=0 ; i<600 ; i++) {
    for(int y = 0; y<10; y++)
    {
    DWORD curwapen = *(DWORD*)(Wapenclass +(4*i));
    if (curwapen) {
    *(float*)((((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil1) = 0.0f;
    *(float*)((((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil2) = 0.0f;
    *(float*)((((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil3) = 0.0f;
    *(float*)((((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil4) = 0.0f;
    *(float*)((((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil5) = 0.0f;
    *(float*)((((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil6) = 0.0f;
    *(float*)((((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil7) = 0.0f;
    }
    }
    }
    }
    return true;
    }

    BOOL WINAPI test1(LPVOID) {
    Sleep(9800);
    try {
    DWORD dllfile = (DWORD)GetModuleHandleA("CShell.dll");
    if(dllfile == false) {
    throw 1;
    }
    }
    catch (int error) {
    switch(error) {
    case 1:
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)test1, NULL, NULL, NULL);
    return false;
    default:
    return true;
    }
    }
    Beep(1000,1000);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)hack1, NULL, NULL, NULL);
    return true;

Similar Threads

  1. Game crashes when it gets into connecting part.
    By avery2495 in forum Combat Arms Help
    Replies: 2
    Last Post: 07-16-2010, 06:48 PM
  2. Game crashes when I inject anything into it
    By djcynz in forum Call of Duty Modern Warfare 2 Help
    Replies: 6
    Last Post: 02-16-2010, 10:17 PM
  3. Game crashes when I use 1.0.168 patch,doesnt work when i use 1.0.59 (or something)
    By grp spartan 983 in forum Call of Duty Modern Warfare 2 Help
    Replies: 4
    Last Post: 12-06-2009, 02:03 PM
  4. game crashes when i click gamestart?
    By deezy427 in forum Combat Arms Help
    Replies: 11
    Last Post: 10-05-2009, 11:57 PM
  5. Why crossfire game crashed when i play with any program hack
    By goergemamdoh in forum CrossFire Hacks & Cheats
    Replies: 2
    Last Post: 08-31-2009, 07:30 AM