Warning: Account (Erick05)
Speaking can fix all errors. and contact = facebook. Through this person's words: working in a group with Vietnamese people is Solar and FOX.
The number is that I have an error OFF HELPER from source emershow13 up 25, so I should post on this forum? then this person sent a message asking to contact him he fixed it for free but had to provide the source code...
In the Main.dll source code, I gave him 2 codes I had to spend money to buy... I was afraid people would lose money so I shared it...
Not much to say..code below has instructions...
Dịch:
Cảnh báo: Account (Erick05)
Phát biểu có thể sửa chữa tất cả các lỗi. và liên hệ = facebook. Qua lời kể của người này: làm chung nhóm với người Việt Nam là Solar và FOX.
Số là tôi bị lỗi OFF HELPER từ nguồn emershow13 up 25 nên đăng tin lên diễn đàn này ? thì người này gửi tin nhắn kêu liên hệ với hắn hắn sửa miễn phí nhưng phải cung cấp mã nguồn...
Trong mã nguồn Main.dll tui đưa cho hắn có 2 mã tui phải bỏ tiền ra mua...tui sợ mọi người mất tiền oan nên tôi share lun...
Không nói nhiều..code bên dưới có hướng dẫn...
Today I share a source code for error checking from main.dll.
Find main.cpp:Insert below code first: void EnterProc() // OK
//=== MuError.dmp
#include <dbghelp.h>
#pragma comment(lib,"dbghelp.lib")
//===
bool ExceptionCallback(EXCEPTION_POINTERS* pExceptionInfo)
{
char path[MAX_PATH];
SYSTEMTIME SystemTime;
GetLocalTime(&SystemTime);
wsprintf(path, "%d-%d-%d_%dh%dm%ds.dmp", SystemTime.wYear, SystemTime.wMonth, SystemTime.wDay, SystemTime.wHour, SystemTime.wMinute, SystemTime.wSecond);
HANDLE file = CreateFile(path, GENERIC_WRITE, FILE_SHARE_WRITE, 0, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, 0);
if (file != INVALID_HANDLE_VALUE)
{
MINIDUMP_EXCEPTION_INFORMATION mdei;
mdei.ThreadId = GetCurrentThreadId();
mdei.ExceptionPointers = pExceptionInfo;
mdei.ClientPointers = 0;
if (MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), file, (MINIDUMP_TYPE)(MiniDumpScanMemory + MiniDumpWithIndirectlyReferencedMemory), &mdei, 0, 0) != 0)
{
CloseHandle(file);
}
}
return 1;
}
Insert the following code inside: void EnterProc() // OK
#if(DEBUG)
SetCompleteHook(0xE9, 0x004D1CF0, &ExceptionCallback);
#else
SetCompleteHook(0xE9, 0x004D1CF0, 0x004D1DC2); //-- Remoce MuError.DMP
MemorySet(0x00D20170, 0x90, 0x1B); //-- Remove Creation MuError.log
#endif
Find stdafx.h:
Enter more:
#define DEBUG 1 // OK (Dùng để check file dmp)