From b5bf9ed1d785be57f6052e0c24a2abc42e92956f Mon Sep 17 00:00:00 2001 From: Scipio Wright Date: Fri, 4 Apr 2025 18:53:13 -0400 Subject: [PATCH] TUNIC: Error message in the spot that UT errors at if you have an old APWorld #4788 Schnice and Shrimple --- worlds/tunic/er_scripts.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/worlds/tunic/er_scripts.py b/worlds/tunic/er_scripts.py index ddb4ec6c..597c65b9 100644 --- a/worlds/tunic/er_scripts.py +++ b/worlds/tunic/er_scripts.py @@ -330,7 +330,11 @@ def pair_portals(world: "TunicWorld", regions: Dict[str, Region]) -> Dict[Portal else: if not portal2: raise Exception(f"Could not find entrance named {p_exit} for " - f"plando connections in {player_name}'s YAML.") + f"plando connections in {player_name}'s YAML.\n" + f"If you are using Universal Tracker, the most likely reason for this error " + f"is that the host generated with a newer version of the APWorld.\n" + f"Please check the TUNIC Randomizer Github and place the newest APWorld in your " + f"custom_worlds folder, and remove the one in lib/worlds if there is one there.") dead_ends.remove(portal2) # update the traversal chart to say you can get from portal1's region to portal2's and vice versa