Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- 增加账户被禁用的另一种可能 #385

Merged
merged 3 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Minecraft/加入服务器.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"__Author__": "柚子柚子、风释清然SC",
"__Author__": "柚子柚子、风释清然SC、Enigma_SOul",
"Title": "多人游戏常见问题",
"Description": "加入服务器的方法,常见联机失败原因的解决方案",
"Keywords": "掉线主机server",
Expand Down
85 changes: 60 additions & 25 deletions Minecraft/加入服务器.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<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.4 或 1.16.5 版本,或者切换到正版登录。" IsWarn="False" /> -->

<Grid>
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
Text="2. 如果选择 &quot;直接连接&quot; 按钮,则输入服务器地址(即 IP),然后点击 &quot;加入服务器&quot;。" HorizontalAlignment="Left" />
Expand Down Expand Up @@ -36,33 +36,68 @@
<local:MyHint Margin="0,0,0,15" Text="若在加入服务器时遇到问题,可以查看下列常见错误中是否包含了你的问题。" IsWarn="False" />

<local:MyCard Title="多人游戏已被禁用,请检查你的 Microsoft 账户设置" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<local:MyCard Title="正版账户出现问题" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,21">
<local:MyHint Margin="0,0,0,15" Text="更改账户年龄设置" IsWarn="False" />
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="600"
Text="1. 点击下方链接进入 Microsoft 账户信息,并更改个人资料中的年龄。" />
<local:MyListItem Margin="-5,15,-5,0"
Logo = "" Title="Microsoft" Info="Microsoft 账户信息设置"
EventType="打开网页" EventData ="https://account.microsoft.com/profile" Type="Clickable" />
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果你的 MyListItem 没有 Logo,还不如换用 MyButton。
边距太宽了……

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

等下,我那Logo删掉的原因是PCL无法加载microsoft网站的Logo,所以把Logo设置为空,如果把Logo换成一个空白图标会不会更好些

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minecraft 官网有鉴权。

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你这里也不需要用 MyListItem 啊……

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

说实话,主要是好看,有空可以把Icon文件放在图片托管网站上,比 MyButton好看

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

但没有需要的话就应当不用它,改成 MyButton 吧 =。=

<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="600"
Text="注:如果你的账户年龄小于 18 且你是 Microsoft 家庭中的一员,请打开下面查看家庭管理者并用家庭管理者的账号进行更改年龄。" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Text="注:如果你的账户年龄小于 18 且你是 Microsoft 家庭中的一员,请打开下面查看家庭管理者并用家庭管理者的账号进行更改年龄。" />
Text="注:如果你的账户年龄小于 18 且你是 Microsoft 家庭中的一员,请点击下方链接查看家庭管理者,并使用家庭管理者的账号更改年龄。" />

<local:MyListItem Margin="-5,15,-5,0"
Logo = "" Title="Microsoft" Info="Microsoft 家庭设置"
EventType="打开网页" EventData ="https://account.microsoft.com/family/home" Type="Clickable" />
<local:MyHint Margin="0,0,0,15" Text="更改Xbox联机设置" IsWarn="False" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<local:MyHint Margin="0,0,0,15" Text="更改Xbox联机设置" IsWarn="False" />
<local:MyHint Margin="0,0,0,15" Text="更改 Xbox 联机设置" IsWarn="False" />

<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="600"
Text="2. 请打开下方链接进入Xbox在线安全,选择 Xbox 与 Windows 10 设备在线安全,把“您可以加入多人游戏”设置为允许。" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Text="2. 请打开下方链接进入Xbox在线安全,选择 Xbox Windows 10 设备在线安全,把“您可以加入多人游戏”设置为允许。" />
Text="2. 请点击下方链接进入 &quot;Xbox 设置 → 隐私和在线安全&quot;,选择 &quot;Xbox Windows 10 设备在线安全&quot;,将 &quot;您可以加入多人游戏&quot; 设置为 &quot;允许&quot;。" />

<local:MyListItem Margin="-5,15,-5,0"
Logo = "" Title="Xbox" Info="Xbox隐私在线安全"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Logo = "" Title="Xbox" Info="Xbox隐私在线安全"
Logo = "" Title="Xbox" Info="Xbox 隐私和在线安全"

EventType="打开网页" EventData ="https://www.xbox.com/zh-CN/user/settings/privacy-and-safety" Type="Clickable" />
</StackPanel>
</local:MyCard>
<local:MyCard Title="离线账户出现问题" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,21">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="原因:目前离线账户无法使用 1.16.4 和 1.16.5 的多人游戏功能。" />
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="解决方法:请逐一尝试以下方法。" />
<TextBlock Margin="2,0,0,4" LineHeight="17"
Text="1. 使用正版登录或第三方登录进入游戏。" />
<TextBlock Margin="2,0,0,4" LineHeight="17"
Text="2. 尝试在启动游戏时断开网络连接。" />
<TextBlock Margin="2,0,0,4" LineHeight="17"
Text="3. 安装下方的 “离线多人修正” 或 “Offline Multiplayer” 模组。" />
Copy link

@3gf8jv4dv 3gf8jv4dv Jul 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Text="3. 安装下方的 离线多人修正Offline Multiplayer” 模组。" />
Text="3. 安装下方的 &quot;离线多人修正&quot;&quot;Offline Multiplayer&quot; Mod。" />

<local:MyListItem Margin="0,0,0,4"
Title="离线多人修正 | MultiOfflineFix" Info="Fabric / Forge 1.16.4 - 1.16.5"
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/releases" Type="Clickable" />
<!--MCBBS 已关停,此处链接已失效 -->
<TextBlock Margin="2,2,0,4" LineHeight="17"
Text="4. 使用下方的 Authlib 更新工具。" />
<local:MyListItem Margin="0,0,0,4"
Title="Authlib 更新工具" Info="502mc 制作的 Authlib 更新工具,支持修复未安装 Mod 加载器的客户端。"
EventType="打开网页" EventData="https://www.mcbbs.net/thread-1450892-1-1.html" Type="Clickable" />
</StackPanel>
</local:MyCard>

</StackPanel>
</local:MyCard>
Enigma-Soul marked this conversation as resolved.
Show resolved Hide resolved


<local:MyCard Title="连接超时" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="原因:目前离线账户无法使用 1.16.4 和 1.16.5 的多人游戏功能。" />
Text="原因:连接超时。" />
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="解决方法:请逐一尝试以下方法。" />
<TextBlock Margin="2,0,0,4" LineHeight="17"
Text="1. 使用正版登录或第三方登录进入游戏。" />
<TextBlock Margin="2,0,0,4" LineHeight="17"
Text="2. 尝试在启动游戏时断开网络连接。" />
<TextBlock Margin="2,0,0,4" LineHeight="17"
Text="3. 安装下方的 “离线多人修正” 或 “Offline Multiplayer” 模组。" />
<local:MyListItem Margin="0,0,0,4"
Title="离线多人修正 | MultiOfflineFix" Info="Fabric / Forge 1.16.4 - 1.16.5"
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/releases" Type="Clickable" />
<!--MCBBS 已关停,此处链接已失效
<TextBlock Margin="2,2,0,4" LineHeight="17"
Text="4. 使用下方的 Authlib 更新工具。" />
<local:MyListItem Margin="0,0,0,4"
Title="Authlib 更新工具" Info="502mc 制作的 Authlib 更新工具,支持修复未安装 Mod 加载器的客户端。"
EventType="打开网页" EventData="https://www.mcbbs.net/thread-1450892-1-1.html" Type="Clickable" />
-->
Text="解决方法:请逐一尝试和排查以下情况。" />
<TextBlock Margin="2,0,0,4" LineHeight="17"/>
</StackPanel>
</local:MyCard>

<local:MyCard Title="Connection timed out: no further information" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Expand Down Expand Up @@ -217,8 +252,8 @@
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/ -->
<!-- 参考自:https://forums.minecraftforge.net/topic/119626-%C2%A0internal-exception-ionettyhandlercodecdecoderexception-javalangindexoutofboundsexception-readerindex19139-length1 -->
</StackPanel>
</local:MyCard>

<local:MyHint Margin="0,0,0,15" Text="作者:柚子柚子、风释清然SC、龙腾猫跃" IsWarn="False" />
<local:MyHint Margin="0,0,0,15" Text="作者:柚子柚子、风释清然SC、龙腾猫跃、Enigma_Soul" IsWarn="False" />