Results 1 to 13 of 13
  1. #1
    jeavy's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    9
    Reputation
    10
    Thanks
    1
    My Mood
    Blah

    Post pls help me to make my source code work pls

    #include <windows.h>
    #include <iostream>

    using namespace std;

    void __cdecl PushToConsole(char* szVal )
    {
    DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
    if( dwCShell.dll != NULL )// why it dident works pls help me alltimes i get thos os wrong so pro can help??
    {
    DWORD *LTClient = ( DWORD* )( (dwCShell + 0x299D40) );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
    _asm
    {
    push szVal;
    call CONoff;
    add esp, 4;
    }
    }
    }

    BOOL WINAPI Main (LPVOID)
    {
    bool boxes = true;
    bool nosky = false;
    bool worldframe = false;
    bool playerframe = false;
    bool nogun = false;
    bool Skeleton = false;
    bool FogEnable = false;
    bool CursorCenter = false;
    bool Nosmoke = true;
    while(1)
    {
    __asm pushad;
    if(GetAsyncKeyState(VK_NUMPAD1)&1)
    {
    boxes = !boxes;
    }
    if(GetAsyncKeyState(VK_NUMPAD2)&1)
    {
    nosky = !nosky;
    }
    if(GetAsyncKeyState(VK_NUMPAD3)&1)
    {
    worldframe = !worldframe;
    }
    if(GetAsyncKeyState(VK_NUMPAD4)&1)
    {
    playerframe = !playerframe;
    }
    if(GetAsyncKeyState(VK_NUMPAD6)&1)
    {
    Skeleton = !Skeleton;
    }
    if(GetAsyncKeyState(VK_NUMPAD7)&1)
    {
    FogEnable = !FogEnable;
    }
    if(GetAsyncKeyState(VK_NUMPAD8)&1)
    {
    CursorCenter = !CursorCenter;
    }
    if(GetAsyncKeyStade(VK_Numped3)&1)
    {
    NoSmoke = !NoSmoke;
    }
    if (NoSmoke)
    ("DrawParticles 1");// alltimes on
    else
    ("DrawParticles 1");
    if (CursorCenter)
    PushToConsole("CursorCenter 1");
    else
    PushToConsole("CursorCenter 0");

    if (FogEnable)
    PushToConsole("FogEnable 1");
    else
    PushToConsole("FogEnable 0");

    if (Skeleton) {
    PushToConsole("ModelDebug_DrawSkeleton 1");
    }
    else {
    PushToConsole("ModelDebug_DrawSkeleton 0");
    }
    if (boxes)
    PushToConsole("ModelDebug_DrawBoxes 1");// it shout be alltimes on so i put 1 and 1
    else
    PushToConsole("ModelDebug_DrawBoxes 1");

    if (nosky)
    PushToConsole("DrawSky 0");
    else
    PushToConsole("DrawSky 1");

    if (worldframe)
    PushToConsole("WireFrame 1");
    else
    PushToConsole("WireFrame 0");

    if (playerframe)
    PushToConsole("WireFrameModels 1");
    else
    PushToConsole("WireFrameModels 0");

    if (nogun)
    PushToConsole("DrawGuns 0");
    else
    PushToConsole("DrawGuns 1");
    __asm popad;

    Sleep(100);
    }
    }

    bool Ready(void)
    {
    if( GetModuleHandleA("CShell.dll")!= NULL)
    return true;
    return false;
    }

    DWORD WINAPI dwMainThread(LPVOID)
    {
    while (!Ready())
    Sleep(200);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
    return 0;
    }

    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    MessageBoxA(0, "jany", "Injected", 0);
    CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
    }



    wahts wrong i dont know helpü my this is my first try

  2. #2
    TheFallenOwns's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    149
    Reputation
    10
    Thanks
    43
    ok i see more than one but
    dwCShell.dll
    should just be
    dwCShell

    also
    ("DrawParticles 1"); would make it so it shows smoke
    ("DrawParticles 0"); would make no smoke
    pretty much your telling the console to turn off particle drawing
    smoke dust ect is a particle
    Last edited by TheFallenOwns; 08-13-2010 at 02:41 PM.

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

    jeavy (08-13-2010)

  4. #3
    lauwy's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    522
    Reputation
    19
    Thanks
    1,106
    Or do you mean that you have an error?
    Need some help to get back on track

    Find the pointer to the D3D9 Device (Not usefull for Cross)

    https://www.mpgh.net/forum/242-crossf...ice-lauwy.html

    Fix olly if scanning doesn't work

    https://www.mpgh.net/forum/242-crossf...ing-fails.html

    Unpack cshell.dll

    https://www.mpgh.net/forum/242-crossf...shell-dll.html

  5. #4
    Threadstarter
    Unverified User
    jeavy's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    9
    Reputation
    10
    Thanks
    1
    My Mood
    Blah
    i over ride evrything and its bee right but my old pc is down can someone change it to the hack?? and post it???
    :
    #include <windows.h>
    #include <iostream>

    using namespace std;

    void __cdecl PushToConsole(char* szVal )
    {
    DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
    if( dwCShell != NULL )
    {
    DWORD *LTClient = ( DWORD* )( (dwCShell + 0x299D40) );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
    _asm
    {
    push szVal;
    call CONoff;
    add esp, 4;
    }
    }
    }

    BOOL WINAPI Main (LPVOID)
    {
    bool boxes = true;
    bool nosky = false;
    bool worldframe = false;
    bool playerframe = false;
    bool nogun = false;
    bool Skeleton = false;
    bool FogEnable = false;
    bool CursorCenter = false;
    bool Nosmoke = true;
    while(1)
    {
    __asm pushad;
    if(GetAsyncKeyState(VK_K)&1) // work this as hotkey or is numped better
    {
    boxes = !boxes;
    }
    if(GetAsyncKeyState(VK_NUMPAD2)&1)
    {
    nosky = !nosky;
    }
    if(GetAsyncKeyState(VK_NUMPAD3)&1)
    {
    worldframe = !worldframe;
    }
    if(GetAsyncKeyState(VK_NUMPAD4)&1)
    {
    playerframe = !playerframe;
    }
    if(GetAsyncKeyState(VK_NUMPAD6)&1)
    {
    Skeleton = !Skeleton;
    }
    if(GetAsyncKeyState(VK_NUMPAD7)&1)
    {
    FogEnable = !FogEnable;
    }
    if(GetAsyncKeyState(VK_NUMPAD8)&1)
    {
    CursorCenter = !CursorCenter;
    }
    if(GetAsyncKeyStade(VK_J)&1)
    {
    NoSmoke = !NoSmoke;
    }
    if (NoSmoke)
    PushToConsole("DrawParticles 0");// alltimes on
    else
    PushToConsole("DrawParticles 1");
    if (CursorCenter)
    PushToConsole("CursorCenter 1");
    else
    PushToConsole("CursorCenter 0");

    if (FogEnable)
    PushToConsole("FogEnable 1");
    else
    PushToConsole("FogEnable 0");

    if (Skeleton) {
    PushToConsole("ModelDebug_DrawSkeleton 1");
    }
    else {
    PushToConsole("ModelDebug_DrawSkeleton 0");
    }
    if (boxes)
    PushToConsole("ModelDebug_DrawBoxes 1");// it shout be on wehn is start and i want too can turn off that works??
    else
    PushToConsole("ModelDebug_DrawBoxes 0");

    if (nosky)
    PushToConsole("DrawSky 0");
    else
    PushToConsole("DrawSky 1");

    if (worldframe)
    PushToConsole("WireFrame 1");
    else
    PushToConsole("WireFrame 0");

    if (playerframe)
    PushToConsole("WireFrameModels 1");
    else
    PushToConsole("WireFrameModels 0");

    if (nogun)
    PushToConsole("DrawGuns 0");
    else
    PushToConsole("DrawGuns 1");
    __asm popad;

    Sleep(100);
    }
    }

    bool Ready(void)
    {
    if( GetModuleHandleA("CShell.dll")!= NULL)
    return true;
    return false;
    }

    DWORD WINAPI dwMainThread(LPVOID)
    {
    while (!Ready())
    Sleep(200);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
    return 0;
    }

    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    MessageBoxA(0, "codet by jany,boxes no smoke altimes on", "injekted and aktiv", 0);

  6. #5
    sirwinalot00's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Uk > yorkshire (outskirts of hull)
    Posts
    205
    Reputation
    10
    Thanks
    22
    My Mood
    Chatty
    You just gave out a Good hack that choobs can steal, Nice.. But i wont steal.. I dont even know how to do this crap xD Please teach meh xD
    ALWAYS PRESS THANKS NOT SAY IT!


    Respect list

    Overdrivejt - For his brilliant hacks 100% work

    J0shin707 - For helping me in Teaching me!

    -Simple Own- Ima make you the best crossfire player!

    = no
    = yes

    Make a patched hack work ()

    Help 5 people ()
    Help 10 people ()
    Help 20 people ()

    Know how to hack ()

    Been kicked by hacking ()
    Been kicked without hacking (/me)

    Been banned :O?! ()
    Been banned off MPGH!??! NO WAY!()


  7. #6
    lauwy's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    522
    Reputation
    19
    Thanks
    1,106
    You mis the last part :S

    And you misstyped a lot..
    Ans VK_J - VK_K is nothing.

    Code:
    #include <windows.h>
    #include <iostream>
    
    using namespace std;
    
    void __cdecl PushToConsole(char* szVal )
    {
    DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
    if( dwCShell != NULL )
    {
    DWORD *LTClient = ( DWORD* )( (dwCShell + 0x299D40) );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
    _asm
    {
    push szVal;
    call CONoff;
    add esp, 4;
    }
    }
    }
    
    BOOL WINAPI Main (LPVOID)
    {
    bool boxes = true;
    bool nosky = false;
    bool worldframe = false;
    bool playerframe = false;
    bool nogun = false;
    bool Skeleton = false;
    bool FogEnable = false;
    bool CursorCenter = false;
    bool NoSmoke = true;
    while(1)
    {
    __asm pushad;
    if(GetAsyncKeyState(VK_NUMPAD1)&1) // work this as hotkey or is numped better
    {
    boxes = !boxes;
    }
    if(GetAsyncKeyState(VK_NUMPAD2)&1)
    {
    nosky = !nosky;
    }
    if(GetAsyncKeyState(VK_NUMPAD3)&1)
    {
    worldframe = !worldframe;
    }
    if(GetAsyncKeyState(VK_NUMPAD4)&1)
    {
    playerframe = !playerframe;
    }
    if(GetAsyncKeyState(VK_NUMPAD6)&1)
    {
    Skeleton = !Skeleton;
    }
    if(GetAsyncKeyState(VK_NUMPAD7)&1)
    {
    FogEnable = !FogEnable;
    }
    if(GetAsyncKeyState(VK_NUMPAD8)&1)
    {
    CursorCenter = !CursorCenter;
    }
    if(GetAsyncKeyState(VK_NUMPAD9)&1)
    {
    NoSmoke = !NoSmoke;
    }
    if (NoSmoke)
    PushToConsole("DrawParticles 0");// alltimes on
    else
    PushToConsole("DrawParticles 1");
    if (CursorCenter)
    PushToConsole("CursorCenter 1");
    else
    PushToConsole("CursorCenter 0");
    
    if (FogEnable)
    PushToConsole("FogEnable 1");
    else
    PushToConsole("FogEnable 0");
    
    if (Skeleton) {
    PushToConsole("ModelDebug_DrawSkeleton 1");
    }
    else {
    PushToConsole("ModelDebug_DrawSkeleton 0");
    }
    if (boxes)
    PushToConsole("ModelDebug_DrawBoxes 1");// it shout be on wehn is start and i want too can turn off that works?? 
    else
    PushToConsole("ModelDebug_DrawBoxes 0");
    
    if (nosky)
    PushToConsole("DrawSky 0");
    else
    PushToConsole("DrawSky 1");
    
    if (worldframe)
    PushToConsole("WireFrame 1");
    else
    PushToConsole("WireFrame 0");
    
    if (playerframe)
    PushToConsole("WireFrameModels 1");
    else
    PushToConsole("WireFrameModels 0");
    
    if (nogun)
    PushToConsole("DrawGuns 0");
    else
    PushToConsole("DrawGuns 1");
    __asm popad;
    
    Sleep(100);
    }
    }
    
    bool Ready(void)
    {
    if( GetModuleHandleA("CShell.dll")!= NULL)
    return true;
    return false;
    }
    
    DWORD WINAPI dwMainThread(LPVOID)
    {
    while (!Ready())
    Sleep(200);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
    return 0;
    }
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    MessageBoxA(0, "codet by jany,boxes no smoke altimes on", "injekted and aktiv", 0);
    }
    }

    @sir, why not (a) and it is not so hard :P
    Last edited by lauwy; 08-14-2010 at 04:56 AM.
    Need some help to get back on track

    Find the pointer to the D3D9 Device (Not usefull for Cross)

    https://www.mpgh.net/forum/242-crossf...ice-lauwy.html

    Fix olly if scanning doesn't work

    https://www.mpgh.net/forum/242-crossf...ing-fails.html

    Unpack cshell.dll

    https://www.mpgh.net/forum/242-crossf...shell-dll.html

  8. #7
    Threadstarter
    Unverified User
    jeavy's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    9
    Reputation
    10
    Thanks
    1
    My Mood
    Blah

    halp me with source code

    #include <windows.h>
    #include <iostream>

    using namespace std;

    void __cdecl PushToConsole(char* szVal )
    {
    DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
    if( dwCShell != NULL )// why it dident works pls help me alltimes i get thos os wrong so pro can help??
    {
    DWORD *LTClient = ( DWORD* )( (dwCShell + 0x299D40) );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
    _asm
    {
    push szVal;
    call CONoff;
    add esp, 4;
    }
    }
    }

    BOOL WINAPI Main (LPVOID)
    {
    bool boxes = true;
    bool nosky = false;
    bool worldframe = false;
    bool playerframe = false;
    bool nogun = false;
    bool Skeleton = false;
    bool FogEnable = false;
    bool CursorCenter = false;
    bool Nosmoke = true;
    while(1)
    {
    __asm pushad;
    if(GetAsyncKeyState(VK_NUMPAD1)&1)
    {
    boxes = !boxes;
    }
    if(GetAsyncKeyState(VK_NUMPAD2)&1)
    {
    nosky = !nosky;
    }
    if(GetAsyncKeyState(VK_NUMPAD9)&1)
    {
    worldframe = !worldframe;
    }
    if(GetAsyncKeyState(VK_NUMPAD4)&1)
    {
    playerframe = !playerframe;
    }
    if(GetAsyncKeyState(VK_NUMPAD6)&1)
    {
    Skeleton = !Skeleton;
    }
    if(GetAsyncKeyState(VK_NUMPAD7)&1)
    {
    FogEnable = !FogEnable;
    }
    if(GetAsyncKeyState(VK_NUMPAD8)&1)
    {
    CursorCenter = !CursorCenter;
    }
    if(GetAsyncKeyStade(VK_Numped3)&1)
    {
    NoSmoke = !NoSmoke;
    }
    if (NoSmoke)
    PushToConsole("DrawParticles 0");// alltimes on
    else
    PushToConsole("DrawParticles 1");
    if (CursorCenter)
    PushToConsole("CursorCenter 1");
    else
    PushToConsole("CursorCenter 0");

    if (FogEnable)
    PushToConsole("FogEnable 1");
    else
    PushToConsole("FogEnable 0");

    if (Skeleton) {
    PushToConsole("ModelDebug_DrawSkeleton 1");
    }
    else {
    PushToConsole("ModelDebug_DrawSkeleton 0");
    }
    if (boxes)
    PushToConsole("ModelDebug_DrawBoxes 1");// it shout be alltimes on so i put 1 and 1
    else
    PushToConsole("ModelDebug_DrawBoxes 1");

    if (nosky)
    PushToConsole("DrawSky 0");
    else
    PushToConsole("DrawSky 1");

    if (worldframe)
    PushToConsole("WireFrame 1");
    else
    PushToConsole("WireFrame 0");

    if (playerframe)
    PushToConsole("WireFrameModels 1");
    else
    PushToConsole("WireFrameModels 0");

    if (nogun)
    PushToConsole("DrawGuns 0");
    else
    PushToConsole("DrawGuns 1");
    __asm popad;

    Sleep(100);
    }
    }

    bool Ready(void)
    {
    if( GetModuleHandleA("CShell.dll")!= NULL)
    return true;
    return false;
    }

    DWORD WINAPI dwMainThread(LPVOID)
    {
    while (!Ready())
    Sleep(200);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
    return 0;
    }

    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    MessageBoxA(0, "codet by jany(overcf orginal),boxes no smoke altimes on", "Injected", 0);

    guys help me to make this machin codes to a working hack
    xD i am to .. silly my c++ suks help me berfore i get cracy loud up or send me the hack after finish i wana mack in finish

  9. #8
    TheFallenOwns's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    149
    Reputation
    10
    Thanks
    43
    learn C++ i wont help you any more

  10. #9
    Threadstarter
    Unverified User
    jeavy's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    9
    Reputation
    10
    Thanks
    1
    My Mood
    Blah
    okay xD i am bed some one else

  11. #10
    lauwy's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    522
    Reputation
    19
    Thanks
    1,106
    Dude, I fixt your hack, xD and then you post it again :S
    Need some help to get back on track

    Find the pointer to the D3D9 Device (Not usefull for Cross)

    https://www.mpgh.net/forum/242-crossf...ice-lauwy.html

    Fix olly if scanning doesn't work

    https://www.mpgh.net/forum/242-crossf...ing-fails.html

    Unpack cshell.dll

    https://www.mpgh.net/forum/242-crossf...shell-dll.html

  12. #11
    knightlvx's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    belguim
    Posts
    283
    Reputation
    10
    Thanks
    36
    My Mood
    Cool
    yeah can someone teach me where i need to put the source codes in?


    Leader of BlaZe!

    ----------------------------------->I'm Gonne Snipe you Down!<----------------------------------

  13. #12
    mrkiller2010's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    In CrossFire
    Posts
    724
    Reputation
    12
    Thanks
    311
    My Mood
    Yeehaw
    Loll hahah lauwy nice helop

  14. #13
    lauwy's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    522
    Reputation
    19
    Thanks
    1,106
    I'm bored :P haha

    @knightlvx I made a video. watch that one.
    Need some help to get back on track

    Find the pointer to the D3D9 Device (Not usefull for Cross)

    https://www.mpgh.net/forum/242-crossf...ice-lauwy.html

    Fix olly if scanning doesn't work

    https://www.mpgh.net/forum/242-crossf...ing-fails.html

    Unpack cshell.dll

    https://www.mpgh.net/forum/242-crossf...shell-dll.html

Similar Threads

  1. Replies: 4
    Last Post: 06-13-2010, 01:31 PM
  2. Replies: 7
    Last Post: 01-17-2010, 07:16 AM
  3. Can anyone help me get combat arms source codes that arent patched?
    By nikith988 in forum General Game Hacking
    Replies: 2
    Last Post: 11-05-2009, 10:48 PM
  4. Help with source code! Easy fast scope bot!
    By Zoom in forum C++/C Programming
    Replies: 22
    Last Post: 08-21-2009, 09:06 PM
  5. help to make a promo code generator
    By rebell07 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 07-11-2007, 04:44 PM