装备跨界

This commit is contained in:
2025-12-15 15:02:34 +08:00
parent 374f3673ca
commit 7edd836c63
19 changed files with 875 additions and 35 deletions

View File

@@ -529,6 +529,26 @@ function CheackMouseInOldWindows() {
//设定鼠标逻辑
function RunMouseLogic(MousePos_X, MousePos_Y) {
// if (CheackMouseInNewWindows(MousePos_X, MousePos_Y)) {
// //悬停鼠标变更
// Sq_Memory_WriteByteArr(L_sq_I2P(0x110BA8D), [0x90, 0x90, 0x90]);
// //点击头顶图标
// Sq_Memory_WriteByteArr(L_sq_I2P(0xE7220C), [0xEB]);
// //点击NPC打开交互
// Sq_Memory_WriteByteArr(L_sq_I2P(0xE72234), [0xE9, 0xD0, 0x00, 0x00, 0x00, 0x90]);
// //点击仓库交互
// Sq_Memory_WriteByteArr(L_sq_I2P(0xFCF380), [0xC3]);
// //点击邮箱交互
// Sq_Memory_WriteByteArr(L_sq_I2P(0x94FDA0), [0xC3]);
// } else {
// Sq_Memory_WriteByteArr(L_sq_I2P(0x110BA8D), [0x89, 0x5F, 0x48]);
// Sq_Memory_WriteByteArr(L_sq_I2P(0xE7220C), [0x75]);
// Sq_Memory_WriteByteArr(L_sq_I2P(0xE72234), [0x0F, 0x85, 0xCF, 0x00, 0x00, 0x00]);
// Sq_Memory_WriteByteArr(L_sq_I2P(0xFCF380), [0x55]);
// Sq_Memory_WriteByteArr(L_sq_I2P(0x94FDA0), [0x55]);
// }
//解锁鼠标 如果鼠标已处于锁定状态 并且没有悬停在任何窗口上 解锁鼠标
if (R_Mouse.IsLock()) {
//不在任何新窗口上