資源簡介
這是12年寫的一個網游脫機外掛,現在已經無法使用.但是提供一些靈感.
思路是用修改過的游戲客戶端加載外掛的dll,然后就可以直接call游戲客戶端的函數了.

代碼片段和文件信息
//?GXDKnightWndDll.cpp?:?Defines?the?initialization?routines?for?the?DLL.
//
#include?“stdafx.h“
#include?“GXDKnightWndDll.h“
#include?“MyWorkThread.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
//
// Note!
//
// If?this?DLL?is?dynamically?linked?against?the?MFC
// DLLs?any?functions?exported?from?this?DLL?which
// call?into?MFC?must?have?the?AFX_MANAGE_STATE?macro
// added?at?the?very?beginning?of?the?function.
//
// For?example:
//
// extern?“C“?BOOL?PASCAL?EXPORT?ExportedFunction()
// {
// AFX_MANAGE_STATE(AfxGetStaticModuleState());
// //?normal?function?body?here
// }
//
// It?is?very?important?that?this?macro?appear?in?each
// function?prior?to?any?calls?into?MFC.??This?means?that
// it?must?appear?as?the?first?statement?within?the?
// function?even?before?any?object?variable?declarations
// as?their?constructors?may?generate?calls?into?the?MFC
// DLL.
//
// Please?see?MFC?Technical?Notes?33?and?58?for?additional
// details.
//
/////////////////////////////////////////////////////////////////////////////
//?CGXDKnightWndDllApp
BEGIN_MESSAGE_MAP(CGXDKnightWndDllApp?CWinApp)
//{{AFX_MSG_MAP(CGXDKnightWndDllApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CGXDKnightWndDllApp?construction
CGXDKnightWndDllApp::CGXDKnightWndDllApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CGXDKnightWndDllApp?object
CGXDKnightWndDllApp?theApp;
BOOL?CGXDKnightWndDllApp::InitInstance()?
{
//?TODO:?Add?your?specialized?code?here?and/or?call?the?base?class
return?CWinApp::InitInstance();
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????44476??2012-02-23?10:46??GXDKnightWndDll\GXDKnightWndDll.aps
?????文件???????2985??2012-02-23?12:37??GXDKnightWndDll\GXDKnightWndDll.clw
?????文件???????2018??2011-09-10?08:59??GXDKnightWndDll\GXDKnightWndDll.cpp
?????文件????????223??2011-09-10?08:47??GXDKnightWndDll\GXDKnightWndDll.def
?????文件???????6636??2012-02-23?11:01??GXDKnightWndDll\GXDKnightWndDll.dsp
?????文件????????553??2011-09-09?16:21??GXDKnightWndDll\GXDKnightWndDll.dsw
?????文件???????1393??2011-09-09?17:00??GXDKnightWndDll\GXDKnightWndDll.h
?????文件?????402432??2012-02-28?10:08??GXDKnightWndDll\GXDKnightWndDll.ncb
?????文件??????48640??2012-02-28?10:08??GXDKnightWndDll\GXDKnightWndDll.opt
?????文件???????3740??2012-02-28?10:08??GXDKnightWndDll\GXDKnightWndDll.plg
?????文件??????14248??2012-02-23?10:46??GXDKnightWndDll\GXDKnightWndDll.rc
?????文件???????2106??2011-08-22?09:03??GXDKnightWndDll\GXDLOG.lib
?????文件???????2546??2011-11-04?09:12??GXDKnightWndDll\GXDOUTPUT.lib
?????文件???????5650??2011-11-17?10:00??GXDKnightWndDll\MyArray.cpp
?????文件???????1138??2011-10-14?10:30??GXDKnightWndDll\MyArray.h
?????文件??????26402??2011-11-21?10:41??GXDKnightWndDll\MyCallClient.cpp
?????文件???????1581??2011-11-18?08:40??GXDKnightWndDll\MyCallClient.h
?????文件????????636??2011-09-19?16:09??GXDKnightWndDll\MyCS.cpp
?????文件????????571??2011-09-19?16:09??GXDKnightWndDll\MyCS.h
?????文件???????4460??2011-11-21?10:54??GXDKnightWndDll\MyDataSave.cpp
?????文件????????936??2011-09-17?10:27??GXDKnightWndDll\MyDataSave.h
?????文件??????85747??2012-02-28?10:08??GXDKnightWndDll\MyDllWndDlg.cpp
?????文件???????5006??2012-02-23?12:26??GXDKnightWndDll\MyDllWndDlg.h
?????文件????????494??2011-09-10?09:29??GXDKnightWndDll\MyIDADefine.cpp
?????文件???????5999??2011-08-30?16:38??GXDKnightWndDll\MyIDADefine.h
?????文件???????1553??2011-09-10?09:29??GXDKnightWndDll\MyInitSocket.cpp
?????文件????????538??2011-08-30?10:52??GXDKnightWndDll\MyInitSocket.h
?????文件??????55169??2011-12-18?12:04??GXDKnightWndDll\MyKnightLogin.cpp
?????文件???????3808??2011-12-18?10:38??GXDKnightWndDll\MyKnightLogin.h
?????文件???????7102??2011-11-04?16:25??GXDKnightWndDll\MyListCL.cpp
............此處省略27個文件信息
- 上一篇:簡易圖書管理系統C語言
- 下一篇:游戲開發 c語言 程序設計 飛機大戰
評論
共有 條評論