yushijinhun / authlib-injector

Build your own Minecraft authentication system.
https://authlib-injector.yushi.moe
GNU Affero General Public License v3.0
749 stars 67 forks source link

[bug] authlib-injector 在 20w15a 中无效 #65

Closed SerinaNya closed 4 years ago

SerinaNya commented 4 years ago

Env

HMCL 3.3.160, JRE 1.8.0_162

Description

经测试,在 20w14a 中依然可用。另经小范围调查,确认其他人也有此类情况。

按照日志文件来看,Mojang 似乎改变了 Yggdrasil API 的一些细节

Log

[12:34:21] [Render thread/INFO]: Setting user: Xiao_Jin
[12:34:30] [Render thread/INFO]: Backend library: LWJGL version 3.2.2 build 10
[12:34:40] [Render thread/INFO]: Narrator library for x64 successfully loaded
[12:34:41] [Render thread/INFO]: Reloading ResourceManager: Default
[12:34:52] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[12:35:22] [Render thread/INFO]: OpenAL initialized.
[12:35:22] [Render thread/INFO]: Sound engine started
[12:35:23] [Render thread/INFO]: Created: 1024x1024x2 minecraft:textures/atlas/blocks.png-atlas
[12:35:23] [Render thread/INFO]: Created: 256x128x2 minecraft:textures/atlas/signs.png-atlas
[12:35:23] [Render thread/INFO]: Created: 1024x512x2 minecraft:textures/atlas/banner_patterns.png-atlas
[12:35:23] [Render thread/INFO]: Created: 1024x512x2 minecraft:textures/atlas/shield_patterns.png-atlas
[12:35:23] [Render thread/INFO]: Created: 256x256x2 minecraft:textures/atlas/chest.png-atlas
[12:35:23] [Render thread/INFO]: Created: 512x256x2 minecraft:textures/atlas/beds.png-atlas
[12:35:23] [Render thread/INFO]: Created: 512x256x2 minecraft:textures/atlas/shulker_boxes.png-atlas
[12:35:24] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[12:35:24] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[12:35:24] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[12:36:02] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD'
[12:36:02] [Render thread/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[12:36:02] [Render thread/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[12:36:02] [Render thread/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[12:36:02] [Render thread/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[12:36:02] [Render thread/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[12:36:02] [Server thread/INFO]: Starting integrated minecraft server version 20w15a
[12:36:02] [Server thread/INFO]: Generating keypair
[12:36:03] [Server thread/INFO]: Found new data pack vanilla, loading it automatically
[12:36:03] [Server thread/INFO]: Reloading ResourceManager: Default
[12:36:04] [Server thread/INFO]: Loaded 6 recipes
[12:36:04] [Server thread/INFO]: Loaded 907 advancements
[12:36:07] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[12:36:07] [Render thread/INFO]: 准备生成区域中:0%
[12:36:08] [Render thread/INFO]: 准备生成区域中:0%
[12:36:08] [Render thread/INFO]: 准备生成区域中:0%
[12:36:08] [Render thread/INFO]: 准备生成区域中:0%
[12:36:09] [Render thread/INFO]: 准备生成区域中:0%
[12:36:11] [Render thread/INFO]: 准备生成区域中:0%
[12:36:11] [Render thread/INFO]: 准备生成区域中:0%
[12:36:11] [Render thread/INFO]: 准备生成区域中:0%
[12:36:11] [Render thread/INFO]: 准备生成区域中:0%
[12:36:13] [Render thread/INFO]: 准备生成区域中:1%
[12:36:13] [Render thread/INFO]: 准备生成区域中:1%
[12:36:13] [Render thread/INFO]: 准备生成区域中:1%
[12:36:14] [Render thread/INFO]: 准备生成区域中:41%
[12:36:14] [Render thread/INFO]: 准备生成区域中:41%
[12:36:14] [Render thread/INFO]: 准备生成区域中:41%
[12:36:17] [Render thread/INFO]: 准备生成区域中:51%
[12:36:17] [Render thread/INFO]: 准备生成区域中:51%
[12:36:17] [Render thread/INFO]: 准备生成区域中:51%
[12:36:17] [Render thread/INFO]: 准备生成区域中:51%
[12:36:17] [Render thread/INFO]: 准备生成区域中:51%
[12:36:17] [Render thread/INFO]: 准备生成区域中:51%
[12:36:17] [Render thread/INFO]: 准备生成区域中:51%
[12:36:17] [Server thread/INFO]: Changing view distance to 7, from 10
[12:36:17] [Render thread/INFO]: Time elapsed: 10800 ms
[12:36:20] [Server thread/INFO]: Xiao_Jin[local:E:071d00f1] logged in with entity id 8 at (-51.5, 4.0, -14.5)
[12:36:20] [Server thread/INFO]: Xiao_Jin加入了游戏
[12:36:20] [Server thread/INFO]: Saving and pausing game...
[12:36:20] [Server thread/INFO]: Saving chunks for level '新的世界'/minecraft:overworld
[12:36:21] [Server thread/INFO]: Saving chunks for level '新的世界'/minecraft:the_end
[12:36:21] [Server thread/INFO]: Saving chunks for level '新的世界'/minecraft:the_nether
[12:36:21] [Render thread/INFO]: Loaded 0 advancements
[12:36:45] [Server thread/INFO]: Saving and pausing game...
[12:36:45] [Server thread/INFO]: Saving chunks for level '新的世界'/minecraft:overworld
[12:36:45] [Server thread/INFO]: Saving chunks for level '新的世界'/minecraft:the_end
[12:36:45] [Server thread/INFO]: Saving chunks for level '新的世界'/minecraft:the_nether
[12:36:46] [Server thread/INFO]: Xiao_Jin lost connection: 连接中止
[12:36:46] [Server thread/INFO]: Xiao_Jin退出了游戏
[12:36:46] [Server thread/INFO]: Stopping singleplayer server as player logged out
[12:36:46] [Server thread/INFO]: Stopping server
[12:36:46] [Server thread/INFO]: Saving players
[12:36:46] [Server thread/INFO]: Saving worlds
[12:36:46] [Server thread/INFO]: Saving chunks for level '新的世界'/minecraft:overworld
[12:36:46] [Server thread/INFO]: ThreadedAnvilChunkStorage (新的世界 (3)): All chunks are saved
[12:36:46] [Server thread/INFO]: Saving chunks for level '新的世界'/minecraft:the_end
[12:36:46] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[12:36:46] [Server thread/INFO]: Saving chunks for level '新的世界'/minecraft:the_nether
[12:36:46] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[12:36:46] [Server thread/INFO]: ThreadedAnvilChunkStorage (新的世界 (3)): All chunks are saved
[12:36:46] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[12:36:46] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[12:36:48] [Render thread/INFO]: Stopping!
SerinaNya commented 4 years ago

authlib-injector-1.1.0-SNAPSHOT-af9e793.dirty 中修复了,commit 的时候记得 close 一下

xfl03 commented 4 years ago

Fixed https://github.com/yushijinhun/authlib-injector/commit/59083e83cecdfea02ede268cab2527568b7020cd