[BUGFIX] Fixed Chusan Map Overload #175

Merged
Hay1tsme merged 2 commits from EmmyHeart/artemis:develop into develop 2024-09-14 04:34:45 +00:00
Contributor

As part of the game's requests to the title server, it specifies a list of map areas that it wants progress for. With the previous code, we sent back all of the maps, which the game seemed to not care about, but if the map progress table is large (e.g. with certain map omnimixes), the size of the output can go far beyond what the response parser can take, leading to no map progress loading at all.

This commit modifies how get_map_areas works to only return the maps that the game requested, saving network bandwith for unavailable maps and ensuring that the parser limit should never be reached.

This bug may also be present in Paradise Lost and older, but I have not been able to test.

As part of the game's requests to the title server, it specifies a list of map areas that it wants progress for. With the previous code, we sent back all of the maps, which the game seemed to not care about, but if the map progress table is large (e.g. with certain map omnimixes), the size of the output can go far beyond what the response parser can take, leading to no map progress loading at all. This commit modifies how get_map_areas works to **only** return the maps that the game requested, saving network bandwith for unavailable maps and ensuring that the parser limit _should_ never be reached. This bug may also be present in Paradise Lost and older, but I have not been able to test.
EmmyHeart added 2 commits 2024-09-14 01:34:09 +00:00
Owner

Confirmed over discord, merging

Confirmed over discord, merging
Hay1tsme merged commit 6f6a300879 into develop 2024-09-14 04:34:45 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Hay1tsme/artemis#175
No description provided.