Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    backspaces's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    asdjblb
    Posts
    21
    Reputation
    10
    Thanks
    0

    how i can Define Weapon ?

    Code:
    #include <windows.h>
    #include <iostream>
    
    using namespace std;
    
    DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
    
    DWORD WINAPI HOOK(LPVOID param) {
    	while(GetModuleHandleA("CShell.dll") == NULL ) {
    	Sleep(7000);
    }
    
    bool OneHit = false;
            
    while(1) {
    
    		if(GetAsyncKeyState(VK_F9) &1){OneHit = !OneHit;}
    		if(OneHit){
    
                       DWORD dwWeapon = *(DWORD*)( dwCShell + 0x0x102BD214 );
    
    				   if ( dwWeapon ){
                                for( int i=0 ; i < 512 ; i++)
                                {
                                        DWORD Weapon = *(DWORD*)( dwWeapon + i * 4 );
    
                                        if ( Weapon ) continue;
    
                                       *(float*)( Weapon + 0x7A4) = 3000.0f;
                                }
    							
                         }
                 }
          }
    }
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls(hDll);
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
    		MessageBoxA(0, "CODE BY Gosias", "Injected", 0);
    		CreateThread(NULL, NULL,HOOK, NULL, NULL, NULL);
    	}
    	return TRUE;
    and what is wrong

  2. #2
    A$IAN's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Germany
    Posts
    5,654
    Reputation
    274
    Thanks
    2,010
    My Mood
    Amused
    1. This code is leeched. You just edited a source code which u copy and paste
    2. The addys are wrong buz u donīt understand the Weapon struct
    3. Learn C++ and asm
    ~Donater since 19th October 2011~
    ~Ex-Crossfire Minion || Resigned on 4th February 2012 ~
    Da fuck

  3. The Following 3 Users Say Thank You to A$IAN For This Useful Post:

    kev50088 (04-18-2011),sh_z_sektor (04-15-2011),SmartGold (04-15-2011)

  4. #3
    sh_z_sektor's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Olly
    Posts
    1,505
    Reputation
    63
    Thanks
    1,633
    My Mood
    Amused
    Quote Originally Posted by sapass209 View Post
    1. This code is leeched. You just edited a source code which u copy and paste
    2. The addys are wrong buz u donīt understand the Weapon struct
    3. Learn C++ and asm
    all what i was going to say

  5. The Following User Says Thank You to sh_z_sektor For This Useful Post:

    kev50088 (04-18-2011)

  6. #4
    [A]way's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    7
    My Mood
    Asleep
    Quote Originally Posted by sapass209 View Post
    1. This code is leeched. You just edited a source code which u copy and paste
    2. The addys are wrong buz u donīt understand the Weapon struct
    3. Learn C++ and asm
    I Am Agree

  7. #5
    Xabder's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Poland
    Posts
    53
    Reputation
    11
    Thanks
    44
    My Mood
    Amused
    Reason was [HELP] No write comment
    Just edit code on good
    Last edited by Xabder; 04-15-2011 at 01:18 PM.

  8. #6
    backspaces's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    asdjblb
    Posts
    21
    Reputation
    10
    Thanks
    0
    noobz , only " i aggre etc" Don't spam -.-

  9. #7
    A$IAN's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Germany
    Posts
    5,654
    Reputation
    274
    Thanks
    2,010
    My Mood
    Amused
    Quote Originally Posted by backspaces View Post
    noobz , only " i aggre etc" Don't spam -.-
    You are here the only nub cuz u leeche. The others just tell their opinion!
    ~Donater since 19th October 2011~
    ~Ex-Crossfire Minion || Resigned on 4th February 2012 ~
    Da fuck

  10. #8
    backspaces's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    asdjblb
    Posts
    21
    Reputation
    10
    Thanks
    0
    No spam here Idiots i need help .. you no give me help so Bye.

  11. #9
    A$IAN's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Germany
    Posts
    5,654
    Reputation
    274
    Thanks
    2,010
    My Mood
    Amused
    Quote Originally Posted by backspaces View Post
    No spam here Idiots i need help .. you no give me help so Bye.
    I gave u help, lol
    The addys are wrong, you should understand the weapon struct. And if u want to understand the weapon struct u need to know c++ and asm, man

    /question answered
    ~Donater since 19th October 2011~
    ~Ex-Crossfire Minion || Resigned on 4th February 2012 ~
    Da fuck

  12. #10
    backspaces's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    asdjblb
    Posts
    21
    Reputation
    10
    Thanks
    0
    Maybe can you give me tut with this ,, ?

  13. #11
    A$IAN's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Germany
    Posts
    5,654
    Reputation
    274
    Thanks
    2,010
    My Mood
    Amused
    Quote Originally Posted by backspaces View Post
    Maybe can you give me tut with this ,, ?
    If you learned C++ and asm I could give u tut, yes. But tomorrow. I dont havee nough time now.
    ~Donater since 19th October 2011~
    ~Ex-Crossfire Minion || Resigned on 4th February 2012 ~
    Da fuck

  14. #12
    balangadoce's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    75
    Reputation
    10
    Thanks
    6
    My Mood
    Bored
    Quote Originally Posted by sapass209 View Post


    If you learned C++ and asm I could give u tut, yes. But tomorrow. I dont havee nough time now.
    C++ is not sufficient to coding hacks?

    I just wanna know that, because i am learner.
    Last edited by balangadoce; 04-15-2011 at 03:09 PM.


    HOHOHO'

  15. #13
    SmartGold's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Posts
    78
    Reputation
    10
    Thanks
    8
    My Mood
    Busy
    First on all, you leeched it from my post! Second, you addies are outdated! Third, this code is patched. fourth, YOU PUT IN DWORD dwWeapon! SO THAT MEANS THE WEAPON IS DEFINED! FINALLY, LEARN C++!
    Last edited by SmartGold; 04-15-2011 at 04:40 PM.

  16. #14
    A$IAN's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Germany
    Posts
    5,654
    Reputation
    274
    Thanks
    2,010
    My Mood
    Amused
    Quote Originally Posted by balangadoce View Post
    C++ is not sufficient to coding hacks?

    I just wanna know that, because i am learner.
    If you learn Winapi and asm u undestand it better


    Quote Originally Posted by SmartGold View Post
    First on all, you leeched it from my post! Second, you addies are outdated! Third, this code is patched. fourth, YOU PUT IN DWORD dwWeapon! SO THAT MEANS THE WEAPON IS DEFINED! FINALLY, LEARN C++!
    But ur post, u leeched it too
    ~Donater since 19th October 2011~
    ~Ex-Crossfire Minion || Resigned on 4th February 2012 ~
    Da fuck

  17. #15
    Xabder's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Poland
    Posts
    53
    Reputation
    11
    Thanks
    44
    My Mood
    Amused
    @sapass209
    add this tutorial

Page 1 of 2 12 LastLast