From 1e68c48404fe44263cb77dd7a460004d315451f1 Mon Sep 17 00:00:00 2001 From: Larsen Vallecillo Date: Sat, 19 Apr 2025 10:51:57 -0500 Subject: [PATCH] Update bot.py --- bot.py | 66 +++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 56 insertions(+), 10 deletions(-) diff --git a/bot.py b/bot.py index d1baf3a..8f3c96d 100644 --- a/bot.py +++ b/bot.py @@ -64,16 +64,54 @@ error_codes = """ 202014: Invalid size 202015: Invalid address 202016: Unaligned data -204013: Try another credit card or contact your credit card provider -204017: Wii Points Card invalid -204038: Wireless interferences? -204042: User is not registered with the server -204961: SSL cipher error when trying to communicate with SOAP servers -204050: You do not own a title; ticket not found -204036: Problem importing title metadata -204035: Problem importing ticket -204037: Problem importing title content -204034: Invalid SOAP response + "204001: EC_ERROR_FAIL: Generic error +204002: EC_ERROR_NOT_SUPPORTED: Feature not implemented +204003: EC_ERROR_INSUFFICIENT_RESOURCE +204004: EC_ERROR_INVALID +204005: EC_ERROR_NOMEM +204006: EC_ERROR_NOT_FOUND +204007: EC_ERROR_NOT_BUSY: no active async operation +204008: EC_ERROR_BUSY +204009: EC_ERROR_NOT_DONE +204013: EC_ERROR_NET_NA: Internet access not available +204015: EC_ERROR_WS_REPORT: Server reports a problem +204017: EC_ERROR_ECARD: Invalid eCard +204018: EC_ERROR_OVERFLOW: Output too big for buf provided +204019: EC_ERROR_NET_CONTENT: Error getting content from server +204020: EC_ERROR_CONTENT_SIZE: Downloaded content size doesn't match tmd +204034: EC_ERROR_WS_RESP: invalid web service response +204035: EC_ERROR_TICKET: problem importing ticket +204036: EC_ERROR_TITLE: problem importing title +204037: EC_ERROR_TITLE_CONTENT: problem importing title content +204038: EC_ERROR_CANCELED: an extended operation was canceled +204039: EC_ERROR_ALREADY: one time only action was previously done +204041: EC_ERROR_INIT: library has not been initialized +204042: EC_ERROR_REGISTER: device is not registered +204043: EC_ERROR_WS_RECV: recv error on web service response +204044: EC_ERROR_NOT_ACTIVE: expected operation is not active op +204045: EC_ERROR_FILE_READ +204046: EC_ERROR_FILE_WRITE +204050: EC_ERROR_NOT_OWNED: Title is not owned +204052: EC_ERROR_HTTP_HDR_PARSE: Could not parse http header +204053: EC_ERROR_CONFIG: Invalid configuration (e.g. url is invalid) +204054: EC_ERROR_CANCEL_FAILED: Could not cancel asynchronous operaton +204055: EC_ERROR_USER_INODES: Operation would exceed max user inodes +204056: EC_ERROR_USER_BLOCKS: Operation would exceed max user blocks +204057: EC_ERROR_SYS_INODES: Operation would exceed max sys inodes +204058: EC_ERROR_SYS_BLOCKS: Operation would exceed max sys blocks +204065: EC_ERROR_NO_DEVICE_CODE: Operation requires device code +204066: EC_ERROR_SYNC: Operation requres ticket sync +204069: EC_ERROR_CONNECT: Operation requires EC_Connect() +204070: EC_ERROR_NO_TMD: Title TMD is not on device +204071: EC_ERROR_FIRMWARE: Title requires updated firmware +204074: EC_ERROR_INVALID_PCPW: Parental control password doesn't match +204075: EC_ERROR_PC_DISABLED: Parental control is not enabled +204076: EC_ERROR_EULA: Customer has not agreed to EULA +204077: EC_ERROR_AGE_RESTRICTED: Operation requires parental control password +204078: EC_ERROR_POINTS_RESTRICTED: Operation requires parental control password +204079: EC_ERROR_ALREADY_OWN: Attempt purchase already owned item +204080: EC_ERROR_SHOP_SETUP: Shop channel setup not done or cleared +204081: EC_ERROR_INSUFFICIENT_FUNDS: Not enough funds to purchase the item 204501: HTTP 201 Created 204502: HTTP 202 Accepted 204503: HTTP 203 Non-Authoritative Information @@ -114,6 +152,14 @@ error_codes = """ 204811: HTTP 511 Network Authentication Required 204900-204959: NHTTP Error range 204960-204979: EC SSL Error range +204992: EC_ERROR_NHTTP_CRX +204993: EC_ERROR_NHTTP_AHF +204994: EC_ERROR_NHTTP_SCCD +204995: EC_ERROR_NHTTP_SRCD +204996: EC_ERROR_NHTTP_SVO +204997: EC_ERROR_NHTTP_PDE +204998: EC_ERROR_NHTTP_PDR +204999: EC_ERROR_NHTTP_SRA 20955X: 2-7 Timeout occurred between client and server 204704: Equivalent to a HTTP 404 error 2056XX: ECS Error