1111
This commit is contained in:
parent
9a08d162ad
commit
a526a65f3e
|
|
@ -112,6 +112,7 @@ void _fastcall hook::H_Register_DrawCode(DWORD thisc, int Seat, int a3, int a4,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef SELL
|
#ifndef SELL
|
||||||
|
/*
|
||||||
//副屏绘制文字
|
//副屏绘制文字
|
||||||
if (a3 == 15 && a4 == 503)
|
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();
|
DrawCodeT3_STL.clear();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
//Ver.1180.2.1r
|
//Ver.1180.2.1r
|
||||||
if (GameStr.find("Ver. 1.180.2.1r") != std::string::npos)
|
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()
|
int hook::RegisterHook()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
MH_Initialize();
|
MH_Initialize();
|
||||||
|
|
||||||
//HOOK背包鼠标位置
|
//HOOK背包鼠标位置
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,8 @@
|
||||||
|
|
||||||
#define RecoverySystem "回收系统 开启"
|
#define RecoverySystem "回收系统 开启"
|
||||||
#define Inventory_M_Pos "背包鼠标位置HOOK 开启"//(开启回收系统需要鼠标位置支持)
|
#define Inventory_M_Pos "背包鼠标位置HOOK 开启"//(开启回收系统需要鼠标位置支持)
|
||||||
|
#define COPY_MESSAGE "消息框黏贴HOOK 开启"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define CHRATRBT_SWITCH "人物或装备属性 查看 修改 开启"
|
#define CHRATRBT_SWITCH "人物或装备属性 查看 修改 开启"
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ void sock::Pack_Control(int idx, int code, void* p3, void* p4)
|
||||||
|
|
||||||
|
|
||||||
#if defined CUSTOM_PACK_SOCK
|
#if defined CUSTOM_PACK_SOCK
|
||||||
|
/*
|
||||||
if (Op == 610)
|
if (Op == 610)
|
||||||
{
|
{
|
||||||
uint32_t v = GetSqVm();
|
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);
|
SQ_Call(v, 2, 0, 1);
|
||||||
SQPop(v, 2);
|
SQPop(v, 2);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
if (Op >= 30 && Op <= 40)
|
if (Op >= 30 && Op <= 40)
|
||||||
{
|
{
|
||||||
uint32_t v = GetSqVm();
|
uint32_t v = GetSqVm();
|
||||||
|
|
|
||||||
|
|
@ -1943,6 +1943,10 @@ void squirrel::InitGameScript()
|
||||||
{
|
{
|
||||||
uint32_t v = GetSqVm();
|
uint32_t v = GetSqVm();
|
||||||
|
|
||||||
|
//ÏûÏ¢¿òð¤Ìù
|
||||||
|
#ifdef COPY_MESSAGE
|
||||||
|
* (WORD*)0x011C53B0 = 0x01B0;
|
||||||
|
#endif // COPY_MESSAGE
|
||||||
|
|
||||||
|
|
||||||
#ifdef SELL
|
#ifdef SELL
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue