Results 1 to 9 of 9
  1. #1
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead

    fuck weapon logs! simple idea to make weapon hacks

    its simple

    instead of :
    Code:
    DWORD* pM16  = (DWORD*)(pWeaponMgr+25*4);
    DWORD* pM4A1 = (DWORD*)(pWeaponMgr+14*4); //not even sure if M4A1 id is 14 lol
    do this:

    Code:
    if (!pM16)   pM16  = (DWORD*)(pWeaponMgr+FindWeaponID(pWeaponMgr, "M16" )*4);
    if (!pM4A1)  pM4A1 = (DWORD*)(pWeaponMgr+FindWeaponID(pWeaponMgr, "M4A1")*4);
    and here is FindWeaponID function:

    Code:
    DWORD FindWeaponID(DWORD pWeaponMgr, LPCSTR lpWepName)
    {
        for (int i=0; i<=999; i++) // i dont want to increase it to 1000 lol
        {
            DWORD pWeapon = *(DWORD*)(pWeaponMgr+i*4)
            if (pWeapon)
            {
                LPCSTR lpName = (LPCSTR)(pWeapon+8);
                if (!strcmp(lpName, lpWepName)) return i;
            }
        }
        return 0;
    }


     



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

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

    joered (05-01-2012),pDevice (04-30-2012),Ryuzaki™ (04-30-2012)

  3. #2
    -[I]fLuX's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    342
    Reputation
    112
    Thanks
    3,923
    My Mood
    Bored
    lol for me it get error in c++ can you explain more??
    •Contributor: June, 29th 2013


    My Sources:
    Injector
    Memory Base
    D3D9 Hook
    Hooked Memory Base




  4. #3
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    wtf DLL_THREAD_ATTACH + DLL_PROCESS_ATTACH and DLL_PROCESS_DETACH + DLL_THREAD_DETACH


     



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

  5. #4
    -iFaDy..*'s Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    C++/Mpgh.net/CF/devenv.exe
    Posts
    201
    Reputation
    22
    Thanks
    87
    My Mood
    Cool
    Nice one , but i already made something like this
    Need Any Help in C++/CrossFire? Just Pm me.

    My FB : Www.FaceBook.com/FaDiAtefAhlawy

    My Yahoo : Dodo_CrazyChat@yahoo.com

    My Hotmail : Dodo_CrazyChat@hotmail.com

  6. #5
    JhonnyDoo's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    69
    Reputation
    10
    Thanks
    6
    My Mood
    Confused
    Quote Originally Posted by BlackLite00 View Post
    you got an error because you don't know even c++ basics
    btw here is a example base

    Code:
    #include <Windows.h>
    #define WeaponMgr 0xAB2940
    
    DWORD FindWeaponID(DWORD pWeaponMgr, LPCSTR lpWepName)
    {
        for (int i=0; i<=999; i++) // i dont want to increase it to 1000 lol
        {
            
            if (WeaponMgr+(i*4))
            {
                LPCSTR lpName = (LPCSTR)(WeaponMgr+(i*4)+8);
                if (!strcmp(lpName, lpWepName)) return i;
            }
        }
        return 0;
    }
    
    VOID Hacks(_LPCVOID_DEFINED)
    {
    
            DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
    	    DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
    	DWORD* pM16  = (DWORD*)(pWeaponMgr+25*4);
        DWORD* pM4A1 = (DWORD*)(pWeaponMgr+14*4); 
    
    	while ( true ) 
    	{
    		if (!pM16)   pM16  = (DWORD*)(pWeaponMgr+FindWeaponID(pWeaponMgr, "M16" )*4);
            if (!pM4A1)  pM4A1 = (DWORD*)(pWeaponMgr+FindWeaponID(pWeaponMgr, "M4A1")*4);
    	}
    }
    
    HINSTANCE Crossfire ()
    {
    	if(GetModuleHandleA("CShell.dll")   != NULL && GetModuleHandleA("ClientFx.fxd") != NULL)
        Hacks();
    }
    
    
    VOID WINAPI DllMain ( HMODULE hideDLL, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls(hideDLL);
    
    	if (dwReason = DLL_PROCESS_ATTACH)
    	{
    		Crossfire();
    	}
    	else
    	{
    		if (dwReason = DLL_PROCESS_DETACH)
    		{
    			system("https://www.MPGH.net/BlackLite");
    		}
    	}
    }

    lol this won't even compie ..
    SOMEONE GUIDE ME .. I THINK I'M LOST

  7. #6
    -[I]fLuX's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    342
    Reputation
    112
    Thanks
    3,923
    My Mood
    Bored
    Quote Originally Posted by BlackLite00 View Post
    you got an error because you don't know even c++ basics
    btw here is a example base

    Code:
    #include <Windows.h>
    #define WeaponMgr 0xAB2940
    
    DWORD FindWeaponID(DWORD pWeaponMgr, LPCSTR lpWepName)
    {
        for (int i=0; i<=999; i++) // i dont want to increase it to 1000 lol
        {
            
            if (WeaponMgr+(i*4))
            {
                LPCSTR lpName = (LPCSTR)(WeaponMgr+(i*4)+8);
                if (!strcmp(lpName, lpWepName)) return i;
            }
        }
        return 0;
    }
    
    VOID Hacks(_LPCVOID_DEFINED)
    {
    
            DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
    	    DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
    	DWORD* pM16  = (DWORD*)(pWeaponMgr+25*4);
        DWORD* pM4A1 = (DWORD*)(pWeaponMgr+14*4); 
    
    	while ( true ) 
    	{
    		if (!pM16)   pM16  = (DWORD*)(pWeaponMgr+FindWeaponID(pWeaponMgr, "M16" )*4);
            if (!pM4A1)  pM4A1 = (DWORD*)(pWeaponMgr+FindWeaponID(pWeaponMgr, "M4A1")*4);
    	}
    }
    
    HINSTANCE Crossfire ()
    {
    	if(GetModuleHandleA("CShell.dll")   != NULL && GetModuleHandleA("ClientFx.fxd") != NULL)
        Hacks();
    }
    
    
    VOID WINAPI DllMain ( HMODULE hideDLL, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls(hideDLL);
    
    	if (dwReason = DLL_PROCESS_ATTACH)
    	{
    		Crossfire();
    	}
    	else
    	{
    		if (dwReason = DLL_PROCESS_DETACH)
    		{
    			system("https://www.MPGH.net/BlackLite");
    		}
    	}
    }
    lol you say i don't know the basics of c++ i have dip my own memory hook esp and a menu but i don't release it napp i only release memory
    •Contributor: June, 29th 2013


    My Sources:
    Injector
    Memory Base
    D3D9 Hook
    Hooked Memory Base




  8. #7
    -[I]fLuX's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    342
    Reputation
    112
    Thanks
    3,923
    My Mood
    Bored
    Quote Originally Posted by BlackLite00 View Post
    i Released 24 ,enu on MPGH.net and i release a video about my vip menu with aimbot
    (y)

    /msg2short
    •Contributor: June, 29th 2013


    My Sources:
    Injector
    Memory Base
    D3D9 Hook
    Hooked Memory Base




  9. #8
    DaRk's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Location
    MPGH
    Posts
    1,910
    Reputation
    119
    Thanks
    3,986
    My Mood
    Asleep
    Quote Originally Posted by -[I]fLuX View Post
    lol you say i don't know the basics of c++ i have dip my own memory hook esp and a menu but i don't release it napp i only release memory
    then proof it

  10. #9
    rkN's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    278
    Reputation
    30
    Thanks
    3,765
    My Mood
    Bored
    Stay ontopic guys. Nice idea, is way more efficient and saves alot of time!

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

    giniyat101 (05-01-2012)

Similar Threads

  1. [Release] Make a weapon log
    By giniyat101 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 17
    Last Post: 10-28-2012, 03:53 PM
  2. A very simple way to make Detected hacks work.
    By EndRiT in forum WarRock - International Hacks
    Replies: 13
    Last Post: 03-26-2009, 02:50 AM
  3. Coud someone please make weapon hack for me?
    By klemen123 in forum WarRock - International Hacks
    Replies: 3
    Last Post: 10-28-2008, 01:09 PM
  4. Can anyone teach me to make Weapon hacked accounts
    By HaterSauce in forum WarRock - International Hacks
    Replies: 18
    Last Post: 05-27-2008, 03:32 PM
  5. I wanna make weapon hack but need help
    By allard123 in forum WarRock - International Hacks
    Replies: 13
    Last Post: 02-19-2007, 08:19 PM