Results 1 to 5 of 5
  1. #1
    badboy3's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Seattle , Washington, USA
    Posts
    839
    Reputation
    40
    Thanks
    88
    My Mood
    Tired

    Exclamation My first base....

    Plz help me!!!!!
    This is my first hack....plz help me....



    hack.h
    Code:
    #define WeaponMgr 0xA68F80
    #define NoReload 0x269c
    #define UnlimitedAmmo 0x7fc
    #include <windows.h>
    
    
    class cWeaponMgr
    {
    public:	
    		static const DWORD UnlimitedAmmo =							0x7fc;
    		static const DWORD ReloadAnimRatio =						0x269C;
    }
    Dllmain.cpp
    Code:
    #include <windows.h>
    
    using namespace std;
    
    DWORD WINAPI Wait(LPVOID)
    {
    while(!Ready2Hook()) Sleep(200);
    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 )
    {
    
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
    }
    return 1;
    }
    hack.cpp
    Code:
    #include <windows.h>
    #include "hack.h"
    #define WeaponMgr 0xA68F80
    #define NoReload 0x269c
    #define UnlimitedAmmo 0x7fc
    using namespace std;
    
    DWORD WINAPI hack(LPVOID) 
    {
    bool WeaponMgr = true;
    bool NoReload = true;
    bool UnlimitedAmmo = true;
    }
    
    
    DWORD Cshell = (DWORD)LoadLibraryA( "CShell.dll" );
    DWORD Wapenclass = *(PDWORD)(Cshell + 0xA68F80);
    
    if (NoReload)
    {
    	if (pWeaponMgr)
    	{
    		for (int i=0; i<560; i++)
    		{
    			if ((*(DWORD*)((*(DWORD*)(Cshell+WeaponMgr))+(4*i))) !=NULL)
    				*(float*)((*(DWORD*)((*(DWORD)(Cshell+WeaponMgr))+(4*i))) + NoReload) = 45.0f;
    		}
    	}
    }
    
    BOOL WINAPI runner(LPVOID) {
    	Sleep(9800);
    	try {
    		DWORD dllfile = (DWORD)GetModuleHandleA("Cshell.dll");
    		if(dllfile == false) {
    			throw 1;
    		}
    	} 
    	catch (int error) {
    		switch(error) {
    		case 1:
    			CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner, NULL, NULL, NULL);
    			return false;
    		default:
    			return false;
    		}
    	}
    	Beep(1000,1000);
    	CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)doyourstuffhere, NULL, NULL, NULL);
    	return true;
    }
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ){
    DisableThreadLibraryCalls(hDll);
    
    if(dwReason == DLL_PROCESS_ATTACH)
    {
    
    	MessageBoxA(0, "By: badboy3" ,"Hack", 0);
    
    
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)HackSource,0,0 ,0);
    }
    return 1;
    }

    I used Brimir's tut
    assasion screed tut
    and weaponhacker tut


    Plz help me ...this is my first base!!!

  2. #2
    Swag's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    Netherlands
    Posts
    1,619
    Reputation
    19
    Thanks
    1,865
    My Mood
    Amused
    PM me,
    I can help you via tv

  3. #3
    badboy3's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Seattle , Washington, USA
    Posts
    839
    Reputation
    40
    Thanks
    88
    My Mood
    Tired
    Ya
    ~/close

  4. #4
    _corn_'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    0x0C482BF2
    Posts
    673
    Reputation
    13
    Thanks
    294
    My Mood
    Brooding
    Why do you make so many files... not that its bad, but its easier to do all in one file.

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

    Assassin's Creed (01-07-2012)

  6. #5
    A$IAN's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Germany
    Posts
    5,654
    Reputation
    274
    Thanks
    2,010
    My Mood
    Amused
    ~Closed upon request~
    ~Donater since 19th October 2011~
    ~Ex-Crossfire Minion || Resigned on 4th February 2012 ~
    Da fuck

Similar Threads

  1. just made my first tile based game! / need idea
    By VvITylerIvV in forum C++/C Programming
    Replies: 0
    Last Post: 05-31-2011, 10:39 PM
  2. [HELP] I am attempting to create my first D3D Menu with coolguy's base
    By Nubzgetkillz in forum Combat Arms Coding Help & Discussion
    Replies: 10
    Last Post: 10-14-2010, 11:01 PM
  3. My first tut base sig
    By dk173 in forum Showroom
    Replies: 12
    Last Post: 02-14-2010, 02:30 AM
  4. War Rock - First Ban?
    By arunforce in forum General Gaming
    Replies: 26
    Last Post: 01-27-2006, 09:11 AM
  5. My First Sig
    By OutZida in forum Art & Graphic Design
    Replies: 17
    Last Post: 01-14-2006, 03:36 PM