mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-04-16 22:15:59 -05:00
Merge pull request #292 from PretendoNetwork/support-pages
This commit is contained in:
commit
ad0563b244
25
docs/common/error-page-template.md
Normal file
25
docs/common/error-page-template.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Error Code: {module}-{code}
|
||||
|
||||
**Applies to:** {system}
|
||||
|
||||
**Module:** {module_name} - {module_description}
|
||||
|
||||
---
|
||||
|
||||
## Message
|
||||
|
||||
> {message}
|
||||
|
||||
## Cause
|
||||
|
||||
{description}
|
||||
|
||||
## Solution
|
||||
|
||||
{solution}
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
{
|
||||
"juxt": [
|
||||
"JXT-598-0009",
|
||||
"JXT-598-0010",
|
||||
"JXT-598-0011",
|
||||
"JXT-598-0020",
|
||||
"JXT-598-0069",
|
||||
"SYS-015-2004",
|
||||
"SYS-015-5001",
|
||||
"SYS-015-5002",
|
||||
"SYS-015-5003",
|
||||
"SYS-015-5004",
|
||||
"SYS-015-5005",
|
||||
"SYS-015-5006",
|
||||
"SYS-015-5007",
|
||||
"SYS-015-5015",
|
||||
"SYS-102-2482",
|
||||
"SYS-115-2004",
|
||||
"SYS-115-5001",
|
||||
"SYS-115-5002",
|
||||
"SYS-115-5003",
|
||||
"SYS-115-5004",
|
||||
"SYS-115-5005",
|
||||
"SYS-115-5006",
|
||||
"SYS-115-5007",
|
||||
"SYS-115-5015"
|
||||
],
|
||||
"martini": [
|
||||
"MRTI-678-1001",
|
||||
"MRTI-678-1002",
|
||||
"MRTI-678-1003",
|
||||
"MRTI-678-1004",
|
||||
"MRTI-678-1005",
|
||||
"MRTI-678-1006",
|
||||
"MRTI-678-1007",
|
||||
"MRTI-678-1008",
|
||||
"MRTI-678-1009",
|
||||
"MRTI-678-1010",
|
||||
"MRTI-678-1011",
|
||||
"MRTI-678-1013"
|
||||
]
|
||||
}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
# Error Code: 598-0009
|
||||
**Applies to:** Wii U, 3DS Family of Systems
|
||||
|
||||
---
|
||||
|
||||
Your Pretendo Network ID has been limited from posting on Juxt.
|
||||
|
||||
This typically occurs because of a violation of the Juxt Code of Conduct, or other offense on the Network or the Discord server.
|
||||
|
||||
For more information, launch the Miiverse app, or request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
# Error Code: 598-0010
|
||||
**Applies to:** Wii U, 3DS Family of Systems
|
||||
|
||||
---
|
||||
|
||||
Your Pretendo Network ID has been temporarily banned from Juxt.
|
||||
|
||||
This typically occurs because of a violation of the Juxt Code of Conduct, or other offense on the Network or the Discord server.
|
||||
|
||||
For more information, launch the Miiverse app, or request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
# Error Code: 598-0011
|
||||
**Applies to:** Wii U, 3DS Family of Systems
|
||||
|
||||
---
|
||||
|
||||
Your Pretendo Network ID has been permanently banned from Juxt.
|
||||
|
||||
This typically occurs because of a violation of the Juxt Code of Conduct, or other offense on the Network or the Discord server.
|
||||
|
||||
For more information, launch the Miiverse app, or request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
# Error Code: 598-0020
|
||||
**Applies to:** Wii U, 3DS Family of Systems
|
||||
|
||||
---
|
||||
|
||||
- "Unable to parse service Token. Are you using a Nintendo Network ID?"
|
||||
|
||||
This typically occurs because you are attempting to connect to Juxt with a **Nintendo Network ID** instead of a **Pretendo Network ID**.
|
||||
|
||||
Please ensure that the account you are using is indeed the one created for the Pretendo Network, and that you have either selected Pretendo in the 3DS Patch `nimbus.3dsx`, or have launched your Wii U with the `30_nimble.rpx` module.
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
# Error Code: 598-0069
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
You have the legacy Martini patches installed into your Miiverse applet. The current version of the Pretendo patchers have a safer version of these patches, so the older ones must be uninstalled.
|
||||
|
||||
Navigate to the [releases](https://github.com/PretendoNetwork/Martini/releases) page on the Martini GitHub repository
|
||||
|
||||
<img src="/assets/images/docs/install/juxt/martini-highlight.png" width=100% height=auto/>
|
||||
|
||||
Select the `martini-juxt-patcher.rpx` to download it
|
||||
|
||||
<img src="/assets/images/docs/install/juxt/martini-download.png" width=100% height=auto/>
|
||||
|
||||
Copy `martini-juxt-patcher.rpx` and place it on your SD card at `sd:/wiiu/apps/`
|
||||
|
||||
<img src="/assets/images/docs/install/juxt/martini-sd-card.png" width=100% height=auto/>
|
||||
|
||||
Place your SD card back into your console and boot like normal.
|
||||
|
||||
Open the Homebrew Launcher and launch `martini-juxt-patcher.rpx` or select it from the Wii U Menu (Aroma)
|
||||
|
||||
<img src="/assets/images/docs/install/juxt/martini-hbl.png" width=100% height=auto/>
|
||||
|
||||
After confirming the state of the Miiverse applet, press X to remove the patches.
|
||||
|
||||
<img src="/assets/images/docs/install/juxt/martini-install.png" width=100% height=auto/>
|
||||
|
||||
Once the patcher is done running and your console has rebooted, you're done! Have fun in Juxt!
|
||||
|
||||
<img src="/assets/images/docs/install/juxt/martini-success.png" width=100% height=auto/>
|
||||
|
||||
If you encountered any errors, try [searching](/docs/search) for the error code. If that doesn't work, get in touch with a developer in our [Discord](https://invite.gg/pretendo).
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
# Error Code: 678-1001
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
***Note:*** This error relates to the Martini patches, which are now deprecated.
|
||||
|
||||
The console's CFW is not compatible with Pretendo's patcher. If you are using Haxchi, Coldboot Haxchi, Indexiine,
|
||||
Browserhax or similar, please [upgrade to Tiramisu or Aroma](https://wiiu.hacks.guide) and try again.
|
||||
|
||||
If you're sure you're using Tiramisu or Aroma, reboot the console and try again. If the same error occurs, get in touch
|
||||
with a developer in our [Discord](https://invite.gg/pretendo).
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
# Error Code: 678-1002
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
***Note:*** This error relates to the Martini patches, which are now deprecated.
|
||||
|
||||
The patcher could not find a Miiverse applet installed on your console, or you have several Miiverses installed. If this
|
||||
is the case, get in touch with a developer in our [Discord](https://invite.gg/pretendo) - we'd love to know what kind
|
||||
of devkit you have!
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
# Error Code: 678-1003
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
***Note:*** This error relates to the Martini patches, which are now deprecated.
|
||||
|
||||
The console's CFW is not compatible with Pretendo's patcher. If you are using Haxchi, Coldboot Haxchi, Indexiine,
|
||||
Browserhax or similar, please [upgrade to Tiramisu or Aroma](https://wiiu.hacks.guide) and try again.
|
||||
|
||||
If you're sure you're using Tiramisu or Aroma, reboot the console and try again. If the same error occurs, get in touch
|
||||
with a developer in our [Discord](https://invite.gg/pretendo).
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
# Error Code: 678-1004
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
***Note:*** This error relates to the Martini patches, which are now deprecated.
|
||||
|
||||
The console's CFW is not compatible with Pretendo's patcher. Try rebooting the console. If you are using Haxchi,
|
||||
Coldboot Haxchi, Indexiine, Browserhax or similar, please [upgrade to Tiramisu or Aroma](https://wiiu.hacks.guide) and
|
||||
try again.
|
||||
|
||||
If you're sure you're using Tiramisu or Aroma and rebooting didn't fix it, get in touch with a developer in our
|
||||
[Discord](https://invite.gg/pretendo).
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
# Error Code: 678-1005
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
***Note:*** This error relates to the Martini patches, which are now deprecated.
|
||||
|
||||
The patcher could not find an unmodified copy of the Miiverse applet. Either you have manually modified it, it has
|
||||
become corrupted, or you have a version too old or too new for the patcher to recognise.
|
||||
|
||||
- If you are on a system version older than 5.1.0, perform a system update, install
|
||||
[Tiramisu or Aroma](https://wiiu.hacks.guide), and try again.
|
||||
- Try disabling any content replacement plugins (SDCafiine etc.) that can change which files are read by the patcher.
|
||||
- If you have manually modified your Miiverse applet, reinstall a clean copy from a backup. Instructions for this
|
||||
cannot be provided by Pretendo.
|
||||
|
||||
If all of these failed, get in touch on our [Discord](https://invite.gg/pretendo).
|
||||
|
||||
---
|
||||
|
||||
Compatible Miiverse applet versions:
|
||||
- `000500301001600A v113` (JPN 5.1.0 - 5.5.6)
|
||||
- `000500301001610A v113` (USA 5.1.0 - 5.5.6)
|
||||
- `000500301001620A v113` (EUR 5.1.0 - 5.5.6)
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
# Error Code: 678-1006
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
***Note:*** This error relates to the Martini patches, which are now deprecated.
|
||||
|
||||
The patcher could not find an unmodified copy of the Thwate Premium SSL certificate. Either you have manually replaced
|
||||
your SSL certificates, they have become corrupted, or your system version is too old or too new for the patcher to
|
||||
recognise.
|
||||
|
||||
- If you are on a system version older than 5.5.3, perform a system update, install
|
||||
[Tiramisu or Aroma](https://wiiu.hacks.guide), and try again.
|
||||
- Try disabling any content replacement plugins (SDCafiine etc.) that can change which files are read by the patcher.
|
||||
- If you have manually modified your SSL certificates - such as when using a proxy - reinstall a clean copy from a
|
||||
backup. Instructions for this cannot be provided by Pretendo.
|
||||
|
||||
If all of these failed, get in touch on our [Discord](https://invite.gg/pretendo).
|
||||
|
||||
---
|
||||
|
||||
Compatible SSL certificate versions:
|
||||
- `0005001B10054000 v32` (ALL 5.5.3 - 5.5.6)
|
||||
|
||||
`v20` (ALL 5.0.0 - 5.5.2) may also be compatible, but this is unconfirmed. Let us know on
|
||||
[Discord](https://invite.gg/pretendo) if it works for you.
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
# Error Code: 678-1007
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
***Note:*** This error relates to the Martini patches, which are now deprecated.
|
||||
|
||||
The patcher failed to write out a backup of your Miiverse applet to NAND. This can be caused by an incompatible CFW or
|
||||
corrupted NAND.
|
||||
|
||||
Try updating to the [latest Tiramisu](https://tiramisu.foryour.cafe) or
|
||||
[latest Aroma](https://aroma.foryour.cafe) build, as these often contain fixes to the CFW.
|
||||
|
||||
If the issue persists, get in touch in our [Discord](https://invite.gg/pretendo).
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
# Error Code: 678-1008
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
***Note:*** This error relates to the Martini patches, which are now deprecated.
|
||||
|
||||
The patcher failed to create a patched version of a file. The original file has not been modified.
|
||||
|
||||
Reboot your console and try again. If the issue persists, this is most likely a bug in the Martini patcher - please get
|
||||
in touch with a developer on our [Discord](https://invite.gg/pretendo).
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
# Error Code: 678-1009
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
***Note:*** This error relates to the Martini patches, which are now deprecated.
|
||||
|
||||
The patcher failed to create a patched version of a file. The original file has not been modified.
|
||||
|
||||
Reboot your console and try again. If the issue persists, this is most likely a bug in the Martini patcher - please get
|
||||
in touch with a developer on our [Discord](https://invite.gg/pretendo).
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
# Error Code: 678-1010
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
***Note:*** This error relates to the Martini patches, which are now deprecated.
|
||||
|
||||
<!-- Even though Martini has special detection for cert bricks, these instructions are written like it's a cert brick,
|
||||
because honestly you never know -->
|
||||
|
||||
The patcher encountered an error when applying the patched files to your system. Files on your NAND have been modified
|
||||
and your system is in an unknown state, though there should be no risk of bricking.
|
||||
|
||||
<div class="tip">
|
||||
⚠️ <b>Do not reboot your console</b>, return to the Wii U Menu or open the Miiverse applet. If you're uncomfortable
|
||||
diagnosing the issue yourself, reach out on our <a href="https://invite.gg/pretendo" target="_blank">Discord</a>.
|
||||
</div>
|
||||
|
||||
If you know what `udplogserver` is, start it now and save the output. Press HOME to exit the Martini patcher, then
|
||||
immediately open it again. If you see an error code, view its [documentation page](/docs/search), but remember not to
|
||||
reboot your console until the system is in a known state again. If, instead, you progress to the confirmation page, and
|
||||
you have the option to uninstall patches by pressing X, you may do so. If you are not given the option to uninstall any
|
||||
patches, reach out on our [Discord](https://invite.gg/pretendo), and include a photo of the confirmation screen.
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
# Error Code: 678-1011
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
***Note:*** This error relates to the Martini patches, which are now deprecated.
|
||||
|
||||
<div class="tip">
|
||||
⚠️ <b>Do not reboot your console or exit Martini!</b>
|
||||
</div>
|
||||
|
||||
The patcher encountered an error when applying the patched certificate to your system. Files essential to your Wii U's
|
||||
functionality have been modified and the system may be unbootable. **Immediate action is required to avoid a brick.**
|
||||
|
||||
Reach out on our [Discord](https://invite.gg/pretendo). State your error code and that you have a cert brick. Be
|
||||
loud and ping mods - this is the only time you're allowed ;)
|
||||
|
||||
---
|
||||
|
||||
Precise instructions are not provided here to ensure that you get helpers involved. For helpers and experienced users,
|
||||
however, your best bet from here is to use wupclient (Tiramisu/Aroma) or FTP (Aroma) to download whatever Thwate cert is
|
||||
on the console and inspect it, then upload a clean one. Users who have EnvironmentLoader in H&S can install Tiramisu and
|
||||
should be able to use the boot selector to get to HBL and FTPiiU Everywhere without triggering the brick. Users without
|
||||
a working coldboot setup are SOL if they reboot, though UDPIH might be able to save it.
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
# Error Code: 678-1013
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
***Note:*** This error relates to the Martini patches, which are now deprecated.
|
||||
|
||||
The patcher failed to restore a file from its backup. The patched file remains in place.
|
||||
|
||||
Reboot your console and try again. If the issue persists, this is most likely a bug in the Martini patcher - please get
|
||||
in touch with a developer on our [Discord](https://invite.gg/pretendo).
|
||||
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
# Error Code: 015-2004
|
||||
**Applies to:** 3DS Family of Systems
|
||||
|
||||
---
|
||||
|
||||
- "Unable to connect to the server. Please try again later. If the problem persists, please make a note of the error code and visit support.nintendo.com."
|
||||
|
||||
This error indicates a connection problem with the server.
|
||||
|
||||
### Possible Solutions
|
||||
|
||||
- **Check our network status information**
|
||||
> Check our [Network Status page](https://stats.uptimerobot.com/R7E4wiGjJq) and ensure that there are no ongoing service outages.
|
||||
|
||||
- **Ensure your Wii U can connect to the internet and try again**
|
||||
> Try performing a connection test in system settings. If the connection test fails, there is likely another issues on your network
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
# Error Code: 015-5001
|
||||
**Applies to:** 3DS Family of Systems
|
||||
|
||||
---
|
||||
|
||||
- "A system update is required. Go to System Settings to perform a system update."
|
||||
|
||||
This error should not occur under normal conditions when connected to the Pretendo Network. Follow the steps below to troubleshoot.
|
||||
|
||||
### Possible Solutions
|
||||
|
||||
- **Check that you are patched**
|
||||
1. Open System Settings on the 3DS HOME Menu
|
||||
2. Click on `Nintendo Network ID Settings`
|
||||
3. Navigate to the 3RD Page, and select `Other`
|
||||
4. Click on `Network Services Agreement`
|
||||
- If the top of the lower screen says `Pretendo Network Services Agreement`, then you are connected to the Pretendo Network.
|
||||
- If the top of the lower screen says something else, then you are not connected to the Pretendo Network. Follow [these](/docs/install/3ds) instructions to get started.
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
# Error Code: 115-5002
|
||||
**Applies to:** 3DS Family of Systems
|
||||
|
||||
---
|
||||
|
||||
- "You must have started Miiverse at least once before you can use this online service. Please Start Miiverse from the 3DS HOME Menu and set up your user information."
|
||||
|
||||
|
||||
This error occurs when you have never opened the Miiverse app before attempting to use online features. Open the Miiverse app from the HOME Menu to get started.
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
# Error Code: 015-5003
|
||||
**Applies to:** 3DS Family of Systems
|
||||
|
||||
---
|
||||
|
||||
- "The server is currently undergoing maintenance. Please Try again later."
|
||||
|
||||
Juxtaposition is currently undergoing maintenance. Check our [Network Status page](https://stats.uptimerobot.com/R7E4wiGjJq) or join our [Discord server](https://invite.gg/pretendo) for updates.
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
# Error Code: 015-5004
|
||||
**Applies to:** 3DS Family of Systems
|
||||
|
||||
---
|
||||
|
||||
- "The Miiverse service has ended. Miiverse and any software features that make use of Miiverse will no longer be available. Thank you for your Interest."
|
||||
|
||||
This error should not occur under normal conditions when connected to the Pretendo Network. Follow the steps below to troubleshoot.
|
||||
|
||||
### Possible Solutions
|
||||
|
||||
- **Check that you are patched**
|
||||
1. Open System Settings on the 3DS HOME Menu
|
||||
2. Click on `Nintendo Network ID Settings`
|
||||
3. Navigate to the 3RD Page, and select `Other`
|
||||
4. Click on `Network Services Agreement`
|
||||
- If the top of the lower screen says `Pretendo Network Services Agreement`, then you are connected to the Pretendo Network.
|
||||
- If the top of the lower screen says something else, then you are not connected to the Pretendo Network. Follow [these](/docs/install/3ds) instructions to get started.
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
# Error Code: 015-5005
|
||||
**Applies to:** 3DS Family of Systems
|
||||
|
||||
---
|
||||
|
||||
- "You cannot use Miiverse because it has been restricted in Parental Controls."
|
||||
|
||||
This error occurs when Miiverse has been disallowed by Parental Controls. Follow the steps below to re-enable Miiverse.
|
||||
|
||||
### Steps to Remove Miiverse Parental Control Limits
|
||||
1. On the 3DS HOME Menu, open the `System Settings` app.
|
||||
|
||||
<img src="/assets/images/docs/errors/pc-3ds-1.png" width=50% height=auto/><br><br>
|
||||
2. Click on `Parental Controls` on the bottom screen.
|
||||
|
||||
<img src="/assets/images/docs/errors/pc-3ds-2.png" width=50% height=auto/><br><br>
|
||||
3. Click on `Change` and enter your pin.
|
||||
|
||||
<img src="/assets/images/docs/errors/pc-3ds-3.png" width=50% height=auto/><br><br>
|
||||
4. Click on `Set Restrictions`.
|
||||
|
||||
<img src="/assets/images/docs/errors/pc-3ds-4.png" width=50% height=auto/><br><br>
|
||||
5. Scroll down to the `Miiverse` button.
|
||||
|
||||
<img src="/assets/images/docs/errors/pc-3ds-5.png" width=50% height=auto/><br><br>
|
||||
6. Click the `Miiverse` button, and then select `Do Not Restrict`.
|
||||
|
||||
<img src="/assets/images/docs/errors/pc-3ds-6.png" width=50% height=auto/><br><br>
|
||||
|
||||
Parental Controls should now be disabled for Miiverse.
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
# Error Code: 015-5005
|
||||
**Applies to:** 3DS Family of Systems
|
||||
|
||||
---
|
||||
|
||||
- "You may not post to Miiverse due to a restriction in Parental Controls"
|
||||
|
||||
This error occurs when posting to Miiverse has been disallowed by Parental Controls. Follow the steps below to re-enable posting.
|
||||
|
||||
### Steps to Remove Miiverse Parental Control Limits
|
||||
1. On the 3DS HOME Menu, open the `System Settings` app.
|
||||
|
||||
<img src="/assets/images/docs/errors/pc-3ds-1.png" width=50% height=auto/><br><br>
|
||||
2. Click on `Parental Controls` on the bottom screen.
|
||||
|
||||
<img src="/assets/images/docs/errors/pc-3ds-2.png" width=50% height=auto/><br><br>
|
||||
3. Click on `Change` and enter your pin.
|
||||
|
||||
<img src="/assets/images/docs/errors/pc-3ds-3.png" width=50% height=auto/><br><br>
|
||||
4. Click on `Set Restrictions`.
|
||||
|
||||
<img src="/assets/images/docs/errors/pc-3ds-4.png" width=50% height=auto/><br><br>
|
||||
5. Scroll down to the `Miiverse` button.
|
||||
|
||||
<img src="/assets/images/docs/errors/pc-3ds-5.png" width=50% height=auto/><br><br>
|
||||
6. Click the `Miiverse` button, and then select `Do Not Restrict`.
|
||||
|
||||
<img src="/assets/images/docs/errors/pc-3ds-6.png" width=50% height=auto/><br><br>
|
||||
|
||||
Parental Controls should now be disabled for Miiverse.
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
# Error Code: 015-5007
|
||||
**Applies to:** 3DS Family of Systems
|
||||
|
||||
---
|
||||
|
||||
- ""Miiverse function are unavailable to this Nintendo Network ID. For details, please start Miiverse."
|
||||
|
||||
This typically occurs because you are attempting to connect to Juxt with a **Nintendo Network ID** instead of a **Pretendo Network ID**.
|
||||
|
||||
This can also occur if your Pretendo Network ID has been banned from using Juxt.
|
||||
|
||||
For more information, launch the Miiverse app, or request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
# Error Code: 015-5015
|
||||
**Applies to:** 3DS Family of Systems
|
||||
|
||||
---
|
||||
|
||||
- "Unable to connect to the server. Please try again later. If the problem persists, please make a note of the error code and visit support.nintendo.com."
|
||||
|
||||
This error indicates a connection problem with the server.
|
||||
|
||||
### Possible Solutions
|
||||
|
||||
- **Check our network status information**
|
||||
> Check our [Network Status page](https://stats.uptimerobot.com/R7E4wiGjJq) and ensure that there are no ongoing service outages.
|
||||
|
||||
- **Ensure your 3DS can connect to the internet and try again**
|
||||
> Try performing a connection test in system settings. If the connection test fails, there is likely another issues on your network
|
||||
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
# Error Code: 102-2482
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
- "Unable to connect to the server. Please try again later. If the problem persists, please make a note of the error code and visit support.nintendo.com."
|
||||
|
||||
This error indicates one of the following:
|
||||
1. The server you're connecting to is offline for maintenance.
|
||||
2. Pretendo does not yet support the game or application in question.
|
||||
3. The game or application's server is still in development and isn't available to your account yet. For example, beta
|
||||
servers are generally only available to [supporters](https://pretendo.network/account/upgrade).
|
||||
|
||||
### Possible Solutions
|
||||
|
||||
- **Check our network status information**
|
||||
> Check our [Network Status page](https://stats.uptimerobot.com/R7E4wiGjJq) and ensure that there are no ongoing service outages.
|
||||
|
||||
- **Check Pretendo has a server for your game**
|
||||
> Check our [Progress page](https://pretendo.network/progress) to see if a server exists and is in development. We don't
|
||||
> support everything yet!
|
||||
|
||||
- **Upgrade your account**
|
||||
> Certain beta and development servers are available to supporters for beta-testing. If you'd like to help test these
|
||||
> ahead of a public release, [consider supporting Pretendo](https://pretendo.network/account/upgrade).
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
# Error Code: 115-2004
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
- "Unable to connect to the server. Please try again later. If the problem persists, please make a note of the error code and visit support.nintendo.com."
|
||||
|
||||
This error indicates a connection problem with the server.
|
||||
|
||||
### Possible Solutions
|
||||
|
||||
- **Check our network status information**
|
||||
> Check our [Network Status page](https://stats.uptimerobot.com/R7E4wiGjJq) and ensure that there are no ongoing service outages.
|
||||
|
||||
- **Ensure your Wii U can connect to the internet and try again**
|
||||
> Try performing a connection test in system settings. If the connection test fails, there is likely another issues on your network
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
# Error Code: 115-5001
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
- "A system update is required. Go to System Settings to perform a system update."
|
||||
|
||||
This error should not occur under normal conditions when connected to the Pretendo Network. Follow the steps below to troubleshoot.
|
||||
|
||||
### Possible Solutions
|
||||
|
||||
- **Check that you are patched**
|
||||
1. On the Wii U System Menu, click on your Mii in the top left corner.
|
||||
2. Scroll down and select `View Network Services Agreement` button.
|
||||
3. Select the language of your choice.
|
||||
- If the top of the screen says `Pretendo Network Services Agreement`, then you are connected to the Pretendo Network.
|
||||
- If the top of the screen says something else, then you are not connected to the Pretendo Network. Follow [these](/docs/install/wiiu) instructions to get started.
|
||||
|
||||
- **Update your console**
|
||||
- As of now, version 5.5.6 is safe to update for homebrew.
|
||||
- By default, modern homebrew environments block updates to ensure patches are not broken. You can follow [this](https://wiiu.hacks.guide/#/unblock-updates) guide to unblock updates.
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
# Error Code: 115-5002
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
- "You must have started Miiverse at least once before you can use this online service. Please Start Miiverse from the HOME Menu and set up your user information."
|
||||
|
||||
This error occurs when you have never opened the Miiverse app before attempting to use online features. Open the Miiverse app from the HOME Menu to get started.
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
# Error Code: 115-5003
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
- "The server is currently undergoing maintenance. Please Try again later."
|
||||
|
||||
Juxtaposition is currently undergoing maintenance. Check our [Network Status page](https://stats.uptimerobot.com/R7E4wiGjJq) or join our [Discord server](https://invite.gg/pretendo) for updates.
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
# Error Code: 115-5004
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
- "The Miiverse service has ended. Miiverse and any software features that make use of Miiverse will no longer be available. Thank you for your Interest."
|
||||
|
||||
This error should not occur under normal conditions when connected to the Pretendo Network. Follow the steps below to troubleshoot.
|
||||
|
||||
### Possible Solutions
|
||||
|
||||
- **Check that you are patched**
|
||||
1. On the Wii U System Menu, click on your Mii in the top left corner.
|
||||
2. Scroll down and select `View Network Services Agreement` button.
|
||||
3. Select the language of your choice.
|
||||
- If the top of the screen says `Pretendo Network Services Agreement`, then you are connected to the Pretendo Network.
|
||||
- If the top of the screen says something else, then you are not connected to the Pretendo Network. Follow [these](/docs/install) instructions to get started.
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
# Error Code: 115-5005
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
|
||||
- "You cannot use Miiverse because it has been restricted in Parental Controls."
|
||||
|
||||
|
||||
This error occurs when Miiverse has been disallowed by Parental Controls. Follow the steps below to re-enable Miiverse.
|
||||
|
||||
### Steps to Remove Miiverse Parental Control Limits
|
||||
1. On the Wii U System Menu, open the `Parental Controls` app
|
||||
<img src="/assets/images/docs/errors/pc-wiiu-1.jpeg" width=100% height=auto/><br><br>
|
||||
2. Click `Next` on the Wii U Gamepad, and enter your pin.
|
||||
<img src="/assets/images/docs/errors/pc-wiiu-2.jpeg" width=100% height=auto/><br><br>
|
||||
3. Click on `Parental Controls Settings`
|
||||
<img src="/assets/images/docs/errors/pc-wiiu-3.jpeg" width=100% height=auto/><br><br>
|
||||
4. Find the user account you wish to change, and then scroll down to the `Miiverse` button.
|
||||
<img src="/assets/images/docs/errors/pc-wiiu-4.jpeg" width=100% height=auto/><br><br>
|
||||
5. Click the `Miiverse` button, and then select `Do Not Restrict`.
|
||||
<img src="/assets/images/docs/errors/pc-wiiu-5.jpeg" width=100% height=auto/><br><br>
|
||||
|
||||
Parental Controls should now be disabled for Miiverse.
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
# Error Code: 115-5006
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
|
||||
- "You may not post to Miiverse due to a restriction in Parental Controls"
|
||||
|
||||
|
||||
This error occurs when posting to Miiverse has been disallowed by Parental Controls. Follow the steps below to re-enable posting.
|
||||
|
||||
### Steps to Remove Miiverse Parental Control Limits
|
||||
1. On the Wii U System Menu, open the `Parental Controls` app
|
||||
<img src="/assets/images/docs/errors/pc-wiiu-1.jpeg" width=100% height=auto/><br><br>
|
||||
2. Click `Next` on the Wii U Gamepad, and enter your pin.
|
||||
<img src="/assets/images/docs/errors/pc-wiiu-2.jpeg" width=100% height=auto/><br><br>
|
||||
3. Click on `Parental Controls Settings`
|
||||
<img src="/assets/images/docs/errors/pc-wiiu-3.jpeg" width=100% height=auto/><br><br>
|
||||
4. Find the user account you wish to change, and then scroll down to the `Miiverse` button.
|
||||
<img src="/assets/images/docs/errors/pc-wiiu-4.jpeg" width=100% height=auto/><br><br>
|
||||
5. Click the `Miiverse` button, and then select `Do Not Restrict`.
|
||||
<img src="/assets/images/docs/errors/pc-wiiu-5.jpeg" width=100% height=auto/><br><br>
|
||||
|
||||
Parental Controls should now be disabled for Miiverse.
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
# Error Code: 115-5007
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
- ""Miiverse function are unavailable to this Nintendo Network ID. For details, please start Miiverse."
|
||||
|
||||
This typically occurs because you are attempting to connect to Juxt with a **Nintendo Network ID** instead of a **Pretendo Network ID**.
|
||||
|
||||
This can also occur if your Pretendo Network ID has been banned from using Juxt.
|
||||
|
||||
For more information, launch the Miiverse app, or request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
# Error Code: 115-5015
|
||||
**Applies to:** Wii U
|
||||
|
||||
---
|
||||
|
||||
- "Unable to connect to the server. Please try again later. If the problem persists, please make a note of the error code and visit support.nintendo.com."
|
||||
|
||||
This error indicates a connection problem with the server.
|
||||
|
||||
### Possible Solutions
|
||||
|
||||
- **Check our network status information**
|
||||
- Check our [Network Status page](https://stats.uptimerobot.com/R7E4wiGjJq) and ensure that there are no ongoing service outages.
|
||||
|
||||
- **Ensure your Wii U can connect to the internet and try again**
|
||||
- Try performing a connection test in system settings. If the connection test fails, there is likely another issues on your network
|
||||
|
||||
|
||||
---
|
||||
|
||||
If you have not yet connected to Pretendo, please follow the instructions [here](/docs/install) to get started.
|
||||
|
||||
If you are still unable to connect, please request to speak to a moderator in the [Discord server](https://invite.gg/pretendo).
|
||||
11
package-lock.json
generated
11
package-lock.json
generated
|
|
@ -11,6 +11,7 @@
|
|||
"dependencies": {
|
||||
"@aws-sdk/client-ses": "^3.515.0",
|
||||
"@discordjs/rest": "^0.5.0",
|
||||
"@pretendonetwork/error-codes": "^1.0.2",
|
||||
"browserify": "^17.0.0",
|
||||
"colors": "^1.4.0",
|
||||
"cookie-parser": "^1.4.5",
|
||||
|
|
@ -1418,6 +1419,11 @@
|
|||
"sparse-bitfield": "^3.0.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@pretendonetwork/error-codes": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@pretendonetwork/error-codes/-/error-codes-1.0.2.tgz",
|
||||
"integrity": "sha512-4xb8S/qRrx0CekzlwH9J2yUnxr6qx/3ZjPeNGSbns1kXLmnQ6KhF0rcLOCGCKZrAwowGdIB6+BsIsU4/cpk5OA=="
|
||||
},
|
||||
"node_modules/@sapphire/async-queue": {
|
||||
"version": "1.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.3.1.tgz",
|
||||
|
|
@ -7512,6 +7518,11 @@
|
|||
"sparse-bitfield": "^3.0.3"
|
||||
}
|
||||
},
|
||||
"@pretendonetwork/error-codes": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@pretendonetwork/error-codes/-/error-codes-1.0.2.tgz",
|
||||
"integrity": "sha512-4xb8S/qRrx0CekzlwH9J2yUnxr6qx/3ZjPeNGSbns1kXLmnQ6KhF0rcLOCGCKZrAwowGdIB6+BsIsU4/cpk5OA=="
|
||||
},
|
||||
"@sapphire/async-queue": {
|
||||
"version": "1.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.3.1.tgz",
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
"dependencies": {
|
||||
"@aws-sdk/client-ses": "^3.515.0",
|
||||
"@discordjs/rest": "^0.5.0",
|
||||
"@pretendonetwork/error-codes": "^1.0.2",
|
||||
"browserify": "^17.0.0",
|
||||
"colors": "^1.4.0",
|
||||
"cookie-parser": "^1.4.5",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,11 @@
|
|||
const path = require('node:path');
|
||||
const fs = require('node:fs');
|
||||
const { Router } = require('express');
|
||||
const router = new Router();
|
||||
const errors = require('@pretendonetwork/error-codes');
|
||||
const util = require('../util');
|
||||
|
||||
const errorList = require('../../docs/common/errorList.json');
|
||||
const errorList = errors.getAllErrors();
|
||||
const router = new Router();
|
||||
|
||||
router.get('/', async (request, response) => {
|
||||
response.redirect('/docs/welcome');
|
||||
|
|
@ -24,14 +27,22 @@ router.get('/install', async (request, response) => {
|
|||
response.render('docs/install', renderData);
|
||||
});
|
||||
|
||||
router.get('/search', async (request, response) => {
|
||||
router.get([
|
||||
'/search', // TODO - Deprecate search page
|
||||
'/errors',
|
||||
], async (_request, response) => {
|
||||
const renderData = {
|
||||
errorList: JSON.stringify(errorList),
|
||||
currentPage: 'search',
|
||||
currentPage: 'errors',
|
||||
};
|
||||
|
||||
response.render('docs/search', renderData);
|
||||
});
|
||||
|
||||
router.get('/error', async (_request, response) => {
|
||||
response.redirect(307, '/docs/errors');
|
||||
});
|
||||
|
||||
router.get('/:page', async (request, response, next) => {
|
||||
const renderData = {};
|
||||
|
||||
|
|
@ -50,6 +61,44 @@ router.get('/:page', async (request, response, next) => {
|
|||
response.render('docs/docs', renderData);
|
||||
});
|
||||
|
||||
router.get([
|
||||
'/errors/:errorCode', // TODO - Deprecate "errors" route
|
||||
'/error/:errorCode',
|
||||
], async (request, response, next) => {
|
||||
const locale = response.locals.localeString;
|
||||
const error = request.params.errorCode;
|
||||
|
||||
const [ sysmodule, errorCode ] = error.split('-');
|
||||
|
||||
if (!errorCode) {
|
||||
return next();
|
||||
}
|
||||
|
||||
let template = fs.readFileSync(path.join(__dirname, '../../docs/common/error-page-template.md'), {
|
||||
encoding: 'utf8'
|
||||
});
|
||||
|
||||
const errorInfo = errors.getErrorInfo(sysmodule, errorCode, locale);
|
||||
|
||||
if (!errorInfo) {
|
||||
return next();
|
||||
}
|
||||
|
||||
template = template.replace('{module}', sysmodule);
|
||||
template = template.replace('{code}', errorCode);
|
||||
template = template.replace('{system}', errorInfo.module.system);
|
||||
template = template.replace('{module_name}', errorInfo.module.name);
|
||||
template = template.replace('{module_description}', errorInfo.module.description);
|
||||
template = template.replace('{message}', errorInfo.message.replace(/\s\s+/g, ' '));
|
||||
template = template.replace('{description}', errorInfo.long_description);
|
||||
template = template.replace('{solution}', errorInfo.long_solution);
|
||||
|
||||
response.render('docs/docs', {
|
||||
content: util.parseDocs(template),
|
||||
currentPage: 'errors'
|
||||
});
|
||||
});
|
||||
|
||||
router.get('/:subpath/:page', async (request, response, next) => {
|
||||
const locale = response.locals.localeString;
|
||||
const pageName = request.params.page;
|
||||
|
|
|
|||
|
|
@ -45,12 +45,11 @@
|
|||
<p>{{ locale.docs.search.caption }}</p>
|
||||
<label for="errorCode">{{ locale.docs.search.label }}</label>
|
||||
<div class="input-wrapper">
|
||||
<input id="errorCode" placeholder="ABC-012-3456" required />
|
||||
<input id="errorCode" placeholder="012-3456" required />
|
||||
<div class="matches">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -58,30 +57,14 @@
|
|||
{{#section 'foot'}}
|
||||
<script src="/assets/js/docssidebarhandler.js"></script>
|
||||
|
||||
<script id="errorList" type="application/json">
|
||||
{{{errorList}}}
|
||||
</script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/fuse.js@6.6.2/dist/fuse.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/cleave.js@1.6.0/dist/cleave.min.js"></script>
|
||||
|
||||
<script>
|
||||
// Get the error list from the script tag
|
||||
let rawErrorList = JSON.parse(document.getElementById('errorList').innerHTML);
|
||||
|
||||
// Convert the error list to a single flat array
|
||||
rawErrorList = Object.values(rawErrorList).flat();
|
||||
|
||||
// We remove the unknown characters (e.g. the X in JXT-598-2XXX), so fuse.js will be able to match the error codes
|
||||
const errorList = rawErrorList.map(error => {
|
||||
return error.replace(/X*$/g, '');
|
||||
});
|
||||
|
||||
const fuse = new Fuse(errorList, {includeMatches: true, threshold: 0.4});
|
||||
const fuse = new Fuse({{{errorList}}}, {includeMatches: true, threshold: 0.4});
|
||||
const cleave = new Cleave('input#errorCode', {
|
||||
delimiter: '-',
|
||||
blocks: [3, 3, 4],
|
||||
uppercase: true
|
||||
blocks: [3, 4]
|
||||
});
|
||||
|
||||
const matchesContainer = document.querySelector('.matches');
|
||||
|
|
@ -102,10 +85,10 @@
|
|||
|
||||
if (matches.length > 0) {
|
||||
matches.forEach(match => {
|
||||
const errorCode = match.item.padEnd(12, 'X');
|
||||
const errorCode = match.item;
|
||||
const matchLink = document.createElement('a');
|
||||
matchLink.innerText = errorCode;
|
||||
matchLink.href = `/docs/errors/${errorCode}`;
|
||||
matchLink.href = `/docs/error/${errorCode}`;
|
||||
matchesContainer.appendChild(matchLink);
|
||||
});
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<h5>{{ locale.docs.sidebar.getting_started }}</h5>
|
||||
<a href="/docs/welcome">{{ locale.docs.sidebar.welcome }}</a>
|
||||
<a href="/docs/install">{{ locale.docs.sidebar.install_extended }}</a>
|
||||
<a href="/docs/search">{{ locale.docs.sidebar.search }}</a>
|
||||
<a href="/docs/errors">{{ locale.docs.sidebar.search }}</a>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
|
|
@ -15,15 +15,6 @@
|
|||
<a href="/docs/install/juxt">Miiverse</a>
|
||||
<a href="/docs/network-dumps">Submit network dumps</a>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<h5>{{ locale.docs.sidebar.juxt_err }}</h5>
|
||||
<a href="/docs/errors/JXT-598-0009">JXT-598-0009</a>
|
||||
<a href="/docs/errors/JXT-598-0010">JXT-598-0010</a>
|
||||
<a href="/docs/errors/JXT-598-0011">JXT-598-0011</a>
|
||||
<a href="/docs/errors/JXT-598-0020">JXT-598-0020</a>
|
||||
<a href="/docs/errors/JXT-598-0069">JXT-598-0069</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@
|
|||
<p class="caption">{{ locale.docs.quickLinks.links.[0].caption }}</p>
|
||||
</div>
|
||||
</a>
|
||||
<a href="/docs/search">
|
||||
<a href="/docs/errors">
|
||||
<div class="icon">
|
||||
<svg width="32" height="32" viewBox="0 0 256 256"><path fill="currentColor" d="M236.7 188L148.8 36a24 24 0 0 0-41.6 0L19.3 188A23.9 23.9 0 0 0 40 224h176a23.9 23.9 0 0 0 20.7-36ZM120 104a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0Zm8 88a12 12 0 1 1 12-12a12 12 0 0 1-12 12Z"/></svg> </div>
|
||||
<div>
|
||||
|
|
@ -179,7 +179,7 @@
|
|||
<p class="caption">{{ locale.docs.quickLinks.links.[0].caption }}</p>
|
||||
</div>
|
||||
</a>
|
||||
<a href="/docs/search">
|
||||
<a href="/docs/errors">
|
||||
<div class="icon">
|
||||
<svg width="32" height="32" viewBox="0 0 256 256"><path fill="currentColor" d="M236.7 188L148.8 36a24 24 0 0 0-41.6 0L19.3 188A23.9 23.9 0 0 0 40 224h176a23.9 23.9 0 0 0 20.7-36ZM120 104a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0Zm8 88a12 12 0 1 1 12-12a12 12 0 0 1-12 12Z"/></svg> </div>
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user