针对千年的反外挂系统

千年是一款比较老游戏,是用Delphi语言写的游戏,属于和传奇一个时代的产品。不过在国内的市场份额远远不如传奇。而面临游戏运营方头疼的外挂主要有两类

一类是 加速挂,另一类是自动挂机打材料的挂

这里说到加速挂主要是类似变速齿轮的那种挂和驱动级的游戏守望者电脑整体加速

下面是部分变速齿轮的原理代码

BOOL WINAPI DllMain(HINSTANCE hmodule,DWORD reason, LPVOID lpreserved)
{
  if(reason==DLL_PROCESS_ATTACH)// 如果DLL被注入到其他进程,DLL_PROCESS_ATTACH表示注入DLL的时候
  {


    HMODULE hWsock32=GetModuleHandle("winmm.dll");//获取winmm.dll模块句柄
     dwAddrtimeGetTime=(DWORD)GetProcAddress(hWsock32,"timeGetTime");//获取api函数timeGetTime真正的地址
    DWORD tmp=(DWORD)MytimeGetTime-(dwAddrtimeGetTime+5);// 假冒的API函数地址的字节(一个4个字节)
        //通过字节的形式来代表假冒api函数MytimeGetTime的地址 ,保存到变量tem里面
        //公式:假冒的API函数地址的4个字节=My函数地址-(真的函数地址+5)

        WriteJMP(dwAddrtimeGetTime,&tmp);//开始HOOK-修改timeGetTime函数头的5个字节

  }

   if(reason==DLL_PROCESS_DETACH)// 如果DLL被卸载, DLL_PROCESS_DETACH表示卸载DLL的时候
  {
    UnHOOK(dwAddrtimeGetTime);//卸载HOOK -恢复timeGetTime函数头的5个字节
  }



return TRUE;
}

还有自动挂机打材料的挂主要是图色按键挂 和 内存脚本挂。

而大部分的挂都是采用易语言开发。

目前我设计的发外挂系统针对千年游戏中出现的以上两类外挂有很好的作用

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
千年封包解密库 MICROSOFT FOUNDATION CLASS LIBRARY : SubPacket AppWizard has created this SubPacket application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. This file contains a summary of what you will find in each of the files that make up your SubPacket application. SubPacket.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. SubPacket.h This is the main header file for the application. It includes other project specific headers (including Resource.h) and declares the CSubPacketApp application class. SubPacket.cpp This is the main application source file that contains the application class CSubPacketApp. SubPacket.rc This is a listing of all of the Microsoft Windows resources that the program uses. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. This file can be directly edited in Microsoft Visual C++. SubPacket.clw This file contains information used by ClassWizard to edit existing classes or add new classes. ClassWizard also uses this file to store information needed to create and edit message maps and dialog data maps and to create prototype member functions. resSubPacket.ico This is an icon file, which is used as the application s icon. This icon is included by the main resource file SubPacket.rc. resSubPacket.rc2 This file contains resources that are not edited by Microsoft Visual C++. You should place all resources not editable by the resource editor in this file. AppWizard creates one dialog class: SubPacketDlg.h, SubPacketDlg.cpp - the dialog These files contain your CSubPacketDlg class. This class defines the be
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

侠客软件开发

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值