From 27333a973eecb32b3e427b705100adc8b001118c Mon Sep 17 00:00:00 2001 From: xiaohengying <2602645221@qq.com> Date: Fri, 16 Jul 2021 18:39:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=AA=E5=90=AF=E7=94=A8?= =?UTF-8?q?=E4=BD=9C=E5=BC=8A=E6=97=B6=E6=97=A0=E6=B3=95=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 2 +- api/commands/CommandNode.h | 2 +- tools/package/pack.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0efff99..f351bf6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,7 +68,7 @@ target_link_libraries(${MOD_API_NAME} ${PROJECT_SOURCE_DIR}/api/lib/detours.lib) set(TRAPDOOR_VERSION 0.9.51) set(MCBE_VERSION 1.17.10.04) set(BETA ON) -set(TEST_NUMBER 1) +set(TEST_NUMBER 2) add_definitions(-DTD_VERSION="${TRAPDOOR_VERSION}") add_definitions(-DMC_VERSION="${MCBE_VERSION}") if (${BETA} STREQUAL "ON") diff --git a/api/commands/CommandNode.h b/api/commands/CommandNode.h index 404826b..941888b 100644 --- a/api/commands/CommandNode.h +++ b/api/commands/CommandNode.h @@ -70,7 +70,7 @@ namespace trapdoor { enum CommandFlag2 : uint8_t { Cheat = 0x0, - NoCheat = 0x40, + NoCheat = 0x80, }; inline const char *CommandFlag2ToStr(CommandFlag2 flag2) { diff --git a/tools/package/pack.py b/tools/package/pack.py index 1da742c..4aa504c 100644 --- a/tools/package/pack.py +++ b/tools/package/pack.py @@ -40,7 +40,7 @@ dll_file = dll_files[len(dll_files)-1-idx] full_dll_file_path = build_dir+'/'+ dll_file -#os.system('upx '+full_dll_file_path) +os.system('upx '+full_dll_file_path) ## check lang and config.json if not (path.exists(lang_folders) and path.exists(config_file)): input('can not find land folder or config_file')