Quote:
Originally Posted by NN4e
tnx
its solve probleme
|
not exactly :P
Code:
#include "stdafx.h"
#include "tchar.h"
#include "l2auth.h"
HMODULE g_hEngine;
bool __stdcall GetServerInfo(void);
void __stdcall MemPatch(void);
DllExport BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved)
{
switch( fdwReason )
{
case DLL_PROCESS_ATTACH:
MessageBox(NULL,_T("Loading Extender...\n\nOriginal Source Write by x64(99nets)\n\nModif for engine protocol 709."),
_T("Notice"),MB_OK);
g_hEngine = GetModuleHandle(_T("Engine.dll"));
//DebugBreak();
if(GetServerInfo() == FALSE) return FALSE;
MemPatch();
break;
default:
break;
}
return TRUE;
}