07th-mod / 07th-mod/higurashi-assembly

Exiting to main menu while in a choice freezes (softlocks) the game

Đang mở Phù hợp với người mới
#106 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
backport bug
Ngôn ngữ chính
C#
Star
12
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

When we were doing Rei, I fixed a bug where if you exited to the main menu while a choice was on screen, it would freeze the game. The bug was fixed in https://github.com/07th-mod/higurashi-assembly/commit/5796215489199032ce5e292f90f78d7ddf7ca2e5.

Edit: Note that if you try to save during a choice, that works fine. It's only if you try to exit to the main menu specifically, not just bringing up the right click menu.

It turns out this bug applies to all? chapters, or at least Himatsubishi, because someone reported the same bug just today, and I could reproduce the bug.

To fix this, we just need to apply the same fix to all chapters, although I may need to change how the code is modified for ch1-4 and ch5-8.

Here is a screenshot of where the reporter got softlocked (they were playing the italian version, but it happens on the English version too). This is from the himatsubishi TIPS number 9, after holding CTRL for about 5 seconds.
![Honeyview_image](https://github.com/07th-mod/higurashi-assembly/assets/1249449/d7c537ae-ff55-4191-8cbb-11494c158639)

From here, when you go into the menu, and click "Exit to menu", the UI fades out, but the text remains, and you can't click on anything anymore.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

The fix is already implemented in commit 5796215489199032ce5e292f90f78d7ddf7ca2e5 for one chapter. Need to locate the same code pattern in all other chapters (ch1-4 and ch5-8) and apply the same modification. Start by examining the commit diff to understand the change, then search for similar choice-handling code in the project. Test by reproducing the bug: trigger a choice, exit to main menu, and verify the fix prevents the softlock.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
csharp
Lĩnh vực
game-dev
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
65/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.