diff --git a/reaper/cogs/log_reading.py b/reaper/cogs/log_reading.py index 41669b0..72962ec 100644 --- a/reaper/cogs/log_reading.py +++ b/reaper/cogs/log_reading.py @@ -258,6 +258,33 @@ async def on_message(self, message): value="", inline=False, ) + elif 'COMPILE ERROR Undefined variable "NSGetModDownloadLinkByModName"' in details: + vanillaplus = False + for mod in mods: + if mod.name == "VanillaPlus": + vanillaplus = True + if vanillaplus: + problem.add_field( + name="Vanilla+", + value="You are likely using an outdated version of Vanilla+. Please uninstall your current version and download the latest one [here](https://thunderstore.io/c/northstar/p/NachosChipeados/VanillaPlus/).", + inline=False, + ) + debug_embed.add_field( + name="Vanilla+", + value="", + inline=False, + ) + else: + problem.add_field( + name="Outdated mods!", + value="One or more mods you have may not support the latest versions of Northstar. Please disable the offending mods until they are updated.", + inline=False, + ) + debug_embed.add_field( + name="Outdated mods!", + value="", + inline=False, + ) else: problem.add_field( name="Unknown compile error",