Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    SF-Abel's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    6

    Search Addy Crash!

    For some reason I crash!

    Code:
    void cBase::Update(void)
    {
    	while(1)
    	{
    		if(FindAddresses == false)
    		{
                            DWORD dwNoRecoil1 = FindPattern(dwCShell, 0x900000, (PBYTE)"\xD8\x66\x54\xD9\x5C\x24\x14\xD9\x44\x24\x14\xEB\x02\xDD\xD8\xD9\xC0", "xxxxxxxxxxxxxxxxx" );
    			FindAddresses = true;
    		}
    
    		Sleep(1000);
    	}
    }

  2. #2
    Fabolous's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    192.168.1.01
    Posts
    2,704
    Reputation
    261
    Thanks
    682
    My Mood
    Paranoid
    Quote Originally Posted by SF-Abel View Post
    For some reason I crash!

    Code:
    void cBase::Update(void)
    {
    	while(1)
    	{
    		if(FindAddresses == false)
    		{
                            DWORD dwNoRecoil1 = FindPattern(dwCShell, 0x900000, (PBYTE)"\xD8\x66\x54\xD9\x5C\x24\x14\xD9\x44\x24\x14\xEB\x02\xDD\xD8\xD9\xC0", "xxxxxxxxxxxxxxxxx" );
    			FindAddresses = true;
    		}
    
    		Sleep(1000);
    	}
    }
    Lol why do you create a thread for it , i dont even use the thread at all. Well i dont even use scans at all. /

  3. #3
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,064
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Most likely not waiting for Cshell to be loaded before your searching


    Code:
    bool IsGameReadyForHook(void)
    {
        if(GetModuleHandleA( "CShell.dll"   ) != NULL )
            return true;
    	return false;
    }
    Code:
    while( !IsGameReadyForHook() )
    void cBase::Update(void)
    {
    	while(1)
    	{
    		if(FindAddresses == false)
    		{
                            DWORD dwNoRecoil1 = FindPattern(dwCShell, 0x900000, (PBYTE)"\xD8\x66\x54\xD9\x5C\x24\x14\xD9\x44\x24\x14\xEB\x02\xDD\xD8\xD9\xC0", "xxxxxxxxxxxxxxxxx" );
    			FindAddresses = true;
    		}
    
    		Sleep(1000);
    	}
    }
    Dont ban me

  4. #4
    SF-Abel's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    6
    Quote Originally Posted by markoj View Post
    Most likely not waiting for Cshell to be loaded before your searching


    Code:
    bool IsGameReadyForHook(void)
    {
        if(GetModuleHandleA( "CShell.dll"   ) != NULL )
            return true;
    	return false;
    }
    Code:
    while( !IsGameReadyForHook() )
    void cBase::Update(void)
    {
    	while(1)
    	{
    		if(FindAddresses == false)
    		{
                            DWORD dwNoRecoil1 = FindPattern(dwCShell, 0x900000, (PBYTE)"\xD8\x66\x54\xD9\x5C\x24\x14\xD9\x44\x24\x14\xEB\x02\xDD\xD8\xD9\xC0", "xxxxxxxxxxxxxxxxx" );
    			FindAddresses = true;
    		}
    
    		Sleep(1000);
    	}
    }
    thats what i had. no good.

  5. #5
    Synns's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    5,174
    Reputation
    170
    Thanks
    2,557
    My Mood
    Bitchy
    Why is it in a loop?

  6. #6
    SF-Abel's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    6
    Quote Originally Posted by Tyrannus View Post
    Why is it in a loop?
    To search for addies?

  7. #7
    Synns's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    5,174
    Reputation
    170
    Thanks
    2,557
    My Mood
    Bitchy
    Quote Originally Posted by SF-Abel View Post
    To search for addies?

    Code:
    DWORD dwCShell;
    
    void GetAddresses( )
    {
    
    	do {
    		dwCShell = (DWORD)GetModuleHandleA(L"CShell.dll");
    		Sleep(1000);
    	} while(!dwCShell);
    
           DWORD dwAddress = FindPattern(...);
    
    }
    
    CreateThread( 0, 0, (LPTHREAD_START_ROUTINE)GetAddresses, 0, 0, 0 );
    edit:

    Remember to check if the address is valid.
    Last edited by Synns; 12-03-2010 at 08:58 PM.

  8. The Following User Says Thank You to Synns For This Useful Post:

    SF-Abel (12-03-2010)

  9. #8
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    [php]bool cReadys::ReadyForSearch()
    {
    if(GetModuleHandle( L"ClientFX.fxd" ) != NULL
    && GetModuleHandle( L"CShell.dll" ) != NULL)
    return true;
    else
    return false;
    }
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    void cMisc::SearchAddies()
    {
    //Removed my Scans
    Hack.Readys.FinAddresses = true;
    }
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    DWORD __stdcall CallAddresses(LPVOID)
    {

    while(!Hack.Readys.ReadyForSearch())
    Sleep(1);

    Hack.Misc.SearchAddies();

    return 0;
    }
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    bool cReadys::IsIngame()
    {
    if(Hack.Readys.FinAddresses == false)
    return false;

    typedef bool (*BV)(void);
    DWORD* LTBase = (DWORD*)Hack.Addresses. LTB;
    BV pConnected = *(BV*)(*LTBase + 0x8C);

    return pConnected();
    }
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    if(Hack.Readys.IsIngame())
    {
    //HACKING!
    }
    [/php]

    is that enough?
    Last edited by kotentopf; 12-04-2010 at 05:01 AM.
    The Internet SHOULD Be Illegal

    When you say
    "Java is a great programming language because it works on all platforms"
    it is just like
    "anal sex is great because it works on all genders"

    Are YOU a Troll?

  10. The Following User Says Thank You to kotentopf For This Useful Post:

    n00bl3z (12-05-2010)

  11. #9
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    Quote Originally Posted by kotentopf View Post
    [php]bool cReadys::ReadyForSearch()
    {
    if(GetModuleHandle( L"ClientFX.fxd" ) != NULL
    && GetModuleHandle( L"CShell.dll" ) != NULL)
    return true;
    else
    return false;
    }
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    void cMisc::SearchAddies()
    {
    //Removed my Scans
    Hack.Readys.FinAddresses = true;
    }
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    DWORD __stdcall CallAddresses(LPVOID)
    {

    while(!Hack.Readys.ReadyForSearch())
    Sleep(1);

    Hack.Misc.SearchAddies();

    return 0;
    }
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    bool cReadys::IsIngame()
    {
    if(Hack.Readys.FinAddresses == false)
    return false;

    typedef bool (*BV)(void);
    DWORD* LTBase = (DWORD*)Hack.Addresses. LTB;
    BV pConnected = *(BV*)(*LTBase + 0x8C);

    return pConnected();
    }
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    //---------------------------------------------------------------------
    if(Hack.Readys.IsIngame())
    {
    //HACKING!
    }
    [/php]

    is that enough?
    he'll probably want the classes to go with it /

  12. #10
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    Quote Originally Posted by ac1d_buRn View Post


    he'll probably want the classes to go with it /
    [php]
    typedef DWORD ADDY;

    class cAddresses{
    public:
    ADDY LTClient;//Engine LTC
    ADDY ASUS;//Glass Walls
    ADDY Recoil;//NoRecoil
    ADDY Reload;//NoReload(Visual)
    ADDY Bypass;//Semi Bypass
    ADDY RPP;//RandomPlayerPointer
    ADDY LPP;//LocalPlayerPointer
    ADDY Info;//Pointer for the Infoclass
    ADDY LTB;//CShell LTC
    ADDY SuperBullet;//Superbullets
    bool bDataCompare(const BYTE* pData, const BYTE* bMask, const char* szMask);//Need for Pattern
    ADDY FindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask);//Search for an Addres and return it
    };


    class cReadys{
    public:
    bool ReadyForSearch();//Return true, when all needed Files Loaded
    bool MouseIsOver(int x, int y, int w, int h);//Return true, when the Mouse is in the section
    bool MouseIsIn(int x1, int y1, int x2, int y2);//Return true, if the Mosue is in the SQUAD
    bool IsIngame();//Return true, when u are ingame
    bool FinAddresses;//Is True, after SigScan
    bool ReadyForHook();//Return true, when D3D can be enabled
    };


    class cValues{
    public:
    POINT MousePos;//MousePosition
    int FontR, FontG, FontB;//FontColors
    int MenuR, MenuG, MenuB;//MenuColors
    int CrossR, CrossG, CrossB;//Crosshaircolor
    int CrossSize;//Crosshairsize
    int Infox,Infoy;//Infoposition
    int Ammox,Ammoy;//Ammoposition
    int HPx,HPy;//Healtbarposition
    int Flykey, Hoverkey;//The Keys for the named hack
    };


    class cMisc{
    public:
    int WritePrivateProfileInt(LPCTSTR lpAppName, LPCTSTR lpKeyName, int nInteger, LPCTSTR lpFileName);//Write values, not strings
    char *GetFrameRate();//Current FPS, NEED Globals
    char *Fontname;//The Fontname
    char *Path;//The SafePath
    void GetMouse(POINT &Mouse);//Convert to the Local MousePosition
    void OPK();//The void for the OPKThread
    void HEXMemory(PVOID address, void* val, int bytes);//Edit the BYTES of an address
    void SearchAddies();//Search for addies, convert a bool to true after finish scan
    void HackIt(int sleep);//Normal hack void, best value is 250
    void PermaHack();//For Hacks like Hover
    void ConvertToKey(int &Key);//Convert an integer to the value of the pressed Key
    void SetUp();//Set all by startup(Not D3D)
    void SetUp3D();//Set all by startup(D3D Only)
    void PatchCommand(bool OnOffVal, char *command, int On, int Off);//RunConsoleCommand
    RCC RunConsoleCommand;
    };


    class cHack{
    public:
    cAddresses Addresses;//All addresses and the addresssearch
    cReadys Readys;//All setting where return true if this is ok
    cValues Values;//All Values for the DLL
    cMisc Misc;//The other functions and settings
    };
    extern class cHack Hack;[/php]
    The Internet SHOULD Be Illegal

    When you say
    "Java is a great programming language because it works on all platforms"
    it is just like
    "anal sex is great because it works on all genders"

    Are YOU a Troll?

  13. The Following 3 Users Say Thank You to kotentopf For This Useful Post:

    ac1d_buRn (12-04-2010),KawaiiSlut (12-04-2010),n00bl3z (12-05-2010)

  14. #11
    ppl2pass's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    804
    Reputation
    5
    Thanks
    111
    My Mood
    Amused
    Quote Originally Posted by Tyrannus View Post
    Code:
    DWORD dwCShell;
    
    void GetAddresses( )
    {
    
    	do {
    		dwCShell = (DWORD)GetModuleHandleA(L"CShell.dll");
    		Sleep(1000);
    	} while(!dwCShell);
    
           DWORD dwAddress = FindPattern(...);
    
    }
    
    CreateThread( 0, 0, (LPTHREAD_START_ROUTINE)GetAddresses, 0, 0, 0 );
    edit:

    Remember to check if the address is valid.
    This is detected. D/cs after 5 mins in game.
    My Unbelievable-Kill BM:
    seeplusplus - updating address
    [YOUTUBE]nWgztMVIUYY[/YOUTUBE]

  15. #12
    SF-Abel's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    6
    Quote Originally Posted by ppl2pass View Post
    This is detected. D/cs after 5 mins in game.
    somehow you are right. it dcs me when i use it. without it i dont dc.

  16. #13
    Synns's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    5,174
    Reputation
    170
    Thanks
    2,557
    My Mood
    Bitchy
    What did I say before? Check if the address is valid..

  17. #14
    SF-Abel's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    6
    Quote Originally Posted by Tyrannus View Post
    What did I say before? Check if the address is valid..
    it gathers the addresses correctly. however if i use those addresses it works for a few minutes and dcs me.

  18. #15
    Synns's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    5,174
    Reputation
    170
    Thanks
    2,557
    My Mood
    Bitchy
    Quote Originally Posted by SF-Abel View Post
    it gathers the addresses correctly. however if i use those addresses in my hack it dcs me.
    Post the code you are using.

Page 1 of 2 12 LastLast