ArrowAddress Logger

Posts 115 of 28 · Page 1 of 2
Address Logger
i have an addy logger, with sigs, and when i inject it the game crashes.

made my self using a tut and olly

it makes the log file, but then even before the hackshield thing pops up, it crashes on me with no addies.

my source has all the logger functions, threads, and defines

idk what the hell is wrong with it but thanks for checking this out

post results/answers and if u need the full source i'll post it (without sigs)

thanks + rep will be given
We cant help without code
Quote Originally Posted by whit View Post
We cant help without code
in addition to that, the error that caused the crash
k, heres the code...

Addy Logger.cpp-
Code:
#include "stdafx.h"
#include "Classes and Functions.h"



void thethread()
{
//my sig's here


}

BOOL APIENTRY DllMain( HMODULE hMod, DWORD dwReason, PVOID pvReserved )
{
	CreateThread(0, 0, (LPTHREAD_START_ROUTINE)thethread, 0, 0, 0);
 GetModuleFileName(hMod, dlldir, 512);
 for(int i = strlen(dlldir); i > 0; i--) { if(dlldir[i] == '\\') { dlldir[i+1] = 0; break;}}

ofile.open(GetDirectoryFile("WooWMyLog.txt"), ios::app);

return true;

}
classes and functions.h-
Code:
#include <windows.h>
#include <fstream>
using namespace std;                                       //need for the logging func
ofstream ofile;                                                  //need for the logging func
char *GetDirectoryFile(char *filename);         //getdirfile for the logging func
void thethread(); //the main function
void __cdecl add_log (const char * fmt, ...); //the logging func
char dlldir[320];


char *GetDirectoryFile(char *filename)//get the directory of the dll
{
    static char path[320];
    strcpy(path, dlldir);
    strcat(path, filename);
    return path;
}


void __cdecl add_log (const char *fmt, ...)//the add log func
{
    if(ofile != NULL)
    {
        if(!fmt) { return; }

        va_list va_alist;
        char logbuf[256] = {0};

        va_start (va_alist, fmt);
        _vsnprintf (logbuf+strlen(logbuf), sizeof(logbuf) - strlen(logbuf), fmt, va_alist);
        va_end (va_alist);

        ofile << logbuf << endl;
    }
}

bool Match(const BYTE* pData, const BYTE* bMask, const char* szMask)
{
    for(;*szMask;++szMask,++pData,++bMask)
        if(*szMask=='x' && *pData!=*bMask ) 
            return false;
    return (*szMask) == NULL;
}


DWORD FindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask)
{
    for(DWORD i=0; i < dwLen; i++)
        if( Match( (BYTE*)( dwAddress+i ),bMask,szMask) )
            return (DWORD)(dwAddress+i);

    return 0;
}

it has no hooking function might that be the problem?

or detours?
You don't need any detours.
You are probably trying to log the addresses before CShell has loaded.
rigghhttt okay sorry xb

i'll try to log when it loads up

and btw this is not really copy + past i got the functions from the tut and used my own code for the rest of it
Languages-
C++ (Extremely experienced)
Visual Basic (Extremely experienced)
C# (some experience)

interesting...
Quote Originally Posted by scimmyboy View Post
Languages-
C++ (Extremely experienced)
Visual Basic (Extremely experienced)
C# (some experience)

interesting...
an experienced person can't have an error once in a while??


and i tried to log in when the game loads but no matter what i do the game will crash before hacksheild even pops up...

it creates the log file, but nothing in it and then it crashes.
Quote Originally Posted by Wilds View Post
an experienced person can't have an error once in a while??


and i tried to log in when the game loads but no matter what i do the game will crash before hacksheild even pops up...

it creates the log file, but nothing in it and then it crashes.
Check if the CShell module is loaded before trying to log your addresses.
Current CA VIP Hacks-
OPK-100%
Tele-Kill-100%
Aimbot-99.9%(waiting on addies + bytes)
Superbullets-100%
Weapon Range-100%
Updated Beastmode-100%
Real Glitch Key-80%
New Semi-God Mode-100%
Regenerate Health-100%
Real Ghost Mode-70%
Remote Kill-100%
Server Crasher-100%
Shit List Feature-45%
bullshit.
Quote Originally Posted by NOOB View Post


bullshit.
Congratulations your so smart for noticing that. Your IQ Raised from 90 to 200.

<3
Why aren't you checking for Cshell?
When experienced coders get errors they don't "on the spot" create a help thread!
Posts 115 of 28 · Page 1 of 2

Post a Reply

Tags for this Thread

None

Need help?