From 68dfc9fbda0ccc6667eab8feb0cac1163e5c723b Mon Sep 17 00:00:00 2001 From: tumGER <25822956+tumGER@users.noreply.github.com> Date: Mon, 15 Apr 2019 11:48:59 +0200 Subject: [PATCH] errcode update (Thanks to Simon, Xor, Roothorick and many more) --- cogs/err.py | 6 +++--- helpers/errcodes.py | 22 +++++++++++++++++++--- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/cogs/err.py b/cogs/err.py index b01ba9d..a099783 100644 --- a/cogs/err.py +++ b/cogs/err.py @@ -15,9 +15,9 @@ class Err(Cog): self.switch_re = re.compile(r'2\d{3}\-\d{4}') self.no_err_desc = "It seems like your error code is unknown. "\ "You should report relevant details to "\ - "<@141532589725974528> (tomGER) "\ + "<@141532589725974528> (tomGER#7462) "\ "so it can be added to the bot." - self.rickroll = "https://www.youtube.com/watch?v=yD2FSwTy2lw" + self.rickroll = "https://www.youtube.com/watch?v=4uj896lr3-E" @commands.command(aliases=["3dserr", "3err", "dserr"]) async def dderr(self, ctx, err: str): @@ -60,7 +60,7 @@ class Err(Cog): await ctx.send("Unknown Format - This is either " "no error code or you made some mistake!") - @commands.command(aliases=["wiiuserr", "uerr","wuerr","mochaerr"]) + @commands.command(aliases=["wiiuserr", "uerr", "wuerr", "mochaerr"]) async def wiiuerr(self, ctx, err: str): """Searches for Wii U error codes! Usage: .wiiuserr/.uerr/.wuerr/.mochaerr """ diff --git a/helpers/errcodes.py b/helpers/errcodes.py index 75ce0c7..8971dca 100644 --- a/helpers/errcodes.py +++ b/helpers/errcodes.py @@ -1,4 +1,4 @@ -# Date: 08.02.2019 +# Date: 15.04.2019 switch_modules = { 1: "Kernel ", 2: "FS ", @@ -64,6 +64,7 @@ switch_modules = { 146: "NGC (Bad Words) ", 147: "Error Report ", 148: "APM ", + 149: "CEC", 150: "Profiler ", 151: "Error Upload ", 153: "Audio ", @@ -149,7 +150,12 @@ switch_known_errcodes = { 0x10601: "Port closed ", 0x10801: "Resource limit exceeded ", 0x20801: "Command buffer too small ", - 0x40a01: "No such process ", + 0x40a01: "Invalid process ID.", + 0x40C01: "Invalid thread ID.", + 0x40E01: "Invalid thread ID (used in svcGetDebugThreadParam).", + 0x6402: "NCA is older than version 3, or NCA SDK version is older than 0.11.0.0", + 0x1408: "Program location for debug entry not found", + 0x40080: "Unbalanced fatal section leave (returned when executing LeaveFatalSection without a preceding EnterFatalSection call)", 0x41001: "Process not being debugged ", 0x202: "Path does not exist. ", 0x402: "Path already exists. ", @@ -651,6 +657,10 @@ switch_known_errcodes = { 0x27EE7C: '(potential) complete account ban', # This error is still super new, needs more informations 0x36B72B: "Access token expired", 0x1F486E: "Internet connection lost because the console entered sleep mode.", + 0x21C89: "Failed to base64-encode the EticketDeviceCertificate during an attempted AccountGetDynamicEtickets (personalized ticket) request to ecs.", + 0x5089: "Failed to snprintf the AccountGetDynamicEtickets (personalized ticket) request JSON data.", + 0x6410: "GetApplicationControlData: unable to find control for the input title ID", + # 0x3E8E89: 'Failed to access Firmware Updates - Often because of DNS!', # ^ Also used by libcurl @@ -658,6 +668,10 @@ switch_known_errcodes = { 0xCAFEF: "Atmosphere: Version Mismatch", + # Pegaswitch + + 0xa7200: "Fake-Error by Pegaswitch" + # SwitchPresence 0x337: "Error_InitSocket", @@ -684,6 +698,8 @@ switch_known_errcodes = { 0x2d37: "Error_GetDebugProc", 0x2f37: "Error_CloseHandle", + # Joke + 0xDEADBEEF: "Congrats, you found some hexspeak \n \n https://www.youtube.com/watch?v=DLzxrzFCyOs", # NFP Errors by HE @@ -703,7 +719,7 @@ switch_known_errcodes = { # By Friedkeenan - 0x115b: "HBL stopped loading NROs", + 0x115b: "[HBL] Stopped loading NROs", # By Ave