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

CV64: Fix items with weird characters landing on Renon's shop crashing #3305

Merged
merged 1 commit into from
May 15, 2024

Conversation

LiquidCat64
Copy link
Contributor

What is this fixing or adding?

Fixes an oversight with the cv64_text_truncate function wherein for some reason I completely and utterly forgot to check to see if the character we're taking the length of is in cv64_char_dict to begin with. This is problematic for the item names in Renon's shop specifically as they are the only thing that currently use this.

Also changed the replacement character from an _ to a ? because I thought it looked better.

How was this tested?

Plando'd MegaMan Battle Network 3's "AlphaArmΩ V" onto a Renon shop slot and made sure it generated properly.

If this makes graphical changes, please attach screenshots.

Screenshot 2024-05-15 094708

@github-actions github-actions bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label May 15, 2024
@Berserker66 Berserker66 merged commit 4da9cdd into ArchipelagoMW:main May 15, 2024
16 checks passed
@LiquidCat64 LiquidCat64 deleted the CV64_text_truncate_fix branch May 15, 2024 22:22
jnschurig pushed a commit to Tranquilite0/Archipelago-SoulBlazer that referenced this pull request Jun 13, 2024
AustinSumigray pushed a commit to AustinSumigray/Archipelago that referenced this pull request Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-on: peer-review Issue/PR has not been reviewed by enough people yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants