bedrock-dev / TrapDoor

a dll mod for Minecraft bedrock server, provides functions like je's carpet mod
GNU General Public License v3.0
205 stars 20 forks source link

Hook错误 #54

Closed EternityXuNuo closed 2 years ago

EternityXuNuo commented 3 years ago

Release:0.9.73-1.17.11.01 服务端版本:1.17.11.01 平台:Windows 插件注入器:Liteloader 启动服务端后显示如下:

[!] Hook error at Hook: DetourAttach Error : Village_tick_2a1ecbf8
[!] Hook error at Hook: DetourTransactionBegin Error : ServerLevel_tick_86efb826
[!] Hook error at Hook: DetourTransactionBegin Error : Dimension_tick_39d89862
[!] Hook error at Hook: DetourTransactionBegin Error : LevelChunk_tick_9d729ccd
[!] Hook error at Hook: DetourTransactionBegin Error : LevelChunk_tickBlocks_66280c26
[!] Hook error at Hook: DetourTransactionBegin Error : LevelChunk_tickBlockEntities_41f9b2ca
[!] Hook error at Hook: DetourTransactionBegin Error : BlockTickingQueue_tickPendingTicks_e4625213
[!] Hook error at Hook: DetourTransactionBegin Error : Dimension_tickRedstone_c8a7e6e5
[!] Hook error at Hook: DetourTransactionBegin Error : Level_tickEntitySystems_251e10ba
[!] Hook error at Hook: DetourTransactionBegin Error : CircuitSceneGraph_processPendingAdds_9d2954e5
[!] Hook error at Hook: DetourTransactionBegin Error : CircuitSceneGraph_removeComponent_1f06081d
[!] Hook error at Hook: DetourTransactionBegin Error : Actor_tick_8589defc
[!] Hook error at Hook: DetourTransactionBegin Error : Spawner_spawnStructureMob_98a1693e
[!] Hook error at Hook: DetourTransactionBegin Error : Item_useOn_35e33f80
[!] Hook error at Hook: DetourTransactionBegin Error : CommandRegistry_registerCommand_8574de98
[!] Hook error at Hook: DetourTransactionBegin Error : ServerNetworkHandler_handle_1a4c2996

但还是有部分正常的:

>hook :Explosion_explode_5adcea90
>hook :BlockSource_updateNeighborsAt_4c3f8cf7
>hook :HopperBlockActor_setItem_c0e5f3ce
>hook :Village_tick_2a1ecbf8
>hook :ServerLevel_tick_86efb826
>hook :Dimension_tick_39d89862
>hook :LevelChunk_tick_9d729ccd
>hook :LevelChunk_tickBlocks_66280c26
>hook :LevelChunk_tickBlockEntities_41f9b2ca
>hook :BlockTickingQueue_tickPendingTicks_e4625213
>hook :Dimension_tickRedstone_c8a7e6e5
>hook :Level_tickEntitySystems_251e10ba
>hook :CircuitSceneGraph_processPendingAdds_9d2954e5
>hook :CircuitSceneGraph_removeComponent_1f06081d
>hook :Actor_tick_8589defc
>hook :Spawner_spawnStructureMob_98a1693e
>hook :Item_useOn_35e33f80
>hook :CommandRegistry_registerCommand_8574de98
>hook :ServerNetworkHandler_handle_1a4c2996
hhhxiao commented 3 years ago

emm,我这边是没问题的,奇怪了

hhhxiao commented 3 years ago
Active code page: 65001
TRAPDOOR LOGGER INIT

  _______                  _
 |__   __|                | |
    | |_ __ __ _ _ __   __| | ___   ___  _ __
    | | '__/ _` | '_ \ / _` |/ _ \ / _ \| '__|
    | | | | (_| | |_) | (_| | (_) | (_) | |
    |_|_|  \__,_| .__/ \__,_|\___/ \___/|_|
                | |
                |_|

github:https://github.com/hhhxiao/TrapDoor
License: GPL
trapdoor version: 0.9.73-1.17.11.01-test
build time:     Sep  3 2021      12:33:27
-----------------------------------------------
begin read config file plugins/trapdoor/trapdoor-config.json
read config file plugins/trapdoor/trapdoor-config.json successfully

begin read EULA
read eula success
begin read command permission info
 - /apicfg    enable:1  level:1
 - /backup    enable:1  level:1
 - /c         enable:1  level:1
 - /cl        enable:1  level:0
 - /counter   enable:1  level:1
 - /dev       enable:1  level:1
 - /draw      enable:1  level:0
 - /fakeplayer enable:1  level:1
 - /func      enable:1  level:1
 - /here      enable:1  level:0
 - /hsa       enable:1  level:0
 - /l         enable:1  level:1
 - /lang      enable:1  level:1
 - /mspt      enable:1  level:0
 - /o         enable:1  level:1
 - /os        enable:1  level:0
 - /prof      enable:1  level:0
 - /rs        enable:1  level:1
 - /s         enable:1  level:1
 - /self      enable:1  level:0
 - /slime     enable:1  level:0
 - /spawn     enable:1  level:0
 - /td?       enable:1  level:0
 - /tick      enable:1  level:1
 - /village   enable:1  level:0
read command permission info successfully

begin read low level vanilla command info
here are the all low level commands:
- stop
- whitelist
read low level vanilla commands successfully

begin read server info
 - levelMame : Bedrock level
read server info successfully

begin read village config info
 - bound color: red
 - spawn color: red
 - poiQueryColor: red
 - center:minecraft:heart_particle
read village color successfully

begin read function config
read function config successfully

begin read self command config
read self command config successfully

create BDS mod instance
NO LOG FILE! - setting up server logging...
[2021-09-03 22:07:11 INFO] Starting Server
[2021-09-03 22:07:11 INFO] Version 1.17.11.01
[2021-09-03 22:07:11 INFO] Session ID 0004865f-3bfa-4b6e-9a80-0c2381f4b95a
[2021-09-03 22:07:11 INFO] Level Name: Bedrock level
[2021-09-03 22:07:11 INFO] Game mode: 0 Survival
[2021-09-03 22:07:11 INFO] Difficulty: 1 EASY
[INFO] opening worlds/Bedrock level/db
[INFO] IPv4 supported, port: 19132
[INFO] IPv6 supported, port: 19133
[INFO] IPv4 supported, port: 61096
[INFO] IPv6 supported, port: 61097
set command Registry 00000221A7E61F30
set commandRegistry
init commandRegistry
begin register command
register command lang
register command apicfg
register command tick
register command prof
register command mspt
register command test
register command backup
register command hsa
register command draw
register command village
register command counter
register command o
register command s
register command c
register command slime
register command func
register command self
register command here
register command l
register command os
register command cl
register command td?
set command stop level to gameMaster
set command whitelist level to gameMaster
[INFO] Server started.
init level obj
init server level
mod init
init thread pool
set command permission info
create backup folder
init block map
register command fakeplayer
[INFO] Trapdoor init finish,Server Start

这是我这边的日志