Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 47
  1. #31
    Assassin's Creed's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    1,210
    Reputation
    54
    Thanks
    1,408
    My Mood
    Worried
    Quote Originally Posted by 258456 View Post
    Wow, really? Three pages and nobody has told him that he's crashing because he never did a simple pointer check? Well, ya, that's ur problem. It's like memory editing 101, if you are going to write something to memory ALWAYS check if it is valid because if it's not then you're writing to a invalid space in memory and that's why cf crashes.
    he already fixed the crashing
     

    Contributer Since 20/2/2012
    MPGH Member Since December 2011

     





     

    offical thread> Assassin V15<

    To all People who thinks am a leecher,hate me,are jelly from me....
    Refer to this thread...
    https://www.mpgh.net/forum/232-crossf...stop-hate.html

  2. #32
    derh.acker's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    localhost
    Posts
    826
    Reputation
    14
    Thanks
    616
    My Mood
    Angelic
    There is no GhostMgr. It is called BasicPlayerInformation.
    BasicPlayerInformation is a pointer to a struct.

  3. The Following User Says Thank You to derh.acker For This Useful Post:

    [[SeXergy]] (01-02-2012)

  4. #33
    Fabii's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    30
    Reputation
    11
    Thanks
    63
    My Mood
    Bored
    make it like Cfhackerfree but change

    DWORD GhostMgr = *(DWORD*)(CShell + 0xA021F8);

    and it work!

  5. #34
    derh.acker's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    localhost
    Posts
    826
    Reputation
    14
    Thanks
    616
    My Mood
    Angelic
    I use patterns

  6. #35
    CFhackerfree's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Germany
    Posts
    801
    Reputation
    22
    Thanks
    4,417
    My Mood
    Happy
    Quote Originally Posted by _corn_ View Post
    is this right:
    Code:
    #define GhostMgr 0xA021F8
    yeah you have the rigth pointer

  7. #36
    _corn_'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    0x0C482BF2
    Posts
    673
    Reputation
    13
    Thanks
    294
    My Mood
    Brooding
    ok thanks for replies everyone, but look at this code:

    Code:
    void doHack()
    {
        DWORD CShell = NULL;
        DWORD GhostMgr = NULL;
        while(CShell==NULL)
        {
            CShell = (DWORD)GetModuleHandleA("CShell.dll");
            Sleep(100);
        }
        GhostMgr = *(DWORD*)(CShell + 0xA021F8);
        bool SeeGhosts = true;
        if(GhostMgr == NULL)
        {
            MessageBoxA(NULL, "cGhostMgr == NULL", "Error", MB_OK);
        }
    
        while (1)
        {
            if(SeeGhosts)
            {
                if(GhostMgr != NULL)
                {
                    *(float*)(GhostMgr + 0x88) = 300.0f;
                    *(float*)(GhostMgr + 0x8C) = 300.0f;
                    *(float*)(GhostMgr + 0x90) = 300.0f;
                }
            }
            Sleep(100);
        }
    }
    The messagebox shows up, saying that the GhostMgr is NULL. Therefore, the hack will do nothing. Why is it null?

    Also, is this correct:
    (CShell + 0xA021F8) is a pointer to a DWORD, and the DWORD is a pointer to a float, and the float is the see ghosts value which we set to 300.0f

  8. #37
    [[SeXergy]]'s Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    417
    Reputation
    27
    Thanks
    130
    My Mood
    Sneaky
    Dont do Ghost mgr do -> BasicPlayerInfo

    So
    Code:
    DWORD BasicPlayerInfo =*(DWORD*)(CShell+0xA021F8);

  9. #38
    258456's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    ghjghj
    Posts
    1,222
    Reputation
    18
    Thanks
    300
    My Mood
    Relaxed
    Quote Originally Posted by Assassin's Creed View Post

    he already fixed the crashing
    Nobody told him why. ur just givin him leeched code.

  10. #39
    _corn_'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    0x0C482BF2
    Posts
    673
    Reputation
    13
    Thanks
    294
    My Mood
    Brooding
    Quote Originally Posted by [[SeXergy]] View Post
    Dont do Ghost mgr do -> BasicPlayerInfo

    So
    Code:
    DWORD BasicPlayerInfo =*(DWORD*)(CShell+0xA021F8);
    Does it matter what the variable is called??????

  11. #40
    _corn_'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    0x0C482BF2
    Posts
    673
    Reputation
    13
    Thanks
    294
    My Mood
    Brooding
    Quote Originally Posted by 258456 View Post
    Wow, really? Three pages and nobody has told him that he's crashing because he never did a simple pointer check? Well, ya, that's ur problem. It's like memory editing 101, if you are going to write something to memory ALWAYS check if it is valid because if it's not then you're writing to a invalid space in memory and that's why cf crashes.
    Well, why is the pointer to GhostMgr NULL??? What good is it if its NULL?

  12. #41
    258456's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    ghjghj
    Posts
    1,222
    Reputation
    18
    Thanks
    300
    My Mood
    Relaxed
    Quote Originally Posted by _corn_ View Post
    Well, why is the pointer to GhostMgr NULL??? What good is it if its NULL?
    Like the player class, it's null until you enter a game. The pointer can be NULL because it isn't being used obviously. Even if you know it isn't null check anyway. U'll thank me later.

  13. The Following User Says Thank You to 258456 For This Useful Post:

    _corn_ (01-03-2012)

  14. #42
    _corn_'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    0x0C482BF2
    Posts
    673
    Reputation
    13
    Thanks
    294
    My Mood
    Brooding
    @258456
    Ok I understand, thanks heaps for your help!!! (+1) Finally someone who actually reads the question and helps me!!!!!!!! (@Assassin's Creed and @CFhackerfree and others (sorry if I forgot you) are also very helpful)

    The hack still doesn't work though. Here is the code, please check:

    Code:
    #include <windows.h>
    
    void doHack()
    {
        DWORD CShell = NULL;
        while(CShell==NULL)
        {
            CShell = (DWORD)GetModuleHandleA("CShell.dll");
            Sleep(100);
        }
        DWORD BasicPlayerInfo = *(DWORD*)(CShell+0xA021F8);
        bool SeeGhosts = true;
        while (1)
        {
            if(SeeGhosts)
            {
                if(BasicPlayerInfo != NULL)
                {
                    *(PFLOAT)(BasicPlayerInfo + 0x88) = 300.0f;
                    *(PFLOAT)(BasicPlayerInfo + 0x8C) = 300.0f;
                    *(PFLOAT)(BasicPlayerInfo + 0x90) = 300.0f;
                }
            }
            Sleep(100);
        }
    }
    
    
    extern "C" __declspec(dllexport) BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
    {
        if(fdwReason==DLL_PROCESS_ATTACH)
        {
            DisableThreadLibraryCalls(hinstDLL);
            CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)doHack, NULL, NULL, NULL);
            char Msg[] = {'H', 'a', 'c', 'k', ' ', 'b', 'y', ' ', '_', 'c', 'o', 'r', 'n', '_', '\0'};
            char Title[] = {'I', 'n', 'j', 'e', 'c', 't', 'e', 'd', '\0'};
            MessageBox(NULL, Msg, Title, MB_OK);
        }
        return TRUE; // succesful
    }
    This code is very simple, and should work.... what am I doing wrong?? I can get none of my hacks to work, there must be a simple solution, and when it is solved, I can start making and releasing hacks!! Can't wait
    Last edited by _corn_; 01-03-2012 at 02:46 AM.

  15. #43
    Brimir's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    357
    Reputation
    21
    Thanks
    281
    Do you get your injected messange?
    No: change your DLL main. Never saw a head like that before.

    Does he reach to the mem changes?

    Do you get a Xtrap error?
    Thanks @~FALLEN~ for helping me
    Thanks @Shakai for helping me

    Other nice ppl:
    @258456
    @giniyat101

    My usefull posts:
    Byte scanner
    How to make a logger
    Hook example
    How to make a memhack base
    How to use classes with memhacking
    Addie finder

  16. #44
    _corn_'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    0x0C482BF2
    Posts
    673
    Reputation
    13
    Thanks
    294
    My Mood
    Brooding
    @Brimir Yes, message appears, the funny dllmain bit is because i am using code::blocks.
    No Xtrap error.
    How do I tell if it reaches the mem changes?

  17. #45
    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 _corn_ View Post
    @258456
    Ok I understand, thanks heaps for your help!!! (+1) Finally someone who actually reads the question and helps me!!!!!!!! (@Assassin's Creed and @CFhackerfree and others (sorry if I forgot you) are also very helpful)

    The hack still doesn't work though. Here is the code, please check:

    Code:
    #include <windows.h>
    
    void doHack()
    {
        DWORD CShell = NULL;
        while(CShell==NULL)
        {
            CShell = (DWORD)GetModuleHandleA("CShell.dll");
            Sleep(100);
        }
        DWORD BasicPlayerInfo = *(DWORD*)(CShell+0xA021F8);
        bool SeeGhosts = true;
        while (1)
        {
            if(SeeGhosts)
            {
                if(BasicPlayerInfo != NULL)
                {
                    *(PFLOAT)(BasicPlayerInfo + 0x88) = 300.0f;
                    *(PFLOAT)(BasicPlayerInfo + 0x8C) = 300.0f;
                    *(PFLOAT)(BasicPlayerInfo + 0x90) = 300.0f;
                }
            }
            Sleep(100);
        }
    }
    
    
    extern "C" __declspec(dllexport) BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
    {
        if(fdwReason==DLL_PROCESS_ATTACH)
        {
            DisableThreadLibraryCalls(hinstDLL);
            CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)doHack, NULL, NULL, NULL);
            char Msg[] = {'H', 'a', 'c', 'k', ' ', 'b', 'y', ' ', '_', 'c', 'o', 'r', 'n', '_', '\0'};
            char Title[] = {'I', 'n', 'j', 'e', 'c', 't', 'e', 'd', '\0'};
            MessageBox(NULL, Msg, Title, MB_OK);
        }
        return TRUE; // succesful
    }
    This code is very simple, and should work.... what am I doing wrong?? I can get none of my hacks to work, there must be a simple solution, and when it is solved, I can start making and releasing hacks!! Can't wait
    you made a simple mistake..
    DWORD BasicPlayerInfo = *(DWORD*)(CShell+0xA021F8);
    this line is the one causing the mistake
    because you didnt put it in the loop
    means it will be executed once and propably will cause BasicPlayerInfo to equal NULL and your code wont execute
    so move this line after while(1){
    put press thanks first!


     



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

  18. The Following 2 Users Say Thank You to giniyat101 For This Useful Post:

    Assassin's Creed (01-03-2012),_corn_ (01-03-2012)

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. [Request] See Ghost Hack Request
    By vtrang1 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 6
    Last Post: 12-30-2011, 12:31 PM
  2. NEED A SEE GHOST HACK
    By frycook89 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 2
    Last Post: 09-28-2011, 05:41 PM
  3. Can someone make a wallhack & See Ghost hack??
    By asdqwe1234 in forum CrossFire Help
    Replies: 2
    Last Post: 06-10-2011, 09:44 PM
  4. For questions about the Code of WallHak + See Ghost in the Crossfire
    By vailozchinsu in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 8
    Last Post: 10-03-2010, 01:14 PM
  5. how do i get a see ghost hack
    By john5207 in forum CrossFire Hacks & Cheats
    Replies: 6
    Last Post: 07-08-2009, 10:09 PM