Skip to content

Conversation

@MattDeWeerd
Copy link
Contributor

This pull request updates how shop location data is serialized and deserialized in the FoundShopsMenu class to improve parsing reliability. The delimiter used to separate location data fields has been changed from a comma to a unique string sequence.

Location Data Serialization and Parsing:

  • Changed the delimiter for shop location data from a comma (,) to a triple pipe (|||) in both serialization (setLocationData) and deserialization (handleShopItemClick). This reduces the risk of parsing errors if any field contains a comma.
  • Player Warp names can contain , and some shops use Stone,Wood,More! as their shop name.
  • Technically a shop name can contain |||, but it is less likely

@myzticbean myzticbean merged commit a6cc9a7 into myzticbean:master Sep 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants