Results 1 to 15 of 15
  1. #1
    killer660's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    2
    My Mood
    Amazed

    What is wrong with this code!

    I made this code but what is wrong with it




    #include <windows.h>

    bool change = false;
    One Hit Kill = false;

    while(1) {
    DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
    DWORD pLtClient = *(DWORD*)(CShell + Your addy here

    if(GetAsyncKeyState(VK_F1) || GetAsyncKeyState(VK_F1) &1) { OneHitKill = true; Beep(550, 120); }
    if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F2) &1) {Change = true; Beep(550, 120); }
    if(Change) {
    if (Addy) {
    for(int i=0; i<445; i++) {
    if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA287A8))+ (4*i) )) + addy) = 9999;
    }
    }
    }

    if(OneHitKill) {
    if (addy) {
    for(int i=0; i<445; i++) {
    if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+addy))+(4* i))) + addy) = 99999;
    }
    }


    }

    }


    }
    DWORD WINAPI loadddd(LPVOID) {
    while(GetModuleHandleA("CShell.dll") == NULL) {
    Sleep(150);
    }

    Sleep(100);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
    return 0;
    }

    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
    DisableThreadLibraryCalls(hDll);

    if ( dwReason == DLL_PROCESS_ATTACH ) {
    MessageBoxA(0,"Coded by Hacker2236","Injected", 0);
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)loadddd,0 ,0,0);
    }

    return true;
    }
    Last edited by killer660; 07-31-2011 at 03:49 PM.

  2. #2
    CFhackerfree's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Germany
    Posts
    801
    Reputation
    22
    Thanks
    4,417
    My Mood
    Happy
    bool change = false;
    One Hit Kill = false; its wrong make that
    bool change = false,
    One Hit Kill = false;

    And 1 hit oMG value 99999==??? xDDDDDD
    make it 999.0f;
    And the value change hahaha not 9999
    make 100 our 1000

    this base is leeched why give not swift credits???
    Last edited by CFhackerfree; 07-31-2011 at 03:55 PM.

  3. #3
    killer660's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    2
    My Mood
    Amazed

    it wont works

    Quote Originally Posted by CFhackerfree View Post
    And 1 hit oMG value 99999==??? xDDDDDD
    make it 999.0f;
    And the value change hahaha not 9999
    make 100 our 1000

    this base is leeched why give not swift credits???
    how give me the code with the msgbox with credits



    #include <windows.h>

    bool change = false,
    One Hit Kill = false;

    while(1) {
    DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
    DWORD pLtClient = *(DWORD*)(CShell + Your addy here

    if(GetAsyncKeyState(VK_F1) || GetAsyncKeyState(VK_F1) &1) { OneHitKill = true; Beep(550, 120); }
    if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F2) &1) {Change = true; Beep(550, 120); }
    if(Change) {
    if (Addy) {
    for(int i=0; i<445; i++) {
    if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA287A8))+ (4*i) )) + addy) = 9999;
    }
    }
    }

    if(OneHitKill) {
    if (addy) {
    for(int i=0; i<445; i++) {
    if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+addy))+(4* i))) + addy) = 99999;
    }
    }


    }

    }


    }
    DWORD WINAPI loadddd(LPVOID) {
    while(GetModuleHandleA("CShell.dll") == NULL) {
    Sleep(150);
    }

    Sleep(100);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
    return 0;
    }

    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
    DisableThreadLibraryCalls(hDll);

    if ( dwReason == DLL_PROCESS_ATTACH ) {
    MessageBoxA(0,"Coded by Hacker2236","Injected", 0);
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)loadddd,0 ,0,0);
    }

    return true;
    }


    still wont work

    1>------ Build started: Project: TEST L0L, Configuration: Release Win32 ------
    1> TEST.cpp
    1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Hit'
    1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Kill'
    1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>TEST.cpp(6): error C2059: syntax error : 'while'
    1>TEST.cpp(6): error C2143: syntax error : missing ';' before '{'
    1>TEST.cpp(6): error C2447: '{' : missing function header (old-style formal list?)
    1>TEST.cpp(35): error C2059: syntax error : '}'
    1>TEST.cpp(35): error C2143: syntax error : missing ';' before '}'
    1>TEST.cpp(35): error C2059: syntax error : '}'
    1>TEST.cpp(36): error C2143: syntax error : missing ';' before '{'
    1>TEST.cpp(36): error C2447: '{' : missing function header (old-style formal list?)
    1>TEST.cpp(51): error C2065: 'loadddd' : undeclared identifier
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    [QUOTE=killer660;4770185]how give me the code with the msgbox with credits



    1>------ Build started: Project: TEST L0L, Configuration: Release Win32 ------
    1> TEST.cpp
    1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Hit'
    1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Kill'
    1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>TEST.cpp(6): error C2059: syntax error : 'while'
    1>TEST.cpp(6): error C2143: syntax error : missing ';' before '{'
    1>TEST.cpp(6): error C2447: '{' : missing function header (old-style formal list?)
    1>TEST.cpp(35): error C2059: syntax error : '}'
    1>TEST.cpp(35): error C2143: syntax error : missing ';' before '}'
    1>TEST.cpp(35): error C2059: syntax error : '}'
    1>TEST.cpp(36): error C2143: syntax error : missing ';' before '{'
    1>TEST.cpp(36): error C2447: '{' : missing function header (old-style formal list?)
    1>TEST.cpp(51): error C2065: 'loadddd' : undeclared identifier
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Last edited by killer660; 07-31-2011 at 04:04 PM.

  4. #4
    Solo's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    2,133
    Reputation
    64
    Thanks
    383
    My Mood
    Cold
    You haven't defined any addys...
    Nipples

  5. #5
    killer660's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    2
    My Mood
    Amazed
    Quote Originally Posted by Dyme View Post
    You haven't defined any addys...


    can u help me and u message me the code after u are done

  6. #6
    CFhackerfree's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Germany
    Posts
    801
    Reputation
    22
    Thanks
    4,417
    My Mood
    Happy
    [quote=killer660;4770185]how give me the code with the msgbox with credits



    #include <windows.h>

    bool change = false,
    One Hit Kill = false;

    while(1) {
    DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
    DWORD pLtClient = *(DWORD*)(CShell + Your addy here

    if(GetAsyncKeyState(VK_F1) || GetAsyncKeyState(VK_F1) &1) { OneHitKill = true; Beep(550, 120); }
    if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F2) &1) {Change = true; Beep(550, 120); }
    if(Change) {
    if (Addy) {
    for(int i=0; i<445; i++) {
    if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA287A8))+ (4*i) )) + addy) = 9999;
    }
    }
    }

    if(OneHitKill) {
    if (addy) {
    for(int i=0; i<445; i++) {
    if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+addy))+(4* i))) + addy) = 99999;
    }
    }


    }

    }


    }
    DWORD WINAPI loadddd(LPVOID) {
    while(GetModuleHandleA("CShell.dll") == NULL) {
    Sleep(150);
    }

    Sleep(100);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
    return 0;
    }

    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
    DisableThreadLibraryCalls(hDll);

    if ( dwReason == DLL_PROCESS_ATTACH ) {
    MessageBoxA(0,"Coded by Hacker2236","Injected", 0);
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)loadddd,0 ,0,0);
    }

    return true;
    }


    still wont work

    1>------ Build started: Project: TEST L0L, Configuration: Release Win32 ------
    1> TEST.cpp
    1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Hit'
    1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Kill'
    1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>TEST.cpp(6): error C2059: syntax error : 'while'
    1>TEST.cpp(6): error C2143: syntax error : missing ';' before '{'
    1>TEST.cpp(6): error C2447: '{' : missing function header (old-style formal list?)
    1>TEST.cpp(35): error C2059: syntax error : '}'
    1>TEST.cpp(35): error C2143: syntax error : missing ';' before '}'
    1>TEST.cpp(35): error C2059: syntax error : '}'
    1>TEST.cpp(36): error C2143: syntax error : missing ';' before '{'
    1>TEST.cpp(36): error C2447: '{' : missing function header (old-style formal list?)
    1>TEST.cpp(51): error C2065: 'loadddd' : undeclared identifier
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    Quote Originally Posted by killer660 View Post
    how give me the code with the msgbox with credits



    1>------ Build started: Project: TEST L0L, Configuration: Release Win32 ------
    1> TEST.cpp
    1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Hit'
    1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Kill'
    1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>TEST.cpp(6): error C2059: syntax error : 'while'
    1>TEST.cpp(6): error C2143: syntax error : missing ';' before '{'
    1>TEST.cpp(6): error C2447: '{' : missing function header (old-style formal list?)
    1>TEST.cpp(35): error C2059: syntax error : '}'
    1>TEST.cpp(35): error C2143: syntax error : missing ';' before '}'
    1>TEST.cpp(35): error C2059: syntax error : '}'
    1>TEST.cpp(36): error C2143: syntax error : missing ';' before '{'
    1>TEST.cpp(36): error C2447: '{' : missing function header (old-style formal list?)
    1>TEST.cpp(51): error C2065: 'loadddd' : undeclared identifier
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    This is rigth code

    #include<windows.h>

    #define WeaponMgr 0xA2A7E8
    #define Change 0x2428
    #define onehit 0x7f8



    DWORD WINAPI Hacks(LPVOID)
    {
    bool onehit = false,
    change = true;

    while(1)
    {
    DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
    DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);

    if(GetAsyncKeyState(VK_F1) || GetAsyncKeyState(VK_F1) &1) { OneHitKill = true; Beep(550, 120); }
    if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F2) &1) {Change = true; Beep(550, 120); }

    if(onehit)
    {
    if (pWeaponMgr)
    {
    for(int i=0; i<445; i++)
    {
    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + WeaponDamage) = 999.0f;
    }
    }
    }

    if(Change)
    {
    if (pWeaponMgr)
    {
    for(int i=0; i<900; i++)
    {
    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + Change) = 100;
    }
    }
    }


    }
    Sleep(100);
    }
    }

    bool Ready2Hook()
    {
    if(GetModuleHandleA("CShell.dll") != NULL
    && GetModuleHandleA("ClientFx.fxd") != NULL)
    return 1;
    return 0;
    }

    DWORD WINAPI Wait(LPVOID)
    {
    while(!Ready2Hook()) Sleep(200);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
    return 0;
    }

    BOOL WINAPI Main ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
    DisableThreadLibraryCalls(hDll);

    if ( dwReason == DLL_PROCESS_ATTACH ) {
    MessageBoxA(0,"Made by Swiftdude","NA Hack", 0);
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
    }

    return true;
    }

    100% Credits by Swiftdude this is the simple base !
    Last edited by CFhackerfree; 07-31-2011 at 05:44 PM.

  7. #7
    Solo's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    2,133
    Reputation
    64
    Thanks
    383
    My Mood
    Cold
    [quote=CFhackerfree;4770858]
    Quote Originally Posted by killer660 View Post
    how give me the code with the msgbox with credits



    #include <windows.h>

    bool change = false,
    One Hit Kill = false;

    while(1) {
    DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
    DWORD pLtClient = *(DWORD*)(CShell + Your addy here

    if(GetAsyncKeyState(VK_F1) || GetAsyncKeyState(VK_F1) &1) { OneHitKill = true; Beep(550, 120); }
    if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F2) &1) {Change = true; Beep(550, 120); }
    if(Change) {
    if (Addy) {
    for(int i=0; i<445; i++) {
    if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA287A8))+ (4*i) )) + addy) = 9999;
    }
    }
    }

    if(OneHitKill) {
    if (addy) {
    for(int i=0; i<445; i++) {
    if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+addy))+(4* i))) + addy) = 99999;
    }
    }


    }

    }


    }
    DWORD WINAPI loadddd(LPVOID) {
    while(GetModuleHandleA("CShell.dll") == NULL) {
    Sleep(150);
    }

    Sleep(100);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
    return 0;
    }

    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
    DisableThreadLibraryCalls(hDll);

    if ( dwReason == DLL_PROCESS_ATTACH ) {
    MessageBoxA(0,"Coded by Hacker2236","Injected", 0);
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)loadddd,0 ,0,0);
    }

    return true;
    }


    still wont work

    1>------ Build started: Project: TEST L0L, Configuration: Release Win32 ------
    1> TEST.cpp
    1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Hit'
    1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Kill'
    1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>TEST.cpp(6): error C2059: syntax error : 'while'
    1>TEST.cpp(6): error C2143: syntax error : missing ';' before '{'
    1>TEST.cpp(6): error C2447: '{' : missing function header (old-style formal list?)
    1>TEST.cpp(35): error C2059: syntax error : '}'
    1>TEST.cpp(35): error C2143: syntax error : missing ';' before '}'
    1>TEST.cpp(35): error C2059: syntax error : '}'
    1>TEST.cpp(36): error C2143: syntax error : missing ';' before '{'
    1>TEST.cpp(36): error C2447: '{' : missing function header (old-style formal list?)
    1>TEST.cpp(51): error C2065: 'loadddd' : undeclared identifier
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========




    This is rigth code



    100% Credits by Swiftdude this is the simple base !
    That code is full of errors and isn't working.
    Nipples

  8. #8
    killer660's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    2
    My Mood
    Amazed
    [quote=Dyme;4770916]
    Quote Originally Posted by CFhackerfree View Post

    That code is full of errors and isn't working.
    Dude



    #include<windows.h>

    #define WeaponMgr 0xA2A7E8
    #define Change 0x2428
    #define onehit 0x7f8



    DWORD WINAPI Hacks(LPVOID)
    {
    bool onehit = false,
    change = true;

    while(1)
    {
    DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
    DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);

    if(GetAsyncKeyState(VK_F1) || GetAsyncKeyState(VK_F1) &1) { OneHitKill = true; Beep(550, 120); }
    if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F2) &1) {Change = true; Beep(550, 120); }

    if(onehit)
    {
    if (pWeaponMgr)
    {
    for(int i=0; i<445; i++)
    {
    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + WeaponDamage) = 999.0f;
    }
    }
    }

    if(Change)
    {
    if (pWeaponMgr)
    {
    for(int i=0; i<900; i++)
    {
    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + Change) = 100;
    }
    }
    }


    }
    Sleep(100);
    }
    }

    bool Ready2Hook()
    {
    if(GetModuleHandleA("CShell.dll") != NULL
    && GetModuleHandleA("ClientFx.fxd") != NULL)
    return 1;
    return 0;
    }

    DWORD WINAPI Wait(LPVOID)
    {
    while(!Ready2Hook()) Sleep(200);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
    return 0;
    }

    BOOL WINAPI Main ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
    DisableThreadLibraryCalls(hDll);

    if ( dwReason == DLL_PROCESS_ATTACH ) {
    MessageBoxA(0,"Made by Killer660","NA Hack","Credits Swifterdude", 0);
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
    }

    return true;
    }




    1>------ Build started: Project: Hacker2236, Configuration: Release Win32 ------
    1> Pre.cpp
    1>Pre.cpp(11): warning C4091: '' : ignored on left of 'bool' when no variable is declared
    1>Pre.cpp(11): error C2143: syntax error : missing ';' before 'constant'
    1>Pre.cpp(11): error C2106: '=' : left operand must be l-value
    1>Pre.cpp(12): error C2065: 'change' : undeclared identifier
    1>Pre.cpp(19): error C2065: 'OneHitKill' : undeclared identifier
    1>Pre.cpp(20): error C2106: '=' : left operand must be l-value
    1>Pre.cpp(29): error C2065: 'WeaponDamage' : undeclared identifier
    1>Pre.cpp(50): error C2059: syntax error : '}'
    1>Pre.cpp(50): error C2143: syntax error : missing ';' before '}'
    1>Pre.cpp(50): error C2059: syntax error : '}'
    1>Pre.cpp(53): error C2143: syntax error : missing ';' before '{'
    1>Pre.cpp(53): error C2447: '{' : missing function header (old-style formal list?)
    1>Pre.cpp(62): error C3861: 'Ready2Hook': identifier not found
    1>Pre.cpp(71): error C2660: 'MessageBoxA' : function does not take 5 arguments
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

  9. #9
    Solo's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    2,133
    Reputation
    64
    Thanks
    383
    My Mood
    Cold
    [FONT="Book Antiqua"][COLOR="DimGray"][SIZE="2"][B][quote=killer660;4771069]
    Quote Originally Posted by Dyme View Post


    Dude



    #include<windows.h>

    #define WeaponMgr 0xA2A7E8
    #define Change 0x2428
    #define onehit 0x7f8



    DWORD WINAPI Hacks(LPVOID)
    {
    bool onehit = false,
    change = true;

    while(1)
    {
    DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
    DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);

    if(GetAsyncKeyState(VK_F1) || GetAsyncKeyState(VK_F1) &1) { OneHitKill = true; Beep(550, 120); }
    if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F2) &1) {Change = true; Beep(550, 120); }

    if(onehit)
    {
    if (pWeaponMgr)
    {
    for(int i=0; i<445; i++)
    {
    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + WeaponDamage) = 999.0f;
    }
    }
    }

    if(Change)
    {
    if (pWeaponMgr)
    {
    for(int i=0; i<900; i++)
    {
    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + Change) = 100;
    }
    }
    }


    }
    Sleep(100);
    }
    }

    bool Ready2Hook()
    {
    if(GetModuleHandleA("CShell.dll") != NULL
    && GetModuleHandleA("ClientFx.fxd") != NULL)
    return 1;
    return 0;
    }

    DWORD WINAPI Wait(LPVOID)
    {
    while(!Ready2Hook()) Sleep(200);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
    return 0;
    }

    BOOL WINAPI Main ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
    DisableThreadLibraryCalls(hDll);

    if ( dwReason == DLL_PROCESS_ATTACH ) {
    MessageBoxA(0,"Made by Killer660","NA Hack","Credits Swifterdude", 0);
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
    }

    return true;
    }




    1>------ Build started: Project: Hacker2236, Configuration: Release Win32 ------
    1> Pre.cpp
    1>Pre.cpp(11): warning C4091: '' : ignored on left of 'bool' when no variable is declared
    1>Pre.cpp(11): error C2143: syntax error : missing ';' before 'constant'
    1>Pre.cpp(11): error C2106: '=' : left operand must be l-value
    1>Pre.cpp(12): error C2065: 'change' : undeclared identifier
    1>Pre.cpp(19): error C2065: 'OneHitKill' : undeclared identifier
    1>Pre.cpp(20): error C2106: '=' : left operand must be l-value
    1>Pre.cpp(29): error C2065: 'WeaponDamage' : undeclared identifier
    1>Pre.cpp(50): error C2059: syntax error : '}'
    1>Pre.cpp(50): error C2143: syntax error : missing ';' before '}'
    1>Pre.cpp(50): error C2059: syntax error : '}'
    1>Pre.cpp(53): error C2143: syntax error : missing ';' before '{'
    1>Pre.cpp(53): error C2447: '{' : missing function header (old-style formal list?)
    1>Pre.cpp(62): error C3861: 'Ready2Hook': identifier not found
    1>Pre.cpp(71): error C2660: 'MessageBoxA' : function does not take 5 arguments
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


    Told you.
    Nipples

  10. #10
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    The problem is you dont know the programming language and you jump into the deep side of the pool without learning to swim.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  11. The Following User Says Thank You to topblast For This Useful Post:

    DecoderBack (08-01-2011)

  12. #11
    killer660's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    2
    My Mood
    Amazed

    TopBlast22

    Quote Originally Posted by topblast View Post
    The problem is you dont know the programming language and you jump into the deep side of the pool without learning to swim.
    I need ur programing skills


    Can you work on a hack with me !!!


    plz plz
    Last edited by killer660; 07-31-2011 at 07:11 PM.

  13. #12
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Quote Originally Posted by killer660 View Post
    I need ur programing skills


    Can you work on a hack with me !!!


    plz plz
    as you said you " made this code" then you should know what to do.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  14. #13
    killer660's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    2
    My Mood
    Amazed
    Quote Originally Posted by topblast View Post


    as you said you " made this code" then you should know what to do.

    It is swiftys code i just used it and put him in the credits!

  15. #14
    tambre's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    1,852
    Reputation
    10
    Thanks
    576
    My Mood
    Cool

    Smile

    Quote Originally Posted by killer660 View Post
    It is swiftys code i just used it and put him in the credits!
    Well i know a pretty much already and i know almost how to swim so you could make it in .cpp format and when in .cpp you put at end:
    Code:
    #include "Stadfx.h"
    Or what it is!
    Good luck!
    Why are you looking here?

  16. #15
    killer660's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    2
    My Mood
    Amazed
    Quote Originally Posted by tambre View Post
    Well i know a pretty much already and i know almost how to swim so you could make it in .cpp format and when in .cpp you put at end:
    Code:
    #include "Stadfx.h"
    Or what it is!
    Good luck!


    Can u help me make the code
    Credits
    -----------
    Killer660-me
    Topblast
    Tambre

Similar Threads

  1. [Help] What is wrong with this code?
    By IGNITE09178 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 15
    Last Post: 07-01-2011, 03:59 AM
  2. What is wrong with this ( im new in coding. pardon me for the lack of knowledge)
    By pongping88 in forum WarRock Philippines Help & Discussions
    Replies: 12
    Last Post: 02-16-2011, 10:13 PM
  3. Bad Syntax - What is wrong with this code?
    By HACKINGPIE in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 5
    Last Post: 01-19-2011, 12:12 AM
  4. What is wrong with this code?
    By t7ancients in forum C++/C Programming
    Replies: 10
    Last Post: 10-19-2009, 01:58 PM
  5. Whats wrong with this code ?
    By bohnenbong in forum WarRock - International Hacks
    Replies: 7
    Last Post: 10-26-2007, 06:57 AM