Skip to content

Bug/Workaround of The Chasm region being displayed as Liyue #27

@Artprozew

Description

@Artprozew

When the player teleports to The Chasm, the log will report that region for us. But after some time, it will report the region as Liyue, even if the player is still in The Chasm.

For now, this bug is being worked around by:

if self.region == "liyue" and self.previous_region == "the_chasm":
# Workaround: ensure the player's region is set to "The Chasm" instead of "Liyue"
# But, it will still report "The Chasm" if the player teleports FROM The Chasm to Liyue.
self.logger.debug("Setting region as the_chasm because of previous region")
self.region = "the_chasm"

This code will ensure that the player's region is set to The Chasm if the log reports the region as The Chasm first but then reports Liyue after.
But this introduces another issue. It will still set the region as The Chasm if the player teleports FROM The Chasm to Liyue.

This issue may be related to world hashes, but needs further investigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglow prioritymay be added as time passes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions