Просмотр исходного кода

Merge pull request #317 from youzi-2333/master

完善 加入服务器 页面 & 修复图片
龙腾猫跃 3 лет назад
Родитель
Сommit
78afe68af1
2 измененных файлов с 31 добавлено и 21 удалено
  1. 25 15
      Minecraft/加入服务器.xaml
  2. 6 6
      启动器/LittleSkin 外置登录使用教程.xaml

+ 25 - 15
Minecraft/加入服务器.xaml

@@ -5,20 +5,20 @@
         <Grid>
             <TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
                         Text="1. 点击启动游戏按钮,然后单击 &quot;多人游戏&quot;。" HorizontalAlignment="Left" />
-            <Image Margin="220,0,0,15" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/07/22/64bbdb9c30e4a.png?comment=启动游戏" />
+            <Image Margin="220,0,0,15" HorizontalAlignment="Center" Source="https://img.z0z0r4.top/local/2023/08/01/64c8715fcc1ab.png?comment=启动游戏" />
         </Grid>
-        <local:MyHint Margin="0,0,0,15" Text="如果无法点击多人游戏按钮,请不要使用 1.16.x 版本,或者切换到正版登录。" IsWarn="False" />
+        <!-- <local:MyHint Margin="0,0,0,15" Text="如果无法点击多人游戏按钮,请不要使用 1.16.x 版本,或者切换到正版登录。" IsWarn="False" /> -->
         
         <Grid>
             <TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
                         Text="2. 如果选择 &quot;直接连接&quot; 按钮,则输入服务器地址(即 IP),然后点击 &quot;加入服务器&quot;。" HorizontalAlignment="Left" />
-            <Image Margin="220,0,0,15" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/07/22/64bbddff3c14d.png?comment=多人游戏直接连接" />
+            <Image Margin="220,0,0,15" HorizontalAlignment="Center" Source="https://img.z0z0r4.top/local/2023/08/01/64c8715dd99cd.png?comment=多人游戏直接连接" />
         </Grid>
 
         <Grid>
             <TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
                         Text="3. 如果选择 &quot;添加服务器&quot; 按钮,则输入服务器名称、服务器地址(即 IP),然后点击 &quot;完成&quot;,并双击加入该服务器,方便以后快速进入。&#xa;服务器名称用于区分不同的服务器,不影响实际连接效果,也可以保留默认。" HorizontalAlignment="Left" />
-            <Image Margin="220,0,0,20" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/07/22/64bbdfc77fed1.png?comment=多人游戏添加服务器" />
+            <Image Margin="220,0,0,20" HorizontalAlignment="Center" Source="https://img.z0z0r4.top/local/2023/08/01/64c8715c60c66.png?comment=多人游戏添加服务器" />
         </Grid>
 
         <TextBlock Margin="0,0,0,5" LineHeight="17"
@@ -33,7 +33,7 @@
                     Text="    ❌  http://mc.hypixel.net" />
 
         <TextBlock Margin="0,5,0,4" LineHeight="17"
-                    Text="如果在连接服务器时提示 &quot;无法连接至服务器&quot;,或在服务器游玩时提示 &quot;连接已丢失&quot;,你可以查看报错信息,在下面找到错误原因;也可以联系服主,或在 QQ 群求助。" />
+                    Text="如果在连接服务器时提示 &quot;无法连接至服务器&quot;,在服务器游玩时提示 &quot;连接已丢失&quot;,或者无法进入多人游戏页面,你可以查看报错信息,在下面找到错误原因;也可以联系服主,或在 QQ 群求助。" />
     </StackPanel>
 </local:MyCard>
 
@@ -42,10 +42,10 @@
         <TextBlock Margin="0,0,0,4" LineHeight="17"
                     Text="原因:Mojang 限制了离线账户使用 1.16.x 的多人游戏。" />
         <TextBlock Margin="0,0,0,4" LineHeight="17"
-                    Text="解决方法:使用正版登录或断网启动游戏或安装下方的 MultiOfflineFix 或 Offline Multiplayer 模组。" />
+                    Text="解决方法:使用正版登录;尝试在启动游戏时断开网络连接;安装下方的 MultiOfflineFix 或 Offline Multiplayer 模组。" />
         <local:MyListItem  Margin="0,0,0,4"
 		            Title="MultiOfflineFix" Info="Fabric / Forge 1.16.5"
-		            EventType="打开网页" EventData="https://github.com/MCTeamPotato/MultiOfflineFix" Type="Clickable" />
+		            EventType="打开网页" EventData="https://www.mcmod.cn/download/10643.html" Type="Clickable" />
         <local:MyListItem  Margin="0,0,0,4"
 		            Title="Offline Multiplayer" Info="Fabric 1.16.5"
 		            EventType="打开网页" EventData="https://github.com/ChickenPige0n/offline-multiplayer-fabric" Type="Clickable" />
@@ -57,7 +57,7 @@
         <TextBlock Margin="0,0,0,4" LineHeight="17"
                     Text="原因:连接超时。" />
         <TextBlock Margin="0,0,0,4" LineHeight="17"
-                    Text="解决方法:请逐一尝试和排查以下情况:" />
+                    Text="解决方法:请逐一尝试和排查以下情况。" />
         <TextBlock Margin="2,0,0,4" LineHeight="17"
                     Text="1. 确认服务器地址拼写正确(尽量复制粘贴)。" />
         <TextBlock Margin="2,0,0,4" LineHeight="17"
@@ -113,7 +113,7 @@
         <TextBlock Margin="0,0,0,4" LineHeight="17"
                     Text="原因:用户名含非法字符。" />
         <TextBlock Margin="0,0,0,4" LineHeight="17"
-                    Text="解决方法:修改您的游戏用户名,确保仅含英文字母及下划线。" />
+                    Text="解决方法:修改您的游戏用户名,确保仅含英文字母、数字及下划线。" />
     </StackPanel>
 </local:MyCard>
 
@@ -122,7 +122,7 @@
         <TextBlock Margin="0,0,0,4" LineHeight="17"
                     Text="原因:服务器内有相同用户名的玩家。" />
         <TextBlock Margin="0,0,0,4" LineHeight="17"
-                    Text="解决方法:修改您的游戏用户名后再次尝试重新进入服务器。" />
+                    Text="解决方法:修改游戏 ID 后再次尝试重新进入服务器。" />
     </StackPanel>
 </local:MyCard>
 
@@ -131,7 +131,7 @@
         <TextBlock Margin="0,0,0,4" LineHeight="17"
                     Text="原因:客户端版本有误。" />
         <TextBlock Margin="0,0,0,4" LineHeight="17"
-                    Text="解决方法:切换 Minecraft 版本,再重新尝试连接。" />
+                    Text="解决方法:切换 Minecraft 版本为服务器兼容的版本,再重新尝试连接。" />
     </StackPanel>
 </local:MyCard>
 
@@ -180,21 +180,31 @@
     </StackPanel>
 </local:MyCard>
 
-<local:MyCard Title="Server is full!" CanSwap="True" IsSwaped="True">
+<local:MyCard Title="Server is full" CanSwap="True" IsSwaped="True">
     <StackPanel Margin="25,40,23,11">
         <TextBlock Margin="0,0,0,4" LineHeight="17"
                     Text="原因:服务器已满。" />
         <TextBlock Margin="0,0,0,4" LineHeight="17"
-                    Text="解决方法:等待服务器有空位时再次尝试连接服务器。" />
+                    Text="解决方法:等待服务器有玩家退出,再次尝试连接。" />
     </StackPanel>
 </local:MyCard>
 
 <local:MyCard Title="Internal Exception: io.netty.handler.timeout.ReadTimeoutException" CanSwap="True" IsSwaped="True">
     <StackPanel Margin="25,40,23,11">
         <TextBlock Margin="0,0,0,4" LineHeight="17"
-                    Text="原因:客户端取读不了服务器传输的数据包(过大)或服务器状态不佳。" />
+                    Text="原因:客户端无法读取服务器传输的数据包(数据包过大)或服务器状态不佳。" />
         <TextBlock Margin="0,0,0,4" LineHeight="17"
-                    Text="解决方法:联系服主,通常重启服务器可以解决。" />
+                    Text="解决方法:联系服主。通常重启服务器可以解决该问题。" />
+    </StackPanel>
+</local:MyCard>
+
+<local:MyCard Title="Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException" CanSwap="True" IsSwaped="True">
+    <StackPanel Margin="25,40,23,11">
+        <TextBlock Margin="0,0,0,4" LineHeight="17"
+                    Text="原因:Mod 导致错误。" />
+        <TextBlock Margin="0,0,0,4" LineHeight="17"
+                    Text="解决方法:逐个禁用 Mod,并检查问题是否仍然存在。" />
+        <!-- 参考自:https://forums.minecraftforge.net/topic/119626-%C2%A0internal-exception-ionettyhandlercodecdecoderexception-javalangindexoutofboundsexception-readerindex19139-length1/ -->
     </StackPanel>
 </local:MyCard>
 

+ 6 - 6
启动器/LittleSkin 外置登录使用教程.xaml

@@ -40,38 +40,38 @@
         <Grid Margin="0,20,0,4">
             <TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
                         Text="4. 打开 PCL,点击左下角的 “版本选择”。" HorizontalAlignment="Left" />
-            <Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f20230b5136.png" />
+            <Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://img.z0z0r4.top/local/2023/08/01/64c871bde4a0d.png?comment=版本选择" />
         </Grid>
 
         <Grid Margin="0,20,0,4">
             <TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
                         Text="5. 右键点击将要启动的游戏版本。" HorizontalAlignment="Left" />
-            <Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f20230c9e9b.png" />
+            <Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://img.z0z0r4.top/local/2023/08/01/64c871fe7266a.png?comment=右键游戏版本" />
         </Grid>
 
         <Grid Margin="0,20,0,4">
             <TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
                         Text="6. 点击左侧 “设置” 选项。" HorizontalAlignment="Left" />
-            <Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f20230bedd5.png" />
+            <Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://img.z0z0r4.top/local/2023/08/01/64c8725a4a256.png?comment=点击设置选项" />
         </Grid>
 
         <Grid Margin="0,20,0,4">
             <TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
                         Text="7. 滑动到页面底部,在“服务器选项”中把登录方式设为 “第三方登录:Authlib Injector 或 LittleSkin”。" HorizontalAlignment="Left" />
-            <Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/02/20/63f36df35222d.png" />
+            <Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://img.z0z0r4.top/local/2023/08/01/64c872781d6db.png?comment=设置登录方式" />
         </Grid>
 
         <Grid Margin="0,20,0,4">
             <TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
                         Text="8. 点击下方 “设置为 LittleSkin” 按钮。" HorizontalAlignment="Left" />
-            <Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/02/20/63f36e0268931.png" />
+            <Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://img.z0z0r4.top/local/2023/08/01/64c8729a9c5f6.png?comment=设置为littleskin" />
         </Grid>
 
         <local:MyHint Margin="0,20,0,0" Text="在启动游戏后,PCL 能够记忆你的账号,并且可以进行更换角色、更改皮肤、退出登录等操作。" IsWarn="False" />
         <Grid Margin="0,10,0,0">
             <TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
                         Text="9. 返回主页并输入你的 LittleSkin 账号,点击 “启动游戏” 即可。" HorizontalAlignment="Left" />
-            <Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/02/20/63f36e13ba79e.png" />
+            <Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://img.z0z0r4.top/local/2023/08/01/64c872bbdf372.png?comment=启动游戏" />
         </Grid>
     </StackPanel>
 </local:MyCard>