-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workinglow prioritymay be added as time passesmay be added as time passes
Description
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:
GenshinRichPresence/src/main.py
Lines 208 to 212 in ba32dac
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
Labels
bugSomething isn't workingSomething isn't workinglow prioritymay be added as time passesmay be added as time passes