Results 1 to 3 of 3
  1. #1
    stewie997's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    Your Imagination
    Posts
    61
    Reputation
    10
    Thanks
    20
    My Mood
    Happy

    Exclamation Check my Code pls!

    herer is my source code! someone pls correct end give me! my first one

    #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 + 0x2AAE80) );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
    _asm
    {
    push szVal;
    call CONoff;
    add esp, 4;
    }
    }
    }
    DWORD WINAPI Main(LPVOID) {
    while(GetModuleHandleA("CShell.dll") == NULL ) {
    Sleep(150);
    }

    bool PlayerGlow = true;
    bool FogEnable = true;
    bool Nosmoke = true;
    bool Whitewalls = false;
    bool playerframe = true;
    bool worldframe = false;
    bool nosky = true;
    bool nogun = true;


    for(; {
    __asm pushad;
    if(GetAsyncKeyState(VK_NUMPAD1)&1) {
    PlayerGlow = !PlayerGlow;
    }
    if(GetAsyncKeyState(VK_NUMPAD2)&1) {
    FogEnable = !FogEnable;
    }
    if(GetAsyncKeyState(VK_NUMPAD3)&1) {
    Nosmoke = !Nosmoke;
    }
    if(GetAsyncKeyState(VK_NUMPAD4)&1) {
    Whitewalls = !Whitewalls;
    }
    if(GetAsyncKeyState(VK_NUMPAD5)&1) {
    playerframe = !playerframe;
    }
    if(GetAsyncKeyState(VK_NUMPAD6)&1) {
    worldframe = !worldframe;
    }
    if(GetAsyncKeyState(VK_NUMPAD7)&1) {
    nosky = !nosky;
    }
    if(GetAsyncKeyState(VK_NUMPAD8)&1) {
    nogun = !nogun;
    }

    if (Nosmoke) {
    PushToConsole("DrawParticles 1");
    }
    else {
    PushToConsole("DrawParticles 0");
    }

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

    }
    if (PlayerGlow) {
    PushToConsole("ScreenGlowEnable 1");
    }
    else {
    PushToConsole("ScreenGlowEnable 0");

    }
    if (Whitewalls) {
    PushToConsole("DrawFlat 0");
    }
    else {
    PushToConsole("DrawFlat 1");

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

    }
    if (nogun) {
    PushToConsole("DrawGuns 0");
    }
    else {
    PushToConsole("DrawGuns 1");

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

    }
    if (worldframe) {
    PushToConsole("WireFrame 1");
    }
    else {
    PushToConsole("WireFrame 0");
    }
    Sleep(100);
    __asm popad;
    }
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    MessageBoxA(0, "Stewie! By MPGH! ", "Hack is gonna Kick ASS WORK!!", 0);
    system("start mpgh.net");
    CreateThread(NULL, NULL,Main, NULL, NULL, NULL);
    }
    return TRUE;
    }
    Last edited by stewie997; 10-15-2010 at 07:05 AM. Reason: Spelling mistake

  2. #2
    empty130400's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    HELL
    Posts
    133
    Reputation
    10
    Thanks
    21
    My Mood
    Sneaky
    Quote Originally Posted by stewie997 View Post
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    MessageBoxA(0, "Stewie! By MPGH! ", "Hack is gonna Kick ASS WORK!!", 0);
    system("start crossfire-hacks.*********");
    CreateThread(NULL, NULL,Main, NULL, NULL, NULL);
    }
    return TRUE;
    }
    This is your code ? For mpgh ? check out the last line

  3. #3
    stewie997's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    Your Imagination
    Posts
    61
    Reputation
    10
    Thanks
    20
    My Mood
    Happy
    ups sry about that!

Similar Threads

  1. CODES PLS
    By okaccll in forum C++/C Programming
    Replies: 5
    Last Post: 08-07-2011, 04:20 PM
  2. Perx Injector Source Code pls?
    By CheatCreatorzz in forum CrossFire Spammers, Injectors and Multi Tools
    Replies: 14
    Last Post: 01-16-2011, 09:02 AM
  3. [Help] Can someone check my code plz!
    By kip3300 in forum WarRock Hack Source Code
    Replies: 2
    Last Post: 12-25-2010, 06:57 AM
  4. Check my code please.
    By Web-Designer in forum Visual Basic Programming
    Replies: 11
    Last Post: 11-02-2010, 03:15 PM
  5. Ckeck this code pls
    By Lukas59 in forum C++/C Programming
    Replies: 18
    Last Post: 10-22-2009, 10:47 AM