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

Weekly Merge #222

Merged
merged 106 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from 105 commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
7ef3cef
[add] 添加 Forge 其它崩溃原因 (#148)
youzi-2333 Sep 9, 2023
4aa4eb7
✨ update: 再次更新Analyzer, 使用MCLA API并修复一些错误 #140 (#149)
zyxkad Sep 22, 2023
8e08038
fix upload button disabled forever issue
zyxkad Sep 22, 2023
46397ea
support version control for MCLA
zyxkad Sep 22, 2023
ef280d7
Support read & analysis multiple files
zyxkad Sep 22, 2023
c746aa9
fix a debug log
zyxkad Sep 22, 2023
50d97f2
remove nosense logs
zyxkad Sep 22, 2023
ce5c78a
run eslint
zyxkad Sep 22, 2023
24be3ef
remove the extra `window.` prefix
zyxkad Sep 22, 2023
5ad1af3
bump MCLA to v0.4.9
zyxkad Sep 23, 2023
a72360b
✨ feat: vitepress plugins
Big-Cake-jpg Sep 30, 2023
b39a2f7
bump mcla to v0.4.13 (#155)
zyxkad Sep 30, 2023
de68366
支持Web worker, 使用多线程分析保证浏览器渲染流畅 (#156)
zyxkad Sep 30, 2023
98d74f5
Bump MCLA to v0.4.18
zyxkad Oct 1, 2023
de6fe44
Merge pull request #157 from zyxkad/dev
zyxkad Oct 1, 2023
1c6e831
auto run docs:format in pr-check.yml
zyxkad Oct 1, 2023
04370bd
update pr-check.yml
zyxkad Oct 1, 2023
6ac8a78
update pr-check.yml
zyxkad Oct 1, 2023
98e7818
Merge pull request #158 from zyxkad/dev
2623684696 Oct 1, 2023
c753630
format test
zyxkad Oct 1, 2023
adce355
use docs:lint but not docs:format
zyxkad Oct 1, 2023
8a204b2
🌈 style(css): add `vp-c-brand-1`
Big-Cake-jpg Oct 1, 2023
dcc4d39
add @typescript-eslint/parser
zyxkad Oct 1, 2023
35aa9a1
run docs:format
zyxkad Oct 1, 2023
facf6eb
fix lint
zyxkad Oct 1, 2023
6c3b390
Merge pull request #159 from zyxkad/dev
zyxkad Oct 1, 2023
f0e461b
更名
Seayay Oct 1, 2023
52a5616
Merge pull request #160 from GlobeMC/Seayay-username
2623684696 Oct 1, 2023
8c118f3
move src/mcla_worker.js -> public/scripts/mcla_worker.js
zyxkad Oct 1, 2023
0a02262
Merge branch 'dev' of https://github.com/GlobeMC/crashmc.com into dev
zyxkad Oct 1, 2023
44559cc
run pnpm run docs:format
zyxkad Oct 1, 2023
13e0a63
fix pr-check
zyxkad Oct 1, 2023
dbbcb2a
fix format
zyxkad Oct 1, 2023
e6efe0c
let the format hint output to stderr
zyxkad Oct 1, 2023
2584130
Merge pull request #161 from zyxkad/dev
zyxkad Oct 2, 2023
83be511
✨ update: 更新 Java 链接 (#162)
2623684696 Oct 2, 2023
5ed50e2
更改java下载为cdn
2623684696 Oct 2, 2023
79b3cd3
✨ feat(husky): add git hooks
bingling-sama Oct 20, 2023
26a3de4
Merge branch 'dev' of github.com:GlobeMC/crashmc.com into dev
bingling-sama Oct 20, 2023
b1b98aa
✨ update: 添加更多 Mod 问题 (#165)
youzi-2333 Oct 20, 2023
cda1e5c
🛠️ fix: 修复 zhlint 和 Actions (#166)
zyxkad Oct 20, 2023
8bb7c8f
update contribute/contributing.md
zyxkad Oct 21, 2023
9050b4f
Merge pull request #167 from zyxkad/dev
zyxkad Oct 21, 2023
7d4c1c0
Update CRASH-UPLOAD.yml
zyxkad Jan 2, 2024
bdc00ac
Update CRASH-UPLOAD.yml
zyxkad Jan 2, 2024
fc17106
Add a header for log file in CRASH-UPLOAD.yml
zyxkad Jan 2, 2024
2c7f38d
Merge pull request #175 from GlobeMC/zyxkad-patch-1
zyxkad Jan 14, 2024
cb68ee8
Revert "Update CRASH-UPLOAD.yml"
zyxkad Jan 14, 2024
d0fae17
Merge pull request #179 from GlobeMC/revert-175-zyxkad-patch-1
Pigeon0v0 Jan 14, 2024
c942bb5
Update CRASH-UPLOAD.yml
zyxkad Jan 14, 2024
8923dc8
Merge pull request #180 from GlobeMC/zyxkad-patch-1
zyxkad Jan 14, 2024
5affa0c
🛠️ bump MCLA to v0.4.22 (#182)
zyxkad Jan 16, 2024
aa4ef58
Add LogViewer and Github OAuth
zyxkad Jan 17, 2024
62d9c35
revert CRASH-UPLOAD.yml
zyxkad Jan 17, 2024
537b73d
Merge pull request #183 from zyxkad/dev
zyxkad Jan 17, 2024
9876496
添加错误: 在服务端运行仅客户端模组
zyxkad Jan 17, 2024
48c26ad
bumb MCLA to v0.4.23
zyxkad Jan 17, 2024
e181b8b
format use space
zyxkad Jan 17, 2024
9c1bafe
Merge pull request #186 from zyxkad/dev2
zyxkad Jan 17, 2024
e3518f6
Merge pull request #185 from zyxkad/dev
zyxkad Jan 17, 2024
1bbff3a
reforged auth flow
zyxkad Jan 18, 2024
4089334
remove the old token when it was expired
zyxkad Jan 18, 2024
c315077
bump github ci node version to 20
zyxkad Jan 18, 2024
55c7a72
bump node version to 20 for pr-check
zyxkad Jan 18, 2024
df57127
Merge pull request #187 from zyxkad/dev
zyxkad Jan 18, 2024
785883e
Update pr-check.yml
zyxkad Jan 18, 2024
3718d2d
Merge pull request #189 from GlobeMC/zyxkad-patch-2
zyxkad Jan 18, 2024
c4cd162
add MCLA loading progress (#190)
zyxkad Jan 19, 2024
0363e72
Add Utf-8崩溃
Rovniced Jan 19, 2024
52966ec
Add Windows下Utf-8问题导致的崩溃
Rovniced Jan 19, 2024
2436902
Fix tsconfigs for webworker scripts
zyxkad Jan 22, 2024
b4c0a6b
use @ instead of relative paths
zyxkad Jan 22, 2024
47f2495
Merge pull request #194 from zyxkad/dev
zyxkad Jan 23, 2024
3156e3d
加入死马的百度的验证 验证完可以删
2623684696 Jan 30, 2024
ea56510
Merge pull request #199 from GlobeMC/f--k-baidu-85
2623684696 Jan 30, 2024
8904561
fix: remove unused @ts-expect-error
zyxkad Jan 30, 2024
4ffe7b0
Merge pull request #202 from GlobeMC/zyxkad-patch-1
zyxkad Jan 30, 2024
1e42cf7
添加服务端解决方案 (#206)
bingxin666 Feb 2, 2024
6855b36
把 Issue 模版里的 崩溃日志 改成必须
hejiehao Feb 3, 2024
4f6038c
删了
hejiehao Feb 3, 2024
5c46250
大量的修改,我觉得这堆可以推生产分支了
Big-Cake-jpg Feb 3, 2024
49eea78
少推了一个东西
Big-Cake-jpg Feb 3, 2024
bc72bf0
Merge branch 'main' into dev
Big-Cake-jpg Feb 3, 2024
4ba3122
更新用语
Big-Cake-jpg Feb 3, 2024
e802791
一些更新 (#211)
bingxin666 Feb 3, 2024
44cf9e9
Merge pull request #208 from hejiehao/dev
zyxkad Feb 4, 2024
d1d4435
增加通用问题 (#209)
hejiehao Feb 6, 2024
375e67a
📃 docs(contribute): edit crash-report
bingling-sama Feb 16, 2024
c88a853
🌈 style(zhlint): disable zhlint
bingling-sama Feb 16, 2024
a6a7ee4
📃 docs: edit README
bingling-sama Feb 16, 2024
b02b7b2
添加内存泄漏问题
2623684696 Feb 16, 2024
f344d48
放错位置了()
2623684696 Feb 16, 2024
9242179
📃 docs(contributing): rewrite contributing
bingling-sama Feb 16, 2024
faf3c98
Update common.md
2623684696 Feb 16, 2024
3ec4e25
Update shared.md
2623684696 Feb 16, 2024
843ed8b
fix 用语
bingxin666 Feb 16, 2024
97e2d73
fix bug
bingxin666 Feb 16, 2024
d731d86
Update docs/server/shared.md
bingxin666 Feb 16, 2024
39ce46e
Merge branch 'dev' into add-common
bingling-sama Feb 16, 2024
bcc4799
Rename common.md to commons.md
2623684696 Feb 16, 2024
78129fc
Update docs/commons.md
2623684696 Feb 16, 2024
001a40e
📃 docs(sidebar): add commons
bingling-sama Feb 16, 2024
f1446bf
🐳 chore(workflows): fix workflows
bingling-sama Feb 16, 2024
0fc7e8f
Add common and更改服务器通用错误 (#221)
bingling-sama Feb 16, 2024
6b657f5
Merge branch 'main' into dev
bingling-sama Feb 16, 2024
bf7ef83
🐞 fix(docs): fix plugins.md
bingling-sama Feb 16, 2024
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
15 changes: 3 additions & 12 deletions .github/ISSUE_TEMPLATE/CRASH-UPLOAD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,14 @@ body:
render: bash
validations:
required: true
- type: textarea
id: logs
attributes:
label: "崩溃日志"
description: 请将您的崩溃日志粘贴到此处
placeholder: 日志...
render: bash
validations:
required: true
- type: textarea
id: log-files
attributes:
label: "日志文件"
description: 如果日志太长无法提交,请将日志文件拖放到这里
placeholder: 不要在这里粘贴日志
description: 请优先使用 [MCLogs](https://mclo.gs) 提交日志
placeholder: 粘贴 MCLogs 链接、粘贴日志内容或上传日志文件
validations:
required: false
required: true
- type: dropdown
id: os
attributes:
Expand Down
3 changes: 2 additions & 1 deletion .github/reviewer-lottery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ groups:
- Big-Cake-jpg
- bingxin666
- XieXiLin2
- HRxiaohu
- HRxiaohu
- bingling-sama
42 changes: 0 additions & 42 deletions .github/workflows/gh-pages.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/pr-check.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ echo "running docs:tsc"
pnpm run docs:tsc
echo "running docs:eslint --fix"
pnpm run docs:eslint --fix
echo "running docs:zhlint"
pnpm run docs:zhlint
# echo "running docs:zhlint"
# pnpm run docs:zhlint
3 changes: 2 additions & 1 deletion .zhlintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"preset": "default",
"rules": {
}
"noSpaceInsideHyperMark": false
}
}
20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,28 @@

## 贡献

### 依赖工具
### 项目架构

- [Git](https://git-scm.com/downloads)
- [pnpm](https://pnpm.io/installation)
- [pnpm](https://pnpm.io/installation) 提供包管理工具
- [Vitepress](https://vitepress.dev/) 驱动构建静态网页
- [CloudFlare](https://www.cloudflare.com/) 提供静态网站部署服务

### 注意事项

请先 [Fork](https://github.com/GlobeMC/crashmc.com/fork) 本仓库,然后进行文档修改。

请注意:在非 Log 信息以外的任何地方,如果出现中文文字、英文单词和阿拉伯数字混用的情况,请在它们之间添加空格;如果有斜杠的,请在斜杠两边增加一个空格
本文档按 [W3C Requirement for Chinese Text Layout](https://www.w3.org/International/clreq/) 进行排版,在贡献内容时请注意排版格式

例:`GlobeMC 河豚分析是一个 2023 年 7 月底成立的崩溃日志分析组织,以方便 / 开放 / 专业为目标`、`Java 8`
请注意:在非 Log 信息以外的任何地方,如果出现中文文字、英文单词和阿拉伯数字混用的情况,请在它们之间添加空格;如果有斜杠的,请在斜杠两边增加一个空格。如:

在涉及非 Log 信息以外的任何地方,英文单词原则上首字母大写,部分情况需要按照规则大写,英文句子首字母大写。
- GlobeMC 河豚分析是一个 2023 年 7 月底成立的崩溃日志分析组织,以方便、开放、专业为目标
- `Java 8`

例:`Minecraft`、`OptiFine`、`What your love is your life.`
在涉及非 Log 信息以外的任何地方,英文单词原则上首字母大写,部分情况需要按照规则大写,英文句子首字母大写。如:

- Minecraft
- OptiFine
- What you love is your life.

在涉及路径时,请在路径的前后加上空格。

Expand Down
2 changes: 2 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ const themeConfig: DefaultTheme.Config = {
nav: [
{ text: "主页", link: "/" },
{ text: "崩溃分析工具", link: "/analyzer" },
{ text: "通用问题", link: "/commons" },
{
text: "客户端崩溃",
activeMatch: "/client/*",
items: [
{ text: "通用问题", link: "/client/shared" },
{ text: "系统问题", link: "/client/system" },
{ text: "原版问题", link: "/client/vanilla" },
{ text: "Mod 问题", link: "/client/mods" },
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/data/members.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const members = [
{
avatar: "https://cdn.crashmc.com/https://github.com/bingling-sama.png",
name: "bingling-sama",
title: "开发者",
title: "开发者 | 文档贡献者",
links: [{ icon: "github", link: "https://github.com/bingling-sama" }],
},
{
Expand Down
36 changes: 1 addition & 35 deletions docs/client/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,53 +14,19 @@ Minecraft 客户端,是 Minecraft 游戏本身一大组成部分。通俗来

游戏的文件目录一般如下所示。

```
```filetree
.minecraft
├─assets
│ ├─indexes
│ ├─objects
│ │ ├─00
│ │ ├─01
│ │ ├─02
│ │ ├─03
│ │ ├─04
│ │ ├─05
│ │ ├─06
│ │ ├─07
│ │ ├─08
│ │ ├─09
│ │ ├─0a
│ │ ├─0b
│ │ ├─0c
│ │ ├─0d
│ │ ├─0e
│ │ ├─0f
│ │ ├─10
│ │ ├─11
│ │ ├─12
│ │ ├─...
│ │ ├─fe
│ │ └─ff
│ ├─skins
│ │ ├─00
│ │ ├─01
│ │ ├─02
│ │ ├─03
│ │ ├─04
│ │ ├─05
│ │ ├─06
│ │ ├─07
│ │ ├─08
│ │ ├─09
│ │ ├─0a
│ │ ├─0b
│ │ ├─0c
│ │ ├─0d
│ │ ├─0e
│ │ ├─0f
│ │ ├─10
│ │ ├─11
│ │ ├─12
│ │ ├─...
│ │ ├─fe
│ │ └─ff
Expand Down
17 changes: 17 additions & 0 deletions docs/commons.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 双端通用问题

## 内存溢出

解释:JVM 内存溢出,导致游戏崩溃。

解决方案:更新显卡驱动,64 位系统用户请确保使用 64 位 Java ,32 位系统用户请调低你的 Minecraft 使用内存

显卡驱动下载:[Intel](https://www.intel.cn/content/www/cn/zh/search.html#sort=relevancy&f:@tabfilter=[Downloads]&f:@stm_10385_zh=[%E6%98%BE%E5%8D%A1]) | [AMD](https://www.amd.com/zh-hans/support) | [Nvidia](https://www.nvidia.cn/geforce/drivers/)

64 位 Java 下载:[Java 8](https://cdn.crashmc.com/https://github.com/bell-sw/Liberica/releases/download/8u402%2B7/bellsoft-jre8u402+7-windows-amd64-full.msi) | [JDK 17](https://cdn.crashmc.com/https://github.com/bell-sw/Liberica/releases/download/17.0.10%2B13/bellsoft-jdk17.0.10+13-windows-amd64.msi)

关键词:

```
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffb5c7288a1, pid=25504, tid=25880
```
91 changes: 55 additions & 36 deletions docs/contribute/contributing.md
Original file line number Diff line number Diff line change
@@ -1,72 +1,91 @@
---
contributors: [HRxiaohu]
contributors: [HRxiaohu, bingling-sama]
---

# 贡献指南

## 排版标准
在向 CrashMC 贡献内容前,请务必仔细阅读以下贡献流程,以便我们进行代码审查工作。

请先 Fork 本仓库,然后进行文档修改。排版时请务必遵循中文文案排版指北。
## Step1.克隆项目

请注意:在非 Log 信息以外的任何地方,如果出现中文文字、英文单词和阿拉伯数字混用的情况,请在它们之间添加空格;如果有斜杠的,请在斜杠两边增加一个空格。

例:`GlobeMC 河豚分析是一个 2023 年 7 月底成立的崩溃日志分析组织,以方便 / 开放 / 专业为目标`、`Java 8`
首先 fork [GitHub Repo](https://github.com/GlobeMC/crashmc.com) 到你名下,然后克隆仓库到本地:

在涉及非 Log 信息以外的任何地方,英文单词原则上首字母大写,部分情况需要按照规则大写,英文句子首字母大写。
```bash
# 推荐使用 SSH
git clone [email protected]:{yourname}/crashmc.com.git
# 也可以使用 HTTPS (不推荐)
git clone https://github.com/{yourname}/crashmc.com.git
```

例:`Minecraft`、`OptiFine`、`What your love is your life`
推荐使用 [VSCode](https://code.visualstudio.com/) 编辑内容

在涉及路径时,请在路径的前后加上空格。
:::tip GitHub Web Editor
如果内容较少,你可以直接使用 [GitHub Web Editor](https://github.dev) 来进行修改。

例:`路径 D:/PCL/.minecraft/mods 是存放 Mods 的地方`
但同样,你需要先将 Repo fork 你自己名下,以便后期进行 pr。
:::

所有专有名词都应该使用反引号 `` ` `` 包裹。
## Step2.贡献内容

例:`` `Minecraft` ``、`` `Curseforge` ``、`` `MC百科` ``

在涉及任何站外链接时,请优先添加官方链接,尽量避免不必要的第三方链接。
### 文档内容

如果某一个解决方案为特定启动器独占功能,我们提供了全局组件来标注它。示例如下:
本文档按 [W3C Requirement for Chinese Text Layout](https://www.w3.org/International/clreq/) 进行排版,在贡献内容时请注意排版格式。

:::tip HMCL
在涉及任何站外链接时,请优先添加官方链接,尽量避免不必要的第三方链接。

### 修改渲染器 <LauncherBadge type="hmcl" text="仅 HMCL" />
如果某一个解决方案为特定启动器独占功能,我们提供了全局组件来标注它。示例如下:

```md
### 修改渲染器 <LauncherBadge type="hmcl" text="仅 HMCL" />
```markdown
<LauncherBadge type="hmcl" text="仅 HMCL" />
<LauncherBadge type="bakaxl" text="仅 BakaXL" />
<LauncherBadge type="pcl" text="仅 PCL2" />
```

:::
实际效果:

:::tip BakaXL
- <LauncherBadge type="hmcl" text="仅 HMCL" />
- <LauncherBadge type="bakaxl" text="仅 BakaXL" />
- <LauncherBadge type="pcl" text="仅 PCL2" />

### 重置核心 <LauncherBadge type="bakaxl" text="仅 BakaXL" />
如果您参与编辑了一篇文档的绝大部分,可以填写 Markdown Frontmatter contributor 字段,以将您的 GitHub 用户名添加到贡献者列表,格式如下。

```md
### 重置核心 <LauncherBadge type="bakaxl" text="仅 BakaXL" />
---
contributors: [username1, username2]
---
```

:::warning 警告

- 请一定要使用 GitHub 用户名署名,否则我们无法获取您的头像。
- 上述代码中所使用的均为英文半角逗号!

:::

:::tip PCL2
### 代码内容

### 修改验证服务器 <LauncherBadge type="pcl" text="仅 PCL2" />
如果您参与了代码内容的修改,~~相信您应该多少懂一些贡献流程,~~ 这里不再过多赘述贡献流程。

```md
### 修改验证服务器 <LauncherBadge type="pcl" text="仅 PCL2" />
```
## Step3.提交更改

在完成内容编写以后,请将您的所有更改 commit 到您的 fork 下,再向 [这里](https://github.com/GlobeMC/crashmc.com/tree/dev) 提交 pr。

:::warning 重要提醒
请务必将您的更改 pr 到 `dev` barnch,以便我们审查排版及合并冲突。
:::

在您完成文档修改后,请在 Markdown 文档的最上方修改 contributors Frontmatter,以将您的 GitHub 用户名添加到贡献者列表,格式如下。
:::tip Assign
如果您的更改范围为文档相关,请 Assign `@bingling-sama`、`@xxx` 或 `@xxx`,这会加快我们对您的代码审查与合并速度。
:::

```md
---
contributors: [用户名, 用户名, 用户名]
---
```
## Step4.剩余流程

:::warning 警告
- 请一定要使用 GitHub 用户名署名,否则我们无法获取您的头像。
- 上述代码中所使用的均为英文半角逗号!
:::
在收到您的 pr 后,我们会尽最快速度 review 您的代码,并合并到 `dev` branch。

我们会每周进行一次例行 merge,将所有已完成的更改合并到生产环境 `main` branch,因此请不要将您的更改 pr 到 `main` branch,这会增大我们的代码审查和文档部署工作量。

## 鸣谢

感谢所有为 CrashMC 贡献内容的玩家和开发者,你们的支持是对 CrashMC 最大的鼓励。
Loading