DreamVoid / MiraiMC

适用于Minecraft服务器的Mirai机器人
https://docs.miraimc.dreamvoid.me
GNU Affero General Public License v3.0
182 stars 15 forks source link

login命令后无任何反应 #86

Closed lettimepassby closed 2 years ago

lettimepassby commented 2 years ago

问题描述

login命令后无任何反应

复现方法

  1. 使用mirai login命令后无任何反应,mirai list显示离线

版本类型 paper1.8.8

服务器日志

[14:08:48] [Server thread/INFO]: Starting minecraft server version 1.8.8
[14:08:48] [Server thread/INFO]: Loading properties
[14:08:48] [Server thread/INFO]: Default game type: SURVIVAL
[14:08:48] [Server thread/INFO]: This server is running CraftBukkit version git-PaperSpigot-e489049-07c3001 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
[14:08:48] [Server thread/INFO]: Debug logging is disabled
[14:08:48] [Server thread/INFO]: Server Ping Player Sample Count: 12
[14:08:48] [Server thread/INFO]: Using 4 threads for Netty based IO
[14:08:48] [Server thread/INFO]: Data value allowed items: 
[14:08:48] [Server thread/INFO]: Generating keypair
[14:08:49] [Server thread/INFO]: Starting Minecraft server on 127.0.0.1:10086
[14:08:49] [Server thread/INFO]: Using epoll channel type
[14:08:49] [Server thread/INFO]: Set PluginClassLoader as parallel capable
[14:08:49] [Server thread/INFO]: [MiraiMC] Loading MiraiMC v1.5.3
[14:08:49] [Server thread/INFO]: [MiraiMC] Verifying maven-metadata-net.mamoe.mirai-core-all.xml
[14:08:49] [Server thread/INFO]: [MiraiMC] Verifying mirai-core-all-2.10.0-RC2.jar
[14:08:50] [Server thread/INFO]: [MiraiMC] Loading library mirai-core-all-2.10.0-RC2.jar
[14:08:50] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[14:08:50] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[14:08:50] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[14:08:50] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[14:08:50] [Server thread/INFO]: **** Beginning UUID conversion, this may take A LONG time ****
[14:08:50] [Server thread/INFO]: Preparing level "world"
[14:08:50] [Server thread/INFO]: -------- World Settings For [world] --------
[14:08:50] [Server thread/INFO]: Anti X-Ray: true
[14:08:50] [Server thread/INFO]:    Engine Mode: 1
[14:08:50] [Server thread/INFO]:    Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
[14:08:50] [Server thread/INFO]:    Replace Blocks: [1, 5]
[14:08:50] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[14:08:50] [Server thread/INFO]: Mob Spawn Range: 4
[14:08:50] [Server thread/INFO]: Cactus Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: Cane Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: Melon Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: Sapling Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: Wheat Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
[14:08:50] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[14:08:50] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
[14:08:50] [Server thread/INFO]: Random Lighting Updates: false
[14:08:50] [Server thread/INFO]: Structure Info Saving: true
[14:08:50] [Server thread/INFO]: Sending up to 10 chunks per packet
[14:08:50] [Server thread/INFO]: Max Entity Collisions: 8
[14:08:50] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
[14:08:50] [Server thread/INFO]: Max TNT Explosions: 100
[14:08:50] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[14:08:50] [Server thread/INFO]: Item Despawn Rate: 6000
[14:08:50] [Server thread/INFO]: Item Merge Radius: 2.5
[14:08:50] [Server thread/INFO]: Arrow Despawn Rate: 1200
[14:08:50] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[14:08:50] [Server thread/INFO]: View Distance: 10
[14:08:50] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[14:08:50] [Server thread/INFO]: Chunks to Grow per Tick: 650
[14:08:50] [Server thread/INFO]: Clear tick list: false
[14:08:50] [Server thread/INFO]: Experience Merge Radius: 3.0
[14:08:50] [Server thread/INFO]: -------- World Settings For [world] --------
[14:08:50] [Server thread/INFO]: Squids will spawn between Y: 45.0 and Y: 63.0
[14:08:50] [Server thread/INFO]: Player blocking damage multiplier set to 0.5
[14:08:50] [Server thread/INFO]: Remove invalid mob spawner tile entities: true
[14:08:50] [Server thread/INFO]: Max height for cactus growth 3. Max height for reed growth 3
[14:08:50] [Server thread/INFO]: Living Entity Despawn Ranges:  Soft: 32 Hard: 128
[14:08:50] [Server thread/INFO]: Water over lava flow speed: 5
[14:08:50] [Server thread/INFO]: Fix TNT cannons: false
[14:08:50] [Server thread/INFO]: Allow undead horse types to be leashed: false
[14:08:50] [Server thread/INFO]: World async lighting: false
[14:08:50] [Server thread/INFO]: WorldServer TickNextTick cap set at 10000
[14:08:50] [Server thread/INFO]: WorldServer TickNextTickList cap always processes redstone: false
[14:08:50] [Server thread/INFO]: Keep spawn chunk loaded: true
[14:08:50] [Server thread/INFO]: -------- World Settings For [world_the_end] --------
[14:08:50] [Server thread/INFO]: Anti X-Ray: true
[14:08:50] [Server thread/INFO]:    Engine Mode: 1
[14:08:50] [Server thread/INFO]:    Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
[14:08:50] [Server thread/INFO]:    Replace Blocks: [1, 5]
[14:08:50] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[14:08:50] [Server thread/INFO]: Mob Spawn Range: 4
[14:08:50] [Server thread/INFO]: Cactus Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: Cane Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: Melon Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: Sapling Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: Wheat Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[14:08:50] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
[14:08:50] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[14:08:50] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
[14:08:50] [Server thread/INFO]: Random Lighting Updates: false
[14:08:50] [Server thread/INFO]: Structure Info Saving: true
[14:08:50] [Server thread/INFO]: Sending up to 10 chunks per packet
[14:08:50] [Server thread/INFO]: Max Entity Collisions: 8
[14:08:50] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
[14:08:50] [Server thread/INFO]: Max TNT Explosions: 100
[14:08:50] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[14:08:50] [Server thread/INFO]: Item Despawn Rate: 6000
[14:08:50] [Server thread/INFO]: Item Merge Radius: 2.5
[14:08:50] [Server thread/INFO]: Arrow Despawn Rate: 1200
[14:08:50] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[14:08:50] [Server thread/INFO]: View Distance: 10
[14:08:50] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[14:08:50] [Server thread/INFO]: Chunks to Grow per Tick: 650
[14:08:50] [Server thread/INFO]: Clear tick list: false
[14:08:50] [Server thread/INFO]: Experience Merge Radius: 3.0
[14:08:50] [Server thread/INFO]: -------- World Settings For [world_the_end] --------
[14:08:50] [Server thread/INFO]: Squids will spawn between Y: 45.0 and Y: 63.0
[14:08:50] [Server thread/INFO]: Player blocking damage multiplier set to 0.5
[14:08:50] [Server thread/INFO]: Remove invalid mob spawner tile entities: true
[14:08:50] [Server thread/INFO]: Max height for cactus growth 3. Max height for reed growth 3
[14:08:50] [Server thread/INFO]: Living Entity Despawn Ranges:  Soft: 32 Hard: 128
[14:08:50] [Server thread/INFO]: Water over lava flow speed: 5
[14:08:50] [Server thread/INFO]: Fix TNT cannons: false
[14:08:50] [Server thread/INFO]: Allow undead horse types to be leashed: false
[14:08:50] [Server thread/INFO]: World async lighting: false
[14:08:50] [Server thread/INFO]: WorldServer TickNextTick cap set at 10000
[14:08:50] [Server thread/INFO]: WorldServer TickNextTickList cap always processes redstone: false
[14:08:50] [Server thread/INFO]: Keep spawn chunk loaded: true
[14:08:50] [Server thread/INFO]: Preparing start region for level 0 (Seed: -5079001962705311136)
[14:08:51] [Server thread/INFO]: Preparing start region for level 1 (Seed: -5079001962705311136)
[14:08:51] [Server thread/INFO]: [MiraiMC] Enabling MiraiMC v1.5.3
[14:08:51] [Server thread/INFO]: [MiraiMC] Mirai working dir: default
[14:08:51] [Server thread/INFO]: [MiraiMC] Starting Mirai-Events listener.
[14:08:51] [Server thread/INFO]: [MiraiMC] Loading auto-login file.
[14:08:51] [Server thread/INFO]: [MiraiMC] Registering commands.
[14:08:51] [Server thread/INFO]: [MiraiMC] Registering events.
[14:08:51] [Server thread/INFO]: [MiraiMC] Initializing SQLite database.
[14:08:51] [Server thread/INFO]: [MiraiMC] Initializing bStats metrics.
[14:08:51] [Server thread/WARN]: [MiraiMC] 确保您正在使用开源的MiraiMC插件,未知来源的插件可能会盗取您的账号!
[14:08:51] [Server thread/WARN]: [MiraiMC] 请始终从Github或作者指定的其他途径下载插件: https://github.com/DreamVoid/MiraiMC
[14:08:51] [Server thread/INFO]: [MiraiMC] All tasks done. Welcome to use MiraiMC!
[14:08:51] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[14:08:52] [Server thread/INFO]: Done (1.831s)! For help, type "help" or "?"
[14:08:52] [Craft Scheduler Thread - 0/INFO]: [MiraiMC] [AutoLogin] Starting auto login task.
[14:08:52] [Craft Scheduler Thread - 1/INFO]: [MiraiMC] Checking update...
[14:08:52] [Craft Scheduler Thread - 1/INFO]: [MiraiMC] You are using the latest version!
[14:09:08] [Server thread/INFO]: This server is running MiraiMC version 1.5.3 by DreamVoid
[14:09:08] [Server thread/INFO]: For help, type /mirai help
[14:09:10] [Server thread/INFO]: 存在的机器人: 
[14:09:24] [Craft Scheduler Thread - 1/INFO]: [MiraiMC] 登录新的机器人账号: 3338380774, 协议: ANDROID_PHONE
[14:09:53] [Server thread/INFO]: 存在的机器人: 
[14:09:53] [Server thread/INFO]: 3338380774 - 离线
[14:12:23] [Craft Scheduler Thread - 2/INFO]: [MiraiMC] 另一个机器人进程已经存在,正在尝试关闭这个进程
[14:12:24] [Craft Scheduler Thread - 2/INFO]: [MiraiMC] Bot cancelled: Job was cancelled
[14:12:24] [Craft Scheduler Thread - 2/INFO]: [MiraiMC] 登录新的机器人账号: 3338380774, 协议: ANDROID_PHONE
[14:16:08] [Server thread/INFO]: Unknown command. Type "/help" for help.
[14:16:10] [Server thread/INFO]: Unknown command. Type "/help" for help.
[14:16:11] [Server thread/INFO]: Unknown command. Type "/help" for help.
[14:16:11] [Server thread/INFO]: Unknown command. Type "/help" for help.
[14:16:12] [Server thread/INFO]: Unknown command. Type "/help" for help.
[14:16:16] [Server thread/INFO]: 存在的机器人: 
[14:16:16] [Server thread/INFO]: 3338380774 - 离线
[14:19:24] [Server thread/INFO]: Unknown command. Type "/help" for help.
[14:19:29] [Server thread/INFO]: This server is running MiraiMC version 1.5.3 by DreamVoid
[14:19:29] [Server thread/INFO]: For help, type /miraimc help
[14:19:46] [Craft Scheduler Thread - 3/INFO]: [MiraiMC] 另一个机器人进程已经存在,正在尝试关闭这个进程
[14:19:47] [Craft Scheduler Thread - 3/INFO]: [MiraiMC] 登录新的机器人账号: 3338380774, 协议: ANDROID_PHONE

额外说明

lettimepassby commented 2 years ago

长时间等待后出现报错 latest.log

DreamVoid commented 2 years ago

尝试首先更新Paper版本:https://papermc.io/api/v2/projects/paper/versions/1.8.8/builds/445/downloads/paper-1.8.8-445.jar

DreamVoid commented 2 years ago

暂做归档处理,如有补充可直接回复。