This commit is contained in:
947330670@qq.com 2022-11-10 04:27:41 +08:00
parent 9a08d162ad
commit a526a65f3e
4 changed files with 10 additions and 2 deletions

View File

@ -112,6 +112,7 @@ void _fastcall hook::H_Register_DrawCode(DWORD thisc, int Seat, int a3, int a4,
#endif
#ifndef SELL
/*
//副屏绘制文字
if (a3 == 15 && a4 == 503)
{
@ -124,6 +125,7 @@ void _fastcall hook::H_Register_DrawCode(DWORD thisc, int Seat, int a3, int a4,
DrawCodeT3_STL.clear();
return;
}
*/
//Ver.1180.2.1r
if (GameStr.find("Ver. 1.180.2.1r") != std::string::npos)
@ -648,8 +650,6 @@ int _fastcall New_inventory_M_Pos(DWORD thisc, DWORD Seat)
int hook::RegisterHook()
{
MH_Initialize();
//HOOK背包鼠标位置

View File

@ -50,6 +50,8 @@
#define RecoverySystem "回收系统 开启"
#define Inventory_M_Pos "背包鼠标位置HOOK 开启"//(开启回收系统需要鼠标位置支持)
#define COPY_MESSAGE "消息框黏贴HOOK 开启"
#define CHRATRBT_SWITCH "人物或装备属性 查看 修改 开启"

View File

@ -25,6 +25,7 @@ void sock::Pack_Control(int idx, int code, void* p3, void* p4)
#if defined CUSTOM_PACK_SOCK
/*
if (Op == 610)
{
uint32_t v = GetSqVm();
@ -36,6 +37,7 @@ void sock::Pack_Control(int idx, int code, void* p3, void* p4)
SQ_Call(v, 2, 0, 1);
SQPop(v, 2);
}
*/
if (Op >= 30 && Op <= 40)
{
uint32_t v = GetSqVm();

View File

@ -1943,6 +1943,10 @@ void squirrel::InitGameScript()
{
uint32_t v = GetSqVm();
//ÏûÏ¢¿òð¤Ìù
#ifdef COPY_MESSAGE
* (WORD*)0x011C53B0 = 0x01B0;
#endif // COPY_MESSAGE
#ifdef SELL