So I'm working on this here Ayyware and I got it fixed afaik and compiled. I have injected it with a multitude of different injectors and compiling settings so I believe it's an issue with the code. Here is the entire dllmain.cpp and I'll post other parts as needed
Spoonfeeding required tbh
Code:
/*
Syn's AyyWare Framework 2015
*/
// General shit
#include "DLLMain.h"
#include "Utilities.h"
#include "ReflectiveLoader.h"
#include "ReflectiveDLLInjection.h"
#include "Offsets.h"
#include "Interfaces.h"
#include "Hooks.h"
#include "RenderManager.h"
#include "Hacks.h"
#include "Menu.h"
#include "AntiAntiAim.h"
#include "Dumping.h"
// DllMain
// Entry point for our module
BOOL WINAPI DllMain(
_In_ HINSTANCE hinstDLL,
_In_ DWORD fdwReason,
_In_ LPVOID lpvReserved
)
// Used as part of the reflective DLL injection
{
extern HINSTANCE hAppInstance;
// Our DLL Instance
HINSTANCE HThisModule;
bool DoUnload;
// Our thread we use to setup everything we need
// Everything appart from code in hooks get's called from inside
// here.
int InitialThread();
Utilities::OpenConsole("KallzeHook Private");
//---------------------------------------------------------
// Initialise all our shit
Offsets::Initialise(); // Set our VMT offsets and do any pattern scans
Interfaces::Initialise(); // Get pointers to the valve classes
NetVar.RetrieveClasses(); // Setup our NetVar manager (thanks shad0w bby)
Render::Initialise();
Hacks::SetupHacks();
Menu::SetupMenu();
Hooks::Initialise();
ApplyAAAHooks();
// Dumping
Dump::DumpClassIds();
//---------------------------------------------------------
Utilities::Log("Ready");
}